diff --git a/apps/reference/_api/usage.mdx b/apps/reference/_api/usage.mdx
index 09584d7a96b..64a4292ad48 100644
--- a/apps/reference/_api/usage.mdx
+++ b/apps/reference/_api/usage.mdx
@@ -397,147 +397,6 @@ POST https://api.supabase.com/v1/projects
```
-
-
-
-
-
-
-
-
-
-
-
-### List all functions {#list-all-functions}
-
-```
-GET https://api.supabase.com/v1/projects/{ref}/functions
-```
-
-
-
-
-#### Path Parameters
-
-
-
--
-
-
- ref
-
-
- required
-
-
-
-
-
-
-
- Project ref
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-#### Responses
-
-
-
-
-
-
-
-
-
-
-```json
-{
- "schema": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "slug": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "status": {
- "enum": [
- "ACTIVE",
- "REMOVED",
- "THROTTLED"
- ],
- "type": "string"
- },
- "version": {
- "type": "number"
- },
- "created_at": {
- "type": "number"
- },
- "updated_at": {
- "type": "number"
- },
- "verify_jwt": {
- "type": "boolean"
- }
- },
- "required": [
- "id",
- "slug",
- "name",
- "status",
- "version",
- "created_at",
- "updated_at"
- ]
- }
- }
-}
-```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Failed to retrieve project's functions
-
-
-
-
-
@@ -706,6 +565,147 @@ Failed to create project's function
+
+
+
+
+
+
+
+
+
+
+
+### List all functions {#list-all-functions}
+
+```
+GET https://api.supabase.com/v1/projects/{ref}/functions
+```
+
+
+
+
+#### Path Parameters
+
+
+
+-
+
+
+ ref
+
+
+ required
+
+
+
+
+
+
+
+ Project ref
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#### Responses
+
+
+
+
+
+
+
+
+
+
+```json
+{
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "ACTIVE",
+ "REMOVED",
+ "THROTTLED"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "type": "number"
+ },
+ "created_at": {
+ "type": "number"
+ },
+ "updated_at": {
+ "type": "number"
+ },
+ "verify_jwt": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "name",
+ "status",
+ "version",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ }
+}
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Failed to retrieve project's functions
+
+
+
+
+
@@ -1490,6 +1490,112 @@ Failed to delete secrets with given names
+
+
+
+
+
+
+
+
+
+
+
+### Generate TypeScript types {#generate-typescript-types}
+
+```
+GET https://api.supabase.com/v1/projects/{ref}/types/typescript
+```
+
+
+
+
+#### Path Parameters
+
+
+
+-
+
+
+ ref
+
+
+ required
+
+
+
+
+
+
+
+ Project ref
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#### Responses
+
+
+
+
+
+
+
+
+
+
+```json
+{
+ "schema": {
+ "type": "object",
+ "properties": {
+ "types": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "types"
+ ]
+ }
+}
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Failed to generate TypeScript types
+
+
+
+
+
diff --git a/spec/Makefile b/spec/Makefile
index 80c30d33ef6..37dc86dfba4 100644
--- a/spec/Makefile
+++ b/spec/Makefile
@@ -44,7 +44,7 @@ download.tsdoc.v2:
###############################################################################
# Transform docs into working files
###############################################################################
-transform: dereference.api.v0 dereference.auth.v1 dereference.storage.v0 dereference.tsdoc.v2 combine.tsdoc.v1 combine.tsdoc.v2
+transform: dereference.api.v0 dereference.auth.v1 dereference.storage.v0 dereference.tsdoc.v1 dereference.tsdoc.v2 combine.tsdoc.v1 combine.tsdoc.v2
dereference.api.v0:
npx swagger-cli bundle --dereference --outfile $(REPO_DIR)/transforms/api_v0_openapi_deparsed.json $(REPO_DIR)/api_v0_openapi.json
@@ -55,22 +55,30 @@ dereference.auth.v1:
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.v1:
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:functions:v1
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:gotrue:v1
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:postgrest:v1
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:realtime:v1
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:storage:v1
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:supabase:v1
+
dereference.tsdoc.v2:
- cd $(REPO_DIR)/parser && npm run tsdoc:dereference:functions
- cd $(REPO_DIR)/parser && npm run tsdoc:dereference:gotrue
- cd $(REPO_DIR)/parser && npm run tsdoc:dereference:postgrest
- cd $(REPO_DIR)/parser && npm run tsdoc:dereference:realtime
- cd $(REPO_DIR)/parser && npm run tsdoc:dereference:storage
- cd $(REPO_DIR)/parser && npm run tsdoc:dereference:supabase
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:functions:v2
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:gotrue:v2
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:postgrest:v2
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:realtime:v2
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:storage:v2
+ cd $(REPO_DIR)/parser && npm run tsdoc:dereference:supabase:v2
combine.tsdoc.v1:
jq -s '{ name: "Combined Specs", children: [.[0], .[1], .[2], .[3], .[4], .[5]] }' \
- $(REPO_DIR)/enrichments/tsdoc_v1/supabase.json \
- $(REPO_DIR)/enrichments/tsdoc_v1/gotrue.json \
- $(REPO_DIR)/enrichments/tsdoc_v1/postgrest.json \
- $(REPO_DIR)/enrichments/tsdoc_v1/realtime.json \
- $(REPO_DIR)/enrichments/tsdoc_v1/storage.json \
- $(REPO_DIR)/enrichments/tsdoc_v1/functions.json \
+ $(REPO_DIR)/enrichments/tsdoc_v1/supabase_dereferenced.json \
+ $(REPO_DIR)/enrichments/tsdoc_v1/gotrue_dereferenced.json \
+ $(REPO_DIR)/enrichments/tsdoc_v1/postgrest_dereferenced.json \
+ $(REPO_DIR)/enrichments/tsdoc_v1/realtime_dereferenced.json \
+ $(REPO_DIR)/enrichments/tsdoc_v1/storage_dereferenced.json \
+ $(REPO_DIR)/enrichments/tsdoc_v1/functions_dereferenced.json \
> $(REPO_DIR)/enrichments/tsdoc_v1/combined.json
combine.tsdoc.v2:
diff --git a/spec/api_v0_openapi.json b/spec/api_v0_openapi.json
index 464b44ebb70..3fdb3b04950 100644
--- a/spec/api_v0_openapi.json
+++ b/spec/api_v0_openapi.json
@@ -96,37 +96,6 @@
}
},
"/v1/projects/{ref}/functions": {
- "get": {
- "operationId": "getFunctions",
- "summary": "List all functions",
- "description": "Returns all functions you've previously added to the specified project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": { "$ref": "#/components/schemas/FunctionResponse" }
- }
- }
- }
- },
- "403": { "description": "" },
- "500": { "description": "Failed to retrieve project's functions" }
- },
- "tags": ["projects"],
- "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
- },
"post": {
"operationId": "createFunction",
"summary": "Create a function",
@@ -157,7 +126,48 @@
"500": { "description": "Failed to create project's function" }
},
"tags": ["projects"],
- "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
+ "security": [
+ { "apiKeyHeader": [], "apiKeyParam": [] },
+ { "bearer": [] },
+ { "apiKeyHeader": [], "apiKeyParam": [] },
+ { "bearer": [] }
+ ]
+ },
+ "get": {
+ "operationId": "getFunctions",
+ "summary": "List all functions",
+ "description": "Returns all functions you've previously added to the specified project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": { "$ref": "#/components/schemas/FunctionResponse" }
+ }
+ }
+ }
+ },
+ "403": { "description": "" },
+ "500": { "description": "Failed to retrieve project's functions" }
+ },
+ "tags": ["projects"],
+ "security": [
+ { "apiKeyHeader": [], "apiKeyParam": [] },
+ { "bearer": [] },
+ { "apiKeyHeader": [], "apiKeyParam": [] },
+ { "bearer": [] }
+ ]
}
},
"/v1/projects/{ref}/functions/{function_slug}": {
@@ -270,6 +280,201 @@
"security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
}
},
+ "/v1/projects/{ref}/custom-hostname": {
+ "get": {
+ "operationId": "getCustomHostnameConfig",
+ "summary": "Gets project's custom hostname config",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/UpdateCustomHostnameResponse" }
+ }
+ }
+ },
+ "500": { "description": "Failed to retrieve project's custom hostname config" }
+ },
+ "tags": ["custom hostname (beta)"],
+ "security": [{ "bearer": [] }]
+ },
+ "delete": {
+ "operationId": "remove",
+ "summary": "Deletes a project's custom hostname configuration",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ }
+ ],
+ "responses": {
+ "200": { "description": "" },
+ "500": { "description": "Failed to delete project custom hostname configuration" }
+ },
+ "tags": ["custom hostname (beta)"],
+ "security": [{ "bearer": [] }]
+ }
+ },
+ "/v1/projects/{ref}/custom-hostname/initialize": {
+ "post": {
+ "operationId": "createCustomHostnameConfig",
+ "summary": "Updates project's custom hostname configuration",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/UpdateCustomHostnameBody" }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/UpdateCustomHostnameResponse" }
+ }
+ }
+ },
+ "500": { "description": "Failed to update project custom hostname configuration" }
+ },
+ "tags": ["custom hostname (beta)"],
+ "security": [{ "bearer": [] }]
+ }
+ },
+ "/v1/projects/{ref}/custom-hostname/reverify": {
+ "post": {
+ "operationId": "reverify",
+ "summary": "Attempts to verify the DNS configuration for project's custom hostname configuration",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/UpdateCustomHostnameResponse" }
+ }
+ }
+ },
+ "500": { "description": "Failed to verify project custom hostname configuration" }
+ },
+ "tags": ["custom hostname (beta)"],
+ "security": [{ "bearer": [] }]
+ }
+ },
+ "/v1/projects/{ref}/custom-hostname/activate": {
+ "post": {
+ "operationId": "activate",
+ "summary": "Activates a custom hostname for a project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/UpdateCustomHostnameResponse" }
+ }
+ }
+ },
+ "500": { "description": "Failed to activate project custom hostname configuration" }
+ },
+ "tags": ["custom hostname (beta)"],
+ "security": [{ "bearer": [] }]
+ }
+ },
+ "/v1/projects/{ref}/pgsodium": {
+ "get": {
+ "operationId": "getConfig",
+ "summary": "Gets project's pgsodium config",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": { "application/json": { "schema": { "type": "object" } } }
+ },
+ "403": { "description": "" },
+ "500": { "description": "Failed to retrieve project's pgsodium config" }
+ },
+ "tags": ["pgsodium (beta)"],
+ "security": [{ "bearer": [] }]
+ },
+ "put": {
+ "operationId": "updateConfig",
+ "summary": "Updates project's pgsodium config. Updating the root_key can cause all data encrypted with the older key to become inaccessible.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/UpdatePgsodiumConfigBody" }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": { "application/json": { "schema": { "type": "object" } } }
+ },
+ "403": { "description": "" },
+ "500": { "description": "Failed to update project's pgsodium config" }
+ },
+ "tags": ["pgsodium (beta)"],
+ "security": [{ "bearer": [] }]
+ }
+ },
"/v1/projects/{ref}/secrets": {
"get": {
"operationId": "getSecrets",
@@ -365,11 +570,18 @@
"security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
}
},
- "/v1/projects/{ref}/pgsodium": {
+ "/v1/projects/{ref}/types/typescript": {
"get": {
- "operationId": "getConfig",
- "summary": "Gets project's pgsodium config",
+ "operationId": "getTypescriptTypes",
+ "summary": "Generate TypeScript types",
+ "description": "Returns the TypeScript types of your schema for use with supabase-js.",
"parameters": [
+ {
+ "name": "included_schemas",
+ "required": false,
+ "in": "query",
+ "schema": { "default": "public", "type": "string" }
+ },
{
"name": "ref",
"required": true,
@@ -381,44 +593,17 @@
"responses": {
"200": {
"description": "",
- "content": { "application/json": { "schema": { "type": "object" } } }
- },
- "403": { "description": "" },
- "500": { "description": "Failed to retrieve project's pgsodium config" }
- },
- "tags": ["pgsodium (beta)"],
- "security": [{ "bearer": [] }]
- },
- "put": {
- "operationId": "updateConfig",
- "summary": "Updates project's pgsodium config. Updating the root_key can cause all data encrypted with the older key to become inaccessible.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": { "$ref": "#/components/schemas/UpdatePgsodiumConfigBody" }
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/TypescriptResponse" }
+ }
}
- }
- },
- "responses": {
- "200": {
- "description": "",
- "content": { "application/json": { "schema": { "type": "object" } } }
},
"403": { "description": "" },
- "500": { "description": "Failed to update project's pgsodium config" }
+ "500": { "description": "Failed to generate TypeScript types" }
},
- "tags": ["pgsodium (beta)"],
- "security": [{ "bearer": [] }]
+ "tags": ["projects"],
+ "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
}
}
},
@@ -480,6 +665,16 @@
"properties": { "name": { "type": "string" } },
"required": ["name"]
},
+ "CreateFunctionBody": {
+ "type": "object",
+ "properties": {
+ "slug": { "type": "string", "pattern": "/^[A-Za-z0-9_-]+$/" },
+ "name": { "type": "string" },
+ "body": { "type": "string" },
+ "verify_jwt": { "type": "boolean" }
+ },
+ "required": ["slug", "name", "body"]
+ },
"FunctionResponse": {
"type": "object",
"properties": {
@@ -494,16 +689,6 @@
},
"required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"]
},
- "CreateFunctionBody": {
- "type": "object",
- "properties": {
- "slug": { "type": "string", "pattern": "/^[A-Za-z0-9_-]+$/" },
- "name": { "type": "string" },
- "body": { "type": "string" },
- "verify_jwt": { "type": "boolean" }
- },
- "required": ["slug", "name", "body"]
- },
"FunctionSlugResponse": {
"type": "object",
"properties": {
@@ -527,6 +712,34 @@
"verify_jwt": { "type": "boolean" }
}
},
+ "UpdateCustomHostnameResponse": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "enum": [
+ "1_not_started",
+ "2_initiated",
+ "3_challenge_verified",
+ "4_origin_setup_completed",
+ "5_services_reconfigured"
+ ],
+ "type": "string"
+ },
+ "custom_hostname": { "type": "string" },
+ "data": { "type": "object" }
+ },
+ "required": ["status", "custom_hostname", "data"]
+ },
+ "UpdateCustomHostnameBody": {
+ "type": "object",
+ "properties": { "custom_hostname": { "type": "string" } },
+ "required": ["custom_hostname"]
+ },
+ "UpdatePgsodiumConfigBody": {
+ "type": "object",
+ "properties": { "root_key": { "type": "string" } },
+ "required": ["root_key"]
+ },
"SecretResponse": {
"type": "object",
"properties": { "name": { "type": "string" }, "value": { "type": "string" } },
@@ -540,10 +753,10 @@
},
"required": ["name", "value"]
},
- "UpdatePgsodiumConfigBody": {
+ "TypescriptResponse": {
"type": "object",
- "properties": { "root_key": { "type": "string" } },
- "required": ["root_key"]
+ "properties": { "types": { "type": "string" } },
+ "required": ["types"]
}
}
}
diff --git a/spec/enrichments/tsdoc_v1/combined.json b/spec/enrichments/tsdoc_v1/combined.json
index 055ada1a662..6fe1d520fe1 100644
--- a/spec/enrichments/tsdoc_v1/combined.json
+++ b/spec/enrichments/tsdoc_v1/combined.json
@@ -119,7 +119,332 @@
"type": {
"type": "reference",
"id": 79,
- "name": "SupabaseClientOptions"
+ "name": "SupabaseClientOptions",
+ "dereferenced": {
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 83,
+ "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": 24,
+ "character": 2
+ }
+ ],
+ "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": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "cookieOptions"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 86,
+ "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": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 89,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 78,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 82,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject"
+ }
+ },
+ {
+ "id": 87,
+ "name": "localStorage",
+ "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": 40,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "localStorage"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Allows to enable/disable multi-tab/window events"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 85,
+ "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": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 88,
+ "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": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ },
+ {
+ "id": 81,
+ "name": "schema",
+ "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": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 90,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Throw errors, instead of returning them."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 83,
+ 91,
+ 86,
+ 89,
+ 82,
+ 87,
+ 84,
+ 85,
+ 88,
+ 81,
+ 90
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -676,7 +1001,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [175]
+ "children": [
+ 175
+ ]
}
]
}
@@ -914,7 +1241,332 @@
"type": {
"type": "reference",
"id": 79,
- "name": "SupabaseClientOptions"
+ "name": "SupabaseClientOptions",
+ "dereferenced": {
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 83,
+ "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": 24,
+ "character": 2
+ }
+ ],
+ "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": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "cookieOptions"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 86,
+ "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": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 89,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 78,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 82,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject"
+ }
+ },
+ {
+ "id": 87,
+ "name": "localStorage",
+ "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": 40,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "localStorage"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Allows to enable/disable multi-tab/window events"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 85,
+ "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": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 88,
+ "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": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ },
+ {
+ "id": 81,
+ "name": "schema",
+ "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": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 90,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Throw errors, instead of returning them."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 83,
+ 91,
+ 86,
+ 89,
+ 82,
+ 87,
+ 84,
+ 85,
+ 88,
+ 81,
+ 90
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -1086,7 +1738,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [180]
+ "children": [
+ 180
+ ]
}
]
}
@@ -1285,7 +1939,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [161]
+ "children": [
+ 161
+ ]
}
]
}
@@ -1325,7 +1981,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [159, 162]
+ "children": [
+ 159,
+ 162
+ ]
}
]
}
@@ -1437,7 +2096,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [169]
+ "children": [
+ 169
+ ]
}
]
}
@@ -1477,7 +2138,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [167, 170]
+ "children": [
+ 167,
+ 170
+ ]
}
]
}
@@ -1634,7 +2298,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155, 154]
+ "children": [
+ 155,
+ 154
+ ]
}
]
}
@@ -1663,24 +2330,58 @@
{
"title": "Constructors",
"kind": 512,
- "children": [112]
+ "children": [
+ 112
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 117, 121, 131, 126, 123, 133, 125, 124, 120, 119, 118, 132, 122, 138, 137
+ 117,
+ 121,
+ 131,
+ 126,
+ 123,
+ 133,
+ 125,
+ 124,
+ 120,
+ 119,
+ 118,
+ 132,
+ 122,
+ 138,
+ 137
]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [139, 141]
+ "children": [
+ 139,
+ 141
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [171, 191, 197, 189, 186, 183, 195, 193, 176, 143, 181, 156, 163, 147]
+ "children": [
+ 171,
+ 191,
+ 197,
+ 189,
+ 186,
+ 183,
+ 195,
+ 193,
+ 176,
+ 143,
+ 181,
+ 156,
+ 163,
+ 147
+ ]
}
],
"sources": [
@@ -1748,7 +2449,332 @@
"type": {
"type": "reference",
"id": 79,
- "name": "SupabaseClientOptions"
+ "name": "SupabaseClientOptions",
+ "dereferenced": {
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 83,
+ "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": 24,
+ "character": 2
+ }
+ ],
+ "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": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "cookieOptions"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 86,
+ "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": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 89,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 78,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 82,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject"
+ }
+ },
+ {
+ "id": 87,
+ "name": "localStorage",
+ "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": 40,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "localStorage"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Allows to enable/disable multi-tab/window events"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 85,
+ "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": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 88,
+ "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": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ },
+ {
+ "id": 81,
+ "name": "schema",
+ "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": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 90,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Throw errors, instead of returning them."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 83,
+ 91,
+ 86,
+ 89,
+ 82,
+ 87,
+ 84,
+ 85,
+ 88,
+ 81,
+ 90
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -1765,17 +2791,24 @@
{
"title": "References",
"kind": 16777216,
- "children": [202, 203]
+ "children": [
+ 202,
+ 203
+ ]
},
{
"title": "Classes",
"kind": 128,
- "children": [111]
+ "children": [
+ 111
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [106]
+ "children": [
+ 106
+ ]
}
],
"sources": [
@@ -2048,7 +3081,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [13, 9, 11, 10, 18, 12]
+ "children": [
+ 13,
+ 9,
+ 11,
+ 10,
+ 18,
+ 12
+ ]
}
]
}
@@ -2228,7 +3268,42 @@
"type": {
"type": "reference",
"id": 102,
- "name": "SupabaseEventTypes"
+ "name": "SupabaseEventTypes",
+ "dereferenced": {
+ "id": 102,
+ "name": "SupabaseEventTypes",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 75,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ },
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ]
+ }
+ }
}
},
{
@@ -2299,17 +3374,27 @@
{
"title": "Constructors",
"kind": 512,
- "children": [3]
+ "children": [
+ 3
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [21, 20, 22, 19, 23]
+ "children": [
+ 21,
+ 20,
+ 22,
+ 19,
+ 23
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [24]
+ "children": [
+ 24
+ ]
}
],
"sources": [
@@ -2349,7 +3434,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [2]
+ "children": [
+ 2
+ ]
}
],
"sources": [
@@ -2417,7 +3504,61 @@
"type": {
"type": "reference",
"id": 74,
- "name": "GenericObject"
+ "name": "GenericObject",
+ "dereferenced": {
+ "id": 74,
+ "name": "GenericObject",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 75,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 28
+ }
+ ],
+ "indexSignature": {
+ "id": 76,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 77,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ }
}
},
{
@@ -2570,7 +3711,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [45, 47]
+ "children": [
+ 45,
+ 47
+ ]
}
]
}
@@ -2614,7 +3758,42 @@
"type": {
"type": "reference",
"id": 102,
- "name": "SupabaseEventTypes"
+ "name": "SupabaseEventTypes",
+ "dereferenced": {
+ "id": 102,
+ "name": "SupabaseEventTypes",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 75,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ },
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ]
+ }
+ }
}
},
{
@@ -2732,17 +3911,25 @@
{
"title": "Constructors",
"kind": 512,
- "children": [34]
+ "children": [
+ 34
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [40]
+ "children": [
+ 40
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [41, 49, 56]
+ "children": [
+ 41,
+ 49,
+ 56
+ ]
}
],
"sources": [
@@ -2758,7 +3945,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [33]
+ "children": [
+ 33
+ ]
}
],
"sources": [
@@ -2824,7 +4013,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [62]
+ "children": [
+ 62
+ ]
}
]
}
@@ -2857,7 +4048,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [60, 63]
+ "children": [
+ 60,
+ 63
+ ]
}
],
"sources": [
@@ -2974,7 +4168,11 @@
{
"title": "Functions",
"kind": 64,
- "children": [70, 67, 65]
+ "children": [
+ 70,
+ 67,
+ 65
+ ]
}
],
"sources": [
@@ -3390,7 +4588,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [83, 91, 86, 89, 82, 87, 84, 85, 88, 81, 90]
+ "children": [
+ 83,
+ 91,
+ 86,
+ 89,
+ 82,
+ 87,
+ 84,
+ 85,
+ 88,
+ 81,
+ 90
+ ]
}
],
"sources": [
@@ -3633,7 +4843,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [94, 100, 95, 98, 99, 96, 97]
+ "children": [
+ 94,
+ 100,
+ 95,
+ 98,
+ 99,
+ 96,
+ 97
+ ]
}
],
"sources": [
@@ -3651,12 +4869,20 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [73]
+ "children": [
+ 73
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [78, 74, 79, 102, 92]
+ "children": [
+ 78,
+ 74,
+ 79,
+ 102,
+ 92
+ ]
}
],
"sources": [
@@ -3700,7 +4926,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [104]
+ "children": [
+ 104
+ ]
}
],
"sources": [
@@ -3716,7 +4944,15 @@
{
"title": "Modules",
"kind": 2,
- "children": [105, 1, 32, 59, 64, 72, 103]
+ "children": [
+ 105,
+ 1,
+ 32,
+ 59,
+ 64,
+ 72,
+ 103
+ ]
}
]
},
@@ -3788,7 +5024,7 @@
],
"type": {
"type": "reference",
- "id": 558,
+ "id": 557,
"name": "CookieOptions"
}
},
@@ -3830,10 +5066,21 @@
"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"
+ }
+ ]
}
},
{
@@ -3943,7 +5190,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [11, 12, 7, 6]
+ "children": [
+ 11,
+ 12,
+ 7,
+ 6
+ ]
}
]
}
@@ -3975,7 +5227,7 @@
],
"type": {
"type": "reference",
- "id": 558,
+ "id": 557,
"name": "CookieOptions"
}
},
@@ -4017,10 +5269,21 @@
"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"
+ }
+ ]
}
},
{
@@ -4246,8 +5509,284 @@
},
"type": {
"type": "reference",
- "id": 540,
- "name": "AdminUserAttributes"
+ "id": 539,
+ "name": "AdminUserAttributes",
+ "dereferenced": {
+ "id": 539,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 541,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "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": "src/lib/types.ts",
+ "line": 137,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 548,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 538,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 544,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 534,
+ "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,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 144,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 546,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 536,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 545,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 535,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 543,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their phone number.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 151,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 540,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "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": "src/lib/types.ts",
+ "line": 127,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 541,
+ 548,
+ 544,
+ 547,
+ 542,
+ 546,
+ 545,
+ 543,
+ 540
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 115,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 533,
+ "name": "UserAttributes"
+ }
+ ]
+ }
}
}
],
@@ -4326,7 +5865,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [201, 202, 200]
+ "children": [
+ 201,
+ 202,
+ 200
+ ]
}
]
}
@@ -4355,7 +5898,7 @@
],
"type": {
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
},
@@ -4392,7 +5935,7 @@
],
"type": {
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
}
@@ -4401,7 +5944,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [205, 206, 204]
+ "children": [
+ 205,
+ 206,
+ 204
+ ]
}
]
}
@@ -4512,7 +6059,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [179]
+ "children": [
+ 179
+ ]
}
]
}
@@ -4600,7 +6149,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4656,7 +6205,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4667,7 +6216,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [246, 247, 245]
+ "children": [
+ 246,
+ 247,
+ 245
+ ]
}
]
}
@@ -4720,6 +6273,10 @@
"type": "literal",
"value": "signup"
},
+ {
+ "type": "literal",
+ "value": "invite"
+ },
{
"type": "literal",
"value": "magiclink"
@@ -4728,10 +6285,6 @@
"type": "literal",
"value": "recovery"
},
- {
- "type": "literal",
- "value": "invite"
- },
{
"type": "literal",
"value": "email_change_current"
@@ -4837,7 +6390,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [191, 190, 192]
+ "children": [
+ 191,
+ 190,
+ 192
+ ]
}
]
}
@@ -4884,7 +6441,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4923,7 +6480,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [194, 195]
+ "children": [
+ 194,
+ 195
+ ]
}
]
}
@@ -5036,7 +6596,90 @@
"type": {
"type": "reference",
"id": 481,
- "name": "Provider"
+ "name": "Provider",
+ "dereferenced": {
+ "id": 481,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "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"
+ }
+ ]
+ }
+ }
}
},
{
@@ -5148,7 +6791,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [41, 39, 40]
+ "children": [
+ 41,
+ 39,
+ 40
+ ]
}
]
}
@@ -5236,7 +6883,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -5292,7 +6939,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -5303,7 +6950,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [253, 254, 252]
+ "children": [
+ 253,
+ 254,
+ 252
+ ]
}
]
}
@@ -5399,7 +7050,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -5482,7 +7133,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -5493,7 +7144,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [231, 232, 229, 230]
+ "children": [
+ 231,
+ 232,
+ 229,
+ 230
+ ]
}
]
}
@@ -5602,7 +7258,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [219, 220]
+ "children": [
+ 219,
+ 220
+ ]
}
]
}
@@ -5631,7 +7290,7 @@
],
"type": {
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
},
@@ -5658,7 +7317,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [222, 223]
+ "children": [
+ 222,
+ 223
+ ]
}
]
}
@@ -5771,7 +7433,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [148, 147]
+ "children": [
+ 148,
+ 147
+ ]
}
]
}
@@ -5813,7 +7478,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -5852,7 +7517,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [150, 151]
+ "children": [
+ 150,
+ 151
+ ]
}
]
}
@@ -5946,7 +7614,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [210, 211]
+ "children": [
+ 210,
+ 211
+ ]
}
]
}
@@ -5977,7 +7648,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
}
@@ -6005,7 +7676,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [213, 214]
+ "children": [
+ 213,
+ 214
+ ]
}
]
}
@@ -6132,7 +7806,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [167, 168]
+ "children": [
+ 167,
+ 168
+ ]
}
]
}
@@ -6243,7 +7920,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [158, 157]
+ "children": [
+ 158,
+ 157
+ ]
}
]
}
@@ -6329,7 +8009,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [160, 162]
+ "children": [
+ 160,
+ 162
+ ]
}
]
}
@@ -6460,7 +8143,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [102, 101, 100]
+ "children": [
+ 102,
+ 101,
+ 100
+ ]
}
]
}
@@ -6546,7 +8233,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [104, 106]
+ "children": [
+ 104,
+ 106
+ ]
}
]
}
@@ -6657,7 +8347,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [113, 112]
+ "children": [
+ 113,
+ 112
+ ]
}
]
}
@@ -6743,7 +8436,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [115, 117]
+ "children": [
+ 115,
+ 117
+ ]
}
]
}
@@ -6928,7 +8624,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [64, 63]
+ "children": [
+ 64,
+ 63
+ ]
}
]
}
@@ -7009,7 +8708,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 67]
+ "children": [
+ 66,
+ 67
+ ]
}
]
}
@@ -7054,8 +8756,134 @@
"flags": {},
"type": {
"type": "reference",
- "id": 584,
- "name": "OpenIDConnectCredentials"
+ "id": 583,
+ "name": "OpenIDConnectCredentials",
+ "dereferenced": {
+ "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
+ }
+ ]
+ }
}
}
],
@@ -7132,7 +8960,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [93, 94]
+ "children": [
+ 93,
+ 94
+ ]
}
]
}
@@ -7237,7 +9068,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [85]
+ "children": [
+ 85
+ ]
}
]
}
@@ -7318,7 +9151,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [87, 88]
+ "children": [
+ 87,
+ 88
+ ]
}
]
}
@@ -7415,7 +9251,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [122]
+ "children": [
+ 122
+ ]
}
]
}
@@ -7561,7 +9399,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [53, 52, 51]
+ "children": [
+ 53,
+ 52,
+ 51
+ ]
}
]
}
@@ -7608,7 +9450,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -7647,7 +9489,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [55, 56]
+ "children": [
+ 55,
+ 56
+ ]
}
]
}
@@ -7772,7 +9617,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [75, 74]
+ "children": [
+ 75,
+ 74
+ ]
}
]
}
@@ -7819,7 +9667,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -7858,7 +9706,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [77, 78]
+ "children": [
+ 77,
+ 78
+ ]
}
]
}
@@ -7920,8 +9771,159 @@
},
"type": {
"type": "reference",
- "id": 534,
- "name": "UserAttributes"
+ "id": 533,
+ "name": "UserAttributes",
+ "dereferenced": {
+ "id": 533,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 538,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 534,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "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,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 538,
+ 534,
+ 537,
+ 536,
+ 535
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 88,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 539,
+ "name": "AdminUserAttributes"
+ }
+ ]
+ }
}
}
],
@@ -7959,7 +9961,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8015,7 +10017,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8026,7 +10028,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [261, 262, 260]
+ "children": [
+ 261,
+ 262,
+ 260
+ ]
}
]
}
@@ -8085,8 +10091,284 @@
},
"type": {
"type": "reference",
- "id": 540,
- "name": "AdminUserAttributes"
+ "id": 539,
+ "name": "AdminUserAttributes",
+ "dereferenced": {
+ "id": 539,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 541,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "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": "src/lib/types.ts",
+ "line": 137,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 548,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 538,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 544,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 534,
+ "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,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 144,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 546,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 536,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 545,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 535,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 543,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their phone number.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 151,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 540,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "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": "src/lib/types.ts",
+ "line": 127,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 541,
+ 548,
+ 544,
+ 547,
+ 542,
+ 546,
+ 545,
+ 543,
+ 540
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 115,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 533,
+ "name": "UserAttributes"
+ }
+ ]
+ }
}
}
],
@@ -8124,7 +10406,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8180,7 +10462,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8191,7 +10473,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [239, 240, 238]
+ "children": [
+ 239,
+ 240,
+ 238
+ ]
}
]
}
@@ -8301,7 +10587,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [129]
+ "children": [
+ 129
+ ]
}
]
}
@@ -8348,7 +10636,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8387,7 +10675,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [131, 132]
+ "children": [
+ 131,
+ 132
+ ]
}
]
}
@@ -8432,8 +10723,37 @@
"flags": {},
"type": {
"type": "reference",
- "id": 571,
- "name": "VerifyOTPParams"
+ "id": 570,
+ "name": "VerifyOTPParams",
+ "dereferenced": {
+ "id": 570,
+ "name": "VerifyOTPParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 191,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "VerifyMobileOTPParams"
+ },
+ {
+ "type": "reference",
+ "id": 576,
+ "name": "VerifyEmailOTPParams"
+ }
+ ]
+ }
+ }
}
},
{
@@ -8476,7 +10796,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [138]
+ "children": [
+ 138
+ ]
}
]
}
@@ -8523,7 +10845,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8562,7 +10884,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [140, 141]
+ "children": [
+ 140,
+ 141
+ ]
}
]
}
@@ -8580,19 +10905,52 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [
+ 2
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [22, 23, 18, 17]
+ "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
+ 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
]
}
],
@@ -8691,7 +11049,7 @@
],
"type": {
"type": "reference",
- "id": 558,
+ "id": 557,
"name": "CookieOptions"
}
},
@@ -8759,10 +11117,21 @@
"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"
+ }
+ ]
}
},
{
@@ -8891,11 +11260,11 @@
},
{
"type": "literal",
- "value": "setItem"
+ "value": "removeItem"
},
{
"type": "literal",
- "value": "removeItem"
+ "value": "setItem"
}
]
}
@@ -8982,7 +11351,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [274, 278, 273, 279, 269, 276, 277, 275, 268]
+ "children": [
+ 274,
+ 278,
+ 273,
+ 279,
+ 269,
+ 276,
+ 277,
+ 275,
+ 268
+ ]
}
]
}
@@ -9099,7 +11478,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -9141,11 +11520,11 @@
},
{
"type": "literal",
- "value": "setItem"
+ "value": "removeItem"
},
{
"type": "literal",
- "value": "removeItem"
+ "value": "setItem"
}
]
}
@@ -9266,7 +11645,7 @@
},
{
"type": "reference",
- "id": 550,
+ "id": 549,
"name": "Subscription"
}
],
@@ -9287,7 +11666,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 697,
+ "line": 695,
"character": 16
}
],
@@ -9354,6 +11733,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 708,
+ "character": 21
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -9365,7 +11751,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [458, 459]
+ "children": [
+ 458,
+ 459
+ ]
}
]
}
@@ -9385,6 +11774,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 710,
+ "character": 15
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -9397,6 +11793,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 710,
+ "character": 27
+ }
+ ],
"type": {
"type": "reference",
"id": 483,
@@ -9409,7 +11812,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [461, 462]
+ "children": [
+ 461,
+ 462
+ ]
}
]
}
@@ -9435,7 +11841,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 522,
+ "line": 520,
"character": 16
}
],
@@ -9495,7 +11901,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 527,
+ "line": 525,
"character": 6
}
],
@@ -9515,7 +11921,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 526,
+ "line": 524,
"character": 6
}
],
@@ -9529,7 +11935,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [390, 389]
+ "children": [
+ 390,
+ 389
+ ]
}
]
}
@@ -9558,6 +11967,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 533,
+ "character": 35
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -9591,6 +12007,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 533,
+ "character": 59
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -9603,6 +12026,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 533,
+ "character": 47
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -9614,7 +12044,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [392, 395, 394, 393]
+ "children": [
+ 392,
+ 395,
+ 394,
+ 393
+ ]
}
]
}
@@ -9646,6 +12081,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 540,
+ "character": 53
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -9658,6 +12100,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 540,
+ "character": 38
+ }
+ ],
"type": {
"type": "reference",
"id": 486,
@@ -9671,6 +12120,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 540,
+ "character": 21
+ }
+ ],
"type": {
"type": "union",
"types": [
@@ -9680,7 +12136,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -9692,7 +12148,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [397, 400, 399, 398]
+ "children": [
+ 397,
+ 400,
+ 399,
+ 398
+ ]
}
]
}
@@ -9718,7 +12179,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 597,
+ "line": 595,
"character": 16
}
],
@@ -9738,8 +12199,134 @@
"flags": {},
"type": {
"type": "reference",
- "id": 584,
- "name": "OpenIDConnectCredentials"
+ "id": 583,
+ "name": "OpenIDConnectCredentials",
+ "dereferenced": {
+ "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
+ }
+ ]
+ }
}
}
],
@@ -9764,7 +12351,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 606,
+ "line": 604,
"character": 4
}
],
@@ -9792,7 +12379,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 604,
+ "line": 602,
"character": 4
}
],
@@ -9820,7 +12407,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 605,
+ "line": 603,
"character": 4
}
],
@@ -9833,7 +12420,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -9844,7 +12431,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [449, 447, 448]
+ "children": [
+ 449,
+ 447,
+ 448
+ ]
}
]
}
@@ -9868,7 +12459,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 548,
+ "line": 546,
"character": 16
}
],
@@ -9928,7 +12519,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 552,
+ "line": 550,
"character": 6
}
],
@@ -9942,7 +12533,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [407]
+ "children": [
+ 407
+ ]
}
]
}
@@ -9971,6 +12564,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 555,
+ "character": 35
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10004,6 +12604,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 555,
+ "character": 59
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10016,6 +12623,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 555,
+ "character": 47
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10027,7 +12641,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [409, 412, 411, 410]
+ "children": [
+ 409,
+ 412,
+ 411,
+ 410
+ ]
}
]
}
@@ -10059,6 +12678,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 562,
+ "character": 53
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10071,6 +12697,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 562,
+ "character": 38
+ }
+ ],
"type": {
"type": "reference",
"id": 486,
@@ -10084,6 +12717,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 562,
+ "character": 21
+ }
+ ],
"type": {
"type": "union",
"types": [
@@ -10093,7 +12733,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -10105,7 +12745,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [414, 417, 416, 415]
+ "children": [
+ 414,
+ 417,
+ 416,
+ 415
+ ]
}
]
}
@@ -10131,7 +12776,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 570,
+ "line": 568,
"character": 10
}
],
@@ -10152,7 +12797,90 @@
"type": {
"type": "reference",
"id": 481,
- "name": "Provider"
+ "name": "Provider",
+ "dereferenced": {
+ "id": 481,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "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"
+ }
+ ]
+ }
+ }
}
},
{
@@ -10181,7 +12909,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 575,
+ "line": 573,
"character": 6
}
],
@@ -10230,7 +12958,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 573,
+ "line": 571,
"character": 6
}
],
@@ -10250,7 +12978,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 574,
+ "line": 572,
"character": 6
}
],
@@ -10264,7 +12992,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [425, 423, 424]
+ "children": [
+ 425,
+ 423,
+ 424
+ ]
}
]
}
@@ -10290,6 +13022,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 30
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10302,6 +13041,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 69
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10326,6 +13072,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 42
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10349,6 +13102,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 57
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10360,7 +13120,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [432, 435, 430, 433, 431, 434]
+ "children": [
+ 432,
+ 435,
+ 430,
+ 433,
+ 431,
+ 434
+ ]
}
]
}
@@ -10380,6 +13147,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 15
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10392,6 +13166,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 54
+ }
+ ],
"type": {
"type": "reference",
"id": 483,
@@ -10416,6 +13197,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 39
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10439,6 +13227,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 27
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -10450,7 +13245,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [437, 440, 441, 439, 442, 438]
+ "children": [
+ 437,
+ 440,
+ 441,
+ 439,
+ 442,
+ 438
+ ]
}
]
}
@@ -10471,7 +13273,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 802,
+ "line": 800,
"character": 10
}
],
@@ -10509,7 +13311,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 779,
+ "line": 777,
"character": 10
}
],
@@ -10550,7 +13352,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 716,
+ "line": 714,
"character": 10
}
],
@@ -10571,7 +13373,50 @@
"type": {
"type": "reference",
"id": 482,
- "name": "AuthChangeEvent"
+ "name": "AuthChangeEvent",
+ "dereferenced": {
+ "id": 482,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 19,
+ "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"
+ }
+ ]
+ }
+ }
}
}
],
@@ -10593,7 +13438,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 743,
+ "line": 741,
"character": 10
}
],
@@ -10614,7 +13459,197 @@
"type": {
"type": "reference",
"id": 486,
- "name": "Session"
+ "name": "Session",
+ "dereferenced": {
+ "id": 486,
+ "name": "Session",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 488,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 490,
+ "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": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 489,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "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,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 487,
+ "name": "provider_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 491,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 492,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 493,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 505,
+ "name": "User"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 488,
+ 490,
+ 489,
+ 487,
+ 491,
+ 492,
+ 493
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -10636,7 +13671,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 652,
+ "line": 650,
"character": 16
}
],
@@ -10685,7 +13720,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 632,
+ "line": 630,
"character": 10
}
],
@@ -10726,7 +13761,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 748,
+ "line": 746,
"character": 16
}
],
@@ -10763,7 +13798,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 724,
+ "line": 722,
"character": 10
}
],
@@ -10787,7 +13822,197 @@
"type": {
"type": "reference",
"id": 486,
- "name": "Session"
+ "name": "Session",
+ "dereferenced": {
+ "id": 486,
+ "name": "Session",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 488,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 490,
+ "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": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 489,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "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,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 487,
+ "name": "provider_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 491,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 492,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 493,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 505,
+ "name": "User"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 488,
+ 490,
+ 489,
+ 487,
+ 491,
+ 492,
+ 493
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -10809,7 +14034,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 759,
+ "line": 757,
"character": 10
}
],
@@ -10915,7 +14140,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [365]
+ "children": [
+ 365
+ ]
}
]
}
@@ -10995,7 +14222,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [367, 368]
+ "children": [
+ 367,
+ 368
+ ]
}
]
}
@@ -11017,7 +14247,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 502,
+ "line": 500,
"character": 2
}
],
@@ -11117,7 +14347,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 503,
+ "line": 501,
"character": 4
}
],
@@ -11130,7 +14360,7 @@
},
{
"type": "reference",
- "id": 550,
+ "id": 549,
"name": "Subscription"
}
]
@@ -11145,7 +14375,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 504,
+ "line": 502,
"character": 4
}
],
@@ -11169,7 +14399,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [381, 382]
+ "children": [
+ 381,
+ 382
+ ]
}
]
}
@@ -11290,7 +14523,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -11301,7 +14534,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [342, 344, 343]
+ "children": [
+ 342,
+ 344,
+ 343
+ ]
}
]
}
@@ -11513,7 +14750,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [357, 356]
+ "children": [
+ 357,
+ 356
+ ]
}
]
}
@@ -11558,8 +14798,160 @@
"flags": {},
"type": {
"type": "reference",
- "id": 564,
- "name": "UserCredentials"
+ "id": 563,
+ "name": "UserCredentials",
+ "dereferenced": {
+ "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
+ }
+ ]
+ }
}
},
{
@@ -11711,7 +15103,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [314, 315, 311, 313, 312]
+ "children": [
+ 314,
+ 315,
+ 311,
+ 313,
+ 312
+ ]
}
]
}
@@ -11859,7 +15257,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -11870,7 +15268,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [324, 322, 320, 323, 321]
+ "children": [
+ 324,
+ 322,
+ 320,
+ 323,
+ 321
+ ]
}
]
}
@@ -11892,7 +15296,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 487,
+ "line": 485,
"character": 8
}
],
@@ -11928,7 +15332,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 487,
+ "line": 485,
"character": 29
}
],
@@ -11952,7 +15356,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [372]
+ "children": [
+ 372
+ ]
}
]
}
@@ -11997,8 +15403,160 @@
"flags": {},
"type": {
"type": "reference",
- "id": 564,
- "name": "UserCredentials"
+ "id": 563,
+ "name": "UserCredentials",
+ "dereferenced": {
+ "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
+ }
+ ]
+ }
}
},
{
@@ -12081,7 +15639,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300, 299]
+ "children": [
+ 301,
+ 300,
+ 299
+ ]
}
]
}
@@ -12179,7 +15741,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -12190,7 +15752,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [305, 304, 303]
+ "children": [
+ 305,
+ 304,
+ 303
+ ]
}
]
}
@@ -12235,8 +15801,159 @@
"flags": {},
"type": {
"type": "reference",
- "id": 534,
- "name": "UserAttributes"
+ "id": 533,
+ "name": "UserAttributes",
+ "dereferenced": {
+ "id": 533,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 538,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 534,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "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,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 538,
+ 534,
+ 537,
+ 536,
+ 535
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 88,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 539,
+ "name": "AdminUserAttributes"
+ }
+ ]
+ }
}
}
],
@@ -12274,7 +15991,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -12330,7 +16047,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -12341,7 +16058,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [349, 351, 350]
+ "children": [
+ 349,
+ 351,
+ 350
+ ]
}
]
}
@@ -12387,7 +16108,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -12427,8 +16148,37 @@
"flags": {},
"type": {
"type": "reference",
- "id": 571,
- "name": "VerifyOTPParams"
+ "id": 570,
+ "name": "VerifyOTPParams",
+ "dereferenced": {
+ "id": 570,
+ "name": "VerifyOTPParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 191,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "VerifyMobileOTPParams"
+ },
+ {
+ "type": "reference",
+ "id": 576,
+ "name": "VerifyEmailOTPParams"
+ }
+ ]
+ }
+ }
}
},
{
@@ -12471,7 +16221,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [330]
+ "children": [
+ 330
+ ]
}
]
}
@@ -12569,7 +16321,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -12580,7 +16332,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [334, 333, 332]
+ "children": [
+ 334,
+ 333,
+ 332
+ ]
}
]
}
@@ -12598,19 +16354,56 @@
{
"title": "Constructors",
"kind": 512,
- "children": [264]
+ "children": [
+ 264
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [284, 287, 286, 285, 289, 290, 293, 288, 292, 291]
+ "children": [
+ 284,
+ 287,
+ 286,
+ 285,
+ 289,
+ 290,
+ 293,
+ 288,
+ 292,
+ 291
+ ]
},
{
"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
+ 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
]
}
],
@@ -12623,14 +16416,14 @@
]
},
{
- "id": 540,
+ "id": 539,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 542,
+ "id": 541,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -12644,7 +16437,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 142,
+ "line": 137,
"character": 2
}
],
@@ -12654,7 +16447,7 @@
}
},
{
- "id": 549,
+ "id": 548,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -12667,7 +16460,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 117,
+ "line": 112,
"character": 2
}
],
@@ -12677,12 +16470,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 539,
+ "id": 538,
"name": "UserAttributes.data"
}
},
{
- "id": 545,
+ "id": 544,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -12695,7 +16488,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 97,
+ "line": 92,
"character": 2
}
],
@@ -12705,12 +16498,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 535,
+ "id": 534,
"name": "UserAttributes.email"
}
},
{
- "id": 548,
+ "id": 547,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -12720,58 +16513,6 @@
"comment": {
"shortText": "An email change token."
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 112,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 538,
- "name": "UserAttributes.email_change_token"
- }
- },
- {
- "id": 543,
- "name": "email_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Sets if a user has confirmed their email address.",
- "text": "Only a service role can modify.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 149,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 547,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -12786,19 +16527,43 @@
"inheritedFrom": {
"type": "reference",
"id": 537,
- "name": "UserAttributes.password"
+ "name": "UserAttributes.email_change_token"
}
},
{
- "id": 546,
- "name": "phone",
+ "id": 542,
+ "name": "email_confirm",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "The user's phone."
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 144,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 546,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
},
"sources": [
{
@@ -12814,11 +16579,39 @@
"inheritedFrom": {
"type": "reference",
"id": 536,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 545,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 535,
"name": "UserAttributes.phone"
}
},
{
- "id": 544,
+ "id": 543,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -12832,7 +16625,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 156,
+ "line": 151,
"character": 2
}
],
@@ -12842,7 +16635,7 @@
}
},
{
- "id": 541,
+ "id": 540,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -12856,7 +16649,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 132,
+ "line": 127,
"character": 2
}
],
@@ -12870,20 +16663,30 @@
{
"title": "Properties",
"kind": 1024,
- "children": [542, 549, 545, 548, 543, 547, 546, 544, 541]
+ "children": [
+ 541,
+ 548,
+ 544,
+ 547,
+ 542,
+ 546,
+ 545,
+ 543,
+ 540
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 120,
+ "line": 115,
"character": 17
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 534,
+ "id": 533,
"name": "UserAttributes"
}
]
@@ -12936,7 +16739,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [484, 485]
+ "children": [
+ 484,
+ 485
+ ]
}
],
"sources": [
@@ -12948,14 +16754,14 @@
]
},
{
- "id": 558,
+ "id": 557,
"name": "CookieOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 561,
+ "id": 560,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -12965,7 +16771,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 175,
"character": 2
}
],
@@ -12975,7 +16781,7 @@
}
},
{
- "id": 560,
+ "id": 559,
"name": "lifetime",
"kind": 1024,
"kindString": "Property",
@@ -12985,7 +16791,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 178,
+ "line": 173,
"character": 2
}
],
@@ -12995,13 +16801,33 @@
}
},
{
- "id": 559,
+ "id": 558,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "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",
@@ -13016,26 +16842,6 @@
},
{
"id": 562,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 181,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 563,
"name": "sameSite",
"kind": 1024,
"kindString": "Property",
@@ -13045,7 +16851,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 183,
+ "line": 178,
"character": 2
}
],
@@ -13059,26 +16865,32 @@
{
"title": "Properties",
"kind": 1024,
- "children": [561, 560, 559, 562, 563]
+ "children": [
+ 560,
+ 559,
+ 558,
+ 561,
+ 562
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 174,
+ "line": 169,
"character": 17
}
]
},
{
- "id": 584,
+ "id": 583,
"name": "OpenIDConnectCredentials",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 588,
+ "id": 587,
"name": "client_id",
"kind": 1024,
"kindString": "Property",
@@ -13088,7 +16900,45 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 216,
+ "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
}
],
@@ -13099,34 +16949,14 @@
},
{
"id": 585,
- "name": "id_token",
+ "name": "nonce",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 213,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 589,
- "name": "issuer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 217,
+ "line": 209,
"character": 2
}
],
@@ -13137,24 +16967,6 @@
},
{
"id": 586,
- "name": "nonce",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 214,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 587,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -13164,7 +16976,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 215,
+ "line": 210,
"character": 2
}
],
@@ -13179,13 +16991,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [588, 585, 589, 586, 587]
+ "children": [
+ 587,
+ 584,
+ 588,
+ 585,
+ 586
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 207,
"character": 17
}
]
@@ -13198,7 +17016,7 @@
"flags": {},
"children": [
{
- "id": 489,
+ "id": 488,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -13206,7 +17024,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 34,
"character": 2
}
],
@@ -13216,7 +17034,7 @@
}
},
{
- "id": 491,
+ "id": 490,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -13229,7 +17047,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 43,
+ "line": 42,
"character": 2
}
],
@@ -13239,7 +17057,7 @@
}
},
{
- "id": 490,
+ "id": 489,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -13252,7 +17070,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 38,
"character": 2
}
],
@@ -13261,35 +17079,6 @@
"name": "number"
}
},
- {
- "id": 488,
- "name": "provider_refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
{
"id": 487,
"name": "provider_token",
@@ -13320,13 +17109,31 @@
}
},
{
- "id": 492,
+ "id": 491,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 492,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -13341,24 +17148,6 @@
},
{
"id": 493,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 45,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 494,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -13366,7 +17155,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 45,
"character": 2
}
],
@@ -13379,7 +17168,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -13390,7 +17179,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [489, 491, 490, 488, 487, 492, 493, 494]
+ "children": [
+ 488,
+ 490,
+ 489,
+ 487,
+ 491,
+ 492,
+ 493
+ ]
}
],
"sources": [
@@ -13402,14 +17199,14 @@
]
},
{
- "id": 550,
+ "id": 549,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 551,
+ "id": 550,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -13420,7 +17217,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 163,
+ "line": 158,
"character": 2
}
],
@@ -13430,7 +17227,7 @@
}
},
{
- "id": 552,
+ "id": 551,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -13438,13 +17235,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 162,
"character": 2
}
],
"signatures": [
{
- "id": 553,
+ "id": 552,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -13454,7 +17251,7 @@
},
"parameters": [
{
- "id": 554,
+ "id": 553,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -13462,11 +17259,54 @@
"type": {
"type": "reference",
"id": 482,
- "name": "AuthChangeEvent"
+ "name": "AuthChangeEvent",
+ "dereferenced": {
+ "id": 482,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 19,
+ "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": 555,
+ "id": 554,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -13495,7 +17335,7 @@
]
},
{
- "id": 556,
+ "id": 555,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -13503,13 +17343,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 171,
+ "line": 166,
"character": 2
}
],
"signatures": [
{
- "id": 557,
+ "id": 556,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -13529,94 +17369,42 @@
{
"title": "Properties",
"kind": 1024,
- "children": [551]
+ "children": [
+ 550
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [552, 556]
+ "children": [
+ 551,
+ 555
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 159,
+ "line": 154,
"character": 17
}
]
},
{
- "id": 513,
+ "id": 505,
"name": "User",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 523,
+ "id": 522,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 80,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 515,
- "name": "app_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 506,
- "name": "UserAppMetadata"
- }
- },
- {
- "id": 517,
- "name": "aud",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 518,
- "name": "confirmation_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -13630,8 +17418,104 @@
}
},
{
- "id": 527,
- "name": "confirmed_at",
+ "id": 507,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 508,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 509,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 509
+ ]
+ }
+ ],
+ "indexSignature": {
+ "id": 510,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 511,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 516,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 69,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 517,
+ "name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -13640,7 +17524,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 70,
"character": 2
}
],
@@ -13651,14 +17535,16 @@
},
{
"id": 526,
- "name": "created_at",
+ "name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 83,
+ "line": 79,
"character": 2
}
],
@@ -13668,7 +17554,25 @@
}
},
{
- "id": 524,
+ "id": 525,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 78,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 523,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -13678,7 +17582,129 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 81,
+ "line": 76,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 519,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 527,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 506,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 532,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 494,
+ "name": "UserIdentity"
+ }
+ }
+ },
+ {
+ "id": 521,
+ "name": "invited_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 529,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 82,
"character": 2
}
],
@@ -13689,7 +17715,27 @@
},
{
"id": 520,
- "name": "email_change_sent_at",
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 524,
+ "name": "phone",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -13709,7 +17755,7 @@
},
{
"id": 528,
- "name": "email_confirmed_at",
+ "name": "phone_confirmed_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -13718,7 +17764,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 85,
+ "line": 81,
"character": 2
}
],
@@ -13728,11 +17774,13 @@
}
},
{
- "id": 514,
- "name": "id",
+ "id": 518,
+ "name": "recovery_sent_at",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -13745,53 +17793,9 @@
"name": "string"
}
},
- {
- "id": 533,
- "name": "identities",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 90,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 495,
- "name": "UserIdentity"
- }
- }
- },
- {
- "id": 522,
- "name": "invited_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
{
"id": 530,
- "name": "last_sign_in_at",
+ "name": "role",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -13800,87 +17804,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 87,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 521,
- "name": "new_email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 78,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 525,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 82,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 529,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 86,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 519,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 83,
"character": 2
}
],
@@ -13891,26 +17815,6 @@
},
{
"id": 531,
- "name": "role",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 88,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 532,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -13920,7 +17824,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 89,
+ "line": 84,
"character": 2
}
],
@@ -13930,7 +17834,7 @@
}
},
{
- "id": 516,
+ "id": 512,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -13938,14 +17842,42 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 66,
"character": 2
}
],
"type": {
- "type": "reference",
- "id": 510,
- "name": "UserMetadata"
+ "type": "reflection",
+ "declaration": {
+ "id": 513,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 514,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 515,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
}
}
],
@@ -13954,94 +17886,46 @@
"title": "Properties",
"kind": 1024,
"children": [
- 523, 515, 517, 518, 527, 526, 524, 520, 528, 514, 533, 522, 530, 521, 525, 529, 519,
- 531, 532, 516
+ 522,
+ 507,
+ 516,
+ 517,
+ 526,
+ 525,
+ 523,
+ 519,
+ 527,
+ 506,
+ 532,
+ 521,
+ 529,
+ 520,
+ 524,
+ 528,
+ 518,
+ 530,
+ 531,
+ 512
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 70,
+ "line": 60,
"character": 17
}
]
},
{
- "id": 506,
- "name": "UserAppMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 507,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [507]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 61,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 508,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 509,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 534,
+ "id": 533,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 539,
+ "id": 538,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -14054,7 +17938,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 117,
+ "line": 112,
"character": 2
}
],
@@ -14064,7 +17948,7 @@
}
},
{
- "id": 535,
+ "id": 534,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -14077,30 +17961,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 97,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 538,
- "name": "email_change_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "An email change token."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 112,
+ "line": 92,
"character": 2
}
],
@@ -14111,14 +17972,14 @@
},
{
"id": 537,
- "name": "password",
+ "name": "email_change_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "The user's password."
+ "shortText": "An email change token."
},
"sources": [
{
@@ -14134,6 +17995,29 @@
},
{
"id": 536,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -14146,7 +18030,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 97,
"character": 2
}
],
@@ -14160,33 +18044,39 @@
{
"title": "Properties",
"kind": 1024,
- "children": [539, 535, 538, 537, 536]
+ "children": [
+ 538,
+ 534,
+ 537,
+ 536,
+ 535
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 93,
+ "line": 88,
"character": 17
}
],
"extendedBy": [
{
"type": "reference",
- "id": 540,
+ "id": 539,
"name": "AdminUserAttributes"
}
]
},
{
- "id": 564,
+ "id": 563,
"name": "UserCredentials",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 565,
+ "id": 564,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -14196,7 +18086,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 187,
+ "line": 182,
"character": 2
}
],
@@ -14206,54 +18096,13 @@
}
},
{
- "id": 570,
+ "id": 569,
"name": "oidc",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 193,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 584,
- "name": "OpenIDConnectCredentials"
- }
- },
- {
- "id": 567,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 189,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 566,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -14261,13 +18110,54 @@
"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": 569,
+ "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",
@@ -14277,7 +18167,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 192,
+ "line": 187,
"character": 2
}
],
@@ -14288,7 +18178,7 @@
}
},
{
- "id": 568,
+ "id": 567,
"name": "refreshToken",
"kind": 1024,
"kindString": "Property",
@@ -14298,7 +18188,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 190,
+ "line": 185,
"character": 2
}
],
@@ -14312,26 +18202,33 @@
{
"title": "Properties",
"kind": 1024,
- "children": [565, 570, 567, 566, 569, 568]
+ "children": [
+ 564,
+ 569,
+ 566,
+ 565,
+ 568,
+ 567
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 186,
+ "line": 181,
"character": 17
}
]
},
{
- "id": 495,
+ "id": 494,
"name": "UserIdentity",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 503,
+ "id": 502,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -14339,7 +18236,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 55,
"character": 2
}
],
@@ -14349,7 +18246,7 @@
}
},
{
- "id": 496,
+ "id": 495,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -14357,7 +18254,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 50,
+ "line": 49,
"character": 2
}
],
@@ -14367,7 +18264,7 @@
}
},
{
- "id": 498,
+ "id": 497,
"name": "identity_data",
"kind": 1024,
"kindString": "Property",
@@ -14375,27 +18272,27 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 51,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 498,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 500,
+ "id": 499,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 501,
+ "id": 500,
"name": "key",
"kind": 32768,
"flags": {},
@@ -14414,11 +18311,49 @@
}
},
{
- "id": 504,
+ "id": 503,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 501,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 504,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -14432,45 +18367,7 @@
}
},
{
- "id": 502,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 505,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 497,
+ "id": 496,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -14478,7 +18375,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 50,
"character": 2
}
],
@@ -14492,185 +18389,38 @@
{
"title": "Properties",
"kind": 1024,
- "children": [503, 496, 498, 504, 502, 505, 497]
+ "children": [
+ 502,
+ 495,
+ 497,
+ 503,
+ 501,
+ 504,
+ 496
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 48,
"character": 17
}
]
},
{
- "id": 510,
- "name": "UserMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 511,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 512,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 577,
+ "id": 576,
"name": "VerifyEmailOTPParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 578,
+ "id": 577,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 204,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 579,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 205,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 580,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 206,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 581,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 207,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 583,
- "name": "EmailOTPType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [578, 579, 580, 581]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 203,
- "character": 17
- }
- ]
- },
- {
- "id": 572,
- "name": "VerifyMobileOTPParams",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 573,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 198,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 574,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -14684,11 +18434,13 @@
}
},
{
- "id": 575,
- "name": "token",
+ "id": 578,
+ "name": "phone",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -14696,13 +18448,134 @@
"character": 2
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 579,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
- "id": 576,
+ "id": 580,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 202,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 582,
+ "name": "EmailOTPType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 577,
+ 578,
+ 579,
+ 580
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 198,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 571,
+ "name": "VerifyMobileOTPParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 572,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 193,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 573,
+ "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",
@@ -14712,13 +18585,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 201,
+ "line": 196,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 581,
"name": "MobileOTPType"
}
}
@@ -14727,13 +18600,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [573, 574, 575, 576]
+ "children": [
+ 572,
+ 573,
+ 574,
+ 575
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 197,
+ "line": 192,
"character": 17
}
]
@@ -14782,7 +18660,7 @@
}
},
{
- "id": 583,
+ "id": 582,
"name": "EmailOTPType",
"kind": 4194304,
"kindString": "Type alias",
@@ -14790,7 +18668,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 210,
+ "line": 205,
"character": 12
}
],
@@ -14821,7 +18699,7 @@
}
},
{
- "id": 582,
+ "id": 581,
"name": "MobileOTPType",
"kind": 4194304,
"kindString": "Type alias",
@@ -14829,7 +18707,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 209,
+ "line": 204,
"character": 12
}
],
@@ -14931,7 +18809,7 @@
}
},
{
- "id": 590,
+ "id": 589,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -14939,7 +18817,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 229,
+ "line": 224,
"character": 12
}
],
@@ -14982,7 +18860,7 @@
}
},
{
- "id": 571,
+ "id": 570,
"name": "VerifyOTPParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -14990,7 +18868,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 196,
+ "line": 191,
"character": 12
}
],
@@ -14999,12 +18877,12 @@
"types": [
{
"type": "reference",
- "id": 572,
+ "id": 571,
"name": "VerifyMobileOTPParams"
},
{
"type": "reference",
- "id": 577,
+ "id": 576,
"name": "VerifyEmailOTPParams"
}
]
@@ -15015,17 +18893,40 @@
{
"title": "Classes",
"kind": 128,
- "children": [1, 263]
+ "children": [
+ 1,
+ 263
+ ]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [540, 483, 558, 584, 486, 550, 513, 506, 534, 564, 495, 510, 577, 572]
+ "children": [
+ 539,
+ 483,
+ 557,
+ 583,
+ 486,
+ 549,
+ 505,
+ 533,
+ 563,
+ 494,
+ 576,
+ 571
+ ]
},
{
- "title": "Type aliases",
+ "title": "Type Aliases",
"kind": 4194304,
- "children": [482, 583, 582, 481, 590, 571]
+ "children": [
+ 482,
+ 582,
+ 581,
+ 481,
+ 589,
+ 570
+ ]
}
],
"sources": [
@@ -15039,1643 +18940,550 @@
{
"id": 0,
"name": "@supabase/postgrest-js",
- "kind": 1,
- "kindString": "Project",
+ "kind": 0,
"flags": {},
"originalName": "",
"children": [
{
- "id": 46,
- "name": "PostgrestBuilder",
- "kind": 128,
- "kindString": "Class",
+ "id": 502,
+ "name": "\"PostgrestClient\"",
+ "kind": 1,
+ "kindString": "Module",
"flags": {
- "isAbstract": true
+ "isExported": true
},
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/PostgrestClient.ts",
"children": [
{
- "id": 47,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 48,
- "name": "new PostgrestBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 49,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 50,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 46,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 46,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
- }
- }
- ]
- },
- {
- "id": 66,
- "name": "allowEmpty",
- "kind": 1024,
- "kindString": "Property",
+ "id": 503,
+ "name": "PostgrestClient",
+ "kind": 128,
+ "kindString": "Class",
"flags": {
- "isProtected": true
+ "isExported": true
},
- "sources": [
+ "children": [
{
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 58,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
+ "id": 512,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
},
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ]
- }
- },
- {
- "id": 61,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 62,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 63,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 64,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 65,
- "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": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 54,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 54,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 55,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 56,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 51,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 52,
- "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": 57,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 59,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 60,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- }
- },
- {
- "id": 52,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 53,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- },
- {
- "id": 70,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 91,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 71,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 72,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "id": 73,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 74,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 75,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 76,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 77,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 78,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 79,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 80,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 81,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "implementationOf": {
- "type": "reference",
- "name": "PromiseLike.then"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "name": "PromiseLike.then"
- }
- },
- {
- "id": 67,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 68,
- "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"
- },
- "parameters": [
- {
- "id": 69,
- "name": "throwOnError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 46,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [47]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [66, 58, 61, 53, 51, 57, 59, 60, 52]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [70, 67]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 51,
- "character": 22
- }
- ],
- "typeParameter": [
- {
- "id": 82,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 83,
- "name": "PostgrestQueryBuilder"
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "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": 21,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 3,
- "name": "new PostgrestClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
"comment": {
"shortText": "Creates a PostgREST client."
},
- "parameters": [
+ "signatures": [
{
- "id": 4,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "URL of the PostgREST endpoint."
+ "id": 513,
+ "name": "new PostgrestClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 5,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 6,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 12,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
+ "comment": {
+ "shortText": "Creates a PostgREST client."
+ },
+ "parameters": [
+ {
+ "id": 514,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "URL of the PostgREST endpoint."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 515,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 516,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {
- "isOptional": true
+ "isExported": true
},
- "sources": [
+ "children": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 31,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 13,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
+ "id": 522,
+ "name": "fetch",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
{
- "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"
- }
+ "fileName": "PostgrestClient.ts",
+ "line": 26,
+ "character": 11
}
- ]
- }
- }
- },
- {
- "id": 7,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 29,
- "character": 6
- }
- ],
- "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": [
+ ],
+ "type": {
+ "type": "union",
+ "types": [
{
- "id": 10,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "fetch"
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ ]
+ }
+ },
+ {
+ "id": 517,
+ "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": 518,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 519,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 520,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
}
}
- }
- }
- },
- {
- "id": 11,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
+ },
{
- "fileName": "src/PostgrestClient.ts",
- "line": 30,
- "character": 6
+ "id": 521,
+ "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": 523,
+ "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": [
+ 522,
+ 517,
+ 521,
+ 523
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 22,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 503,
+ "name": "PostgrestClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 12,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 510,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 11,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 505,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 506,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 507,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 508,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
"type": {
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 17,
- "name": "throwOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 32,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
}
],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [12, 7, 11, 17]
- }
- ]
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
- },
- "defaultValue": "{}"
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 9,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 509,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 10,
+ "character": 8
}
],
"type": {
- "type": "reference",
- "id": 1,
- "name": "default"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
- }
- ]
- },
- {
- "id": 24,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
+ },
{
- "fileName": "src/PostgrestClient.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 25,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
+ "id": 511,
+ "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": 504,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 8,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 524,
+ "name": "auth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
"signatures": [
{
- "id": 26,
- "name": "__type",
+ "id": 525,
+ "name": "auth",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Authenticates the request with JWT."
+ },
"parameters": [
{
- "id": 27,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 28,
- "name": "init",
+ "id": 526,
+ "name": "token",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isOptional": true
+ "isExported": true
+ },
+ "comment": {
+ "text": "The JWT token to use.\n"
},
"type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "type": "intrinsic",
+ "name": "string"
}
}
],
"type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "type": "intrinsic",
+ "name": "this"
}
}
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 47,
+ "character": 6
+ }
]
- }
- }
- },
- {
- "id": 19,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/PostgrestClient.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 20,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 21,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 22,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 23,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 29,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 18,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 30,
- "name": "auth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 47,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 31,
- "name": "auth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Authenticates the request with JWT."
- },
- "parameters": [
- {
- "id": 32,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The JWT token to use.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 33,
- "name": "from",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 57,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 34,
+ "id": 527,
"name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a table operation."
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "typeParameter": [
- {
- "id": 35,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "parameters": [
- {
- "id": 36,
- "name": "table",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The table name to operate on.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 83,
- "typeArguments": [
- {
- "type": "reference",
- "id": 35,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 37,
- "name": "rpc",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 75,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 38,
- "name": "rpc",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a function call."
- },
- "typeParameter": [
- {
- "id": 39,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "parameters": [
- {
- "id": 40,
- "name": "fn",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The function name to call."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 41,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The parameters to pass to the function call."
- },
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 42,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "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
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 83,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 44,
- "name": "head",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 82,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [45, 44]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 39,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [2]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [24, 19, 23, 29, 18]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [30, 33, 37]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 7,
- "character": 21
- }
- ]
- },
- {
- "id": 177,
- "name": "PostgrestFilterBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 178,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "signatures": [
- {
- "id": 179,
- "name": "new PostgrestFilterBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 180,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 181,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 46,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.constructor"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.constructor"
- }
- },
- {
- "id": 291,
- "name": "adj",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 328,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 292,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
"signatures": [
{
- "id": 293,
- "name": "__type",
+ "id": 528,
+ "name": "from",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`."
+ "flags": {
+ "isExported": true
},
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 529,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
"parameters": [
{
- "id": 294,
- "name": "column",
+ "id": 530,
+ "name": "table",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 295,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
"comment": {
- "shortText": "The range to filter with.\n"
+ "text": "The table name to operate on.\n"
},
"type": {
"type": "intrinsic",
@@ -16685,160 +19493,1890 @@
],
"type": {
"type": "reference",
- "id": 177,
+ "id": 363,
"typeArguments": [
{
- "type": "reference",
- "id": 180,
- "name": "T"
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
}
],
- "name": "default"
+ "name": "PostgrestQueryBuilder"
}
}
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 57,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 531,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 532,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "typeParameter": [
+ {
+ "id": 533,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 534,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The function name to call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The parameters to pass to the function call."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ },
+ {
+ "id": 536,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 537,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 539,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 80,
+ "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": 538,
+ "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": [
+ 539,
+ 538
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 77,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 75,
+ "character": 5
+ }
]
}
- },
- "defaultValue": "..."
- },
- {
- "id": 408,
- "name": "allowEmpty",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
+ ],
+ "groups": [
{
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 12
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 512
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 510,
+ 505,
+ 509,
+ 511,
+ 504
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 524,
+ 527,
+ 531
+ ]
}
],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.allowEmpty"
- }
- },
- {
- "id": 400,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
+ "fileName": "PostgrestClient.ts",
+ "line": 7,
+ "character": 36
}
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 503
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 540,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/index.ts",
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 149,
+ "name": "\"lib/PostgrestFilterBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestFilterBuilder.ts",
+ "children": [
+ {
+ "id": 150,
+ "name": "PostgrestFilterBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 151,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
}
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.body"
- }
- },
- {
- "id": 246,
- "name": "cd",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 253,
- "character": 2
}
],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 247,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
+ "children": [
+ {
+ "id": 343,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
"signatures": [
{
- "id": 248,
+ "id": 344,
+ "name": "new PostgrestFilterBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 345,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder",
+ "dereferenced": {
+ "id": 27,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 28,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 41,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 42,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder",
+ "dereferenced": "[Circular ~.children.2.children.0.children.0.signatures.0.parameters.0.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 36,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 31,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 29,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 55,
+ "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": 57,
+ "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": 58,
+ "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": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 47,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 48,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 49,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 50,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 51,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 53,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 54,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 55,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "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": 44,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 45,
+ "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": 46,
+ "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": [
+ 41
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 40,
+ 36,
+ 39,
+ 31,
+ 29,
+ 35,
+ 37,
+ 38,
+ 30
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 47,
+ 44
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 237,
+ "name": "adj",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeAdjacent()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 328,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 233,
+ "name": "rangeAdjacent"
+ },
+ "defaultValue": "this.rangeAdjacent"
+ },
+ {
+ "id": 342,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 338,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 212,
+ "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": 208,
+ "name": "containedBy"
+ },
+ "defaultValue": "this.containedBy"
+ },
+ {
+ "id": 207,
+ "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": 203,
+ "name": "contains"
+ },
+ "defaultValue": "this.contains"
+ },
+ {
+ "id": 341,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 333,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 334,
"name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 335,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 336,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 331,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 227,
+ "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": 223,
+ "name": "rangeGte"
+ },
+ "defaultValue": "this.rangeGte"
+ },
+ {
+ "id": 232,
+ "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": 228,
+ "name": "rangeLte"
+ },
+ "defaultValue": "this.rangeLte"
+ },
+ {
+ "id": 242,
+ "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": 238,
+ "name": "overlaps"
+ },
+ "defaultValue": "this.overlaps"
+ },
+ {
+ "id": 337,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 339,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 340,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 217,
+ "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": 213,
+ "name": "rangeLt"
+ },
+ "defaultValue": "this.rangeLt"
+ },
+ {
+ "id": 222,
+ "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": 218,
+ "name": "rangeGt"
+ },
+ "defaultValue": "this.rangeGt"
+ },
+ {
+ "id": 332,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 311,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 312,
+ "name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 313,
+ "name": "signal",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 99,
+ "name": "PostgrestTransformBuilder.abortSignal"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 91,
+ "character": 13
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 99,
+ "name": "PostgrestTransformBuilder.abortSignal"
+ }
+ },
+ {
+ "id": 208,
+ "name": "containedBy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 209,
+ "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": 249,
+ "id": 210,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The column to filter on."
+ "text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
}
},
{
- "id": 250,
+ "id": 211,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The value to filter with.\n"
+ "text": "The value to filter with.\n"
},
"type": {
"type": "union",
@@ -16847,9 +21385,104 @@
"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": 203,
+ "name": "contains",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 204,
+ "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": 205,
+ "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": 206,
+ "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",
@@ -16859,70 +21492,2517 @@
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
},
"objectType": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
}
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
}
]
}
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 213,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 318,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 319,
+ "name": "csv",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Set the response type to CSV."
+ },
"type": {
"type": "reference",
- "id": 177,
"typeArguments": [
{
"type": "reference",
- "id": 180,
- "name": "T"
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
}
],
- "name": "default"
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 106,
+ "name": "PostgrestTransformBuilder.csv"
}
}
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 119,
+ "character": 5
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 106,
+ "name": "PostgrestTransformBuilder.csv"
+ }
+ },
+ {
+ "id": 163,
+ "name": "eq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 164,
+ "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": 165,
+ "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": 166,
+ "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": 85,
+ "character": 4
+ }
]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 237,
- "name": "cs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
+ },
+ {
+ "id": 322,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 323,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Obtains the EXPLAIN plan for this request."
+ },
+ "parameters": [
+ {
+ "id": 324,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 325,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 326,
+ "name": "analyze",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query will be executed and the actual run time will be displayed."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 142,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "buffers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on buffer usage."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 145,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 328,
+ "name": "settings",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on configuration parameters that affect query planning."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 144,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 327,
+ "name": "verbose",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query identifier will be displayed and the result will include the output columns of the query."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 143,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 330,
+ "name": "wal",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on WAL record generation\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 146,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 326,
+ 329,
+ 328,
+ 327,
+ 330
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 110,
+ "name": "PostgrestTransformBuilder.explain"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 9
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 110,
+ "name": "PostgrestTransformBuilder.explain"
+ }
+ },
+ {
+ "id": 279,
+ "name": "filter",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 280,
+ "name": "filter",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose `column` satisfies the filter."
+ },
+ "parameters": [
+ {
+ "id": 281,
+ "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": 282,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "id": 361,
+ "name": "FilterOperator",
+ "dereferenced": {
+ "id": 361,
+ "name": "FilterOperator",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
+ "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"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 283,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 452,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 251,
+ "name": "fts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 252,
+ "name": "fts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` instead.\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 253,
+ "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": 254,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 255,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 256,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 257,
+ "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": [
+ 257
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 391,
+ "character": 37
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 391,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 320,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 321,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Set the response type to GeoJSON."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 108,
+ "name": "PostgrestTransformBuilder.geojson"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 127,
+ "character": 9
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 108,
+ "name": "PostgrestTransformBuilder.geojson"
+ }
+ },
+ {
+ "id": 171,
+ "name": "gt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 172,
+ "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": 173,
+ "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": 174,
+ "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": 175,
+ "name": "gte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 176,
+ "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": 177,
+ "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": 178,
+ "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": 191,
+ "name": "ilike",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 192,
+ "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": 193,
+ "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": 194,
+ "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": 199,
+ "name": "in",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 200,
+ "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": 201,
+ "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": 202,
+ "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"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 193,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 195,
+ "name": "is",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 196,
+ "name": "is",
+ "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`."
+ },
+ "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": 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": "boolean"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 181,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 187,
+ "name": "like",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 188,
+ "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": 189,
+ "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": 190,
+ "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": 157,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 298,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 299,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 300,
+ "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": 301,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 302,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 303,
+ "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": [
+ 303
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 66,
+ "character": 22
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 86,
+ "name": "PostgrestTransformBuilder.limit"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 66,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 86,
+ "name": "PostgrestTransformBuilder.limit"
+ }
+ },
+ {
+ "id": 179,
+ "name": "lt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 180,
+ "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": 181,
+ "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": 182,
+ "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": 133,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 183,
+ "name": "lte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 184,
+ "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": 185,
+ "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": 186,
+ "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": 145,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "match",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 285,
+ "name": "match",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose columns match the specified `query` object."
+ },
+ "parameters": [
+ {
+ "id": 286,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The object to filter with, with column names as keys mapped\n to their filter values.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 463,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 316,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 317,
+ "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": 70,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestMaybeSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 104,
+ "name": "PostgrestTransformBuilder.maybeSingle"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 110,
+ "character": 13
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 104,
+ "name": "PostgrestTransformBuilder.maybeSingle"
+ }
+ },
+ {
+ "id": 167,
+ "name": "neq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "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": 169,
+ "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": 170,
+ "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": 97,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 152,
+ "name": "not",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 153,
+ "name": "not",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows which doesn't satisfy the filter."
+ },
+ "parameters": [
+ {
+ "id": 154,
+ "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": 155,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "id": 361,
+ "name": "FilterOperator",
+ "dereferenced": {
+ "id": 361,
+ "name": "FilterOperator",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
+ "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"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 61,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 157,
+ "name": "or",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 158,
+ "name": "or",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows satisfying at least one of the filters."
+ },
+ "parameters": [
+ {
+ "id": 159,
+ "name": "filters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The filters to use, separated by commas."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 160,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 162,
+ "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": [
+ 162
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 72,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 72,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 290,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 291,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "parameters": [
+ {
+ "id": 292,
+ "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": 293,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 294,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 295,
+ "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": 297,
+ "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": 296,
+ "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": [
+ 295,
+ 297,
+ 296
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 41,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 78,
+ "name": "PostgrestTransformBuilder.order"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 40,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 78,
+ "name": "PostgrestTransformBuilder.order"
+ }
+ },
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 229,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
"id": 238,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
+ "name": "overlaps",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
"signatures": [
{
"id": 239,
- "name": "__type",
+ "name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`."
+ "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": [
{
@@ -16930,16 +24010,17 @@
"name": "column",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The column to filter on."
+ "text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
}
@@ -16949,471 +24030,11 @@
"name": "value",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "object"
- },
- {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 403,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 404,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 405,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 406,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 407,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
"flags": {
- "isOptional": true
+ "isExported": 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": "PostgrestTransformBuilder.fetch"
- }
- },
- {
- "id": 395,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 54,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 396,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 397,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 398,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.headers"
- }
- },
- {
- "id": 393,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 52,
- "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",
- "name": "PostgrestTransformBuilder.method"
- }
- },
- {
- "id": 273,
- "name": "nxl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 298,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 274,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 275,
- "name": "__type",
- "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`."
- },
- "parameters": [
- {
- "id": 276,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
"comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 277,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 282,
- "name": "nxr",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 313,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 283,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 284,
- "name": "__type",
- "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`."
- },
- "parameters": [
- {
- "id": 285,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 286,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 300,
- "name": "ov",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 349,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 301,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 302,
- "name": "__type",
- "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`."
- },
- "parameters": [
- {
- "id": 303,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 304,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
+ "text": "The value to filter with.\n"
},
"type": {
"type": "union",
@@ -17430,14 +24051,12 @@
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
},
"objectType": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
}
@@ -17447,213 +24066,44 @@
}
],
"type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ "type": "intrinsic",
+ "name": "this"
}
}
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 399,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.schema"
- }
- },
- {
- "id": 401,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.shouldThrowOnError"
- }
- },
- {
- "id": 402,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.signal"
- }
- },
- {
- "id": 255,
- "name": "sl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 268,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 256,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
+ ],
+ "sources": [
{
- "id": 257,
- "name": "__type",
- "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`."
- },
- "parameters": [
- {
- "id": 258,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 259,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 337,
+ "character": 10
}
]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 264,
- "name": "sr",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 283,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
"id": 265,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
+ "name": "phfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
"signatures": [
{
"id": 266,
- "name": "__type",
+ "name": "phfts",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
+ "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": [
{
@@ -17661,28 +24111,478 @@
"name": "column",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The column to filter on."
+ "text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
}
},
{
"id": 268,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 269,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 270,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 271,
+ "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": [
+ 271
+ ]
+ }
+ ],
+ "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": 258,
+ "name": "plfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 259,
+ "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": 260,
+ "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": 261,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 262,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 263,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 264,
+ "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": [
+ 264
+ ]
+ }
+ ],
+ "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": 304,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 305,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 306,
+ "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": 307,
+ "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": 308,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 309,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 310,
+ "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": [
+ 310
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 79,
+ "character": 33
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 92,
+ "name": "PostgrestTransformBuilder.range"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 79,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 92,
+ "name": "PostgrestTransformBuilder.range"
+ }
+ },
+ {
+ "id": 233,
+ "name": "rangeAdjacent",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 234,
+ "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": 235,
+ "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": 236,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The range to filter with.\n"
+ "text": "The range to filter with.\n"
},
"type": {
"type": "intrinsic",
@@ -17691,3996 +24591,5716 @@
}
],
"type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ "type": "intrinsic",
+ "name": "this"
}
}
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 322,
+ "character": 15
+ }
]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 394,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
+ },
{
- "fileName": "src/lib/types.ts",
- "line": 53,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.url"
- }
- },
- {
- "id": 373,
- "name": "abortSignal",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 91,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 374,
- "name": "abortSignal",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Sets the AbortSignal for the fetch request."
+ "id": 218,
+ "name": "rangeGt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "parameters": [
+ "signatures": [
{
- "id": 375,
- "name": "signal",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.abortSignal"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.abortSignal"
- }
- },
- {
- "id": 242,
- "name": "containedBy",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 238,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 243,
- "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`."
- },
- "parameters": [
- {
- "id": 244,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
+ "id": 219,
+ "name": "rangeGt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 245,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
"comment": {
- "shortText": "The value to filter with.\n"
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
+ "parameters": [
+ {
+ "id": 220,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
},
- {
- "type": "intrinsic",
- "name": "object"
+ "comment": {
+ "text": "The column to filter on."
},
- {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 233,
- "name": "contains",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 213,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 234,
- "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`."
- },
- "parameters": [
- {
- "id": 235,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 236,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "object"
- },
- {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 380,
- "name": "csv",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 119,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 381,
- "name": "csv",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Set the response type to CSV."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 427,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.csv"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.csv"
- }
- },
- {
- "id": 193,
- "name": "eq",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 85,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 194,
- "name": "eq",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`."
- },
- "parameters": [
- {
- "id": 195,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 196,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 384,
- "name": "explain",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 141,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 385,
- "name": "explain",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Obtains the EXPLAIN plan for this request."
- },
- "parameters": [
- {
- "id": 386,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 387,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 388,
- "name": "analyze",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 148,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 391,
- "name": "buffers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 151,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 390,
- "name": "settings",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 150,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 389,
- "name": "verbose",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 149,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 392,
- "name": "wal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 152,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [388, 391, 390, 389, 392]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 425,
- "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",
- "name": "PostgrestTransformBuilder.explain"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.explain"
- }
- },
- {
- "id": 341,
- "name": "filter",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 452,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 342,
- "name": "filter",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows whose `column` satisfies the filter."
- },
- "parameters": [
- {
- "id": 343,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 344,
- "name": "operator",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The operator to filter with."
- },
- "type": {
- "type": "reference",
- "name": "FilterOperator"
- }
- },
- {
- "id": 345,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 313,
- "name": "fts",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 391,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 314,
- "name": "fts",
- "kind": 4096,
- "kindString": "Call signature",
- "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"
- }
- ]
- },
- "parameters": [
- {
- "id": 315,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 316,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The Postgres tsquery string to filter with."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 317,
- "name": "config",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text search configuration to use.\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 318,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 319,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 391,
- "character": 52
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [319]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 382,
- "name": "geojson",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 127,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 383,
- "name": "geojson",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Set the response type to GeoJSON."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 427,
- "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",
- "name": "PostgrestTransformBuilder.geojson"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.geojson"
- }
- },
- {
- "id": 201,
- "name": "gt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 109,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 202,
- "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`."
- },
- "parameters": [
- {
- "id": 203,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 204,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 205,
- "name": "gte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 121,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 206,
- "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`."
- },
- "parameters": [
- {
- "id": 207,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 208,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 221,
- "name": "ilike",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 169,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 222,
- "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)."
- },
- "parameters": [
- {
- "id": 223,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 224,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 229,
- "name": "in",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 193,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 230,
- "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`."
- },
- "parameters": [
- {
- "id": 231,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 232,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to filter with.\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
+ "type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
}
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 225,
- "name": "is",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 181,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 226,
- "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`."
- },
- "parameters": [
- {
- "id": 227,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 228,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
+ },
+ {
+ "id": 221,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
},
- {
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
"type": "intrinsic",
- "name": "boolean"
+ "name": "string"
}
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 217,
- "name": "like",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 157,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 218,
- "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)."
- },
- "parameters": [
- {
- "id": 219,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
}
- }
- },
- {
- "id": 220,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to filter with.\n"
- },
+ ],
"type": {
"type": "intrinsic",
- "name": "string"
+ "name": "this"
}
}
],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 360,
- "name": "limit",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 66,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 361,
- "name": "limit",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limits the result with the specified `count`."
- },
- "parameters": [
+ "sources": [
{
- "id": 362,
- "name": "count",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The maximum no. of rows to limit to."
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 277,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "rangeGte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 224,
+ "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": 225,
+ "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": 226,
+ "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": "number"
+ "name": "this"
}
- },
- {
- "id": 363,
- "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": 364,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 365,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 66,
- "character": 43
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [365]
- }
- ]
- }
- },
- "defaultValue": "{}"
}
],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 292,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 213,
+ "name": "rangeLt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
+ "signatures": [
+ {
+ "id": 214,
+ "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": 215,
+ "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": 216,
+ "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": 228,
+ "name": "rangeLte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 229,
+ "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": 230,
+ "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": 231,
+ "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": 287,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 288,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 289,
+ "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": 75,
+ "name": "PostgrestTransformBuilder.select"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
"inheritedFrom": {
"type": "reference",
- "name": "PostgrestTransformBuilder.limit"
+ "id": 75,
+ "name": "PostgrestTransformBuilder.select"
}
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.limit"
- }
- },
- {
- "id": 209,
- "name": "lt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 133,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 210,
- "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`."
+ "id": 314,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "parameters": [
+ "signatures": [
{
- "id": 211,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
+ "id": 315,
+ "name": "single",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 212,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
"comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 213,
- "name": "lte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 145,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 214,
- "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`."
- },
- "parameters": [
- {
- "id": 215,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 216,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 346,
- "name": "match",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 463,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 347,
- "name": "match",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows whose columns match the specified `query` object."
- },
- "parameters": [
- {
- "id": 348,
- "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"
+ "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": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
}
],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 102,
+ "name": "PostgrestTransformBuilder.single"
}
}
],
- "type": {
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 100,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
"type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ "id": 102,
+ "name": "PostgrestTransformBuilder.single"
}
- }
- ]
- },
- {
- "id": 378,
- "name": "maybeSingle",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 379,
- "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."
+ "id": 243,
+ "name": "textSearch",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
+ "signatures": [
+ {
+ "id": 244,
+ "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": 245,
+ "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": 246,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 247,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 248,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 249,
+ "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": 250,
+ "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": [
+ 249,
+ 250
+ ]
+ }
+ ],
+ "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": 349,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 350,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 351,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 352,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 353,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 354,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 355,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 356,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 357,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 358,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 359,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 360,
+ "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",
- "id": 427,
"typeArguments": [
{
"type": "union",
"types": [
{
- "type": "literal",
- "value": null
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
},
{
- "type": "reference",
- "id": 180,
- "name": "T"
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
}
]
}
],
- "name": "PostgrestSingleResponse"
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
}
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 346,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 347,
+ "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": 348,
+ "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": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ },
+ {
+ "id": 272,
+ "name": "wfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 273,
+ "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": 274,
+ "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": 275,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 276,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 277,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 278,
+ "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": [
+ 278
+ ]
+ }
+ ],
+ "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": [
+ 343
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 237,
+ 342,
+ 338,
+ 212,
+ 207,
+ 341,
+ 333,
+ 331,
+ 227,
+ 232,
+ 242,
+ 337,
+ 339,
+ 340,
+ 217,
+ 222,
+ 332
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 311,
+ 208,
+ 203,
+ 318,
+ 163,
+ 322,
+ 279,
+ 251,
+ 320,
+ 171,
+ 175,
+ 191,
+ 199,
+ 195,
+ 187,
+ 298,
+ 179,
+ 183,
+ 284,
+ 316,
+ 167,
+ 152,
+ 157,
+ 290,
+ 238,
+ 265,
+ 258,
+ 304,
+ 233,
+ 218,
+ 223,
+ 213,
+ 228,
+ 287,
+ 314,
+ 243,
+ 349,
+ 346,
+ 272
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 53,
+ "character": 43
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 73,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ },
+ {
+ "id": 361,
+ "name": "FilterOperator",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
+ "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"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 150
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 361
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "\"lib/PostgrestQueryBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
+ "children": [
+ {
+ "id": 363,
+ "name": "PostgrestQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 364,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 365,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 366,
+ "name": "new PostgrestQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 367,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 368,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 369,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 375,
+ "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": 375,
+ "name": "fetch"
+ }
+ ]
+ }
+ },
+ {
+ "id": 370,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 8,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 371,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 372,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 373,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 374,
+ "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": 376,
+ "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": [
+ 375,
+ 370,
+ 374,
+ 376
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 6,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 4,
+ "character": 75
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 432,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
},
"inheritedFrom": {
"type": "reference",
- "name": "PostgrestTransformBuilder.maybeSingle"
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
}
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.maybeSingle"
- }
- },
- {
- "id": 197,
- "name": "neq",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 97,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 198,
- "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`."
+ "id": 428,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
},
- "parameters": [
+ "sources": [
{
- "id": 199,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 200,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
"name": "T"
}
- },
- "objectType": {
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
"type": "reference",
- "id": 180,
- "name": "T"
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
}
}
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 36,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 431,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
}
],
"type": {
"type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 182,
- "name": "not",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 61,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 183,
- "name": "not",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows which doesn't satisfy the filter."
+ "id": 59,
+ "name": "Fetch"
},
- "parameters": [
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 423,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
{
- "id": 184,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 424,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
+ "indexSignature": [
+ {
+ "id": 425,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 426,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 421,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
{
- "id": 185,
- "name": "operator",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The operator to filter with."
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
},
- "type": {
- "type": "reference",
- "name": "FilterOperator"
+ {
+ "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": 427,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
{
- "id": 186,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
"type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 187,
- "name": "or",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 72,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 188,
- "name": "or",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows satisfying at least one of the filters."
- },
- "parameters": [
- {
- "id": 189,
- "name": "filters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The filters to use, separated by commas."
+ "name": "undefined"
},
- "type": {
+ {
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 190,
- "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": 191,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 192,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 72,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [192]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 352,
- "name": "order",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 40,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 353,
- "name": "order",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Orders the result with the specified `column`."
- },
- "parameters": [
- {
- "id": 354,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to order on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 355,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 356,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 357,
- "name": "ascending",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 359,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 52
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 358,
- "name": "nullsFirst",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 30
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [357, 359, 358]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ ]
},
"inheritedFrom": {
"type": "reference",
- "name": "PostgrestTransformBuilder.order"
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
}
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.order"
- }
- },
- {
- "id": 296,
- "name": "overlaps",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 337,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 297,
- "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`."
+ "id": 429,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
},
- "parameters": [
+ "sources": [
{
- "id": 298,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 430,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 422,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 415,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 416,
+ "name": "delete",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
+ "comment": {
+ "shortText": "Performs a DELETE on the table."
+ },
+ "parameters": [
+ {
+ "id": 417,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 418,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 420,
+ "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": 419,
+ "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": [
+ 420,
+ 419
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 212,
+ "character": 9
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
}
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 212,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 384,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 385,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 386,
+ "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": 387,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 388,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 390,
+ "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": 389,
+ "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": [
+ 390,
+ 389
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
}
},
{
- "id": 299,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
+ "id": 391,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "union",
- "types": [
+ "comment": {
+ "tags": [
{
+ "tag": "deprecated",
+ "text": "Use `upsert()` instead.\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 392,
+ "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": 393,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 394,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 398,
+ "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": 396,
+ "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": 397,
+ "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": 395,
+ "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": [
+ 398,
+ 396,
+ 397,
+ 395
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "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": 377,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 378,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 379,
+ "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": 380,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 381,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 383,
+ "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": 382,
+ "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": [
+ 383,
+ 382
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 33,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
{
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 32,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 436,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 437,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 438,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 439,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 440,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 441,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 442,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 443,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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
+ }
+ ]
}
},
- "objectType": {
- "type": "reference",
- "id": 180,
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 444,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 445,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 446,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 447,
+ "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": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 433,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 434,
+ "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": 435,
+ "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": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ },
+ {
+ "id": 408,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 409,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "parameters": [
+ {
+ "id": 410,
+ "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"
}
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 327,
- "name": "phfts",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 423,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 328,
- "name": "phfts",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "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": 329,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 330,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The Postgres tsquery string to filter with."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 331,
- "name": "config",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text search configuration to use.\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 332,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 333,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 423,
- "character": 54
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [333]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 320,
- "name": "plfts",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 407,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 321,
- "name": "plfts",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "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": 322,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 323,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The Postgres tsquery string to filter with."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 324,
- "name": "config",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text search configuration to use.\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 325,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 326,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 407,
- "character": 54
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [326]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 366,
- "name": "range",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 79,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 367,
- "name": "range",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limits the result to rows within the specified range, inclusive."
- },
- "parameters": [
- {
- "id": 368,
- "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": 369,
- "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": 370,
- "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": 371,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 372,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 79,
- "character": 54
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [372]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.range"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.range"
- }
- },
- {
- "id": 287,
- "name": "rangeAdjacent",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 322,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 288,
- "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`."
- },
- "parameters": [
- {
- "id": 289,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 290,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 260,
- "name": "rangeGt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 277,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 261,
- "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`."
- },
- "parameters": [
- {
- "id": 262,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 263,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 269,
- "name": "rangeGte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 292,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 270,
- "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`."
- },
- "parameters": [
- {
- "id": 271,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 272,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 251,
- "name": "rangeLt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 262,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 252,
- "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`."
- },
- "parameters": [
- {
- "id": 253,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 254,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 278,
- "name": "rangeLte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 307,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 279,
- "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`."
- },
- "parameters": [
- {
- "id": 280,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 281,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 349,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 13,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 350,
- "name": "select",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs vertical filtering with SELECT."
- },
- "parameters": [
- {
- "id": 351,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The columns to retrieve, separated by commas.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "'*'"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.select"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.select"
- }
- },
- {
- "id": 376,
- "name": "single",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 100,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 377,
- "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": 427,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.single"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.single"
- }
- },
- {
- "id": 305,
- "name": "textSearch",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 360,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 306,
- "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`."
- },
- "parameters": [
- {
- "id": 307,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 308,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The Postgres tsquery string to filter with."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 309,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 310,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 311,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 366,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 312,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 366,
- "character": 26
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "plain"
- },
- {
- "type": "literal",
- "value": "phrase"
- },
- {
- "type": "literal",
- "value": "websearch"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [311, 312]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 412,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 91,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 413,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 414,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "id": 415,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 416,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
+ },
+ {
+ "id": 411,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
},
- {
+ "originalName": "__1",
+ "type": {
"type": "reflection",
"declaration": {
- "id": 417,
+ "id": 412,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
- "signatures": [
+ "flags": {
+ "isExported": true
+ },
+ "children": [
{
- "id": 418,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
+ "id": 414,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
{
- "id": 419,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 187,
+ "character": 11
}
],
"type": {
"type": "union",
"types": [
{
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 420,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 421,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 422,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 423,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
"type": "intrinsic",
- "name": "any"
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
}
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 413,
+ "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": "reference",
- "id": 73,
- "name": "TResult2"
+ "type": "stringLiteral",
+ "value": "minimal"
},
{
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "type": "stringLiteral",
+ "value": "representation"
}
]
- }
+ },
+ "defaultValue": "\"representation\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 414,
+ 413
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 184,
+ "character": 23
}
]
}
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
},
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.then"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.then"
- }
- },
- {
- "id": 409,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 410,
- "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"
- },
- "parameters": [
- {
- "id": 411,
- "name": "throwOnError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
+ "defaultValue": "{}"
+ }
+ ],
"type": {
- "type": "intrinsic",
- "name": "boolean"
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
}
}
],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.throwOnError"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.throwOnError"
- }
- },
- {
- "id": 334,
- "name": "wfts",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 183,
+ "character": 8
+ }
+ ]
+ },
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 439,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 335,
- "name": "wfts",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "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"
- }
- ]
+ "id": 399,
+ "name": "upsert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "parameters": [
+ "signatures": [
{
- "id": 336,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
+ "id": 400,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 337,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
"comment": {
- "shortText": "The Postgres tsquery string to filter with."
+ "shortText": "Performs an UPSERT into the table."
},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 338,
- "name": "config",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text search configuration to use.\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 339,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 340,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
+ "parameters": [
+ {
+ "id": 401,
+ "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"
},
- "sources": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 402,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 403,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 439,
- "character": 53
+ "id": 406,
+ "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": 407,
+ "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": 404,
+ "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": 405,
+ "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\""
}
],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 406,
+ 407,
+ 404,
+ 405
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 143,
+ "character": 38
+ }
+ ]
}
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [340]
- }
- ]
+ },
+ "defaultValue": "{}"
}
- },
- "defaultValue": "{}"
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
}
],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 142,
+ "character": 8
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 365
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 432,
+ 428,
+ 431,
+ 423,
+ 421,
+ 427,
+ 429,
+ 430,
+ 422
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 415,
+ 384,
+ 377,
+ 436,
+ 433,
+ 408,
+ 399
+ ]
+ }
+ ],
+ "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": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
}
]
}
],
"groups": [
{
- "title": "Constructors",
- "kind": 512,
- "children": [178]
- },
- {
- "title": "Properties",
- "kind": 1024,
+ "title": "Classes",
+ "kind": 128,
"children": [
- 291, 408, 400, 246, 237, 403, 395, 393, 273, 282, 300, 399, 401, 402, 255, 264, 394
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 373, 242, 233, 380, 193, 384, 341, 313, 382, 201, 205, 221, 229, 225, 217, 360, 209,
- 213, 346, 378, 197, 182, 187, 352, 296, 327, 320, 366, 287, 260, 269, 251, 278, 349,
- 376, 305, 412, 409, 334
+ 363
]
}
],
"sources": [
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 53,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 424,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 1,
+ "character": 0
}
]
},
{
- "id": 83,
- "name": "PostgrestQueryBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
+ "id": 448,
+ "name": "\"lib/PostgrestRpcBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestRpcBuilder.ts",
"children": [
{
- "id": 84,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
+ "id": 449,
+ "name": "PostgrestRpcBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 5,
- "character": 2
+ "id": 450,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
}
],
- "signatures": [
+ "children": [
{
- "id": 85,
- "name": "new PostgrestQueryBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
+ "id": 451,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
{
- "id": 86,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
+ "id": 452,
+ "name": "new PostgrestRpcBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 453,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 454,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 461,
+ "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": 375,
+ "name": "fetch"
+ }
+ ]
+ }
+ },
+ {
+ "id": 456,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 8,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 457,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 458,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 459,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 460,
+ "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": 462,
+ "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": [
+ 461,
+ 456,
+ 460,
+ 462
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 6,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
}
],
- "parameters": [
+ "sources": [
{
- "id": 87,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 4,
+ "character": 73
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 481,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 477,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 480,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 472,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 473,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 474,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 475,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 470,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 476,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
"type": "intrinsic",
"name": "string"
}
- },
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 478,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
{
- "id": 88,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 89,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 95,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 479,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 471,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 463,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 464,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "parameters": [
+ {
+ "id": 465,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
},
- "sources": [
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ },
+ {
+ "id": 466,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 467,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 15,
- "character": 6
+ "id": 469,
+ "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": 468,
+ "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"
}
],
- "type": {
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 469,
+ 468
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 29,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 28,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 485,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 486,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 487,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 488,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 489,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
"type": "reflection",
"declaration": {
- "id": 96,
+ "id": 490,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"signatures": [
{
- "id": 97,
- "name": "__type",
+ "id": 491,
+ "name": "__call",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"parameters": [
{
- "id": 98,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 99,
- "name": "init",
+ "id": 492,
+ "name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isOptional": true
+ "isExported": true
},
"type": {
"type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "id": 66,
+ "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": 493,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 494,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 495,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 496,
+ "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": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 482,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 483,
+ "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": 484,
+ "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": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 451
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 481,
+ 477,
+ 480,
+ 472,
+ 470,
+ 476,
+ 478,
+ 479,
+ 471
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 463,
+ 485,
+ 482
+ ]
+ }
+ ],
+ "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": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 449
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 72,
+ "name": "\"lib/PostgrestTransformBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
+ "children": [
+ {
+ "id": 73,
+ "name": "PostgrestTransformBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Post-filters (transforms)"
+ },
+ "typeParameter": [
+ {
+ "id": 74,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 131,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 132,
+ "name": "new PostgrestTransformBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 133,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder",
+ "dereferenced": {
+ "id": 27,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 28,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 41,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 42,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder",
+ "dereferenced": "[Circular ~.children.5.children.0.children.0.signatures.0.parameters.0.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 36,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 31,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 29,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 55,
+ "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": 57,
+ "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": 58,
+ "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": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 47,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 48,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 49,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 50,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 51,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 53,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 54,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 55,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "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"
+ }
+ ]
}
}
],
@@ -21688,1994 +30308,3030 @@
"type": "reference",
"typeArguments": [
{
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "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"
+ }
+ }
+ ]
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "PromiseLike"
}
}
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 44,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 45,
+ "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": 46,
+ "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
+ }
]
}
- }
- },
- {
- "id": 90,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
+ ],
+ "groups": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 13,
- "character": 6
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 41
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 40,
+ 36,
+ 39,
+ 31,
+ 29,
+ 35,
+ 37,
+ 38,
+ 30
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 47,
+ 44
+ ]
}
],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 91,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 92,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 93,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 94,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 14,
- "character": 6
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 38
}
],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 100,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 16,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [95, 90, 94, 100]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 83,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "overwrites": {
- "type": "reference",
- "id": 48,
- "name": "PostgrestBuilder.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 47,
- "name": "PostgrestBuilder.constructor"
- }
- },
- {
- "id": 160,
- "name": "allowEmpty",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 66,
- "name": "PostgrestBuilder.allowEmpty"
- }
- },
- {
- "id": 152,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 58,
- "name": "PostgrestBuilder.body"
- }
- },
- {
- "id": 155,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 156,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 157,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 158,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 159,
- "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": 61,
- "name": "PostgrestBuilder.fetch"
- }
- },
- {
- "id": 147,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 54,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 148,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 149,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 150,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 53,
- "name": "PostgrestBuilder.headers"
- }
- },
- {
- "id": 145,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 52,
- "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": 51,
- "name": "PostgrestBuilder.method"
- }
- },
- {
- "id": 151,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 57,
- "name": "PostgrestBuilder.schema"
- }
- },
- {
- "id": 153,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 59,
- "name": "PostgrestBuilder.shouldThrowOnError"
- }
- },
- {
- "id": 154,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 60,
- "name": "PostgrestBuilder.signal"
- }
- },
- {
- "id": 146,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 53,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 52,
- "name": "PostgrestBuilder.url"
- }
- },
- {
- "id": 139,
- "name": "delete",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 212,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 140,
- "name": "delete",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs a DELETE on the table."
- },
- "parameters": [
- {
- "id": 141,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 142,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 144,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 217,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 143,
- "name": "returning",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 216,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "minimal"
- },
- {
- "type": "literal",
- "value": "representation"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [144, 143]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 108,
- "name": "insert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 74,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 109,
- "name": "insert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs an INSERT into the table."
- },
- "parameters": [
- {
- "id": 110,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to insert."
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
+ "extendedBy": [
{
"type": "reference",
- "id": 86,
- "name": "T"
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
}
],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
}
}
- ]
- }
- },
- {
- "id": 111,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 112,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 114,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 78,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 113,
- "name": "returning",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 77,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "minimal"
- },
- {
- "type": "literal",
- "value": "representation"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [114, 113]
- }
- ]
}
+ ],
+ "type": {
+ "type": "reference",
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
}
}
],
- "type": {
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ],
+ "inheritedFrom": {
"type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 115,
- "name": "insert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "tags": [
+ "id": 130,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 126,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
{
- "tag": "deprecated",
- "text": "Use `upsert()` instead.\n"
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
}
]
},
- "parameters": [
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 36,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 129,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
{
- "id": 116,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ]
- }
- },
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 121,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
{
- "id": 117,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 122,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {
- "isOptional": true
+ "isExported": true
},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 118,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
+ "indexSignature": [
+ {
+ "id": 123,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
{
- "id": 122,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
+ "id": 124,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
- "isOptional": true
+ "isExported": true
},
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 90,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 120,
- "name": "onConflict",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 88,
- "character": 6
- }
- ],
"type": {
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 121,
- "name": "returning",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 89,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "minimal"
- },
- {
- "type": "literal",
- "value": "representation"
- }
- ]
- }
- },
- {
- "id": 119,
- "name": "upsert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 87,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
}
],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [122, 120, 121, 119]
- }
- ]
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
- }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 119,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "character": 18
}
],
"type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
+ "type": "union",
+ "types": [
{
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 101,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 32,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 102,
- "name": "select",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs vertical filtering with SELECT."
- },
- "parameters": [
- {
- "id": 103,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The columns to retrieve, separated by commas."
+ "type": "stringLiteral",
+ "value": "GET"
},
- "type": {
+ {
+ "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": 125,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
"type": "intrinsic",
"name": "string"
- },
- "defaultValue": "'*'"
- },
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 127,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
{
- "id": 104,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 105,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 107,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 39,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 106,
- "name": "head",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 38,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [107, 106]
- }
- ]
- }
- },
- "defaultValue": "{}"
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 128,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
}
],
"type": {
"type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
}
- }
- ]
- },
- {
- "id": 164,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/types.ts",
- "line": 91,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 165,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
+ "id": 120,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
{
- "id": 166,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 99,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 100,
+ "name": "abortSignal",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 101,
+ "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": 106,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 107,
+ "name": "csv",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Set the response type to CSV."
+ },
+ "type": {
"type": "reference",
- "id": 425,
"typeArguments": [
{
"type": "reference",
- "id": 86,
- "name": "T"
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
}
],
- "name": "PostgrestResponse"
- }
- },
- {
- "id": 167,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
+ "name": "PromiseLike"
}
}
],
- "parameters": [
+ "sources": [
{
- "id": 168,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 169,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 170,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 171,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 172,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 173,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 174,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 175,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 119,
+ "character": 5
}
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ ]
+ },
+ {
+ "id": 110,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
+ "signatures": [
+ {
+ "id": 111,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Obtains the EXPLAIN plan for this request."
+ },
+ "parameters": [
+ {
+ "id": 112,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 113,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 114,
+ "name": "analyze",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query will be executed and the actual run time will be displayed."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 142,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 117,
+ "name": "buffers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on buffer usage."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 145,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 116,
+ "name": "settings",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on configuration parameters that affect query planning."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 144,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 115,
+ "name": "verbose",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query identifier will be displayed and the result will include the output columns of the query."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 143,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 118,
+ "name": "wal",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on WAL record generation\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 146,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 114,
+ 117,
+ 116,
+ 115,
+ 118
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 108,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 109,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Set the response type to GeoJSON."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 127,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 86,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 87,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 88,
+ "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": 89,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 90,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 91,
+ "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": [
+ 91
+ ]
+ }
+ ],
+ "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": 104,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 105,
+ "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": 70,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestMaybeSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 110,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 78,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 79,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "parameters": [
+ {
+ "id": 80,
+ "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": 81,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 82,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 83,
+ "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": 85,
+ "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": 84,
+ "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": [
+ 83,
+ 85,
+ 84
+ ]
+ }
+ ],
+ "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": 92,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 93,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 94,
+ "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": 95,
+ "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": 96,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 97,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 98,
+ "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": [
+ 98
+ ]
+ }
+ ],
+ "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": 75,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 76,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 77,
+ "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": 102,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 103,
+ "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": 68,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 100,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 137,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 138,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 139,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 140,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 141,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 142,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 143,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 144,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 145,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 146,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 147,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 148,
+ "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": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
"inheritedFrom": {
"type": "reference",
- "id": 71,
+ "id": 47,
"name": "PostgrestBuilder.then"
}
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 70,
- "name": "PostgrestBuilder.then"
- }
- },
- {
- "id": 161,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 162,
+ "id": 134,
"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"
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "parameters": [
+ "signatures": [
{
- "id": 163,
+ "id": 135,
"name": "throwOnError",
- "kind": 32768,
- "kindString": "Parameter",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {
- "isOptional": true
+ "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": 136,
+ "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": "boolean"
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
}
}
],
- "type": {
- "type": "reference",
- "id": 83,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
"inheritedFrom": {
"type": "reference",
- "id": 68,
+ "id": 44,
"name": "PostgrestBuilder.throwOnError"
}
}
],
- "inheritedFrom": {
- "type": "reference",
- "id": 67,
- "name": "PostgrestBuilder.throwOnError"
- }
- },
- {
- "id": 132,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ "groups": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 183,
- "character": 2
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 131
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 130,
+ 126,
+ 129,
+ 121,
+ 119,
+ 125,
+ 127,
+ 128,
+ 120
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 99,
+ 106,
+ 110,
+ 108,
+ 86,
+ 104,
+ 78,
+ 92,
+ 75,
+ 102,
+ 137,
+ 134
+ ]
}
],
- "signatures": [
- {
- "id": 133,
- "name": "update",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs an UPDATE on the table."
- },
- "parameters": [
- {
- "id": 134,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to update."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- },
- {
- "id": 135,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 136,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 138,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 190,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 137,
- "name": "returning",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 189,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "minimal"
- },
- {
- "type": "literal",
- "value": "representation"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [138, 137]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 123,
- "name": "upsert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
"sources": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 142,
- "character": 2
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 7,
+ "character": 46
}
],
- "signatures": [
+ "extendedTypes": [
{
- "id": 124,
- "name": "upsert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs an UPSERT into the table."
- },
- "parameters": [
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
{
- "id": 125,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to insert."
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ]
- }
- },
- {
- "id": 126,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 127,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 130,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 152,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 131,
- "name": "ignoreDuplicates",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 153,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 128,
- "name": "onConflict",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 150,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 129,
- "name": "returning",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 151,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "minimal"
- },
- {
- "type": "literal",
- "value": "representation"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [130, 131, 128, 129]
- }
- ]
- }
- },
- "defaultValue": "{}"
+ "type": "typeParameter",
+ "name": "T"
}
],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- }
+ "name": "PostgrestBuilder"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 150,
+ "name": "PostgrestFilterBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
}
]
}
],
"groups": [
{
- "title": "Constructors",
- "kind": 512,
- "children": [84]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [160, 152, 155, 147, 145, 151, 153, 154, 146]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [139, 108, 101, 164, 161, 132, 123]
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 73
+ ]
}
],
"sources": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 4,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 176,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 46,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 1,
+ "character": 0
}
]
},
{
- "id": 431,
- "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"
+ "id": 499,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
},
- "sources": [
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/constants.ts",
+ "children": [
{
- "fileName": "src/lib/types.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 432,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
+ "id": 500,
+ "name": "DEFAULT_HEADERS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
"children": [
{
- "id": 436,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "id": 501,
+ "name": "X-Client-Info",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 12,
- "character": 2
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 48
}
],
"type": {
"type": "intrinsic",
"name": "string"
- }
- },
+ },
+ "defaultValue": "`postgrest-js/${version}`"
+ }
+ ],
+ "groups": [
{
- "id": 434,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 501
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 500
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 27,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 28,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 41,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 42,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder",
+ "dereferenced": {
+ "id": 27,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 28,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": "[Circular ~.children.7.children.0.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 41
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 40,
+ 36,
+ 39,
+ 31,
+ 29,
+ 35,
+ 37,
+ 38,
+ 30
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 47,
+ 44
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 10,
- "character": 2
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
}
],
"type": {
"type": "intrinsic",
- "name": "string"
+ "name": "boolean"
}
},
{
- "id": 435,
- "name": "hint",
+ "id": 36,
+ "name": "body",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 11,
- "character": 2
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 31,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 29,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 55,
+ "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": 57,
+ "character": 30
}
],
"type": {
"type": "intrinsic",
- "name": "string"
+ "name": "boolean"
}
},
{
- "id": 433,
- "name": "message",
+ "id": 38,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "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": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 47,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 48,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 49,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 50,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 51,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 53,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 54,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 55,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "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": 44,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 45,
+ "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": 46,
+ "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": [
+ 41
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 40,
+ 36,
+ 39,
+ 31,
+ 29,
+ 35,
+ 37,
+ 38,
+ 30
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 47,
+ 44
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "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": "src/lib/types.ts",
- "line": 9,
- "character": 2
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 4,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 12
}
],
"type": {
@@ -23688,167 +33344,922 @@
{
"title": "Properties",
"kind": 1024,
- "children": [436, 434, 435, 433]
+ "children": [
+ 3,
+ 4
+ ]
}
],
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 8,
- "character": 29
+ "fileName": "lib/types.ts",
+ "line": 20,
+ "character": 31
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 13,
+ "name": "PostgrestResponseFailure"
+ },
+ {
+ "type": "reference",
+ "id": 20,
+ "name": "PostgrestSingleResponseSuccess"
}
]
- }
- }
- },
- {
- "id": 429,
- "name": "PostgrestMaybeSingleResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/types.ts",
- "line": 49,
- "character": 12
- }
- ],
- "typeParameter": [
+ "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": 35,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 17,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 36,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 15,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 33,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 14,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 32,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 60,
+ "name": "PostgrestError"
+ }
+ },
+ {
+ "id": 18,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "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": 22,
+ "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": 31,
+ "character": 34
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestResponseBase"
+ }
+ ]
+ },
{
- "id": 430,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "reference",
- "id": 427,
- "typeArguments": [
- {
+ "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": 28,
+ "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": 29,
+ "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": 27,
+ "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": 26,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 11,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "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": 22,
+ "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": 25,
+ "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": 44,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 23,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 22,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 25,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "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": 22,
+ "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": 40,
+ "character": 40
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestResponseBase"
+ }
+ ]
+ },
+ {
+ "id": 59,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 375,
+ "name": "fetch"
+ }
+ }
+ },
+ {
+ "id": 60,
+ "name": "PostgrestError",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Error format",
+ "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 61,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 65,
+ "name": "code",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 12,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 63,
+ "name": "details",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 64,
+ "name": "hint",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 62,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 65,
+ 63,
+ 64,
+ 62
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 70,
+ "name": "PostgrestMaybeSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 71,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 66,
+ "name": "PostgrestResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 67,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 38,
+ "character": 29
+ }
+ ],
+ "type": {
"type": "union",
"types": [
{
"type": "reference",
- "id": 430,
- "name": "T"
+ "id": 5,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponseSuccess"
},
{
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 13,
+ "name": "PostgrestResponseFailure"
}
]
}
- ],
- "name": "PostgrestSingleResponse"
- }
- },
- {
- "id": 425,
- "name": "PostgrestResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/types.ts",
- "line": 38,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 426,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
+ "id": 68,
+ "name": "PostgrestSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 69,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 46,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
{
"type": "reference",
- "id": 426,
- "name": "T"
- }
- ],
- "name": "PostgrestResponseSuccess"
- },
- {
- "type": "reference",
- "name": "PostgrestResponseFailure"
- }
- ]
- }
- },
- {
- "id": 427,
- "name": "PostgrestSingleResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 46,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 428,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
+ "id": 20,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponseSuccess"
+ },
{
"type": "reference",
- "id": 428,
- "name": "T"
+ "id": 13,
+ "name": "PostgrestResponseFailure"
}
- ],
- "name": "PostgrestSingleResponseSuccess"
- },
- {
- "type": "reference",
- "name": "PostgrestResponseFailure"
+ ]
}
- ]
- }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 27
+ ]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 2,
+ 13,
+ 5,
+ 20
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 59,
+ 60,
+ 70,
+ 66,
+ 68
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 497,
+ "name": "\"lib/version\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/version.ts",
+ "children": [
+ {
+ "id": 498,
+ "name": "version",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/version.ts",
+ "line": 2,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "stringLiteral",
+ "value": "0.0.0-automated"
+ },
+ "defaultValue": "\"0.0.0-automated\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 498
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/version.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
}
],
"groups": [
{
- "title": "Classes",
- "kind": 128,
- "children": [46, 1, 177, 83]
- },
- {
- "title": "Type aliases",
- "kind": 4194304,
- "children": [431, 429, 425, 427]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
+ "title": "Modules",
+ "kind": 1,
+ "children": [
+ 502,
+ 540,
+ 149,
+ 362,
+ 448,
+ 72,
+ 499,
+ 1,
+ 497
+ ]
}
]
},
@@ -23867,7 +34278,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/RealtimeClient.ts",
"children": [
{
"id": 228,
@@ -23930,7 +34341,393 @@
"type": {
"type": "reference",
"id": 340,
- "name": "Options"
+ "name": "Options",
+ "dereferenced": {
+ "id": 340,
+ "name": "Options",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 348,
+ "name": "decode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 347,
+ "name": "encode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 350,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 352,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 353,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 344,
+ "name": "heartbeatIntervalMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 346,
+ "name": "logger",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 345,
+ "name": "longpollerTimeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 354,
+ "name": "params",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 355,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 356,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 357,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 349,
+ "name": "reconnectAfterMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 343,
+ "name": "timeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 342,
+ "name": "transport",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 348,
+ 347,
+ 350,
+ 344,
+ 346,
+ 345,
+ 354,
+ 349,
+ 343,
+ 342
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 21
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -23944,7 +34741,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 74,
+ "line": 73,
"character": 3
}
]
@@ -23960,7 +34757,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 13
}
],
@@ -23990,7 +34787,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 10
}
],
@@ -24015,7 +34812,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 60,
"character": 6
}
],
@@ -24045,7 +34842,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 58,
"character": 8
}
],
@@ -24065,7 +34862,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 57,
"character": 8
}
],
@@ -24085,7 +34882,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 10
}
],
@@ -24107,7 +34904,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 46,
"character": 9
}
],
@@ -24175,7 +34972,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 21
}
],
@@ -24196,7 +34993,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 52,
"character": 16
}
],
@@ -24235,7 +35032,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 56,
"character": 8
}
],
@@ -24256,7 +35053,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 51,
"character": 19
}
],
@@ -24278,7 +35075,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 47,
"character": 8
}
],
@@ -24345,7 +35142,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 21
}
],
@@ -24375,7 +35172,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 59,
"character": 18
}
],
@@ -24395,7 +35192,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 55,
"character": 16
}
],
@@ -24416,7 +35213,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 54,
"character": 5
}
],
@@ -24437,7 +35234,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 12
}
],
@@ -24461,7 +35258,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 62,
"character": 12
}
],
@@ -24483,7 +35280,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 9
}
],
@@ -24504,7 +35301,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 11
}
],
@@ -24597,7 +35394,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 406,
+ "line": 405,
"character": 11
}
]
@@ -24614,7 +35411,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 404,
+ "line": 403,
"character": 23
}
]
@@ -24646,7 +35443,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 417,
+ "line": 416,
"character": 26
}
]
@@ -24693,7 +35490,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 384,
+ "line": 383,
"character": 22
}
]
@@ -24740,7 +35537,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 392,
+ "line": 391,
"character": 22
}
]
@@ -24772,7 +35569,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 372,
+ "line": 371,
"character": 21
}
]
@@ -24804,7 +35601,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 424,
+ "line": 423,
"character": 24
}
]
@@ -24836,7 +35633,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 398,
+ "line": 397,
"character": 27
}
]
@@ -24882,8 +35679,109 @@
},
"type": {
"type": "reference",
- "id": 365,
- "name": "ChannelParams"
+ "id": 364,
+ "name": "ChannelParams",
+ "dereferenced": {
+ "id": 364,
+ "name": "ChannelParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 365,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 367,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 366,
+ "name": "selfBroadcast",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 366
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 20
+ }
+ ]
+ }
+ }
+ }
},
"defaultValue": "{}"
}
@@ -24898,7 +35796,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 265,
+ "line": 264,
"character": 9
}
]
@@ -24932,7 +35830,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 125,
"character": 9
}
]
@@ -24967,7 +35865,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 234,
+ "line": 233,
"character": 17
}
]
@@ -25071,7 +35969,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 152,
+ "line": 151,
"character": 40
}
],
@@ -25091,7 +35989,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 152,
+ "line": 151,
"character": 20
}
],
@@ -25114,13 +36012,16 @@
{
"title": "Variables",
"kind": 32,
- "children": [272, 271]
+ "children": [
+ 272,
+ 271
+ ]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 152,
+ "line": 151,
"character": 13
}
]
@@ -25134,7 +36035,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 149,
+ "line": 148,
"character": 12
}
]
@@ -25168,7 +36069,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 321,
+ "line": 320,
"character": 13
}
]
@@ -25202,7 +36103,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 250,
+ "line": 249,
"character": 13
}
]
@@ -25251,7 +36152,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 362,
+ "line": 361,
"character": 16
}
]
@@ -25328,7 +36229,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 179,
+ "line": 178,
"character": 5
}
]
@@ -25362,7 +36263,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 331,
+ "line": 330,
"character": 9
}
]
@@ -25420,7 +36321,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 203,
+ "line": 202,
"character": 9
}
]
@@ -25473,7 +36374,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 291,
+ "line": 290,
"character": 34
}
],
@@ -25487,13 +36388,15 @@
{
"title": "Variables",
"kind": 32,
- "children": [308]
+ "children": [
+ 308
+ ]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 291,
+ "line": 290,
"character": 27
}
]
@@ -25510,7 +36413,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 291,
+ "line": 290,
"character": 15
}
]
@@ -25568,7 +36471,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 215,
+ "line": 214,
"character": 9
}
]
@@ -25626,7 +36529,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 226,
"character": 11
}
]
@@ -25684,7 +36587,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 191,
+ "line": 190,
"character": 8
}
]
@@ -25722,7 +36625,124 @@
"type": {
"type": "reference",
"id": 358,
- "name": "Message"
+ "name": "Message",
+ "dereferenced": {
+ "id": 358,
+ "name": "Message",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 359,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 362,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 363,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 361,
+ 362,
+ 363,
+ 360
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -25735,7 +36755,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 276,
+ "line": 275,
"character": 6
}
]
@@ -25775,7 +36795,1705 @@
"type": {
"type": "reference",
"id": 140,
- "name": "RealtimeSubscription"
+ "name": "RealtimeSubscription",
+ "dereferenced": {
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 148,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 155,
+ "name": "new RealtimeSubscription",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 156,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 157,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 158,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 159,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 160,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 161,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient",
+ "dereferenced": {
+ "id": 228,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": "[Circular ~.children.0.children.0.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 260
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 229,
+ 230,
+ 252,
+ 250,
+ 249,
+ 231,
+ 232,
+ 242,
+ 244,
+ 248,
+ 243,
+ 236,
+ 245,
+ 251,
+ 247,
+ 246,
+ 253,
+ 254,
+ 240,
+ 241
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 329,
+ 336,
+ 321,
+ 324,
+ 319,
+ 338,
+ 327,
+ 297,
+ 264,
+ 290,
+ 266,
+ 309,
+ 292,
+ 316,
+ 273,
+ 311,
+ 281,
+ 304,
+ 284,
+ 287,
+ 278,
+ 301,
+ 294,
+ 313
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 255
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 35
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 141,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 7,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 145,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 11,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ },
+ {
+ "id": 144,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 150,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 152,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 153,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 18
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 146,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 12,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 154,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 18,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 143,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 9,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 9,
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 142,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 8,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 149,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 16,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 180,
+ "name": "canPush",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 181,
+ "name": "canPush",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 97,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 217,
+ "name": "isClosed",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 218,
+ "name": "isClosed",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 202,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 219,
+ "name": "isErrored",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 220,
+ "name": "isErrored",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 205,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "isJoined",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 222,
+ "name": "isJoined",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 208,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "isJoining",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 224,
+ "name": "isJoining",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 211,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "isLeaving",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "isLeaving",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 214,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 201,
+ "name": "isMember",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 202,
+ "name": "isMember",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 203,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 158,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "joinRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 205,
+ "name": "joinRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 162,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 177,
+ "name": "off",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 178,
+ "name": "off",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 179,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 93,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 173,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 174,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 175,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 176,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 89,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 167,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 169,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 81,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 170,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 171,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 172,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 85,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 196,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 197,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 198,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 199,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 200,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 154,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 182,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 183,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 184,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "dereferenced": {
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 21,
+ "name": "access_token",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 32,
+ "character": 14
+ }
+ ],
+ "defaultValue": "\"access_token\""
+ },
+ {
+ "id": 16,
+ "name": "close",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_close\""
+ },
+ {
+ "id": 17,
+ "name": "error",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_error\""
+ },
+ {
+ "id": 18,
+ "name": "join",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 29,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"phx_join\""
+ },
+ {
+ "id": 20,
+ "name": "leave",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 31,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_leave\""
+ },
+ {
+ "id": 19,
+ "name": "reply",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_reply\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 21,
+ 16,
+ 17,
+ 18,
+ 20,
+ 19
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 26,
+ "character": 26
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 185,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 186,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 101,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 206,
+ "name": "rejoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 207,
+ "name": "rejoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 208,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 166,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "rejoinUntilConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 163,
+ "name": "rejoinUntilConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 64,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 214,
+ "name": "replyEventName",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 215,
+ "name": "replyEventName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 216,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 198,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 164,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 165,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 166,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 71,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 209,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 210,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 211,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 212,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 213,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 175,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 193,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 194,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 195,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 129,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 187,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 188,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 189,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 191,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 192,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 116,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 116,
+ "character": 19
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 148
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 141,
+ 145,
+ 144,
+ 150,
+ 147,
+ 146,
+ 154,
+ 143,
+ 142,
+ 149
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 180,
+ 217,
+ 219,
+ 221,
+ 223,
+ 225,
+ 201,
+ 204,
+ 177,
+ 173,
+ 167,
+ 170,
+ 196,
+ 182,
+ 206,
+ 162,
+ 214,
+ 164,
+ 209,
+ 193,
+ 187
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 6,
+ "character": 41
+ }
+ ]
+ }
}
}
],
@@ -25788,7 +38506,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 259,
+ "line": 258,
"character": 8
}
]
@@ -25849,7 +38567,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 347,
+ "line": 346,
"character": 9
}
]
@@ -25874,7 +38592,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 71,
+ "line": 70,
"character": 9
}
],
@@ -25898,7 +38616,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 71,
"character": 9
}
],
@@ -25922,7 +38640,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 72,
"character": 11
}
],
@@ -25946,7 +38664,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 70,
+ "line": 69,
"character": 8
}
],
@@ -25964,13 +38682,18 @@
{
"title": "Variables",
"kind": 32,
- "children": [257, 258, 259, 256]
+ "children": [
+ 257,
+ 258,
+ 259,
+ 256
+ ]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 63,
"character": 22
}
],
@@ -25984,40 +38707,84 @@
{
"title": "Constructors",
"kind": 512,
- "children": [260]
+ "children": [
+ 260
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 229, 230, 252, 250, 249, 231, 232, 242, 244, 248, 243, 236, 245, 251, 247, 246,
- 253, 254, 240, 241
+ 229,
+ 230,
+ 252,
+ 250,
+ 249,
+ 231,
+ 232,
+ 242,
+ 244,
+ 248,
+ 243,
+ 236,
+ 245,
+ 251,
+ 247,
+ 246,
+ 253,
+ 254,
+ 240,
+ 241
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 329, 336, 321, 324, 319, 338, 327, 297, 264, 290, 266, 309, 292, 316, 273, 311,
- 281, 304, 284, 287, 278, 301, 294, 313
+ 329,
+ 336,
+ 321,
+ 324,
+ 319,
+ 338,
+ 327,
+ 297,
+ 264,
+ 290,
+ 266,
+ 309,
+ 292,
+ 316,
+ 273,
+ 311,
+ 281,
+ 304,
+ 284,
+ 287,
+ 278,
+ 301,
+ 294,
+ 313
]
},
{
"title": "Object literals",
"kind": 2097152,
- "children": [255]
+ "children": [
+ 255
+ ]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 35
}
]
},
{
- "id": 365,
+ "id": 364,
"name": "ChannelParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -26025,28 +38792,28 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 36,
+ "line": 35,
"character": 18
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 366,
+ "id": 365,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": [
{
- "id": 368,
+ "id": 367,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 369,
+ "id": 368,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -26065,7 +38832,7 @@
],
"children": [
{
- "id": 367,
+ "id": 366,
"name": "selfBroadcast",
"kind": 32,
"kindString": "Variable",
@@ -26075,7 +38842,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 37,
+ "line": 36,
"character": 15
}
],
@@ -26102,13 +38869,15 @@
{
"title": "Variables",
"kind": 32,
- "children": [367]
+ "children": [
+ 366
+ ]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 36,
+ "line": 35,
"character": 20
}
]
@@ -26155,35 +38924,6 @@
"name": "string"
}
},
- {
- "id": 364,
- "name": "join_ref",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 10
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
{
"id": 362,
"name": "payload",
@@ -26243,7 +38983,12 @@
{
"title": "Variables",
"kind": 32,
- "children": [361, 364, 362, 363, 360]
+ "children": [
+ 361,
+ 362,
+ 363,
+ 360
+ ]
}
],
"sources": [
@@ -26618,7 +39363,18 @@
{
"title": "Variables",
"kind": 32,
- "children": [348, 347, 350, 344, 346, 345, 354, 349, 343, 342]
+ "children": [
+ 348,
+ 347,
+ 350,
+ 344,
+ 346,
+ 345,
+ 354,
+ 349,
+ 343,
+ 342
+ ]
}
],
"sources": [
@@ -26632,7 +39388,7 @@
}
},
{
- "id": 370,
+ "id": 369,
"name": "noop",
"kind": 64,
"kindString": "Function",
@@ -26641,7 +39397,7 @@
},
"signatures": [
{
- "id": 371,
+ "id": 370,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
@@ -26655,7 +39411,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 10
}
]
@@ -26665,17 +39421,25 @@
{
"title": "Classes",
"kind": 128,
- "children": [228]
+ "children": [
+ 228
+ ]
},
{
"title": "Type aliases",
"kind": 4194304,
- "children": [365, 358, 340]
+ "children": [
+ 364,
+ 358,
+ 340
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [370]
+ "children": [
+ 369
+ ]
}
],
"sources": [
@@ -26694,7 +39458,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/RealtimeSubscription.ts",
"children": [
{
"id": 140,
@@ -26806,7 +39570,2881 @@
"type": {
"type": "reference",
"id": 228,
- "name": "RealtimeClient"
+ "name": "RealtimeClient",
+ "dereferenced": {
+ "id": 228,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 260,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "signatures": [
+ {
+ "id": 261,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 262,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": 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": 263,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 340,
+ "name": "Options",
+ "dereferenced": {
+ "id": 340,
+ "name": "Options",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 348,
+ "name": "decode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 347,
+ "name": "encode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 350,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 352,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 353,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 344,
+ "name": "heartbeatIntervalMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 346,
+ "name": "logger",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 345,
+ "name": "longpollerTimeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 354,
+ "name": "params",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 355,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 356,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 357,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 349,
+ "name": "reconnectAfterMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 343,
+ "name": "timeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 342,
+ "name": "transport",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 348,
+ 347,
+ 350,
+ 344,
+ 346,
+ 345,
+ 354,
+ 349,
+ 343,
+ 342
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 21
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 73,
+ "character": 3
+ }
+ ]
+ },
+ {
+ "id": 229,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 230,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 252,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "WebSocket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 250,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 249,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 231,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"\""
+ },
+ {
+ "id": 232,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 234,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 235,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 242,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 244,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "setInterval"
+ }
+ }
+ ],
+ "name": "ReturnType"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 248,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 243,
+ "name": "longpollerTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "20000"
+ },
+ {
+ "id": 236,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 237,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 238,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 239,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 245,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 251,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 247,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 246,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 253,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 254,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 49,
+ "name": "Serializer"
+ },
+ "defaultValue": "new Serializer()"
+ },
+ {
+ "id": 240,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 241,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 329,
+ "name": "_appendParams",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 330,
+ "name": "_appendParams",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 331,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 332,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 333,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 334,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 335,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 405,
+ "character": 11
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 403,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 336,
+ "name": "_flushSendBuffer",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 337,
+ "name": "_flushSendBuffer",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 416,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 321,
+ "name": "_onConnClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 322,
+ "name": "_onConnClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 323,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 383,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 324,
+ "name": "_onConnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 325,
+ "name": "_onConnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "ErrorEvent"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 391,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 319,
+ "name": "_onConnOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 320,
+ "name": "_onConnOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 371,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "_sendHeartbeat",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 339,
+ "name": "_sendHeartbeat",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 423,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 327,
+ "name": "_triggerChanError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 328,
+ "name": "_triggerChanError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 397,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 297,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 298,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 299,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 300,
+ "name": "chanParams",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 364,
+ "name": "ChannelParams",
+ "dereferenced": {
+ "id": 364,
+ "name": "ChannelParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 365,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 367,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 366,
+ "name": "selfBroadcast",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 366
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 20
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 264,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 264,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 265,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 290,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 291,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "id": 24,
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 233,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 266,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 267,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 268,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 269,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 270,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 272,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 271,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 272,
+ 271
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 148,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 309,
+ "name": "endPointURL",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 310,
+ "name": "endPointURL",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the URL of the websocket."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 320,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 292,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 293,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Retuns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 249,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 316,
+ "name": "leaveOpenTopic",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 317,
+ "name": "leaveOpenTopic",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Unsubscribe from channels with the specified topic."
+ },
+ "parameters": [
+ {
+ "id": 318,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 361,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 273,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 274,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overriden.\n"
+ },
+ "parameters": [
+ {
+ "id": 275,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 276,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 277,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 178,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "makeRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 312,
+ "name": "makeRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Return the next message ref, accounting for overflows"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 330,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 281,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 282,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 283,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 202,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 304,
+ "name": "onConnMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 305,
+ "name": "onConnMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 306,
+ "name": "rawMessage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 307,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 308,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 308
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 285,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 286,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 287,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 288,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 289,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 226,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "onOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 279,
+ "name": "onOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 280,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 190,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 301,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 302,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 303,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 358,
+ "name": "Message",
+ "dereferenced": {
+ "id": 358,
+ "name": "Message",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 359,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 362,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 363,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 361,
+ 362,
+ 363,
+ 360
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 275,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 294,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 295,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes a subscription from the socket."
+ },
+ "parameters": [
+ {
+ "id": 296,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "An open subscription.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "dereferenced": {
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": "[Circular ~.children.1.children.0.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 148
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 141,
+ 145,
+ 144,
+ 150,
+ 147,
+ 146,
+ 154,
+ 143,
+ 142,
+ 149
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 180,
+ 217,
+ 219,
+ 221,
+ 223,
+ 225,
+ 201,
+ 204,
+ 177,
+ 173,
+ 167,
+ 170,
+ 196,
+ 182,
+ 206,
+ 162,
+ 214,
+ 164,
+ 209,
+ 193,
+ 187
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 6,
+ "character": 41
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 258,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 313,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 314,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 315,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 346,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 255,
+ "name": "stateChangeCallbacks",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 257,
+ "name": "close",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 70,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 258,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 259,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 256,
+ "name": "open",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 69,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 257,
+ 258,
+ 259,
+ 256
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 260
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 229,
+ 230,
+ 252,
+ 250,
+ 249,
+ 231,
+ 232,
+ 242,
+ 244,
+ 248,
+ 243,
+ 236,
+ 245,
+ 251,
+ 247,
+ 246,
+ 253,
+ 254,
+ 240,
+ 241
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 329,
+ 336,
+ 321,
+ 324,
+ 319,
+ 338,
+ 327,
+ 297,
+ 264,
+ 290,
+ 266,
+ 309,
+ 292,
+ 316,
+ 273,
+ 311,
+ 281,
+ 304,
+ 284,
+ 287,
+ 278,
+ 301,
+ 294,
+ 313
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 255
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 35
+ }
+ ]
+ }
}
}
],
@@ -27666,7 +43304,141 @@
"type": {
"type": "reference",
"id": 15,
- "name": "CHANNEL_EVENTS"
+ "name": "CHANNEL_EVENTS",
+ "dereferenced": {
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 21,
+ "name": "access_token",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 32,
+ "character": 14
+ }
+ ],
+ "defaultValue": "\"access_token\""
+ },
+ {
+ "id": 16,
+ "name": "close",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_close\""
+ },
+ {
+ "id": 17,
+ "name": "error",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_error\""
+ },
+ {
+ "id": 18,
+ "name": "join",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 29,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"phx_join\""
+ },
+ {
+ "id": 20,
+ "name": "leave",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 31,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_leave\""
+ },
+ {
+ "id": 19,
+ "name": "reply",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_reply\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 21,
+ 16,
+ 17,
+ 18,
+ 20,
+ 19
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 26,
+ "character": 26
+ }
+ ]
+ }
}
},
{
@@ -28115,19 +43887,51 @@
{
"title": "Constructors",
"kind": 512,
- "children": [148]
+ "children": [
+ 148
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [141, 145, 144, 150, 147, 146, 154, 143, 142, 149]
+ "children": [
+ 141,
+ 145,
+ 144,
+ 150,
+ 147,
+ 146,
+ 154,
+ 143,
+ 142,
+ 149
+ ]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 180, 217, 219, 221, 223, 225, 201, 204, 177, 173, 167, 170, 196, 182, 206, 162,
- 214, 164, 209, 193, 187
+ 180,
+ 217,
+ 219,
+ 221,
+ 223,
+ 225,
+ 201,
+ 204,
+ 177,
+ 173,
+ 167,
+ 170,
+ 196,
+ 182,
+ 206,
+ 162,
+ 214,
+ 164,
+ 209,
+ 193,
+ 187
]
}
],
@@ -28144,7 +43948,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [140]
+ "children": [
+ 140
+ ]
}
],
"sources": [
@@ -28156,14 +43962,14 @@
]
},
{
- "id": 446,
+ "id": 445,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/index.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/index.ts",
"sources": [
{
"fileName": "index.ts",
@@ -28180,7 +43986,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/constants.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/constants.ts",
"children": [
{
"id": 15,
@@ -28298,7 +44104,14 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [21, 16, 17, 18, 20, 19]
+ "children": [
+ 21,
+ 16,
+ 17,
+ 18,
+ 20,
+ 19
+ ]
}
],
"sources": [
@@ -28408,7 +44221,13 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [10, 11, 12, 13, 14]
+ "children": [
+ 10,
+ 11,
+ 12,
+ 13,
+ 14
+ ]
}
],
"sources": [
@@ -28501,7 +44320,12 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [28, 27, 25, 26]
+ "children": [
+ 28,
+ 27,
+ 25,
+ 26
+ ]
}
],
"sources": [
@@ -28594,7 +44418,12 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [8, 7, 5, 6]
+ "children": [
+ 8,
+ 7,
+ 5,
+ 6
+ ]
}
],
"sources": [
@@ -28636,7 +44465,9 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [23]
+ "children": [
+ 23
+ ]
}
],
"sources": [
@@ -28749,7 +44580,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [30]
+ "children": [
+ 30
+ ]
}
],
"sources": [
@@ -28769,17 +44602,29 @@
{
"title": "Enumerations",
"kind": 4,
- "children": [15, 9, 24, 4, 22]
+ "children": [
+ 15,
+ 9,
+ 24,
+ 4,
+ 22
+ ]
},
{
"title": "Variables",
"kind": 32,
- "children": [32, 31, 33]
+ "children": [
+ 32,
+ 31,
+ 33
+ ]
},
{
"title": "Object literals",
"kind": 2097152,
- "children": [29]
+ "children": [
+ 29
+ ]
}
],
"sources": [
@@ -28798,7 +44643,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/push.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/push.ts",
"children": [
{
"id": 74,
@@ -28847,7 +44692,4422 @@
"type": {
"type": "reference",
"id": 140,
- "name": "RealtimeSubscription"
+ "name": "RealtimeSubscription",
+ "dereferenced": {
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 148,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 155,
+ "name": "new RealtimeSubscription",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 156,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 157,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 158,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 159,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 160,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 161,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient",
+ "dereferenced": {
+ "id": 228,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 260,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "signatures": [
+ {
+ "id": 261,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 262,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": 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": 263,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 340,
+ "name": "Options",
+ "dereferenced": {
+ "id": 340,
+ "name": "Options",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 348,
+ "name": "decode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 347,
+ "name": "encode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 350,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 352,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 353,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 344,
+ "name": "heartbeatIntervalMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 346,
+ "name": "logger",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 345,
+ "name": "longpollerTimeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 354,
+ "name": "params",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 355,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 356,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 357,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 349,
+ "name": "reconnectAfterMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 343,
+ "name": "timeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 342,
+ "name": "transport",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 348,
+ 347,
+ 350,
+ 344,
+ 346,
+ 345,
+ 354,
+ 349,
+ 343,
+ 342
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 21
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 73,
+ "character": 3
+ }
+ ]
+ },
+ {
+ "id": 229,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 230,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 252,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "WebSocket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 250,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 249,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 231,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"\""
+ },
+ {
+ "id": 232,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 234,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 235,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 242,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 244,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "setInterval"
+ }
+ }
+ ],
+ "name": "ReturnType"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 248,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 243,
+ "name": "longpollerTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "20000"
+ },
+ {
+ "id": 236,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 237,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 238,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 239,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 245,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 251,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 247,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 246,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 253,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 254,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 49,
+ "name": "Serializer"
+ },
+ "defaultValue": "new Serializer()"
+ },
+ {
+ "id": 240,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 241,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 329,
+ "name": "_appendParams",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 330,
+ "name": "_appendParams",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 331,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 332,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 333,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 334,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 335,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 405,
+ "character": 11
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 403,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 336,
+ "name": "_flushSendBuffer",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 337,
+ "name": "_flushSendBuffer",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 416,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 321,
+ "name": "_onConnClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 322,
+ "name": "_onConnClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 323,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 383,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 324,
+ "name": "_onConnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 325,
+ "name": "_onConnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "ErrorEvent"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 391,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 319,
+ "name": "_onConnOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 320,
+ "name": "_onConnOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 371,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "_sendHeartbeat",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 339,
+ "name": "_sendHeartbeat",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 423,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 327,
+ "name": "_triggerChanError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 328,
+ "name": "_triggerChanError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 397,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 297,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 298,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 299,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 300,
+ "name": "chanParams",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 364,
+ "name": "ChannelParams",
+ "dereferenced": {
+ "id": 364,
+ "name": "ChannelParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 365,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 367,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 366,
+ "name": "selfBroadcast",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 366
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 20
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 264,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 264,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 265,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 290,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 291,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "id": 24,
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 233,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 266,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 267,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 268,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 269,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 270,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 272,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 271,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 272,
+ 271
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 148,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 309,
+ "name": "endPointURL",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 310,
+ "name": "endPointURL",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the URL of the websocket."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 320,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 292,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 293,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Retuns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 249,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 316,
+ "name": "leaveOpenTopic",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 317,
+ "name": "leaveOpenTopic",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Unsubscribe from channels with the specified topic."
+ },
+ "parameters": [
+ {
+ "id": 318,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 361,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 273,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 274,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overriden.\n"
+ },
+ "parameters": [
+ {
+ "id": 275,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 276,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 277,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 178,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "makeRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 312,
+ "name": "makeRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Return the next message ref, accounting for overflows"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 330,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 281,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 282,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 283,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 202,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 304,
+ "name": "onConnMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 305,
+ "name": "onConnMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 306,
+ "name": "rawMessage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 307,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 308,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 308
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 285,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 286,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 287,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 288,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 289,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 226,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "onOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 279,
+ "name": "onOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 280,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 190,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 301,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 302,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 303,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 358,
+ "name": "Message",
+ "dereferenced": {
+ "id": 358,
+ "name": "Message",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 359,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 362,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 363,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 361,
+ 362,
+ 363,
+ 360
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 275,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 294,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 295,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes a subscription from the socket."
+ },
+ "parameters": [
+ {
+ "id": 296,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "An open subscription.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "dereferenced": "[Circular ~.children.4.children.0.children.0.signatures.0.parameters.0.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 258,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 313,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 314,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 315,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 346,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 255,
+ "name": "stateChangeCallbacks",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 257,
+ "name": "close",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 70,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 258,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 259,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 256,
+ "name": "open",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 69,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 257,
+ 258,
+ 259,
+ 256
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 260
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 229,
+ 230,
+ 252,
+ 250,
+ 249,
+ 231,
+ 232,
+ 242,
+ 244,
+ 248,
+ 243,
+ 236,
+ 245,
+ 251,
+ 247,
+ 246,
+ 253,
+ 254,
+ 240,
+ 241
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 329,
+ 336,
+ 321,
+ 324,
+ 319,
+ 338,
+ 327,
+ 297,
+ 264,
+ 290,
+ 266,
+ 309,
+ 292,
+ 316,
+ 273,
+ 311,
+ 281,
+ 304,
+ 284,
+ 287,
+ 278,
+ 301,
+ 294,
+ 313
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 255
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 35
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 141,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 7,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 145,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 11,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ },
+ {
+ "id": 144,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 150,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 152,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 153,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 18
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 146,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 12,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 154,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 18,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 143,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 9,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 9,
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 142,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 8,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 149,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 16,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 180,
+ "name": "canPush",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 181,
+ "name": "canPush",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 97,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 217,
+ "name": "isClosed",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 218,
+ "name": "isClosed",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 202,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 219,
+ "name": "isErrored",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 220,
+ "name": "isErrored",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 205,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "isJoined",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 222,
+ "name": "isJoined",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 208,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "isJoining",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 224,
+ "name": "isJoining",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 211,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "isLeaving",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "isLeaving",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 214,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 201,
+ "name": "isMember",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 202,
+ "name": "isMember",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 203,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 158,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "joinRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 205,
+ "name": "joinRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 162,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 177,
+ "name": "off",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 178,
+ "name": "off",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 179,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 93,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 173,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 174,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 175,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 176,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 89,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 167,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 169,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 81,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 170,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 171,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 172,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 85,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 196,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 197,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 198,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 199,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 200,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 154,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 182,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 183,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 184,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "dereferenced": {
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 21,
+ "name": "access_token",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 32,
+ "character": 14
+ }
+ ],
+ "defaultValue": "\"access_token\""
+ },
+ {
+ "id": 16,
+ "name": "close",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_close\""
+ },
+ {
+ "id": 17,
+ "name": "error",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_error\""
+ },
+ {
+ "id": 18,
+ "name": "join",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 29,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"phx_join\""
+ },
+ {
+ "id": 20,
+ "name": "leave",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 31,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_leave\""
+ },
+ {
+ "id": 19,
+ "name": "reply",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_reply\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 21,
+ 16,
+ 17,
+ 18,
+ 20,
+ 19
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 26,
+ "character": 26
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 185,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 186,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 101,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 206,
+ "name": "rejoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 207,
+ "name": "rejoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 208,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 166,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "rejoinUntilConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 163,
+ "name": "rejoinUntilConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 64,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 214,
+ "name": "replyEventName",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 215,
+ "name": "replyEventName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 216,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 198,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 164,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 165,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 166,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 71,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 209,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 210,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 211,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 212,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 213,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 175,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 193,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 194,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 195,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 129,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 187,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 188,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 189,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 191,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 192,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 116,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 116,
+ "character": 19
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 148
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 141,
+ 145,
+ 144,
+ 150,
+ 147,
+ 146,
+ 154,
+ 143,
+ 142,
+ 149
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 180,
+ 217,
+ 219,
+ 221,
+ 223,
+ 225,
+ 201,
+ 204,
+ 177,
+ 173,
+ 167,
+ 170,
+ 196,
+ 182,
+ 206,
+ 162,
+ 214,
+ 164,
+ 209,
+ 193,
+ 187
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 6,
+ "character": 41
+ }
+ ]
+ }
}
},
{
@@ -29155,7 +49415,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [85, 84]
+ "children": [
+ 85,
+ 84
+ ]
}
],
"sources": [
@@ -29244,7 +49507,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [81, 80]
+ "children": [
+ 81,
+ 80
+ ]
}
],
"sources": [
@@ -29418,7 +49684,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 101,
+ "line": 100,
"character": 25
}
]
@@ -29450,7 +49716,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 109,
+ "line": 108,
"character": 24
}
]
@@ -29510,7 +49776,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 126,
+ "line": 125,
"character": 22
}
]
@@ -29565,7 +49831,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 116,
+ "line": 115,
"character": 12
}
],
@@ -29585,7 +49851,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 115,
+ "line": 114,
"character": 10
}
],
@@ -29599,13 +49865,16 @@
{
"title": "Variables",
"kind": 32,
- "children": [135, 134]
+ "children": [
+ 135,
+ 134
+ ]
}
],
"sources": [
{
"fileName": "lib/push.ts",
- "line": 114,
+ "line": 113,
"character": 24
}
]
@@ -29622,7 +49891,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 114,
+ "line": 113,
"character": 23
}
]
@@ -29653,7 +49922,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 96,
+ "line": 95,
"character": 9
}
]
@@ -29712,7 +49981,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 62,
+ "line": 61,
"character": 9
}
]
@@ -29820,7 +50089,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 71,
+ "line": 70,
"character": 14
}
]
@@ -29879,7 +50148,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 92,
+ "line": 91,
"character": 9
}
]
@@ -29953,7 +50222,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 58,
+ "line": 57,
"character": 24
}
]
@@ -29970,7 +50239,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 58,
+ "line": 57,
"character": 15
}
]
@@ -29980,17 +50249,42 @@
{
"title": "Constructors",
"kind": 512,
- "children": [87]
+ "children": [
+ 87
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [88, 89, 90, 82, 78, 77, 86, 75, 94, 76]
+ "children": [
+ 88,
+ 89,
+ 90,
+ 82,
+ 78,
+ 77,
+ 86,
+ 75,
+ 94,
+ 76
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [126, 128, 136, 130, 124, 114, 103, 106, 118, 120, 108]
+ "children": [
+ 126,
+ 128,
+ 136,
+ 130,
+ 124,
+ 114,
+ 103,
+ 106,
+ 118,
+ 120,
+ 108
+ ]
}
],
"sources": [
@@ -30006,7 +50300,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [74]
+ "children": [
+ 74
+ ]
}
],
"sources": [
@@ -30025,7 +50321,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/serializer.ts",
"children": [
{
"id": 49,
@@ -30186,7 +50482,12 @@
{
"title": "Variables",
"kind": 32,
- "children": [61, 62, 59, 60]
+ "children": [
+ 61,
+ 62,
+ 59,
+ 60
+ ]
}
]
}
@@ -30356,7 +50657,12 @@
{
"title": "Variables",
"kind": 32,
- "children": [71, 72, 69, 70]
+ "children": [
+ 71,
+ 72,
+ 69,
+ 70
+ ]
}
],
"sources": [
@@ -30451,12 +50757,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [50]
+ "children": [
+ 50
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [55, 63, 51]
+ "children": [
+ 55,
+ 63,
+ 51
+ ]
}
],
"sources": [
@@ -30472,7 +50784,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [49]
+ "children": [
+ 49
+ ]
}
],
"sources": [
@@ -30491,7 +50805,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/timer.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/timer.ts",
"children": [
{
"id": 35,
@@ -30733,17 +51047,27 @@
{
"title": "Constructors",
"kind": 512,
- "children": [38]
+ "children": [
+ 38
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [39, 36, 40, 37]
+ "children": [
+ 39,
+ 36,
+ 40,
+ 37
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [44, 46]
+ "children": [
+ 44,
+ 46
+ ]
}
],
"sources": [
@@ -30759,7 +51083,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [35]
+ "children": [
+ 35
+ ]
}
],
"sources": [
@@ -30771,17 +51097,17 @@
]
},
{
- "id": 372,
+ "id": 371,
"name": "\"lib/transformers\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/transformers.ts",
"children": [
{
- "id": 373,
+ "id": 372,
"name": "PostgresTypes",
"kind": 4,
"kindString": "Enumeration",
@@ -30793,7 +51119,7 @@
},
"children": [
{
- "id": 374,
+ "id": 373,
"name": "abstime",
"kind": 16,
"kindString": "Enumeration member",
@@ -30810,7 +51136,7 @@
"defaultValue": "\"abstime\""
},
{
- "id": 375,
+ "id": 374,
"name": "bool",
"kind": 16,
"kindString": "Enumeration member",
@@ -30827,7 +51153,7 @@
"defaultValue": "\"bool\""
},
{
- "id": 376,
+ "id": 375,
"name": "date",
"kind": 16,
"kindString": "Enumeration member",
@@ -30844,7 +51170,7 @@
"defaultValue": "\"date\""
},
{
- "id": 377,
+ "id": 376,
"name": "daterange",
"kind": 16,
"kindString": "Enumeration member",
@@ -30861,7 +51187,7 @@
"defaultValue": "\"daterange\""
},
{
- "id": 378,
+ "id": 377,
"name": "float4",
"kind": 16,
"kindString": "Enumeration member",
@@ -30878,7 +51204,7 @@
"defaultValue": "\"float4\""
},
{
- "id": 379,
+ "id": 378,
"name": "float8",
"kind": 16,
"kindString": "Enumeration member",
@@ -30895,7 +51221,7 @@
"defaultValue": "\"float8\""
},
{
- "id": 380,
+ "id": 379,
"name": "int2",
"kind": 16,
"kindString": "Enumeration member",
@@ -30912,7 +51238,7 @@
"defaultValue": "\"int2\""
},
{
- "id": 381,
+ "id": 380,
"name": "int4",
"kind": 16,
"kindString": "Enumeration member",
@@ -30929,7 +51255,7 @@
"defaultValue": "\"int4\""
},
{
- "id": 382,
+ "id": 381,
"name": "int4range",
"kind": 16,
"kindString": "Enumeration member",
@@ -30946,7 +51272,7 @@
"defaultValue": "\"int4range\""
},
{
- "id": 383,
+ "id": 382,
"name": "int8",
"kind": 16,
"kindString": "Enumeration member",
@@ -30963,7 +51289,7 @@
"defaultValue": "\"int8\""
},
{
- "id": 384,
+ "id": 383,
"name": "int8range",
"kind": 16,
"kindString": "Enumeration member",
@@ -30980,7 +51306,7 @@
"defaultValue": "\"int8range\""
},
{
- "id": 385,
+ "id": 384,
"name": "json",
"kind": 16,
"kindString": "Enumeration member",
@@ -30997,7 +51323,7 @@
"defaultValue": "\"json\""
},
{
- "id": 386,
+ "id": 385,
"name": "jsonb",
"kind": 16,
"kindString": "Enumeration member",
@@ -31014,7 +51340,7 @@
"defaultValue": "\"jsonb\""
},
{
- "id": 387,
+ "id": 386,
"name": "money",
"kind": 16,
"kindString": "Enumeration member",
@@ -31031,7 +51357,7 @@
"defaultValue": "\"money\""
},
{
- "id": 388,
+ "id": 387,
"name": "numeric",
"kind": 16,
"kindString": "Enumeration member",
@@ -31048,7 +51374,7 @@
"defaultValue": "\"numeric\""
},
{
- "id": 389,
+ "id": 388,
"name": "oid",
"kind": 16,
"kindString": "Enumeration member",
@@ -31065,7 +51391,7 @@
"defaultValue": "\"oid\""
},
{
- "id": 390,
+ "id": 389,
"name": "reltime",
"kind": 16,
"kindString": "Enumeration member",
@@ -31082,7 +51408,7 @@
"defaultValue": "\"reltime\""
},
{
- "id": 391,
+ "id": 390,
"name": "text",
"kind": 16,
"kindString": "Enumeration member",
@@ -31099,7 +51425,7 @@
"defaultValue": "\"text\""
},
{
- "id": 392,
+ "id": 391,
"name": "time",
"kind": 16,
"kindString": "Enumeration member",
@@ -31116,7 +51442,7 @@
"defaultValue": "\"time\""
},
{
- "id": 393,
+ "id": 392,
"name": "timestamp",
"kind": 16,
"kindString": "Enumeration member",
@@ -31133,7 +51459,7 @@
"defaultValue": "\"timestamp\""
},
{
- "id": 394,
+ "id": 393,
"name": "timestamptz",
"kind": 16,
"kindString": "Enumeration member",
@@ -31150,7 +51476,7 @@
"defaultValue": "\"timestamptz\""
},
{
- "id": 395,
+ "id": 394,
"name": "timetz",
"kind": 16,
"kindString": "Enumeration member",
@@ -31167,7 +51493,7 @@
"defaultValue": "\"timetz\""
},
{
- "id": 396,
+ "id": 395,
"name": "tsrange",
"kind": 16,
"kindString": "Enumeration member",
@@ -31184,7 +51510,7 @@
"defaultValue": "\"tsrange\""
},
{
- "id": 397,
+ "id": 396,
"name": "tstzrange",
"kind": 16,
"kindString": "Enumeration member",
@@ -31206,8 +51532,30 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389,
- 390, 391, 392, 393, 394, 395, 396, 397
+ 373,
+ 374,
+ 375,
+ 376,
+ 377,
+ 378,
+ 379,
+ 380,
+ 381,
+ 382,
+ 383,
+ 384,
+ 385,
+ 386,
+ 387,
+ 388,
+ 389,
+ 390,
+ 391,
+ 392,
+ 393,
+ 394,
+ 395,
+ 396
]
}
],
@@ -31220,7 +51568,7 @@
]
},
{
- "id": 404,
+ "id": 403,
"name": "BaseValue",
"kind": 4194304,
"kindString": "Type alias",
@@ -31255,7 +51603,7 @@
}
},
{
- "id": 398,
+ "id": 397,
"name": "Columns",
"kind": 4194304,
"kindString": "Type alias",
@@ -31272,14 +51620,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 399,
+ "id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 402,
+ "id": 401,
"name": "flags",
"kind": 32,
"kindString": "Variable",
@@ -31302,7 +51650,7 @@
}
},
{
- "id": 400,
+ "id": 399,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -31320,7 +51668,7 @@
}
},
{
- "id": 401,
+ "id": 400,
"name": "type",
"kind": 32,
"kindString": "Variable",
@@ -31338,7 +51686,7 @@
}
},
{
- "id": 403,
+ "id": 402,
"name": "type_modifier",
"kind": 32,
"kindString": "Variable",
@@ -31371,7 +51719,12 @@
{
"title": "Variables",
"kind": 32,
- "children": [402, 400, 401, 403]
+ "children": [
+ 401,
+ 399,
+ 400,
+ 402
+ ]
}
],
"sources": [
@@ -31386,7 +51739,7 @@
}
},
{
- "id": 406,
+ "id": 405,
"name": "Record",
"kind": 4194304,
"kindString": "Type alias",
@@ -31401,21 +51754,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": [
{
- "id": 408,
+ "id": 407,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 409,
+ "id": 408,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -31428,7 +51781,7 @@
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -31444,7 +51797,7 @@
}
},
{
- "id": 405,
+ "id": 404,
"name": "RecordValue",
"kind": 4194304,
"kindString": "Type alias",
@@ -31461,14 +51814,14 @@
"types": [
{
"type": "reference",
- "id": 404,
+ "id": 403,
"name": "BaseValue"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 404,
+ "id": 403,
"name": "BaseValue"
}
}
@@ -31476,7 +51829,7 @@
}
},
{
- "id": 423,
+ "id": 422,
"name": "convertCell",
"kind": 64,
"kindString": "Function",
@@ -31503,7 +51856,7 @@
},
"signatures": [
{
- "id": 424,
+ "id": 423,
"name": "convertCell",
"kind": 4096,
"kindString": "Call signature",
@@ -31529,7 +51882,7 @@
},
"parameters": [
{
- "id": 425,
+ "id": 424,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -31545,7 +51898,7 @@
}
},
{
- "id": 426,
+ "id": 425,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -31554,14 +51907,46 @@
},
"type": {
"type": "reference",
- "id": 405,
- "name": "RecordValue"
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -31575,7 +51960,7 @@
]
},
{
- "id": 410,
+ "id": 409,
"name": "convertChangeData",
"kind": 64,
"kindString": "Function",
@@ -31594,7 +51979,7 @@
},
"signatures": [
{
- "id": 411,
+ "id": 410,
"name": "convertChangeData",
"kind": 4096,
"kindString": "Call signature",
@@ -31612,7 +51997,7 @@
},
"parameters": [
{
- "id": 412,
+ "id": 411,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -31621,12 +52006,148 @@
},
"type": {
"type": "reference",
- "id": 398,
- "name": "Columns"
+ "id": 397,
+ "name": "Columns",
+ "dereferenced": {
+ "id": 397,
+ "name": "Columns",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 398,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "flags",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 38,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 399,
+ "name": "name",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 36,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 400,
+ "name": "type",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 37,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 402,
+ "name": "type_modifier",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 39,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 401,
+ 399,
+ 400,
+ 402
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ }
}
},
{
- "id": 413,
+ "id": 412,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
@@ -31636,12 +52157,70 @@
"comment": {},
"type": {
"type": "reference",
- "id": 406,
- "name": "Record"
+ "id": 405,
+ "name": "Record",
+ "dereferenced": {
+ "id": 405,
+ "name": "Record",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 45,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 407,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 408,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 45,
+ "character": 13
+ }
+ ]
+ }
+ }
+ }
}
},
{
- "id": 414,
+ "id": 413,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -31654,7 +52233,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 415,
+ "id": 414,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31663,7 +52242,7 @@
},
"children": [
{
- "id": 416,
+ "id": 415,
"name": "skipTypes",
"kind": 32,
"kindString": "Variable",
@@ -31691,7 +52270,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [416]
+ "children": [
+ 415
+ ]
}
],
"sources": [
@@ -31708,7 +52289,7 @@
],
"type": {
"type": "reference",
- "id": 406,
+ "id": 405,
"name": "Record"
}
}
@@ -31722,7 +52303,7 @@
]
},
{
- "id": 417,
+ "id": 416,
"name": "convertColumn",
"kind": 64,
"kindString": "Function",
@@ -31746,7 +52327,7 @@
},
"signatures": [
{
- "id": 418,
+ "id": 417,
"name": "convertColumn",
"kind": 4096,
"kindString": "Call signature",
@@ -31769,7 +52350,7 @@
},
"parameters": [
{
- "id": 419,
+ "id": 418,
"name": "columnName",
"kind": 32768,
"kindString": "Parameter",
@@ -31785,7 +52366,7 @@
}
},
{
- "id": 420,
+ "id": 419,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -31794,12 +52375,148 @@
},
"type": {
"type": "reference",
- "id": 398,
- "name": "Columns"
+ "id": 397,
+ "name": "Columns",
+ "dereferenced": {
+ "id": 397,
+ "name": "Columns",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 398,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "flags",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 38,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 399,
+ "name": "name",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 36,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 400,
+ "name": "type",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 37,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 402,
+ "name": "type_modifier",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 39,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 401,
+ 399,
+ 400,
+ 402
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ }
}
},
{
- "id": 421,
+ "id": 420,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
@@ -31811,12 +52528,70 @@
},
"type": {
"type": "reference",
- "id": 406,
- "name": "Record"
+ "id": 405,
+ "name": "Record",
+ "dereferenced": {
+ "id": 405,
+ "name": "Record",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 45,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 407,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 408,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 45,
+ "character": 13
+ }
+ ]
+ }
+ }
+ }
}
},
{
- "id": 422,
+ "id": 421,
"name": "skipTypes",
"kind": 32768,
"kindString": "Parameter",
@@ -31837,7 +52612,7 @@
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -31851,7 +52626,7 @@
]
},
{
- "id": 427,
+ "id": 426,
"name": "noop",
"kind": 64,
"kindString": "Function",
@@ -31860,28 +52635,60 @@
},
"signatures": [
{
- "id": 428,
+ "id": 427,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 429,
+ "id": 428,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 405,
- "name": "RecordValue"
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -31895,7 +52702,7 @@
]
},
{
- "id": 439,
+ "id": 438,
"name": "toArray",
"kind": 64,
"kindString": "Function",
@@ -31922,7 +52729,7 @@
},
"signatures": [
{
- "id": 440,
+ "id": 439,
"name": "toArray",
"kind": 4096,
"kindString": "Call signature",
@@ -31948,7 +52755,7 @@
},
"parameters": [
{
- "id": 441,
+ "id": 440,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -31957,12 +52764,44 @@
},
"type": {
"type": "reference",
- "id": 405,
- "name": "RecordValue"
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
}
},
{
- "id": 442,
+ "id": 441,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -31977,7 +52816,7 @@
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -31991,7 +52830,7 @@
]
},
{
- "id": 430,
+ "id": 429,
"name": "toBoolean",
"kind": 64,
"kindString": "Function",
@@ -32001,7 +52840,7 @@
},
"signatures": [
{
- "id": 431,
+ "id": 430,
"name": "toBoolean",
"kind": 4096,
"kindString": "Call signature",
@@ -32010,7 +52849,7 @@
},
"parameters": [
{
- "id": 432,
+ "id": 431,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -32019,14 +52858,46 @@
},
"type": {
"type": "reference",
- "id": 405,
- "name": "RecordValue"
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -32040,7 +52911,7 @@
]
},
{
- "id": 436,
+ "id": 435,
"name": "toJson",
"kind": 64,
"kindString": "Function",
@@ -32050,7 +52921,7 @@
},
"signatures": [
{
- "id": 437,
+ "id": 436,
"name": "toJson",
"kind": 4096,
"kindString": "Call signature",
@@ -32059,7 +52930,7 @@
},
"parameters": [
{
- "id": 438,
+ "id": 437,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -32068,14 +52939,46 @@
},
"type": {
"type": "reference",
- "id": 405,
- "name": "RecordValue"
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -32089,7 +52992,7 @@
]
},
{
- "id": 433,
+ "id": 432,
"name": "toNumber",
"kind": 64,
"kindString": "Function",
@@ -32099,7 +53002,7 @@
},
"signatures": [
{
- "id": 434,
+ "id": 433,
"name": "toNumber",
"kind": 4096,
"kindString": "Call signature",
@@ -32108,7 +53011,7 @@
},
"parameters": [
{
- "id": 435,
+ "id": 434,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -32117,14 +53020,46 @@
},
"type": {
"type": "reference",
- "id": 405,
- "name": "RecordValue"
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -32138,7 +53073,7 @@
]
},
{
- "id": 443,
+ "id": 442,
"name": "toTimestampString",
"kind": 64,
"kindString": "Function",
@@ -32157,7 +53092,7 @@
},
"signatures": [
{
- "id": 444,
+ "id": 443,
"name": "toTimestampString",
"kind": 4096,
"kindString": "Call signature",
@@ -32175,7 +53110,7 @@
},
"parameters": [
{
- "id": 445,
+ "id": 444,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -32184,14 +53119,46 @@
},
"type": {
"type": "reference",
- "id": 405,
- "name": "RecordValue"
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -32209,17 +53176,34 @@
{
"title": "Enumerations",
"kind": 4,
- "children": [373]
+ "children": [
+ 372
+ ]
},
{
"title": "Type aliases",
"kind": 4194304,
- "children": [404, 398, 406, 405]
+ "children": [
+ 403,
+ 397,
+ 405,
+ 404
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [423, 410, 417, 427, 439, 430, 436, 433, 443]
+ "children": [
+ 422,
+ 409,
+ 416,
+ 426,
+ 438,
+ 429,
+ 435,
+ 432,
+ 442
+ ]
}
],
"sources": [
@@ -32238,7 +53222,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/version.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/version.ts",
"children": [
{
"id": 2,
@@ -32267,7 +53251,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [2]
+ "children": [
+ 2
+ ]
}
],
"sources": [
@@ -32283,7 +53269,17 @@
{
"title": "Modules",
"kind": 1,
- "children": [227, 139, 446, 3, 73, 48, 34, 372, 1]
+ "children": [
+ 227,
+ 139,
+ 445,
+ 3,
+ 73,
+ 48,
+ 34,
+ 371,
+ 1
+ ]
}
]
},
@@ -32302,7 +53298,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/StorageClient.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/StorageClient.ts",
"children": [
{
"id": 313,
@@ -32415,7 +53411,30 @@
"type": {
"type": "reference",
"id": 15,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
}
}
],
@@ -32650,7 +53669,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [347]
+ "children": [
+ 347
+ ]
}
],
"sources": [
@@ -32742,7 +53763,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [349, 350]
+ "children": [
+ 349,
+ 350
+ ]
}
],
"sources": [
@@ -32883,7 +53907,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [376]
+ "children": [
+ 376
+ ]
}
],
"sources": [
@@ -32936,7 +53962,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [374, 377]
+ "children": [
+ 374,
+ 377
+ ]
}
],
"sources": [
@@ -33077,7 +54106,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [368]
+ "children": [
+ 368
+ ]
}
],
"sources": [
@@ -33130,7 +54161,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [366, 369]
+ "children": [
+ 366,
+ 369
+ ]
}
],
"sources": [
@@ -33334,7 +54368,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [340, 341]
+ "children": [
+ 340,
+ 341
+ ]
}
],
"sources": [
@@ -33470,7 +54507,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [334, 335]
+ "children": [
+ 334,
+ 335
+ ]
}
],
"sources": [
@@ -33586,7 +54626,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [356]
+ "children": [
+ 356
+ ]
}
],
"sources": [
@@ -33668,7 +54710,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [360]
+ "children": [
+ 360
+ ]
}
],
"sources": [
@@ -33721,7 +54765,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [358, 361]
+ "children": [
+ 358,
+ 361
+ ]
}
],
"sources": [
@@ -33761,17 +54808,31 @@
{
"title": "Constructors",
"kind": 512,
- "children": [314]
+ "children": [
+ 314
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [330, 326, 325]
+ "children": [
+ 330,
+ 326,
+ 325
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [342, 370, 362, 322, 336, 331, 351]
+ "children": [
+ 342,
+ 370,
+ 362,
+ 322,
+ 336,
+ 331,
+ 351
+ ]
}
],
"sources": [
@@ -33794,7 +54855,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [313]
+ "children": [
+ 313
+ ]
}
],
"sources": [
@@ -33813,7 +54876,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/index.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/index.ts",
"children": [
{
"id": 381,
@@ -33900,7 +54963,16 @@
{
"title": "References",
"kind": 16777216,
- "children": [381, 382, 384, 386, 385, 383, 379, 380]
+ "children": [
+ 381,
+ 382,
+ 384,
+ 386,
+ 385,
+ 383,
+ 379,
+ 380
+ ]
}
],
"sources": [
@@ -33919,7 +54991,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageBucketApi.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/StorageBucketApi.ts",
"children": [
{
"id": 107,
@@ -34032,7 +55104,30 @@
"type": {
"type": "reference",
"id": 15,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
}
}
],
@@ -34242,7 +55337,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [138]
+ "children": [
+ 138
+ ]
}
],
"sources": [
@@ -34334,7 +55431,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [140, 141]
+ "children": [
+ 140,
+ 141
+ ]
}
],
"sources": [
@@ -34465,7 +55565,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [167]
+ "children": [
+ 167
+ ]
}
],
"sources": [
@@ -34518,7 +55620,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [165, 168]
+ "children": [
+ 165,
+ 168
+ ]
}
],
"sources": [
@@ -34649,7 +55754,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [159]
+ "children": [
+ 159
+ ]
}
],
"sources": [
@@ -34702,7 +55809,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [157, 160]
+ "children": [
+ 157,
+ 160
+ ]
}
],
"sources": [
@@ -34843,7 +55953,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [131, 132]
+ "children": [
+ 131,
+ 132
+ ]
}
],
"sources": [
@@ -34969,7 +56082,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [125, 126]
+ "children": [
+ 125,
+ 126
+ ]
}
],
"sources": [
@@ -35075,7 +56191,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [147]
+ "children": [
+ 147
+ ]
}
],
"sources": [
@@ -35157,7 +56275,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [151]
+ "children": [
+ 151
+ ]
}
],
"sources": [
@@ -35210,7 +56330,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [149, 152]
+ "children": [
+ 149,
+ 152
+ ]
}
],
"sources": [
@@ -35240,17 +56363,30 @@
{
"title": "Constructors",
"kind": 512,
- "children": [114]
+ "children": [
+ 114
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [113, 109, 108]
+ "children": [
+ 113,
+ 109,
+ 108
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [133, 161, 153, 127, 122, 142]
+ "children": [
+ 133,
+ 161,
+ 153,
+ 127,
+ 122,
+ 142
+ ]
}
],
"sources": [
@@ -35273,7 +56409,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [107]
+ "children": [
+ 107
+ ]
}
],
"sources": [
@@ -35292,7 +56430,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageFileApi.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/StorageFileApi.ts",
"children": [
{
"id": 170,
@@ -35428,7 +56566,30 @@
"type": {
"type": "reference",
"id": 15,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
}
}
],
@@ -35801,7 +56962,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [234]
+ "children": [
+ 234
+ ]
}
],
"sources": [
@@ -35854,7 +57017,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [232, 235]
+ "children": [
+ 232,
+ 235
+ ]
}
],
"sources": [
@@ -36001,7 +57167,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [243]
+ "children": [
+ 243
+ ]
}
],
"sources": [
@@ -36083,7 +57251,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [241, 244, 245]
+ "children": [
+ 241,
+ 244,
+ 245
+ ]
}
],
"sources": [
@@ -36293,7 +57465,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [253, 254, 255]
+ "children": [
+ 253,
+ 254,
+ 255
+ ]
}
],
"sources": [
@@ -36347,7 +57523,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [251, 256]
+ "children": [
+ 251,
+ 256
+ ]
}
],
"sources": [
@@ -36487,7 +57666,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [261, 262]
+ "children": [
+ 261,
+ 262
+ ]
}
],
"sources": [
@@ -36615,7 +57797,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [269]
+ "children": [
+ 269
+ ]
}
],
"sources": [
@@ -36697,7 +57881,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [267, 270, 271]
+ "children": [
+ 267,
+ 270,
+ 271
+ ]
}
],
"sources": [
@@ -36781,7 +57969,161 @@
"type": {
"type": "reference",
"id": 99,
- "name": "SearchOptions"
+ "name": "SearchOptions",
+ "dereferenced": {
+ "id": 99,
+ "name": "SearchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 100,
+ "name": "limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The number of files you want to be returned."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 35,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 101,
+ "name": "offset",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The starting position."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 38,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 103,
+ "name": "search",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The search string to filter files by."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 44,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 102,
+ "name": "sortBy",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The column to sort by. Can be any column inside a FileObject."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "name": "SortBy"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 100,
+ 101,
+ 103,
+ 102
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 33,
+ "character": 30
+ }
+ ]
+ }
}
},
{
@@ -36799,7 +58141,55 @@
"type": {
"type": "reference",
"id": 13,
- "name": "FetchParameters"
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 14
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
}
}
],
@@ -36884,7 +58274,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [284, 285]
+ "children": [
+ 284,
+ 285
+ ]
}
],
"sources": [
@@ -37031,7 +58424,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [225]
+ "children": [
+ 225
+ ]
}
],
"sources": [
@@ -37084,7 +58479,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [223, 226]
+ "children": [
+ 223,
+ 226
+ ]
}
],
"sources": [
@@ -37231,7 +58629,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [276, 277]
+ "children": [
+ 276,
+ 277
+ ]
}
],
"sources": [
@@ -37371,7 +58772,130 @@
"type": {
"type": "reference",
"id": 95,
- "name": "FileOptions"
+ "name": "FileOptions",
+ "dereferenced": {
+ "id": 95,
+ "name": "FileOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 96,
+ "name": "cacheControl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 28,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 97,
+ "name": "contentType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 29,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 98,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 96,
+ 97,
+ 98
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 27,
+ "character": 28
+ }
+ ]
+ }
}
}
],
@@ -37443,7 +58967,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [216]
+ "children": [
+ 216
+ ]
}
],
"sources": [
@@ -37496,7 +59022,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [214, 217]
+ "children": [
+ 214,
+ 217
+ ]
}
],
"sources": [
@@ -37636,7 +59165,130 @@
"type": {
"type": "reference",
"id": 95,
- "name": "FileOptions"
+ "name": "FileOptions",
+ "dereferenced": {
+ "id": 95,
+ "name": "FileOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 96,
+ "name": "cacheControl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 28,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 97,
+ "name": "contentType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 29,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 98,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 96,
+ 97,
+ 98
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 27,
+ "character": 28
+ }
+ ]
+ }
}
}
],
@@ -37708,7 +59360,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [206]
+ "children": [
+ 206
+ ]
}
],
"sources": [
@@ -37761,7 +59415,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [204, 207]
+ "children": [
+ 204,
+ 207
+ ]
}
],
"sources": [
@@ -37927,7 +59584,130 @@
"type": {
"type": "reference",
"id": 95,
- "name": "FileOptions"
+ "name": "FileOptions",
+ "dereferenced": {
+ "id": 95,
+ "name": "FileOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 96,
+ "name": "cacheControl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 28,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 97,
+ "name": "contentType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 29,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 98,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 96,
+ 97,
+ 98
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 27,
+ "character": 28
+ }
+ ]
+ }
}
}
],
@@ -37999,7 +59779,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [196]
+ "children": [
+ 196
+ ]
}
],
"sources": [
@@ -38052,7 +59834,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [194, 197]
+ "children": [
+ 194,
+ 197
+ ]
}
],
"sources": [
@@ -38082,17 +59867,38 @@
{
"title": "Constructors",
"kind": 512,
- "children": [178]
+ "children": [
+ 178
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [176, 177, 172, 171]
+ "children": [
+ 176,
+ 177,
+ 172,
+ 171
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [286, 289, 227, 236, 246, 257, 263, 278, 218, 272, 208, 198, 187]
+ "children": [
+ 286,
+ 289,
+ 227,
+ 236,
+ 246,
+ 257,
+ 263,
+ 278,
+ 218,
+ 272,
+ 208,
+ 198,
+ 187
+ ]
}
],
"sources": [
@@ -38174,7 +59980,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [299, 300, 301]
+ "children": [
+ 299,
+ 300,
+ 301
+ ]
}
],
"sources": [
@@ -38286,7 +60096,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [296, 297]
+ "children": [
+ 296,
+ 297
+ ]
}
],
"sources": [
@@ -38306,12 +60119,17 @@
{
"title": "Variables",
"kind": 32,
- "children": [293, 294]
+ "children": [
+ 293,
+ 294
+ ]
},
{
"title": "Object literals",
"kind": 2097152,
- "children": [295]
+ "children": [
+ 295
+ ]
}
],
"sources": [
@@ -38331,12 +60149,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [170]
+ "children": [
+ 170
+ ]
},
{
"title": "Object literals",
"kind": 2097152,
- "children": [298, 292]
+ "children": [
+ 298,
+ 292
+ ]
}
],
"sources": [
@@ -38355,7 +60178,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/constants.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/constants.ts",
"children": [
{
"id": 4,
@@ -38393,7 +60216,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [5]
+ "children": [
+ 5
+ ]
}
],
"sources": [
@@ -38413,7 +60238,9 @@
{
"title": "Object literals",
"kind": 2097152,
- "children": [4]
+ "children": [
+ 4
+ ]
}
],
"sources": [
@@ -38432,7 +60259,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/fetch.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/fetch.ts",
"children": [
{
"id": 7,
@@ -38550,7 +60377,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [8, 12]
+ "children": [
+ 8,
+ 12
+ ]
}
],
"sources": [
@@ -38596,7 +60426,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [14]
+ "children": [
+ 14
+ ]
}
],
"sources": [
@@ -38734,7 +60566,44 @@
"type": {
"type": "reference",
"id": 16,
- "name": "RequestMethodType"
+ "name": "RequestMethodType",
+ "dereferenced": {
+ "id": 16,
+ "name": "RequestMethodType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 14,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PUT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ }
}
},
{
@@ -38748,7 +60617,137 @@
"type": {
"type": "reference",
"id": 7,
- "name": "FetchOptions"
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 8,
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
}
},
{
@@ -38762,7 +60761,55 @@
"type": {
"type": "reference",
"id": 13,
- "name": "FetchParameters"
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 14
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
}
},
{
@@ -38857,7 +60904,30 @@
"type": {
"type": "reference",
"id": 15,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -38869,7 +60939,44 @@
"type": {
"type": "reference",
"id": 16,
- "name": "RequestMethodType"
+ "name": "RequestMethodType",
+ "dereferenced": {
+ "id": 16,
+ "name": "RequestMethodType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 14,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PUT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ }
}
},
{
@@ -38894,7 +61001,137 @@
"type": {
"type": "reference",
"id": 7,
- "name": "FetchOptions"
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 8,
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
}
},
{
@@ -38908,7 +61145,55 @@
"type": {
"type": "reference",
"id": 13,
- "name": "FetchParameters"
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 14
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
}
},
{
@@ -38983,7 +61268,30 @@
"type": {
"type": "reference",
"id": 15,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -39011,7 +61319,137 @@
"type": {
"type": "reference",
"id": 7,
- "name": "FetchOptions"
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 8,
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
}
},
{
@@ -39026,7 +61464,55 @@
"type": {
"type": "reference",
"id": 13,
- "name": "FetchParameters"
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 14
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
}
}
],
@@ -39132,7 +61618,30 @@
"type": {
"type": "reference",
"id": 15,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -39173,7 +61682,137 @@
"type": {
"type": "reference",
"id": 7,
- "name": "FetchOptions"
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 8,
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
}
},
{
@@ -39188,7 +61827,55 @@
"type": {
"type": "reference",
"id": 13,
- "name": "FetchParameters"
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 14
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
}
}
],
@@ -39241,7 +61928,30 @@
"type": {
"type": "reference",
"id": 15,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -39282,7 +61992,137 @@
"type": {
"type": "reference",
"id": 7,
- "name": "FetchOptions"
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 8,
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
}
},
{
@@ -39297,7 +62137,55 @@
"type": {
"type": "reference",
"id": 13,
- "name": "FetchParameters"
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 14
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
}
}
],
@@ -39350,7 +62238,30 @@
"type": {
"type": "reference",
"id": 15,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -39391,7 +62302,137 @@
"type": {
"type": "reference",
"id": 7,
- "name": "FetchOptions"
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 8,
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
}
},
{
@@ -39406,7 +62447,55 @@
"type": {
"type": "reference",
"id": 13,
- "name": "FetchParameters"
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 14
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
}
}
],
@@ -39435,17 +62524,32 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [7, 13]
+ "children": [
+ 7,
+ 13
+ ]
},
{
"title": "Type aliases",
"kind": 4194304,
- "children": [15, 16]
+ "children": [
+ 15,
+ 16
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [17, 24, 33, 41, 20, 47, 54, 61]
+ "children": [
+ 17,
+ 24,
+ 33,
+ 41,
+ 20,
+ 47,
+ 54,
+ 61
+ ]
}
],
"sources": [
@@ -39464,7 +62568,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/helpers.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/helpers.ts",
"children": [
{
"id": 69,
@@ -39518,7 +62622,28 @@
"type": {
"type": "reference",
"id": 69,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 69,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 1,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
}
}
],
@@ -39542,12 +62667,16 @@
{
"title": "Type aliases",
"kind": 4194304,
- "children": [69]
+ "children": [
+ 69
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [70]
+ "children": [
+ 70
+ ]
}
],
"sources": [
@@ -39566,7 +62695,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/index.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/index.ts",
"children": [
{
"id": 305,
@@ -39663,7 +62792,17 @@
{
"title": "References",
"kind": 16777216,
- "children": [305, 311, 306, 308, 310, 309, 307, 303, 304]
+ "children": [
+ 305,
+ 311,
+ 306,
+ 308,
+ 310,
+ 309,
+ 307,
+ 303,
+ 304
+ ]
}
],
"sources": [
@@ -39682,7 +62821,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/types.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/types.ts",
"children": [
{
"id": 74,
@@ -39818,7 +62957,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [78, 75, 76, 77, 80, 79]
+ "children": [
+ 78,
+ 75,
+ 76,
+ 77,
+ 80,
+ 79
+ ]
}
],
"sources": [
@@ -40039,7 +63185,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [83, 91, 87, 85, 88, 89, 82, 84, 86]
+ "children": [
+ 83,
+ 91,
+ 87,
+ 85,
+ 88,
+ 89,
+ 82,
+ 84,
+ 86
+ ]
}
],
"sources": [
@@ -40158,7 +63314,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [96, 97, 98]
+ "children": [
+ 96,
+ 97,
+ 98
+ ]
}
],
"sources": [
@@ -40203,7 +63363,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [105]
+ "children": [
+ 105
+ ]
}
],
"sources": [
@@ -40352,7 +63514,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [100, 101, 103, 102]
+ "children": [
+ 100,
+ 101,
+ 103,
+ 102
+ ]
}
],
"sources": [
@@ -40437,7 +63604,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [93, 94]
+ "children": [
+ 93,
+ 94
+ ]
}
],
"sources": [
@@ -40453,7 +63623,14 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [74, 81, 95, 104, 99, 92]
+ "children": [
+ 74,
+ 81,
+ 95,
+ 104,
+ 99,
+ 92
+ ]
}
],
"sources": [
@@ -40472,7 +63649,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/version.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/version.ts",
"children": [
{
"id": 2,
@@ -40501,7 +63678,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [2]
+ "children": [
+ 2
+ ]
}
],
"sources": [
@@ -40517,7 +63696,18 @@
{
"title": "Modules",
"kind": 1,
- "children": [312, 378, 106, 169, 3, 6, 68, 302, 73, 1]
+ "children": [
+ 312,
+ 378,
+ 106,
+ 169,
+ 3,
+ 6,
+ 68,
+ 302,
+ 73,
+ 1
+ ]
}
]
},
@@ -40699,7 +63889,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [8, 7]
+ "children": [
+ 8,
+ 7
+ ]
}
]
}
@@ -40971,7 +64164,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [29, 30]
+ "children": [
+ 29,
+ 30
+ ]
}
]
}
@@ -41028,7 +64224,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [32, 33]
+ "children": [
+ 32,
+ 33
+ ]
}
]
}
@@ -41097,17 +64296,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [
+ 2
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [15, 14, 13]
+ "children": [
+ 15,
+ 14,
+ 13
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [23, 20]
+ "children": [
+ 23,
+ 20
+ ]
}
],
"sources": [
@@ -41123,7 +64331,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [1]
+ "children": [
+ 1
+ ]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v1/functions_dereferenced.json b/spec/enrichments/tsdoc_v1/functions_dereferenced.json
new file mode 100644
index 00000000000..6e9cea9f878
--- /dev/null
+++ b/spec/enrichments/tsdoc_v1/functions_dereferenced.json
@@ -0,0 +1,613 @@
+{
+ "id": 0,
+ "name": "@supabase/functions-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 1,
+ "name": "FunctionsClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 9,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "new FunctionsClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 4,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 5,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 6,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 8,
+ "name": "customFetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 16,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 10,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 11,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 12,
+ "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/index.ts",
+ "line": 15,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 7]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "FunctionsClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 15,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 7,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 16,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 17,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 18,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 19,
+ "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": 14,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 6,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 13,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 5,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 23,
+ "name": "invoke",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 40,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 24,
+ "name": "invoke",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Invokes a function"
+ },
+ "typeParameter": [
+ {
+ "id": 25,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 26,
+ "name": "functionName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "the name of the function to invoke"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 27,
+ "name": "invokeOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "object with the following properties\n`headers`: object representing the headers to send with the request\n`body`: the body of the request\n`responseType`: how the response should be parsed. The default is `json`\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "FunctionInvokeOptions"
+ }
+ }
+ ],
+ "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/index.ts",
+ "line": 43,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "T"
+ }
+ },
+ {
+ "id": 30,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 43,
+ "character": 24
+ }
+ ],
+ "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/index.ts",
+ "line": 43,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 33,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 43,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [32, 33]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 20,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 21,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the authorization header",
+ "tags": [
+ {
+ "tag": "params",
+ "text": "token - the new jwt token sent in the authorisation header\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 22,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [2]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [15, 14, 13]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [23, 20]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 4,
+ "character": 13
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [1]
+ }
+ ],
+ "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 2b1e559e72b..662c758714b 100644
--- a/spec/enrichments/tsdoc_v1/gotrue.json
+++ b/spec/enrichments/tsdoc_v1/gotrue.json
@@ -66,7 +66,7 @@
],
"type": {
"type": "reference",
- "id": 558,
+ "id": 557,
"name": "CookieOptions"
}
},
@@ -108,10 +108,21 @@
"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"
+ }
+ ]
}
},
{
@@ -253,7 +264,7 @@
],
"type": {
"type": "reference",
- "id": 558,
+ "id": 557,
"name": "CookieOptions"
}
},
@@ -295,10 +306,21 @@
"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"
+ }
+ ]
}
},
{
@@ -524,7 +546,7 @@
},
"type": {
"type": "reference",
- "id": 540,
+ "id": 539,
"name": "AdminUserAttributes"
}
}
@@ -633,7 +655,7 @@
],
"type": {
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
},
@@ -670,7 +692,7 @@
],
"type": {
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
}
@@ -878,7 +900,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -934,7 +956,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -998,6 +1020,10 @@
"type": "literal",
"value": "signup"
},
+ {
+ "type": "literal",
+ "value": "invite"
+ },
{
"type": "literal",
"value": "magiclink"
@@ -1006,10 +1032,6 @@
"type": "literal",
"value": "recovery"
},
- {
- "type": "literal",
- "value": "invite"
- },
{
"type": "literal",
"value": "email_change_current"
@@ -1162,7 +1184,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -1514,7 +1536,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -1570,7 +1592,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -1677,7 +1699,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -1760,7 +1782,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -1909,7 +1931,7 @@
],
"type": {
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
},
@@ -2091,7 +2113,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -2255,7 +2277,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
}
@@ -3332,7 +3354,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 583,
"name": "OpenIDConnectCredentials"
}
}
@@ -3886,7 +3908,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4097,7 +4119,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4198,7 +4220,7 @@
},
"type": {
"type": "reference",
- "id": 534,
+ "id": 533,
"name": "UserAttributes"
}
}
@@ -4237,7 +4259,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4293,7 +4315,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4363,7 +4385,7 @@
},
"type": {
"type": "reference",
- "id": 540,
+ "id": 539,
"name": "AdminUserAttributes"
}
}
@@ -4402,7 +4424,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4458,7 +4480,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4626,7 +4648,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4710,7 +4732,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 571,
+ "id": 570,
"name": "VerifyOTPParams"
}
},
@@ -4801,7 +4823,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -4969,7 +4991,7 @@
],
"type": {
"type": "reference",
- "id": 558,
+ "id": 557,
"name": "CookieOptions"
}
},
@@ -5037,10 +5059,21 @@
"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"
+ }
+ ]
}
},
{
@@ -5169,11 +5202,11 @@
},
{
"type": "literal",
- "value": "setItem"
+ "value": "removeItem"
},
{
"type": "literal",
- "value": "removeItem"
+ "value": "setItem"
}
]
}
@@ -5377,7 +5410,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -5419,11 +5452,11 @@
},
{
"type": "literal",
- "value": "setItem"
+ "value": "removeItem"
},
{
"type": "literal",
- "value": "removeItem"
+ "value": "setItem"
}
]
}
@@ -5544,7 +5577,7 @@
},
{
"type": "reference",
- "id": 550,
+ "id": 549,
"name": "Subscription"
}
],
@@ -5565,7 +5598,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 697,
+ "line": 695,
"character": 16
}
],
@@ -5632,6 +5665,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 708,
+ "character": 21
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -5663,6 +5703,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 710,
+ "character": 15
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -5675,6 +5722,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 710,
+ "character": 27
+ }
+ ],
"type": {
"type": "reference",
"id": 483,
@@ -5713,7 +5767,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 522,
+ "line": 520,
"character": 16
}
],
@@ -5773,7 +5827,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 527,
+ "line": 525,
"character": 6
}
],
@@ -5793,7 +5847,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 526,
+ "line": 524,
"character": 6
}
],
@@ -5836,6 +5890,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 533,
+ "character": 35
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -5869,6 +5930,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 533,
+ "character": 59
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -5881,6 +5949,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 533,
+ "character": 47
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -5924,6 +5999,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 540,
+ "character": 53
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -5936,6 +6018,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 540,
+ "character": 38
+ }
+ ],
"type": {
"type": "reference",
"id": 486,
@@ -5949,6 +6038,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 540,
+ "character": 21
+ }
+ ],
"type": {
"type": "union",
"types": [
@@ -5958,7 +6054,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -5996,7 +6092,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 597,
+ "line": 595,
"character": 16
}
],
@@ -6016,7 +6112,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 583,
"name": "OpenIDConnectCredentials"
}
}
@@ -6042,7 +6138,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 606,
+ "line": 604,
"character": 4
}
],
@@ -6070,7 +6166,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 604,
+ "line": 602,
"character": 4
}
],
@@ -6098,7 +6194,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 605,
+ "line": 603,
"character": 4
}
],
@@ -6111,7 +6207,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -6146,7 +6242,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 548,
+ "line": 546,
"character": 16
}
],
@@ -6206,7 +6302,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 552,
+ "line": 550,
"character": 6
}
],
@@ -6249,6 +6345,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 555,
+ "character": 35
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6282,6 +6385,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 555,
+ "character": 59
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6294,6 +6404,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 555,
+ "character": 47
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6337,6 +6454,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 562,
+ "character": 53
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6349,6 +6473,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 562,
+ "character": 38
+ }
+ ],
"type": {
"type": "reference",
"id": 486,
@@ -6362,6 +6493,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 562,
+ "character": 21
+ }
+ ],
"type": {
"type": "union",
"types": [
@@ -6371,7 +6509,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -6409,7 +6547,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 570,
+ "line": 568,
"character": 10
}
],
@@ -6459,7 +6597,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 575,
+ "line": 573,
"character": 6
}
],
@@ -6508,7 +6646,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 573,
+ "line": 571,
"character": 6
}
],
@@ -6528,7 +6666,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 574,
+ "line": 572,
"character": 6
}
],
@@ -6568,6 +6706,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 30
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6580,6 +6725,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 69
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6604,6 +6756,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 42
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6627,6 +6786,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 57
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6658,6 +6824,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 15
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6670,6 +6843,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 54
+ }
+ ],
"type": {
"type": "reference",
"id": 483,
@@ -6694,6 +6874,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 39
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6717,6 +6904,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 27
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6749,7 +6943,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 802,
+ "line": 800,
"character": 10
}
],
@@ -6787,7 +6981,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 779,
+ "line": 777,
"character": 10
}
],
@@ -6828,7 +7022,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 716,
+ "line": 714,
"character": 10
}
],
@@ -6871,7 +7065,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 743,
+ "line": 741,
"character": 10
}
],
@@ -6914,7 +7108,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 652,
+ "line": 650,
"character": 16
}
],
@@ -6963,7 +7157,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 632,
+ "line": 630,
"character": 10
}
],
@@ -7004,7 +7198,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 748,
+ "line": 746,
"character": 16
}
],
@@ -7041,7 +7235,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 724,
+ "line": 722,
"character": 10
}
],
@@ -7087,7 +7281,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 759,
+ "line": 757,
"character": 10
}
],
@@ -7295,7 +7489,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 502,
+ "line": 500,
"character": 2
}
],
@@ -7395,7 +7589,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 503,
+ "line": 501,
"character": 4
}
],
@@ -7408,7 +7602,7 @@
},
{
"type": "reference",
- "id": 550,
+ "id": 549,
"name": "Subscription"
}
]
@@ -7423,7 +7617,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 504,
+ "line": 502,
"character": 4
}
],
@@ -7568,7 +7762,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -7836,7 +8030,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 564,
+ "id": 563,
"name": "UserCredentials"
}
},
@@ -8137,7 +8331,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8170,7 +8364,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 487,
+ "line": 485,
"character": 8
}
],
@@ -8206,7 +8400,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 487,
+ "line": 485,
"character": 29
}
],
@@ -8275,7 +8469,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 564,
+ "id": 563,
"name": "UserCredentials"
}
},
@@ -8457,7 +8651,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8513,7 +8707,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 534,
+ "id": 533,
"name": "UserAttributes"
}
}
@@ -8552,7 +8746,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8608,7 +8802,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8665,7 +8859,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8705,7 +8899,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 571,
+ "id": 570,
"name": "VerifyOTPParams"
}
},
@@ -8847,7 +9041,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -8901,14 +9095,14 @@
]
},
{
- "id": 540,
+ "id": 539,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 542,
+ "id": 541,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -8922,7 +9116,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 142,
+ "line": 137,
"character": 2
}
],
@@ -8932,7 +9126,7 @@
}
},
{
- "id": 549,
+ "id": 548,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8945,7 +9139,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 117,
+ "line": 112,
"character": 2
}
],
@@ -8955,12 +9149,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 539,
+ "id": 538,
"name": "UserAttributes.data"
}
},
{
- "id": 545,
+ "id": 544,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -8973,7 +9167,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 97,
+ "line": 92,
"character": 2
}
],
@@ -8983,12 +9177,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 535,
+ "id": 534,
"name": "UserAttributes.email"
}
},
{
- "id": 548,
+ "id": 547,
"name": "email_change_token",
"kind": 1024,
"kindString": "Property",
@@ -8998,58 +9192,6 @@
"comment": {
"shortText": "An email change token."
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 112,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 538,
- "name": "UserAttributes.email_change_token"
- }
- },
- {
- "id": 543,
- "name": "email_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Sets if a user has confirmed their email address.",
- "text": "Only a service role can modify.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 149,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 547,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -9064,19 +9206,43 @@
"inheritedFrom": {
"type": "reference",
"id": 537,
- "name": "UserAttributes.password"
+ "name": "UserAttributes.email_change_token"
}
},
{
- "id": 546,
- "name": "phone",
+ "id": 542,
+ "name": "email_confirm",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "The user's phone."
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 144,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 546,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
},
"sources": [
{
@@ -9092,11 +9258,39 @@
"inheritedFrom": {
"type": "reference",
"id": 536,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 545,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 535,
"name": "UserAttributes.phone"
}
},
{
- "id": 544,
+ "id": 543,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -9110,7 +9304,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 156,
+ "line": 151,
"character": 2
}
],
@@ -9120,7 +9314,7 @@
}
},
{
- "id": 541,
+ "id": 540,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -9134,7 +9328,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 132,
+ "line": 127,
"character": 2
}
],
@@ -9148,20 +9342,20 @@
{
"title": "Properties",
"kind": 1024,
- "children": [542, 549, 545, 548, 543, 547, 546, 544, 541]
+ "children": [541, 548, 544, 547, 542, 546, 545, 543, 540]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 120,
+ "line": 115,
"character": 17
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 534,
+ "id": 533,
"name": "UserAttributes"
}
]
@@ -9226,14 +9420,14 @@
]
},
{
- "id": 558,
+ "id": 557,
"name": "CookieOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 561,
+ "id": 560,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -9243,7 +9437,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 175,
"character": 2
}
],
@@ -9253,7 +9447,7 @@
}
},
{
- "id": 560,
+ "id": 559,
"name": "lifetime",
"kind": 1024,
"kindString": "Property",
@@ -9263,7 +9457,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 178,
+ "line": 173,
"character": 2
}
],
@@ -9273,13 +9467,33 @@
}
},
{
- "id": 559,
+ "id": 558,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "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",
@@ -9294,26 +9508,6 @@
},
{
"id": 562,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 181,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 563,
"name": "sameSite",
"kind": 1024,
"kindString": "Property",
@@ -9323,7 +9517,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 183,
+ "line": 178,
"character": 2
}
],
@@ -9337,26 +9531,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [561, 560, 559, 562, 563]
+ "children": [560, 559, 558, 561, 562]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 174,
+ "line": 169,
"character": 17
}
]
},
{
- "id": 584,
+ "id": 583,
"name": "OpenIDConnectCredentials",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 588,
+ "id": 587,
"name": "client_id",
"kind": 1024,
"kindString": "Property",
@@ -9366,7 +9560,45 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 216,
+ "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
}
],
@@ -9377,34 +9609,14 @@
},
{
"id": 585,
- "name": "id_token",
+ "name": "nonce",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 213,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 589,
- "name": "issuer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 217,
+ "line": 209,
"character": 2
}
],
@@ -9415,24 +9627,6 @@
},
{
"id": 586,
- "name": "nonce",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 214,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 587,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -9442,7 +9636,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 215,
+ "line": 210,
"character": 2
}
],
@@ -9457,13 +9651,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [588, 585, 589, 586, 587]
+ "children": [587, 584, 588, 585, 586]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 207,
"character": 17
}
]
@@ -9476,7 +9670,7 @@
"flags": {},
"children": [
{
- "id": 489,
+ "id": 488,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -9484,7 +9678,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 34,
"character": 2
}
],
@@ -9494,7 +9688,7 @@
}
},
{
- "id": 491,
+ "id": 490,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -9507,7 +9701,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 43,
+ "line": 42,
"character": 2
}
],
@@ -9517,7 +9711,7 @@
}
},
{
- "id": 490,
+ "id": 489,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -9530,7 +9724,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 38,
"character": 2
}
],
@@ -9539,35 +9733,6 @@
"name": "number"
}
},
- {
- "id": 488,
- "name": "provider_refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
{
"id": 487,
"name": "provider_token",
@@ -9598,13 +9763,31 @@
}
},
{
- "id": 492,
+ "id": 491,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 492,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -9619,24 +9802,6 @@
},
{
"id": 493,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 45,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 494,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9644,7 +9809,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 45,
"character": 2
}
],
@@ -9657,7 +9822,7 @@
},
{
"type": "reference",
- "id": 513,
+ "id": 505,
"name": "User"
}
]
@@ -9668,7 +9833,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [489, 491, 490, 488, 487, 492, 493, 494]
+ "children": [488, 490, 489, 487, 491, 492, 493]
}
],
"sources": [
@@ -9680,14 +9845,14 @@
]
},
{
- "id": 550,
+ "id": 549,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 551,
+ "id": 550,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -9698,7 +9863,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 163,
+ "line": 158,
"character": 2
}
],
@@ -9708,7 +9873,7 @@
}
},
{
- "id": 552,
+ "id": 551,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -9716,13 +9881,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 162,
"character": 2
}
],
"signatures": [
{
- "id": 553,
+ "id": 552,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -9732,7 +9897,7 @@
},
"parameters": [
{
- "id": 554,
+ "id": 553,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -9744,7 +9909,7 @@
}
},
{
- "id": 555,
+ "id": 554,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -9773,7 +9938,7 @@
]
},
{
- "id": 556,
+ "id": 555,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -9781,13 +9946,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 171,
+ "line": 166,
"character": 2
}
],
"signatures": [
{
- "id": 557,
+ "id": 556,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -9807,94 +9972,37 @@
{
"title": "Properties",
"kind": 1024,
- "children": [551]
+ "children": [550]
},
{
"title": "Methods",
"kind": 2048,
- "children": [552, 556]
+ "children": [551, 555]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 159,
+ "line": 154,
"character": 17
}
]
},
{
- "id": 513,
+ "id": 505,
"name": "User",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 523,
+ "id": 522,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 80,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 515,
- "name": "app_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 506,
- "name": "UserAppMetadata"
- }
- },
- {
- "id": 517,
- "name": "aud",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 518,
- "name": "confirmation_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -9908,8 +10016,102 @@
}
},
{
- "id": 527,
- "name": "confirmed_at",
+ "id": 507,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 508,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 509,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [509]
+ }
+ ],
+ "indexSignature": {
+ "id": 510,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 511,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 516,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 69,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 517,
+ "name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -9918,7 +10120,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 70,
"character": 2
}
],
@@ -9929,14 +10131,16 @@
},
{
"id": 526,
- "name": "created_at",
+ "name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 83,
+ "line": 79,
"character": 2
}
],
@@ -9946,7 +10150,25 @@
}
},
{
- "id": 524,
+ "id": 525,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 78,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 523,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9956,7 +10178,129 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 81,
+ "line": 76,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 519,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 527,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 506,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 532,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 494,
+ "name": "UserIdentity"
+ }
+ }
+ },
+ {
+ "id": 521,
+ "name": "invited_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 529,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 82,
"character": 2
}
],
@@ -9967,7 +10311,27 @@
},
{
"id": 520,
- "name": "email_change_sent_at",
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 524,
+ "name": "phone",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -9987,7 +10351,7 @@
},
{
"id": 528,
- "name": "email_confirmed_at",
+ "name": "phone_confirmed_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -9996,7 +10360,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 85,
+ "line": 81,
"character": 2
}
],
@@ -10006,11 +10370,13 @@
}
},
{
- "id": 514,
- "name": "id",
+ "id": 518,
+ "name": "recovery_sent_at",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -10023,53 +10389,9 @@
"name": "string"
}
},
- {
- "id": 533,
- "name": "identities",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 90,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 495,
- "name": "UserIdentity"
- }
- }
- },
- {
- "id": 522,
- "name": "invited_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
{
"id": 530,
- "name": "last_sign_in_at",
+ "name": "role",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -10078,87 +10400,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 87,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 521,
- "name": "new_email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 78,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 525,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 82,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 529,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 86,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 519,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 83,
"character": 2
}
],
@@ -10169,26 +10411,6 @@
},
{
"id": 531,
- "name": "role",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 88,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 532,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -10198,7 +10420,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 89,
+ "line": 84,
"character": 2
}
],
@@ -10208,7 +10430,7 @@
}
},
{
- "id": 516,
+ "id": 512,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -10216,14 +10438,42 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 66,
"character": 2
}
],
"type": {
- "type": "reference",
- "id": 510,
- "name": "UserMetadata"
+ "type": "reflection",
+ "declaration": {
+ "id": 513,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 514,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 515,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
}
}
],
@@ -10232,94 +10482,28 @@
"title": "Properties",
"kind": 1024,
"children": [
- 523, 515, 517, 518, 527, 526, 524, 520, 528, 514, 533, 522, 530, 521, 525, 529, 519,
- 531, 532, 516
+ 522, 507, 516, 517, 526, 525, 523, 519, 527, 506, 532, 521, 529, 520, 524, 528, 518,
+ 530, 531, 512
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 70,
+ "line": 60,
"character": 17
}
]
},
{
- "id": 506,
- "name": "UserAppMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 507,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [507]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 61,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 508,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 509,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 534,
+ "id": 533,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 539,
+ "id": 538,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10332,7 +10516,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 117,
+ "line": 112,
"character": 2
}
],
@@ -10342,7 +10526,7 @@
}
},
{
- "id": 535,
+ "id": 534,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10355,30 +10539,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 97,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 538,
- "name": "email_change_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "An email change token."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 112,
+ "line": 92,
"character": 2
}
],
@@ -10389,14 +10550,14 @@
},
{
"id": 537,
- "name": "password",
+ "name": "email_change_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "The user's password."
+ "shortText": "An email change token."
},
"sources": [
{
@@ -10412,6 +10573,29 @@
},
{
"id": 536,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -10424,7 +10608,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 97,
"character": 2
}
],
@@ -10438,33 +10622,33 @@
{
"title": "Properties",
"kind": 1024,
- "children": [539, 535, 538, 537, 536]
+ "children": [538, 534, 537, 536, 535]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 93,
+ "line": 88,
"character": 17
}
],
"extendedBy": [
{
"type": "reference",
- "id": 540,
+ "id": 539,
"name": "AdminUserAttributes"
}
]
},
{
- "id": 564,
+ "id": 563,
"name": "UserCredentials",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 565,
+ "id": 564,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10474,7 +10658,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 187,
+ "line": 182,
"character": 2
}
],
@@ -10484,54 +10668,13 @@
}
},
{
- "id": 570,
+ "id": 569,
"name": "oidc",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 193,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 584,
- "name": "OpenIDConnectCredentials"
- }
- },
- {
- "id": 567,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 189,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 566,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -10539,13 +10682,54 @@
"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": 569,
+ "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",
@@ -10555,7 +10739,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 192,
+ "line": 187,
"character": 2
}
],
@@ -10566,7 +10750,7 @@
}
},
{
- "id": 568,
+ "id": 567,
"name": "refreshToken",
"kind": 1024,
"kindString": "Property",
@@ -10576,7 +10760,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 190,
+ "line": 185,
"character": 2
}
],
@@ -10590,26 +10774,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [565, 570, 567, 566, 569, 568]
+ "children": [564, 569, 566, 565, 568, 567]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 186,
+ "line": 181,
"character": 17
}
]
},
{
- "id": 495,
+ "id": 494,
"name": "UserIdentity",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 503,
+ "id": 502,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -10617,7 +10801,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 55,
"character": 2
}
],
@@ -10627,7 +10811,7 @@
}
},
{
- "id": 496,
+ "id": 495,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -10635,7 +10819,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 50,
+ "line": 49,
"character": 2
}
],
@@ -10645,7 +10829,7 @@
}
},
{
- "id": 498,
+ "id": 497,
"name": "identity_data",
"kind": 1024,
"kindString": "Property",
@@ -10653,27 +10837,27 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 51,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 498,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 500,
+ "id": 499,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 501,
+ "id": 500,
"name": "key",
"kind": 32768,
"flags": {},
@@ -10692,11 +10876,49 @@
}
},
{
- "id": 504,
+ "id": 503,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 501,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 504,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -10710,45 +10932,7 @@
}
},
{
- "id": 502,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 505,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 497,
+ "id": 496,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -10756,7 +10940,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 50,
"character": 2
}
],
@@ -10770,185 +10954,30 @@
{
"title": "Properties",
"kind": 1024,
- "children": [503, 496, 498, 504, 502, 505, 497]
+ "children": [502, 495, 497, 503, 501, 504, 496]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 48,
"character": 17
}
]
},
{
- "id": 510,
- "name": "UserMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 511,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 512,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 577,
+ "id": 576,
"name": "VerifyEmailOTPParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 578,
+ "id": 577,
"name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 204,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 579,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 205,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 580,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 206,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 581,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 207,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 583,
- "name": "EmailOTPType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [578, 579, 580, 581]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 203,
- "character": 17
- }
- ]
- },
- {
- "id": 572,
- "name": "VerifyMobileOTPParams",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 573,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 198,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 574,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -10962,11 +10991,13 @@
}
},
{
- "id": 575,
- "name": "token",
+ "id": 578,
+ "name": "phone",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -10974,13 +11005,129 @@
"character": 2
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 579,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
- "id": 576,
+ "id": 580,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 202,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 582,
+ "name": "EmailOTPType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [577, 578, 579, 580]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 198,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 571,
+ "name": "VerifyMobileOTPParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 572,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 193,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 573,
+ "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",
@@ -10990,13 +11137,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 201,
+ "line": 196,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 582,
+ "id": 581,
"name": "MobileOTPType"
}
}
@@ -11005,13 +11152,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [573, 574, 575, 576]
+ "children": [572, 573, 574, 575]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 197,
+ "line": 192,
"character": 17
}
]
@@ -11060,7 +11207,7 @@
}
},
{
- "id": 583,
+ "id": 582,
"name": "EmailOTPType",
"kind": 4194304,
"kindString": "Type alias",
@@ -11068,7 +11215,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 210,
+ "line": 205,
"character": 12
}
],
@@ -11099,7 +11246,7 @@
}
},
{
- "id": 582,
+ "id": 581,
"name": "MobileOTPType",
"kind": 4194304,
"kindString": "Type alias",
@@ -11107,7 +11254,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 209,
+ "line": 204,
"character": 12
}
],
@@ -11209,7 +11356,7 @@
}
},
{
- "id": 590,
+ "id": 589,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -11217,7 +11364,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 229,
+ "line": 224,
"character": 12
}
],
@@ -11260,7 +11407,7 @@
}
},
{
- "id": 571,
+ "id": 570,
"name": "VerifyOTPParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11268,7 +11415,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 196,
+ "line": 191,
"character": 12
}
],
@@ -11277,12 +11424,12 @@
"types": [
{
"type": "reference",
- "id": 572,
+ "id": 571,
"name": "VerifyMobileOTPParams"
},
{
"type": "reference",
- "id": 577,
+ "id": 576,
"name": "VerifyEmailOTPParams"
}
]
@@ -11298,12 +11445,12 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [540, 483, 558, 584, 486, 550, 513, 506, 534, 564, 495, 510, 577, 572]
+ "children": [539, 483, 557, 583, 486, 549, 505, 533, 563, 494, 576, 571]
},
{
- "title": "Type aliases",
+ "title": "Type Aliases",
"kind": 4194304,
- "children": [482, 583, 582, 481, 590, 571]
+ "children": [482, 582, 581, 481, 589, 570]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v1/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v1/gotrue_dereferenced.json
new file mode 100644
index 00000000000..03c2553a859
--- /dev/null
+++ b/spec/enrichments/tsdoc_v1/gotrue_dereferenced.json
@@ -0,0 +1,13489 @@
+{
+ "id": 0,
+ "name": "@supabase/gotrue-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 1,
+ "name": "GoTrueApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "new GoTrueApi",
+ "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": "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",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "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": "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"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 7,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 32,
+ "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/GoTrueApi.ts",
+ "line": 31,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [11, 12, 7, 6]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "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": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "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,
+ "name": "createUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 659,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 197,
+ "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"
+ },
+ "parameters": [
+ {
+ "id": 198,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The data you want to create the user with.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 539,
+ "name": "AdminUserAttributes",
+ "dereferenced": {
+ "id": 539,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 541,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "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": "src/lib/types.ts",
+ "line": 137,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 548,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 538,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 544,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 534,
+ "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,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 144,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 546,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 536,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 545,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 535,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 543,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their phone number.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 151,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 540,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "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": "src/lib/types.ts",
+ "line": 127,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [541, 548, 544, 547, 542, 546, 545, 543, 540]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 115,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 533,
+ "name": "UserAttributes"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "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]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "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,
+ "name": "deleteUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 799,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 242,
+ "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"
+ },
+ "parameters": [
+ {
+ "id": 243,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user uid you want to remove.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "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]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 184,
+ "name": "generateLink",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 616,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 185,
+ "name": "generateLink",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Generates links to be sent via email or other."
+ },
+ "parameters": [
+ {
+ "id": 186,
+ "name": "type",
+ "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": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "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",
+ "dereferenced": {
+ "id": 481,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "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": 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"
+ }
+ }
+ ],
+ "type": {
+ "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]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "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,
+ "name": "getUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 697,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 216,
+ "name": "getUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get user by id."
+ },
+ "parameters": [
+ {
+ "id": 217,
+ "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": "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]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 142,
+ "name": "inviteUserByEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 419,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 143,
+ "name": "inviteUserByEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends an invite link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 144,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 145,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 146,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 148,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 423,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 147,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 422,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [148, 147]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "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]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 207,
+ "name": "listUsers",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 679,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 208,
+ "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": 209,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 210,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 679,
+ "character": 31
+ }
+ ],
+ "type": {
+ "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]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 212,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 213,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 679,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 505,
+ "name": "User"
+ }
+ }
+ },
+ {
+ "id": 214,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 679,
+ "character": 79
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [213, 214]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "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",
+ "dereferenced": {
+ "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
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "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,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 340,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 119,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes a logged-in session."
+ },
+ "parameters": [
+ {
+ "id": 120,
+ "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": 121,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 122,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 340,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 483,
+ "name": "ApiError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [122]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "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",
+ "dereferenced": {
+ "id": 533,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 538,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 534,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "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,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [538, 534, 537, 536, 535]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 88,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 539,
+ "name": "AdminUserAttributes"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "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,
+ "name": "updateUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 777,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 234,
+ "name": "updateUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 235,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 236,
+ "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": 539,
+ "name": "AdminUserAttributes",
+ "dereferenced": {
+ "id": 539,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 541,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "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": "src/lib/types.ts",
+ "line": 137,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 548,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 538,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 544,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 534,
+ "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,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 144,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 546,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 536,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 545,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 535,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 543,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their phone number.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 151,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 540,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "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": "src/lib/types.ts",
+ "line": 127,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [541, 548, 544, 547, 542, 546, 545, 543, 540]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 115,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 533,
+ "name": "UserAttributes"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "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",
+ "dereferenced": {
+ "id": 570,
+ "name": "VerifyOTPParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 191,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "VerifyMobileOTPParams"
+ },
+ {
+ "type": "reference",
+ "id": 576,
+ "name": "VerifyEmailOTPParams"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "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]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "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
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/GoTrueApi.ts",
+ "line": 17,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 263,
+ "name": "GoTrueClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 264,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 82,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 265,
+ "name": "new GoTrueClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 266,
+ "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": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "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": "removeItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ }
+ ]
+ }
+ ],
+ "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": {
+ "type": "reference",
+ "id": 263,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "api",
+ "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."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ },
+ {
+ "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": "removeItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ }
+ ]
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 708,
+ "character": 21
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 710,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 462,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 710,
+ "character": 27
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 533,
+ "character": 35
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 533,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 393,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 533,
+ "character": 47
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 540,
+ "character": 53
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 399,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 540,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 486,
+ "name": "Session"
+ },
+ "defaultValue": "data"
+ },
+ {
+ "id": 398,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 540,
+ "character": 21
+ }
+ ],
+ "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",
+ "dereferenced": {
+ "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
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 555,
+ "character": 35
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 555,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 410,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 555,
+ "character": 47
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 562,
+ "character": 53
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 416,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 562,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 486,
+ "name": "Session"
+ },
+ "defaultValue": "data"
+ },
+ {
+ "id": 415,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 562,
+ "character": 21
+ }
+ ],
+ "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",
+ "dereferenced": {
+ "id": 481,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "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": 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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 435,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 69
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 42
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 587,
+ "character": 57
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 440,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 54
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 39
+ }
+ ],
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 591,
+ "character": 27
+ }
+ ],
+ "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",
+ "dereferenced": {
+ "id": 482,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 19,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "PASSWORD_RECOVERY"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_IN"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "TOKEN_REFRESHED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_UPDATED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_DELETED"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "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",
+ "dereferenced": {
+ "id": 486,
+ "name": "Session",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 488,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 490,
+ "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": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 489,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "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,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 487,
+ "name": "provider_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 491,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 492,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 493,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 505,
+ "name": "User"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [488, 490, 489, 487, 491, 492, 493]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 17
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "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",
+ "dereferenced": {
+ "id": 486,
+ "name": "Session",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 488,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 490,
+ "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": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 489,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "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,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 487,
+ "name": "provider_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 491,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 492,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 493,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 505,
+ "name": "User"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [488, 490, 489, 487, 491, 492, 493]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 17
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "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",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 428,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 362,
+ "name": "getSessionFromUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Gets the session data from a URL string"
+ },
+ "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",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 430,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "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": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 483,
+ "name": "ApiError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [367, 368]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "onAuthStateChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 500,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "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"
+ },
+ "parameters": [
+ {
+ "id": 375,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 376,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 377,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 378,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 482,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 379,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 486,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 380,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 381,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 501,
+ "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": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 483,
+ "name": "ApiError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [381, 382]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 339,
+ "name": "refreshSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 339,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 340,
+ "name": "refreshSession",
+ "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."
+ },
+ "parameters": [
+ {
+ "id": 360,
+ "name": "access_token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "a jwt access token\n"
+ },
+ "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",
+ "dereferenced": {
+ "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": 309,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 310,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 314,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 203,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "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,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 200,
+ "character": 6
+ }
+ ],
+ "type": {
+ "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]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "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",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 211,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "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": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 207,
+ "character": 4
+ }
+ ],
+ "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]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 369,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 485,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 370,
+ "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"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 371,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 372,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 485,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 483,
+ "name": "ApiError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [372]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 294,
+ "name": "signUp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 130,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 295,
+ "name": "signUp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new user."
+ },
+ "parameters": [
+ {
+ "id": 296,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 563,
+ "name": "UserCredentials",
+ "dereferenced": {
+ "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": 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]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 345,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 360,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 346,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 347,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 533,
+ "name": "UserAttributes",
+ "dereferenced": {
+ "id": 533,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 538,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 534,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "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,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [538, 534, 537, 536, 535]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 88,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 539,
+ "name": "AdminUserAttributes"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "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]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 335,
+ "name": "user",
+ "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,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 326,
+ "name": "verifyOTP",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in a user given a User supplied OTP received via mobile."
+ },
+ "parameters": [
+ {
+ "id": 327,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 570,
+ "name": "VerifyOTPParams",
+ "dereferenced": {
+ "id": 570,
+ "name": "VerifyOTPParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 191,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "VerifyMobileOTPParams"
+ },
+ {
+ "type": "reference",
+ "id": 576,
+ "name": "VerifyEmailOTPParams"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "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]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [264]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [284, 287, 286, 285, 289, 290, 293, 288, 292, 291]
+ },
+ {
+ "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
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 47,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 539,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 541,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "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": "src/lib/types.ts",
+ "line": 137,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 548,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 538,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 544,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 534,
+ "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,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their email address.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 144,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 546,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 536,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 545,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 535,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 543,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Sets if a user has confirmed their phone number.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 151,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 540,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "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": "src/lib/types.ts",
+ "line": 127,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [541, 548, 544, 547, 542, 546, 545, 543, 540]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 115,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 533,
+ "name": "UserAttributes"
+ }
+ ]
+ },
+ {
+ "id": 483,
+ "name": "ApiError",
+ "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",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 175,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 559,
+ "name": "lifetime",
+ "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
+ },
+ "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,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [560, 559, 558, 561, 562]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 169,
+ "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,
+ "name": "Session",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 488,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 490,
+ "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": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 489,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "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,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 487,
+ "name": "provider_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 491,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 492,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 493,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 505,
+ "name": "User"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [488, 490, 489, 487, 491, 492, 493]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 549,
+ "name": "Subscription",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 550,
+ "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": 158,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 551,
+ "name": "callback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 552,
+ "name": "callback",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
+ },
+ "parameters": [
+ {
+ "id": 553,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 482,
+ "name": "AuthChangeEvent",
+ "dereferenced": {
+ "id": 482,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 19,
+ "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": 554,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 486,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 555,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 166,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 556,
+ "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": [550]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [551, 555]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 154,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 505,
+ "name": "User",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 522,
+ "name": "action_link",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 75,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 507,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 508,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 509,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [509]
+ }
+ ],
+ "indexSignature": {
+ "id": 510,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 511,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 516,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 69,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 517,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 70,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 526,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 79,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 525,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 78,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 523,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 519,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 527,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 506,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 532,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 494,
+ "name": "UserIdentity"
+ }
+ }
+ },
+ {
+ "id": 521,
+ "name": "invited_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 529,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 82,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 520,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 524,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 77,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 528,
+ "name": "phone_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 81,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 518,
+ "name": "recovery_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 530,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 531,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 512,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 513,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 514,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 515,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "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
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 60,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 533,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 538,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 534,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "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,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [538, 534, 537, 536, 535]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 88,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 539,
+ "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,
+ "name": "UserIdentity",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 502,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 495,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 497,
+ "name": "identity_data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 498,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 499,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 500,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 503,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 501,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 504,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 496,
+ "name": "user_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [502, 495, 497, 503, 501, 504, 496]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 48,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 576,
+ "name": "VerifyEmailOTPParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 577,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 199,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 578,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 200,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 579,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 580,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 202,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 582,
+ "name": "EmailOTPType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [577, 578, 579, 580]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 198,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 571,
+ "name": "VerifyMobileOTPParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 572,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 193,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 573,
+ "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
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 196,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 581,
+ "name": "MobileOTPType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [572, 573, 574, 575]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 192,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 482,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 19,
+ "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": 582,
+ "name": "EmailOTPType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 205,
+ "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": 581,
+ "name": "MobileOTPType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 204,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ },
+ {
+ "id": 481,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "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": 589,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "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": 570,
+ "name": "VerifyOTPParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 191,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "VerifyMobileOTPParams"
+ },
+ {
+ "type": "reference",
+ "id": 576,
+ "name": "VerifyEmailOTPParams"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [1, 263]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [539, 483, 557, 583, 486, 549, 505, 533, 563, 494, 576, 571]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [482, 582, 581, 481, 589, 570]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v1/postgrest.json b/spec/enrichments/tsdoc_v1/postgrest.json
index 94f09ece191..df985215dde 100644
--- a/spec/enrichments/tsdoc_v1/postgrest.json
+++ b/spec/enrichments/tsdoc_v1/postgrest.json
@@ -1,1643 +1,545 @@
{
"id": 0,
"name": "@supabase/postgrest-js",
- "kind": 1,
- "kindString": "Project",
+ "kind": 0,
"flags": {},
"originalName": "",
"children": [
{
- "id": 46,
- "name": "PostgrestBuilder",
- "kind": 128,
- "kindString": "Class",
+ "id": 502,
+ "name": "\"PostgrestClient\"",
+ "kind": 1,
+ "kindString": "Module",
"flags": {
- "isAbstract": true
+ "isExported": true
},
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/PostgrestClient.ts",
"children": [
{
- "id": 47,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 48,
- "name": "new PostgrestBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 49,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 50,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 46,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 46,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
- }
- }
- ]
- },
- {
- "id": 66,
- "name": "allowEmpty",
- "kind": 1024,
- "kindString": "Property",
+ "id": 503,
+ "name": "PostgrestClient",
+ "kind": 128,
+ "kindString": "Class",
"flags": {
- "isProtected": true
+ "isExported": true
},
- "sources": [
+ "children": [
{
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 58,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
+ "id": 512,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
},
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ]
- }
- },
- {
- "id": 61,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 62,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 63,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 64,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 65,
- "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": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 54,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 54,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 55,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 56,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 51,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 52,
- "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": 57,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 59,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 60,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- }
- },
- {
- "id": 52,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 53,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- },
- {
- "id": 70,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 91,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 71,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 72,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "id": 73,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 74,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 75,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 76,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 77,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 78,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 79,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 80,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 81,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "implementationOf": {
- "type": "reference",
- "name": "PromiseLike.then"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "name": "PromiseLike.then"
- }
- },
- {
- "id": 67,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 68,
- "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"
- },
- "parameters": [
- {
- "id": 69,
- "name": "throwOnError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 46,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [47]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [66, 58, 61, 53, 51, 57, 59, 60, 52]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [70, 67]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 51,
- "character": 22
- }
- ],
- "typeParameter": [
- {
- "id": 82,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 83,
- "name": "PostgrestQueryBuilder"
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 49,
- "name": "T"
- }
- ],
- "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": 21,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 3,
- "name": "new PostgrestClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
"comment": {
"shortText": "Creates a PostgREST client."
},
- "parameters": [
+ "signatures": [
{
- "id": 4,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "URL of the PostgREST endpoint."
+ "id": 513,
+ "name": "new PostgrestClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 5,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 6,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 12,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
+ "comment": {
+ "shortText": "Creates a PostgREST client."
+ },
+ "parameters": [
+ {
+ "id": 514,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "URL of the PostgREST endpoint."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 515,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 516,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {
- "isOptional": true
+ "isExported": true
},
- "sources": [
+ "children": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 31,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 13,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
+ "id": 522,
+ "name": "fetch",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
{
- "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"
- }
+ "fileName": "PostgrestClient.ts",
+ "line": 26,
+ "character": 11
}
- ]
- }
- }
- },
- {
- "id": 7,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 29,
- "character": 6
- }
- ],
- "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": [
+ ],
+ "type": {
+ "type": "union",
+ "types": [
{
- "id": 10,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "id": 375,
+ "name": "fetch"
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ ]
+ }
+ },
+ {
+ "id": 517,
+ "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": 518,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 519,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 520,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
}
}
- }
- }
- },
- {
- "id": 11,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
+ },
{
- "fileName": "src/PostgrestClient.ts",
- "line": 30,
- "character": 6
+ "id": 521,
+ "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": 523,
+ "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": [522, 517, 521, 523]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 22,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 503,
+ "name": "PostgrestClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 12,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 510,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 11,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 505,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 506,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 507,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 508,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
"type": {
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 17,
- "name": "throwOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 32,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
}
],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [12, 7, 11, 17]
- }
- ]
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
- },
- "defaultValue": "{}"
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 9,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 509,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 10,
+ "character": 8
}
],
"type": {
- "type": "reference",
- "id": 1,
- "name": "default"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
- }
- ]
- },
- {
- "id": 24,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
+ },
{
- "fileName": "src/PostgrestClient.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 25,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
+ "id": 511,
+ "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": 504,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 8,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 524,
+ "name": "auth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
"signatures": [
{
- "id": 26,
- "name": "__type",
+ "id": 525,
+ "name": "auth",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Authenticates the request with JWT."
+ },
"parameters": [
{
- "id": 27,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 28,
- "name": "init",
+ "id": 526,
+ "name": "token",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isOptional": true
+ "isExported": true
+ },
+ "comment": {
+ "text": "The JWT token to use.\n"
},
"type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "type": "intrinsic",
+ "name": "string"
}
}
],
"type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "type": "intrinsic",
+ "name": "this"
}
}
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 47,
+ "character": 6
+ }
]
- }
- }
- },
- {
- "id": 19,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/PostgrestClient.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 20,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 21,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 22,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 23,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 29,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 18,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 30,
- "name": "auth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 47,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 31,
- "name": "auth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Authenticates the request with JWT."
- },
- "parameters": [
- {
- "id": 32,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The JWT token to use.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 33,
- "name": "from",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 57,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 34,
+ "id": 527,
"name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a table operation."
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "typeParameter": [
- {
- "id": 35,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "parameters": [
- {
- "id": 36,
- "name": "table",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The table name to operate on.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 83,
- "typeArguments": [
- {
- "type": "reference",
- "id": 35,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 37,
- "name": "rpc",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 75,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 38,
- "name": "rpc",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a function call."
- },
- "typeParameter": [
- {
- "id": 39,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "parameters": [
- {
- "id": 40,
- "name": "fn",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The function name to call."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 41,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The parameters to pass to the function call."
- },
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 42,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "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
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 83,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 44,
- "name": "head",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 82,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [45, 44]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 39,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [2]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [24, 19, 23, 29, 18]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [30, 33, 37]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 7,
- "character": 21
- }
- ]
- },
- {
- "id": 177,
- "name": "PostgrestFilterBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 178,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "signatures": [
- {
- "id": 179,
- "name": "new PostgrestFilterBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 180,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 181,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 46,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.constructor"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.constructor"
- }
- },
- {
- "id": 291,
- "name": "adj",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 328,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 292,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
"signatures": [
{
- "id": 293,
- "name": "__type",
+ "id": 528,
+ "name": "from",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`."
+ "flags": {
+ "isExported": true
},
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 529,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
"parameters": [
{
- "id": 294,
- "name": "column",
+ "id": 530,
+ "name": "table",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 295,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
"comment": {
- "shortText": "The range to filter with.\n"
+ "text": "The table name to operate on.\n"
},
"type": {
"type": "intrinsic",
@@ -1647,160 +549,1073 @@
],
"type": {
"type": "reference",
- "id": 177,
+ "id": 363,
"typeArguments": [
{
- "type": "reference",
- "id": 180,
- "name": "T"
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
}
],
- "name": "default"
+ "name": "PostgrestQueryBuilder"
}
}
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 57,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 531,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 532,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "typeParameter": [
+ {
+ "id": 533,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 534,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The function name to call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The parameters to pass to the function call."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ },
+ {
+ "id": 536,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 537,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 539,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 80,
+ "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": 538,
+ "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": [539, 538]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 77,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 75,
+ "character": 5
+ }
]
}
- },
- "defaultValue": "..."
- },
- {
- "id": 408,
- "name": "allowEmpty",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
+ ],
+ "groups": [
{
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 12
+ "title": "Constructors",
+ "kind": 512,
+ "children": [512]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [510, 505, 509, 511, 504]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [524, 527, 531]
}
],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.allowEmpty"
- }
- },
- {
- "id": 400,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
+ "fileName": "PostgrestClient.ts",
+ "line": 7,
+ "character": 36
}
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [503]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 540,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/index.ts",
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 149,
+ "name": "\"lib/PostgrestFilterBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestFilterBuilder.ts",
+ "children": [
+ {
+ "id": 150,
+ "name": "PostgrestFilterBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 151,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
}
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.body"
- }
- },
- {
- "id": 246,
- "name": "cd",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 253,
- "character": 2
}
],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 247,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
+ "children": [
+ {
+ "id": 343,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
"signatures": [
{
- "id": 248,
+ "id": 344,
+ "name": "new PostgrestFilterBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 345,
+ "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": 150,
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 237,
+ "name": "adj",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeAdjacent()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 328,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 233,
+ "name": "rangeAdjacent"
+ },
+ "defaultValue": "this.rangeAdjacent"
+ },
+ {
+ "id": 342,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 338,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 212,
+ "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": 208,
+ "name": "containedBy"
+ },
+ "defaultValue": "this.containedBy"
+ },
+ {
+ "id": 207,
+ "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": 203,
+ "name": "contains"
+ },
+ "defaultValue": "this.contains"
+ },
+ {
+ "id": 341,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 333,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 334,
"name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 335,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 336,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 331,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 227,
+ "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": 223,
+ "name": "rangeGte"
+ },
+ "defaultValue": "this.rangeGte"
+ },
+ {
+ "id": 232,
+ "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": 228,
+ "name": "rangeLte"
+ },
+ "defaultValue": "this.rangeLte"
+ },
+ {
+ "id": 242,
+ "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": 238,
+ "name": "overlaps"
+ },
+ "defaultValue": "this.overlaps"
+ },
+ {
+ "id": 337,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 339,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 340,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 217,
+ "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": 213,
+ "name": "rangeLt"
+ },
+ "defaultValue": "this.rangeLt"
+ },
+ {
+ "id": 222,
+ "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": 218,
+ "name": "rangeGt"
+ },
+ "defaultValue": "this.rangeGt"
+ },
+ {
+ "id": 332,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 311,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 312,
+ "name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 313,
+ "name": "signal",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 99,
+ "name": "PostgrestTransformBuilder.abortSignal"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 91,
+ "character": 13
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 99,
+ "name": "PostgrestTransformBuilder.abortSignal"
+ }
+ },
+ {
+ "id": 208,
+ "name": "containedBy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 209,
+ "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": 249,
+ "id": 210,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The column to filter on."
+ "text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
}
},
{
- "id": 250,
+ "id": 211,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The value to filter with.\n"
+ "text": "The value to filter with.\n"
},
"type": {
"type": "union",
@@ -1809,9 +1624,104 @@
"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": 203,
+ "name": "contains",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 204,
+ "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": 205,
+ "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": 206,
+ "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",
@@ -1821,70 +1731,2105 @@
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
},
"objectType": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
}
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
}
]
}
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 213,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 318,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 319,
+ "name": "csv",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Set the response type to CSV."
+ },
"type": {
"type": "reference",
- "id": 177,
"typeArguments": [
{
"type": "reference",
- "id": 180,
- "name": "T"
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
}
],
- "name": "default"
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 106,
+ "name": "PostgrestTransformBuilder.csv"
}
}
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 119,
+ "character": 5
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 106,
+ "name": "PostgrestTransformBuilder.csv"
+ }
+ },
+ {
+ "id": 163,
+ "name": "eq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 164,
+ "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": 165,
+ "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": 166,
+ "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": 85,
+ "character": 4
+ }
]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 237,
- "name": "cs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
+ },
+ {
+ "id": 322,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 323,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Obtains the EXPLAIN plan for this request."
+ },
+ "parameters": [
+ {
+ "id": 324,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 325,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 326,
+ "name": "analyze",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query will be executed and the actual run time will be displayed."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 142,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "buffers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on buffer usage."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 145,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 328,
+ "name": "settings",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on configuration parameters that affect query planning."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 144,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 327,
+ "name": "verbose",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query identifier will be displayed and the result will include the output columns of the query."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 143,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 330,
+ "name": "wal",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on WAL record generation\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 146,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [326, 329, 328, 327, 330]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 110,
+ "name": "PostgrestTransformBuilder.explain"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 9
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 110,
+ "name": "PostgrestTransformBuilder.explain"
+ }
+ },
+ {
+ "id": 279,
+ "name": "filter",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 280,
+ "name": "filter",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose `column` satisfies the filter."
+ },
+ "parameters": [
+ {
+ "id": 281,
+ "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": 282,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "id": 361,
+ "name": "FilterOperator"
+ }
+ },
+ {
+ "id": 283,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 452,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 251,
+ "name": "fts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 252,
+ "name": "fts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` instead.\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 253,
+ "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": 254,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 255,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 256,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 257,
+ "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": [257]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 391,
+ "character": 37
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 391,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 320,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 321,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Set the response type to GeoJSON."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 108,
+ "name": "PostgrestTransformBuilder.geojson"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 127,
+ "character": 9
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 108,
+ "name": "PostgrestTransformBuilder.geojson"
+ }
+ },
+ {
+ "id": 171,
+ "name": "gt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 172,
+ "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": 173,
+ "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": 174,
+ "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": 175,
+ "name": "gte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 176,
+ "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": 177,
+ "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": 178,
+ "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": 191,
+ "name": "ilike",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 192,
+ "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": 193,
+ "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": 194,
+ "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": 199,
+ "name": "in",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 200,
+ "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": 201,
+ "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": 202,
+ "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"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 193,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 195,
+ "name": "is",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 196,
+ "name": "is",
+ "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`."
+ },
+ "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": 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": "boolean"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 181,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 187,
+ "name": "like",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 188,
+ "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": 189,
+ "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": 190,
+ "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": 157,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 298,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 299,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 300,
+ "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": 301,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 302,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 303,
+ "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": [303]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 66,
+ "character": 22
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 86,
+ "name": "PostgrestTransformBuilder.limit"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 66,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 86,
+ "name": "PostgrestTransformBuilder.limit"
+ }
+ },
+ {
+ "id": 179,
+ "name": "lt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 180,
+ "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": 181,
+ "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": 182,
+ "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": 133,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 183,
+ "name": "lte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 184,
+ "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": 185,
+ "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": 186,
+ "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": 145,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "match",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 285,
+ "name": "match",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose columns match the specified `query` object."
+ },
+ "parameters": [
+ {
+ "id": 286,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The object to filter with, with column names as keys mapped\n to their filter values.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 463,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 316,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 317,
+ "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": 70,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestMaybeSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 104,
+ "name": "PostgrestTransformBuilder.maybeSingle"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 110,
+ "character": 13
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 104,
+ "name": "PostgrestTransformBuilder.maybeSingle"
+ }
+ },
+ {
+ "id": 167,
+ "name": "neq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "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": 169,
+ "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": 170,
+ "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": 97,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 152,
+ "name": "not",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 153,
+ "name": "not",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows which doesn't satisfy the filter."
+ },
+ "parameters": [
+ {
+ "id": 154,
+ "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": 155,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "id": 361,
+ "name": "FilterOperator"
+ }
+ },
+ {
+ "id": 156,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 61,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 157,
+ "name": "or",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 158,
+ "name": "or",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows satisfying at least one of the filters."
+ },
+ "parameters": [
+ {
+ "id": 159,
+ "name": "filters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The filters to use, separated by commas."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 160,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 162,
+ "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": [162]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 72,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 72,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 290,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 291,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "parameters": [
+ {
+ "id": 292,
+ "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": 293,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 294,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 295,
+ "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": 297,
+ "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": 296,
+ "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": [295, 297, 296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 41,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 78,
+ "name": "PostgrestTransformBuilder.order"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 40,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 78,
+ "name": "PostgrestTransformBuilder.order"
+ }
+ },
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 229,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
"id": 238,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
+ "name": "overlaps",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
"signatures": [
{
"id": 239,
- "name": "__type",
+ "name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`."
+ "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": [
{
@@ -1892,16 +3837,17 @@
"name": "column",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The column to filter on."
+ "text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
}
@@ -1911,471 +3857,11 @@
"name": "value",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "object"
- },
- {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 403,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 404,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 405,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 406,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 407,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
"flags": {
- "isOptional": true
+ "isExported": 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": "PostgrestTransformBuilder.fetch"
- }
- },
- {
- "id": 395,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 54,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 396,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 397,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 398,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.headers"
- }
- },
- {
- "id": 393,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 52,
- "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",
- "name": "PostgrestTransformBuilder.method"
- }
- },
- {
- "id": 273,
- "name": "nxl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 298,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 274,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 275,
- "name": "__type",
- "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`."
- },
- "parameters": [
- {
- "id": 276,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
"comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 277,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 282,
- "name": "nxr",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 313,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 283,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 284,
- "name": "__type",
- "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`."
- },
- "parameters": [
- {
- "id": 285,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 286,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 300,
- "name": "ov",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 349,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 301,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 302,
- "name": "__type",
- "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`."
- },
- "parameters": [
- {
- "id": 303,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 304,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
+ "text": "The value to filter with.\n"
},
"type": {
"type": "union",
@@ -2392,14 +3878,12 @@
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
},
"objectType": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
}
@@ -2409,213 +3893,44 @@
}
],
"type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ "type": "intrinsic",
+ "name": "this"
}
}
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 399,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.schema"
- }
- },
- {
- "id": 401,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.shouldThrowOnError"
- }
- },
- {
- "id": 402,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.signal"
- }
- },
- {
- "id": 255,
- "name": "sl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 268,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 256,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
+ ],
+ "sources": [
{
- "id": 257,
- "name": "__type",
- "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`."
- },
- "parameters": [
- {
- "id": 258,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 259,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 337,
+ "character": 10
}
]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 264,
- "name": "sr",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 283,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
"id": 265,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
+ "name": "phfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
"signatures": [
{
"id": 266,
- "name": "__type",
+ "name": "phfts",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
+ "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": [
{
@@ -2623,28 +3938,472 @@
"name": "column",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The column to filter on."
+ "text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
}
},
{
"id": 268,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 269,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 270,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 271,
+ "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": [271]
+ }
+ ],
+ "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": 258,
+ "name": "plfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 259,
+ "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": 260,
+ "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": 261,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 262,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 263,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 264,
+ "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": [264]
+ }
+ ],
+ "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": 304,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 305,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 306,
+ "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": 307,
+ "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": 308,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 309,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 310,
+ "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": [310]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 79,
+ "character": 33
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 92,
+ "name": "PostgrestTransformBuilder.range"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 79,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 92,
+ "name": "PostgrestTransformBuilder.range"
+ }
+ },
+ {
+ "id": 233,
+ "name": "rangeAdjacent",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 234,
+ "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": 235,
+ "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": 236,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The range to filter with.\n"
+ "text": "The range to filter with.\n"
},
"type": {
"type": "intrinsic",
@@ -2653,4283 +4412,3036 @@
}
],
"type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ "type": "intrinsic",
+ "name": "this"
}
}
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 322,
+ "character": 15
+ }
]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 394,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
+ },
{
- "fileName": "src/lib/types.ts",
- "line": 53,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.url"
- }
- },
- {
- "id": 373,
- "name": "abortSignal",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 91,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 374,
- "name": "abortSignal",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Sets the AbortSignal for the fetch request."
+ "id": 218,
+ "name": "rangeGt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "parameters": [
+ "signatures": [
{
- "id": 375,
- "name": "signal",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.abortSignal"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.abortSignal"
- }
- },
- {
- "id": 242,
- "name": "containedBy",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 238,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 243,
- "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`."
- },
- "parameters": [
- {
- "id": 244,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
+ "id": 219,
+ "name": "rangeGt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 245,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
"comment": {
- "shortText": "The value to filter with.\n"
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
+ "parameters": [
+ {
+ "id": 220,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
},
- {
- "type": "intrinsic",
- "name": "object"
+ "comment": {
+ "text": "The column to filter on."
},
- {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 233,
- "name": "contains",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 213,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 234,
- "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`."
- },
- "parameters": [
- {
- "id": 235,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 236,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "object"
- },
- {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 380,
- "name": "csv",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 119,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 381,
- "name": "csv",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Set the response type to CSV."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 427,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.csv"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.csv"
- }
- },
- {
- "id": 193,
- "name": "eq",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 85,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 194,
- "name": "eq",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`."
- },
- "parameters": [
- {
- "id": 195,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 196,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 384,
- "name": "explain",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 141,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 385,
- "name": "explain",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Obtains the EXPLAIN plan for this request."
- },
- "parameters": [
- {
- "id": 386,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 387,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 388,
- "name": "analyze",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 148,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 391,
- "name": "buffers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 151,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 390,
- "name": "settings",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 150,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 389,
- "name": "verbose",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 149,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 392,
- "name": "wal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 152,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [388, 391, 390, 389, 392]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 425,
- "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",
- "name": "PostgrestTransformBuilder.explain"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.explain"
- }
- },
- {
- "id": 341,
- "name": "filter",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 452,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 342,
- "name": "filter",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows whose `column` satisfies the filter."
- },
- "parameters": [
- {
- "id": 343,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 344,
- "name": "operator",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The operator to filter with."
- },
- "type": {
- "type": "reference",
- "name": "FilterOperator"
- }
- },
- {
- "id": 345,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 313,
- "name": "fts",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 391,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 314,
- "name": "fts",
- "kind": 4096,
- "kindString": "Call signature",
- "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"
- }
- ]
- },
- "parameters": [
- {
- "id": 315,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 316,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The Postgres tsquery string to filter with."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 317,
- "name": "config",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text search configuration to use.\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 318,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 319,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 391,
- "character": 52
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [319]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 382,
- "name": "geojson",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 127,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 383,
- "name": "geojson",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Set the response type to GeoJSON."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 427,
- "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",
- "name": "PostgrestTransformBuilder.geojson"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.geojson"
- }
- },
- {
- "id": 201,
- "name": "gt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 109,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 202,
- "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`."
- },
- "parameters": [
- {
- "id": 203,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 204,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 205,
- "name": "gte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 121,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 206,
- "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`."
- },
- "parameters": [
- {
- "id": 207,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 208,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 221,
- "name": "ilike",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 169,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 222,
- "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)."
- },
- "parameters": [
- {
- "id": 223,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 224,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 229,
- "name": "in",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 193,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 230,
- "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`."
- },
- "parameters": [
- {
- "id": 231,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 232,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to filter with.\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
+ "type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
- "type": "reference",
- "id": 180,
+ "type": "typeParameter",
"name": "T"
}
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
}
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 225,
- "name": "is",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 181,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 226,
- "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`."
- },
- "parameters": [
- {
- "id": 227,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 228,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
+ },
+ {
+ "id": 221,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
},
- {
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
"type": "intrinsic",
- "name": "boolean"
+ "name": "string"
}
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 217,
- "name": "like",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 157,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 218,
- "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)."
- },
- "parameters": [
- {
- "id": 219,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
}
- }
- },
- {
- "id": 220,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to filter with.\n"
- },
+ ],
"type": {
"type": "intrinsic",
- "name": "string"
+ "name": "this"
}
}
],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 360,
- "name": "limit",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 66,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 361,
- "name": "limit",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limits the result with the specified `count`."
- },
- "parameters": [
+ "sources": [
{
- "id": 362,
- "name": "count",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The maximum no. of rows to limit to."
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 277,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "rangeGte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 224,
+ "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": 225,
+ "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": 226,
+ "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": "number"
+ "name": "this"
}
- },
- {
- "id": 363,
- "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": 364,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 365,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 66,
- "character": 43
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [365]
- }
- ]
- }
- },
- "defaultValue": "{}"
}
],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 292,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 213,
+ "name": "rangeLt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
+ "signatures": [
+ {
+ "id": 214,
+ "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": 215,
+ "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": 216,
+ "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": 228,
+ "name": "rangeLte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 229,
+ "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": 230,
+ "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": 231,
+ "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": 287,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 288,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 289,
+ "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": 75,
+ "name": "PostgrestTransformBuilder.select"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
"inheritedFrom": {
"type": "reference",
- "name": "PostgrestTransformBuilder.limit"
+ "id": 75,
+ "name": "PostgrestTransformBuilder.select"
}
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.limit"
- }
- },
- {
- "id": 209,
- "name": "lt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 133,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 210,
- "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`."
+ "id": 314,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "parameters": [
+ "signatures": [
{
- "id": 211,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
+ "id": 315,
+ "name": "single",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 212,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
"comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 213,
- "name": "lte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 145,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 214,
- "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`."
- },
- "parameters": [
- {
- "id": 215,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 216,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 346,
- "name": "match",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 463,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 347,
- "name": "match",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows whose columns match the specified `query` object."
- },
- "parameters": [
- {
- "id": 348,
- "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"
+ "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": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
}
],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 102,
+ "name": "PostgrestTransformBuilder.single"
}
}
],
- "type": {
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 100,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
"type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ "id": 102,
+ "name": "PostgrestTransformBuilder.single"
}
- }
- ]
- },
- {
- "id": 378,
- "name": "maybeSingle",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 379,
- "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."
+ "id": 243,
+ "name": "textSearch",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
+ "signatures": [
+ {
+ "id": 244,
+ "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": 245,
+ "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": 246,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 247,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 248,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 249,
+ "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": 250,
+ "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": [249, 250]
+ }
+ ],
+ "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": 349,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 350,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 351,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 352,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 353,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 354,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 355,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 356,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 357,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 358,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 359,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 360,
+ "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",
- "id": 427,
"typeArguments": [
{
"type": "union",
"types": [
{
- "type": "literal",
- "value": null
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
},
{
- "type": "reference",
- "id": 180,
- "name": "T"
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
}
]
}
],
- "name": "PostgrestSingleResponse"
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
}
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
"inheritedFrom": {
"type": "reference",
- "name": "PostgrestTransformBuilder.maybeSingle"
+ "id": 47,
+ "name": "PostgrestBuilder.then"
}
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.maybeSingle"
- }
- },
- {
- "id": 197,
- "name": "neq",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 97,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 198,
- "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`."
+ "id": 346,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "parameters": [
+ "signatures": [
{
- "id": 199,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
+ "id": 347,
+ "name": "throwOnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
+ "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": 348,
+ "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"
+ }
+ ]
+ }
}
- }
- },
- {
- "id": 200,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
+ ],
"type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ },
+ {
+ "id": 272,
+ "name": "wfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 273,
+ "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": 274,
+ "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"
+ }
}
},
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 182,
- "name": "not",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 61,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 183,
- "name": "not",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows which doesn't satisfy the filter."
- },
- "parameters": [
- {
- "id": 184,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 185,
- "name": "operator",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The operator to filter with."
- },
- "type": {
- "type": "reference",
- "name": "FilterOperator"
- }
- },
- {
- "id": 186,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 187,
- "name": "or",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 72,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 188,
- "name": "or",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Finds all rows satisfying at least one of the filters."
- },
- "parameters": [
- {
- "id": 189,
- "name": "filters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The filters to use, separated by commas."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 190,
- "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": 191,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 192,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 72,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [192]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 352,
- "name": "order",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 40,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 353,
- "name": "order",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Orders the result with the specified `column`."
- },
- "parameters": [
- {
- "id": 354,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to order on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 355,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 356,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 357,
- "name": "ascending",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 359,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 52
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 358,
- "name": "nullsFirst",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 30
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [357, 359, 358]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.order"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.order"
- }
- },
- {
- "id": 296,
- "name": "overlaps",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 337,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 297,
- "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`."
- },
- "parameters": [
- {
- "id": 298,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 299,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
+ {
+ "id": 275,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
"type": "intrinsic",
"name": "string"
+ }
+ },
+ {
+ "id": 276,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
},
- {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- },
- "objectType": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 327,
- "name": "phfts",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 423,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 328,
- "name": "phfts",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "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": 329,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 330,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The Postgres tsquery string to filter with."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 331,
- "name": "config",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text search configuration to use.\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 332,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 333,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 423,
- "character": 54
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [333]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 320,
- "name": "plfts",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 407,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 321,
- "name": "plfts",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "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": 322,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 323,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The Postgres tsquery string to filter with."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 324,
- "name": "config",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text search configuration to use.\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 325,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 326,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 407,
- "character": 54
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [326]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 366,
- "name": "range",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 79,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 367,
- "name": "range",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limits the result to rows within the specified range, inclusive."
- },
- "parameters": [
- {
- "id": 368,
- "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": 369,
- "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": 370,
- "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": 371,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 372,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 79,
- "character": 54
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [372]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.range"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.range"
- }
- },
- {
- "id": 287,
- "name": "rangeAdjacent",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 322,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 288,
- "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`."
- },
- "parameters": [
- {
- "id": 289,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 290,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 260,
- "name": "rangeGt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 277,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 261,
- "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`."
- },
- "parameters": [
- {
- "id": 262,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 263,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 269,
- "name": "rangeGte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 292,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 270,
- "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`."
- },
- "parameters": [
- {
- "id": 271,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 272,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 251,
- "name": "rangeLt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 262,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 252,
- "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`."
- },
- "parameters": [
- {
- "id": 253,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 254,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 278,
- "name": "rangeLte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 307,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 279,
- "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`."
- },
- "parameters": [
- {
- "id": 280,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 281,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 349,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 13,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 350,
- "name": "select",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs vertical filtering with SELECT."
- },
- "parameters": [
- {
- "id": 351,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The columns to retrieve, separated by commas.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "'*'"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.select"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.select"
- }
- },
- {
- "id": 376,
- "name": "single",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestTransformBuilder.ts",
- "line": 100,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 377,
- "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": 427,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.single"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.single"
- }
- },
- {
- "id": 305,
- "name": "textSearch",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 360,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 306,
- "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`."
- },
- "parameters": [
- {
- "id": 307,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 308,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The Postgres tsquery string to filter with."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 309,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 310,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 311,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 366,
- "character": 9
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 312,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 366,
- "character": 26
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "plain"
- },
- {
- "type": "literal",
- "value": "phrase"
- },
- {
- "type": "literal",
- "value": "websearch"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [311, 312]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 412,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 91,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 413,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 414,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "id": 415,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 416,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
+ "originalName": "__2",
+ "type": {
"type": "reflection",
"declaration": {
- "id": 417,
+ "id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
- "signatures": [
+ "flags": {
+ "isExported": true
+ },
+ "children": [
{
- "id": 418,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
+ "id": 278,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use.\n"
+ },
+ "sources": [
{
- "id": 419,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 439,
+ "character": 47
}
],
"type": {
"type": "union",
"types": [
{
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 420,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 421,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 422,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 423,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
"type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
+ "name": "undefined"
},
{
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "type": "intrinsic",
+ "name": "string"
}
]
}
}
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.then"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.then"
- }
- },
- {
- "id": 409,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 410,
- "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"
- },
- "parameters": [
- {
- "id": 411,
- "name": "throwOnError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.throwOnError"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestTransformBuilder.throwOnError"
- }
- },
- {
- "id": 334,
- "name": "wfts",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 439,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 335,
- "name": "wfts",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "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": 336,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on."
- },
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- }
- },
- {
- "id": 337,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The Postgres tsquery string to filter with."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 338,
- "name": "config",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text search configuration to use.\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 339,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 340,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
+ ],
+ "groups": [
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 439,
- "character": 53
+ "title": "Variables",
+ "kind": 32,
+ "children": [278]
}
],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 439,
+ "character": 38
+ }
+ ]
}
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [340]
- }
- ]
+ },
+ "defaultValue": "{}"
}
- },
- "defaultValue": "{}"
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
}
],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
- }
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 439,
+ "character": 6
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [343]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 237, 342, 338, 212, 207, 341, 333, 331, 227, 232, 242, 337, 339, 340, 217, 222, 332
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 311, 208, 203, 318, 163, 322, 279, 251, 320, 171, 175, 191, 199, 195, 187, 298, 179,
+ 183, 284, 316, 167, 152, 157, 290, 238, 265, 258, 304, 233, 218, 223, 213, 228, 287,
+ 314, 243, 349, 346, 272
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 53,
+ "character": 43
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 73,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
}
]
+ },
+ {
+ "id": 361,
+ "name": "FilterOperator",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
+ "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"
+ }
+ ]
+ }
}
],
"groups": [
{
- "title": "Constructors",
- "kind": 512,
- "children": [178]
+ "title": "Classes",
+ "kind": 128,
+ "children": [150]
},
{
- "title": "Properties",
- "kind": 1024,
- "children": [
- 291, 408, 400, 246, 237, 403, 395, 393, 273, 282, 300, 399, 401, 402, 255, 264, 394
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 373, 242, 233, 380, 193, 384, 341, 313, 382, 201, 205, 221, 229, 225, 217, 360, 209,
- 213, 346, 378, 197, 182, 187, 352, 296, 327, 320, 366, 287, 260, 269, 251, 278, 349,
- 376, 305, 412, 409, 334
- ]
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [361]
}
],
"sources": [
{
- "fileName": "src/lib/PostgrestFilterBuilder.ts",
- "line": 53,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 424,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 180,
- "name": "T"
- }
- ],
- "name": "default"
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 1,
+ "character": 0
}
]
},
{
- "id": 83,
- "name": "PostgrestQueryBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
+ "id": 362,
+ "name": "\"lib/PostgrestQueryBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
"children": [
{
- "id": 84,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
+ "id": 363,
+ "name": "PostgrestQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 5,
- "character": 2
+ "id": 364,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
}
],
- "signatures": [
+ "children": [
{
- "id": 85,
- "name": "new PostgrestQueryBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
+ "id": 365,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
{
- "id": 86,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
+ "id": 366,
+ "name": "new PostgrestQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 367,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 368,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 369,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 375,
+ "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": 375,
+ "name": "fetch"
+ }
+ ]
+ }
+ },
+ {
+ "id": 370,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 8,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 371,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 372,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 373,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 374,
+ "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": 376,
+ "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": [375, 370, 374, 376]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 6,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
}
],
- "parameters": [
+ "sources": [
{
- "id": 87,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 4,
+ "character": 75
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 432,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 428,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 431,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 423,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 424,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 425,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 426,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 421,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 427,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
"type": "intrinsic",
"name": "string"
}
- },
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 429,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
{
- "id": 88,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 89,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 95,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 430,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 422,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 415,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 416,
+ "name": "delete",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs a DELETE on the table."
+ },
+ "parameters": [
+ {
+ "id": 417,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 418,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {
- "isOptional": true
+ "isExported": true
},
- "sources": [
+ "children": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 15,
- "character": 6
+ "id": 420,
+ "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": 419,
+ "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\""
}
],
- "type": {
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [420, 419]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 212,
+ "character": 9
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 212,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 384,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 385,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 386,
+ "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": 387,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
"type": "reflection",
"declaration": {
- "id": 96,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
- "signatures": [
+ "flags": {
+ "isExported": true
+ },
+ "children": [
{
- "id": 97,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
+ "id": 390,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
{
- "id": 98,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 99,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 78,
+ "character": 11
}
],
"type": {
- "type": "reference",
- "typeArguments": [
+ "type": "union",
+ "types": [
{
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
}
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ ]
}
+ },
+ {
+ "id": 389,
+ "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": [390, 389]
}
]
}
}
- },
- {
- "id": 90,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 13,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 91,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 92,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 93,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 94,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 14,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 100,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 16,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [95, 90, 94, 100]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 83,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- },
- "overwrites": {
- "type": "reference",
- "id": 48,
- "name": "PostgrestBuilder.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 47,
- "name": "PostgrestBuilder.constructor"
- }
- },
- {
- "id": 160,
- "name": "allowEmpty",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 66,
- "name": "PostgrestBuilder.allowEmpty"
- }
- },
- {
- "id": 152,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
+ ]
+ }
}
],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 58,
- "name": "PostgrestBuilder.body"
- }
- },
- {
- "id": 155,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 156,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ },
{
- "id": 157,
- "name": "__type",
+ "id": 391,
+ "name": "insert",
"kind": 4096,
"kindString": "Call signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `upsert()` instead.\n"
+ }
+ ]
+ },
"parameters": [
{
- "id": 158,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 159,
- "name": "init",
+ "id": 392,
+ "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": 393,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
"isOptional": true
},
"type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 394,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 398,
+ "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": 396,
+ "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": 397,
+ "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": 395,
+ "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": [398, 396, 397, 395]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "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": 377,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 378,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 379,
+ "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": 380,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 381,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 383,
+ "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": 382,
+ "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": [383, 382]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 33,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 32,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 436,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 437,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 438,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 439,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 440,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 441,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 442,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 443,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 444,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 445,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 446,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 447,
+ "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"
+ }
+ ]
}
}
],
@@ -6937,1707 +7449,4615 @@
"type": "reference",
"typeArguments": [
{
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "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"
+ }
+ }
+ ]
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 61,
- "name": "PostgrestBuilder.fetch"
- }
- },
- {
- "id": 147,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 54,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 148,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 149,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 150,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 53,
- "name": "PostgrestBuilder.headers"
- }
- },
- {
- "id": 145,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 52,
- "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": 51,
- "name": "PostgrestBuilder.method"
- }
- },
- {
- "id": 151,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 57,
- "name": "PostgrestBuilder.schema"
- }
- },
- {
- "id": 153,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 59,
- "name": "PostgrestBuilder.shouldThrowOnError"
- }
- },
- {
- "id": 154,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 60,
- "name": "PostgrestBuilder.signal"
- }
- },
- {
- "id": 146,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 53,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 52,
- "name": "PostgrestBuilder.url"
- }
- },
- {
- "id": 139,
- "name": "delete",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 212,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 140,
- "name": "delete",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs a DELETE on the table."
- },
- "parameters": [
- {
- "id": 141,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 142,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 144,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 217,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 143,
- "name": "returning",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 216,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "minimal"
- },
- {
- "type": "literal",
- "value": "representation"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [144, 143]
- }
- ]
- }
+ "name": "PromiseLike"
},
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
+ "inheritedFrom": {
"type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 108,
- "name": "insert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 74,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 109,
- "name": "insert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs an INSERT into the table."
- },
- "parameters": [
- {
- "id": 110,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to insert."
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ]
- }
- },
- {
- "id": 111,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 112,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 114,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 78,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 113,
- "name": "returning",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 77,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "minimal"
- },
- {
- "type": "literal",
- "value": "representation"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [114, 113]
- }
- ]
- }
+ "id": 47,
+ "name": "PostgrestBuilder.then"
}
}
],
- "type": {
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
"type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
+ "id": 47,
+ "name": "PostgrestBuilder.then"
}
},
{
- "id": 115,
- "name": "insert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "deprecated",
- "text": "Use `upsert()` instead.\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 116,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ]
- }
- },
- {
- "id": 117,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 118,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 122,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 90,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 120,
- "name": "onConflict",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 88,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 121,
- "name": "returning",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 89,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "minimal"
- },
- {
- "type": "literal",
- "value": "representation"
- }
- ]
- }
- },
- {
- "id": 119,
- "name": "upsert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 87,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [122, 120, 121, 119]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 101,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 32,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 102,
- "name": "select",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs vertical filtering with SELECT."
- },
- "parameters": [
- {
- "id": 103,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The columns to retrieve, separated by commas."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "'*'"
- },
- {
- "id": 104,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 105,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 107,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 39,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 106,
- "name": "head",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 38,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [107, 106]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 164,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 91,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 165,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 166,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "id": 167,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 168,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 169,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 170,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 171,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 425,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 172,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 173,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 174,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 175,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 72,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 73,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 71,
- "name": "PostgrestBuilder.then"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 70,
- "name": "PostgrestBuilder.then"
- }
- },
- {
- "id": 161,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 162,
+ "id": 433,
"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"
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "parameters": [
+ "signatures": [
{
- "id": 163,
+ "id": 434,
"name": "throwOnError",
- "kind": 32768,
- "kindString": "Parameter",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {
- "isOptional": true
+ "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": 435,
+ "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": "boolean"
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
}
}
],
- "type": {
- "type": "reference",
- "id": 83,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
"inheritedFrom": {
"type": "reference",
- "id": 68,
+ "id": 44,
"name": "PostgrestBuilder.throwOnError"
}
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 67,
- "name": "PostgrestBuilder.throwOnError"
- }
- },
- {
- "id": 132,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 183,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 133,
+ "id": 408,
"name": "update",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs an UPDATE on the table."
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
},
- "parameters": [
+ "signatures": [
{
- "id": 134,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
+ "id": 409,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
"comment": {
- "shortText": "The values to update."
+ "shortText": "Performs an UPDATE on the table."
},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- },
- {
- "id": 135,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 136,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 138,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 190,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 137,
- "name": "returning",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 189,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "minimal"
- },
- {
- "type": "literal",
- "value": "representation"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [138, 137]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 123,
- "name": "upsert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 142,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 124,
- "name": "upsert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Performs an UPSERT into the table."
- },
- "parameters": [
- {
- "id": 125,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to insert."
- },
- "type": {
- "type": "union",
- "types": [
- {
+ "parameters": [
+ {
+ "id": 410,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to update."
+ },
+ "type": {
"type": "reference",
"typeArguments": [
{
- "type": "reference",
- "id": 86,
+ "type": "typeParameter",
"name": "T"
}
],
- "qualifiedName": "Partial",
- "package": "typescript",
"name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
}
- ]
- }
- },
- {
- "id": 126,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 127,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 130,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
+ },
+ {
+ "id": 411,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 412,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {
- "isOptional": true
+ "isExported": true
},
- "sources": [
+ "children": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 152,
- "character": 6
+ "id": 414,
+ "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": 413,
+ "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\""
}
],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 131,
- "name": "ignoreDuplicates",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
+ "groups": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 153,
- "character": 6
+ "title": "Variables",
+ "kind": 32,
+ "children": [414, 413]
}
],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 128,
- "name": "onConflict",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 150,
- "character": 6
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 184,
+ "character": 23
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 129,
- "name": "returning",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 151,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "minimal"
- },
- {
- "type": "literal",
- "value": "representation"
- }
- ]
- }
+ ]
}
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [130, 131, 128, 129]
- }
- ]
+ },
+ "defaultValue": "{}"
}
- },
- "defaultValue": "{}"
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
}
],
- "type": {
- "type": "reference",
- "id": 177,
- "typeArguments": [
- {
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 183,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 399,
+ "name": "upsert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 400,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 401,
+ "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": 402,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 403,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 406,
+ "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": 407,
+ "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": 404,
+ "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": 405,
+ "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": [406, 407, 404, 405]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 143,
+ "character": 38
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
"type": "reference",
- "id": 86,
- "name": "T"
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
}
- ],
- "name": "default"
- }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 142,
+ "character": 8
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [365]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [432, 428, 431, 423, 421, 427, 429, 430, 422]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [415, 384, 377, 436, 433, 408, 399]
+ }
+ ],
+ "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": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
}
]
}
],
"groups": [
{
- "title": "Constructors",
- "kind": 512,
- "children": [84]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [160, 152, 155, 147, 145, 151, 153, 154, 146]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [139, 108, 101, 164, 161, 132, 123]
+ "title": "Classes",
+ "kind": 128,
+ "children": [363]
}
],
"sources": [
{
- "fileName": "src/lib/PostgrestQueryBuilder.ts",
- "line": 4,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 176,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 46,
- "typeArguments": [
- {
- "type": "reference",
- "id": 86,
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 1,
+ "character": 0
}
]
},
{
- "id": 431,
- "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"
+ "id": 448,
+ "name": "\"lib/PostgrestRpcBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
},
- "sources": [
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestRpcBuilder.ts",
+ "children": [
{
- "fileName": "src/lib/types.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 432,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
+ "id": 449,
+ "name": "PostgrestRpcBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 450,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
"children": [
{
- "id": 436,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "id": 451,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 452,
+ "name": "new PostgrestRpcBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 453,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 454,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 461,
+ "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": 375,
+ "name": "fetch"
+ }
+ ]
+ }
+ },
+ {
+ "id": 456,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 8,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 457,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 458,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 459,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 460,
+ "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": 462,
+ "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": [461, 456, 460, 462]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 6,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 12,
- "character": 2
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 4,
+ "character": 73
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 481,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 477,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 480,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 472,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 473,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 474,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 475,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 470,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 476,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 478,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 479,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 471,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 463,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 464,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "parameters": [
+ {
+ "id": 465,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ },
+ {
+ "id": 466,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 467,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 469,
+ "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": 468,
+ "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": [469, 468]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 29,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 28,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 485,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 486,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 487,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 488,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 489,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 490,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 491,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 492,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 493,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 494,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 495,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 496,
+ "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": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 482,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 483,
+ "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": 484,
+ "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": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [451]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [481, 477, 480, 472, 470, 476, 478, 479, 471]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [463, 485, 482]
+ }
+ ],
+ "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": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [449]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 72,
+ "name": "\"lib/PostgrestTransformBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
+ "children": [
+ {
+ "id": 73,
+ "name": "PostgrestTransformBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Post-filters (transforms)"
+ },
+ "typeParameter": [
+ {
+ "id": 74,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 131,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 132,
+ "name": "new PostgrestTransformBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 133,
+ "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": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 130,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 126,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 129,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 121,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 122,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 123,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 119,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 125,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 127,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 128,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 120,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 99,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 100,
+ "name": "abortSignal",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 101,
+ "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": 106,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 107,
+ "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": 68,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 119,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 110,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 111,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Obtains the EXPLAIN plan for this request."
+ },
+ "parameters": [
+ {
+ "id": 112,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 113,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 114,
+ "name": "analyze",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query will be executed and the actual run time will be displayed."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 142,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 117,
+ "name": "buffers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on buffer usage."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 145,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 116,
+ "name": "settings",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on configuration parameters that affect query planning."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 144,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 115,
+ "name": "verbose",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query identifier will be displayed and the result will include the output columns of the query."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 143,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 118,
+ "name": "wal",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on WAL record generation\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 146,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [114, 117, 116, 115, 118]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 108,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 109,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Set the response type to GeoJSON."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 127,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 86,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 87,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 88,
+ "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": 89,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 90,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 91,
+ "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": [91]
+ }
+ ],
+ "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": 104,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 105,
+ "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": 70,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestMaybeSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 110,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 78,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 79,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "parameters": [
+ {
+ "id": 80,
+ "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": 81,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 82,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 83,
+ "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": 85,
+ "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": 84,
+ "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": [83, 85, 84]
+ }
+ ],
+ "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": 92,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 93,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 94,
+ "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": 95,
+ "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": 96,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 97,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 98,
+ "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": [98]
+ }
+ ],
+ "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": 75,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 76,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 77,
+ "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": 102,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 103,
+ "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": 68,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 100,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 137,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 138,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 139,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 140,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 141,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 142,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 143,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 144,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 145,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 146,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 147,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 148,
+ "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": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 134,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 135,
+ "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": 136,
+ "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": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [131]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [130, 126, 129, 121, 119, 125, 127, 128, 120]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [99, 106, 110, 108, 86, 104, 78, 92, 75, 102, 137, 134]
+ }
+ ],
+ "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": 150,
+ "name": "PostgrestFilterBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [73]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 499,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 500,
+ "name": "DEFAULT_HEADERS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 501,
+ "name": "X-Client-Info",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 48
}
],
"type": {
"type": "intrinsic",
"name": "string"
- }
- },
+ },
+ "defaultValue": "`postgrest-js/${version}`"
+ }
+ ],
+ "groups": [
{
- "id": 434,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "title": "Variables",
+ "kind": 32,
+ "children": [501]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [500]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 27,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 28,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 41,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 42,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "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": "src/lib/types.ts",
- "line": 10,
- "character": 2
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
}
],
"type": {
"type": "intrinsic",
- "name": "string"
+ "name": "boolean"
}
},
{
- "id": 435,
- "name": "hint",
+ "id": 36,
+ "name": "body",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 11,
- "character": 2
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 31,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 29,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 55,
+ "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": 57,
+ "character": 30
}
],
"type": {
"type": "intrinsic",
- "name": "string"
+ "name": "boolean"
}
},
{
- "id": 433,
- "name": "message",
+ "id": 38,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "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": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 47,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 48,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 49,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 50,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 51,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 53,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 54,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 55,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "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": 44,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 45,
+ "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": 46,
+ "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": [41]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [40, 36, 39, 31, 29, 35, 37, 38, 30]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [47, 44]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "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": "src/lib/types.ts",
- "line": 9,
- "character": 2
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 4,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 12
}
],
"type": {
@@ -8650,167 +12070,869 @@
{
"title": "Properties",
"kind": 1024,
- "children": [436, 434, 435, 433]
+ "children": [3, 4]
}
],
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 8,
- "character": 29
+ "fileName": "lib/types.ts",
+ "line": 20,
+ "character": 31
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 13,
+ "name": "PostgrestResponseFailure"
+ },
+ {
+ "type": "reference",
+ "id": 20,
+ "name": "PostgrestSingleResponseSuccess"
}
]
- }
- }
- },
- {
- "id": 429,
- "name": "PostgrestMaybeSingleResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/types.ts",
- "line": 49,
- "character": 12
- }
- ],
- "typeParameter": [
+ "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": 35,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 17,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 36,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 15,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 33,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 14,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 32,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 60,
+ "name": "PostgrestError"
+ }
+ },
+ {
+ "id": 18,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "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": 22,
+ "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": 31,
+ "character": 34
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestResponseBase"
+ }
+ ]
+ },
{
- "id": 430,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "reference",
- "id": 427,
- "typeArguments": [
- {
+ "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": 28,
+ "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": 29,
+ "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": 27,
+ "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": 26,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 11,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "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": 22,
+ "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": 25,
+ "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": 44,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 23,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 22,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 25,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "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": 22,
+ "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": 40,
+ "character": 40
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestResponseBase"
+ }
+ ]
+ },
+ {
+ "id": 59,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 375,
+ "name": "fetch"
+ }
+ }
+ },
+ {
+ "id": 60,
+ "name": "PostgrestError",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Error format",
+ "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 61,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 65,
+ "name": "code",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 12,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 63,
+ "name": "details",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 64,
+ "name": "hint",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 62,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [65, 63, 64, 62]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 70,
+ "name": "PostgrestMaybeSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 71,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 66,
+ "name": "PostgrestResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 67,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 38,
+ "character": 29
+ }
+ ],
+ "type": {
"type": "union",
"types": [
{
"type": "reference",
- "id": 430,
- "name": "T"
+ "id": 5,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponseSuccess"
},
{
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 13,
+ "name": "PostgrestResponseFailure"
}
]
}
- ],
- "name": "PostgrestSingleResponse"
- }
- },
- {
- "id": 425,
- "name": "PostgrestResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/types.ts",
- "line": 38,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 426,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
+ "id": 68,
+ "name": "PostgrestSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 69,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 46,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
{
"type": "reference",
- "id": 426,
- "name": "T"
- }
- ],
- "name": "PostgrestResponseSuccess"
- },
- {
- "type": "reference",
- "name": "PostgrestResponseFailure"
- }
- ]
- }
- },
- {
- "id": 427,
- "name": "PostgrestSingleResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 46,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 428,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
+ "id": 20,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponseSuccess"
+ },
{
"type": "reference",
- "id": 428,
- "name": "T"
+ "id": 13,
+ "name": "PostgrestResponseFailure"
}
- ],
- "name": "PostgrestSingleResponseSuccess"
- },
- {
- "type": "reference",
- "name": "PostgrestResponseFailure"
+ ]
}
- ]
- }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [27]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [2, 13, 5, 20]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [59, 60, 70, 66, 68]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 497,
+ "name": "\"lib/version\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/version.ts",
+ "children": [
+ {
+ "id": 498,
+ "name": "version",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/version.ts",
+ "line": 2,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "stringLiteral",
+ "value": "0.0.0-automated"
+ },
+ "defaultValue": "\"0.0.0-automated\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [498]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/version.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
}
],
"groups": [
{
- "title": "Classes",
- "kind": 128,
- "children": [46, 1, 177, 83]
- },
- {
- "title": "Type aliases",
- "kind": 4194304,
- "children": [431, 429, 425, 427]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
+ "title": "Modules",
+ "kind": 1,
+ "children": [502, 540, 149, 362, 448, 72, 499, 1, 497]
}
]
}
diff --git a/spec/enrichments/tsdoc_v1/postgrest_dereferenced.json b/spec/enrichments/tsdoc_v1/postgrest_dereferenced.json
new file mode 100644
index 00000000000..afcf0844359
--- /dev/null
+++ b/spec/enrichments/tsdoc_v1/postgrest_dereferenced.json
@@ -0,0 +1,14986 @@
+{
+ "id": 0,
+ "name": "@supabase/postgrest-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 502,
+ "name": "\"PostgrestClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/PostgrestClient.ts",
+ "children": [
+ {
+ "id": 503,
+ "name": "PostgrestClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 512,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a PostgREST client."
+ },
+ "signatures": [
+ {
+ "id": 513,
+ "name": "new PostgrestClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a PostgREST client."
+ },
+ "parameters": [
+ {
+ "id": 514,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "URL of the PostgREST endpoint."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 515,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 516,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 522,
+ "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": 375,
+ "name": "fetch"
+ }
+ ]
+ }
+ },
+ {
+ "id": 517,
+ "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": 518,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 519,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 520,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 521,
+ "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": 523,
+ "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": [522, 517, 521, 523]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 22,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 503,
+ "name": "PostgrestClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 12,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 510,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 11,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 505,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 506,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 507,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 508,
+ "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": 509,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 10,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 511,
+ "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": 504,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 8,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 524,
+ "name": "auth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 525,
+ "name": "auth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Authenticates the request with JWT."
+ },
+ "parameters": [
+ {
+ "id": 526,
+ "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": 527,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 528,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 529,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 530,
+ "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": 363,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "PostgrestQueryBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 57,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 531,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 532,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "typeParameter": [
+ {
+ "id": 533,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 534,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The function name to call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 535,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The parameters to pass to the function call."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ },
+ {
+ "id": 536,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 537,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 539,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 80,
+ "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": 538,
+ "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": [539, 538]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 77,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 75,
+ "character": 5
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [512]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [510, 505, 509, 511, 504]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [524, 527, 531]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 7,
+ "character": 36
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [503]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 540,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/index.ts",
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 149,
+ "name": "\"lib/PostgrestFilterBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestFilterBuilder.ts",
+ "children": [
+ {
+ "id": 150,
+ "name": "PostgrestFilterBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 151,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 343,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 344,
+ "name": "new PostgrestFilterBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 345,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder",
+ "dereferenced": {
+ "id": 27,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 28,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 41,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 42,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder",
+ "dereferenced": "[Circular ~.children.2.children.0.children.0.signatures.0.parameters.0.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 36,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 31,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 29,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 55,
+ "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": 57,
+ "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": 58,
+ "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": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 47,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 48,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 49,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 50,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 51,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 53,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 54,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 55,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "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": 44,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 45,
+ "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": 46,
+ "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": [41]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [40, 36, 39, 31, 29, 35, 37, 38, 30]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [47, 44]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 237,
+ "name": "adj",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `rangeAdjacent()` instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 328,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 233,
+ "name": "rangeAdjacent"
+ },
+ "defaultValue": "this.rangeAdjacent"
+ },
+ {
+ "id": 342,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 338,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 212,
+ "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": 208,
+ "name": "containedBy"
+ },
+ "defaultValue": "this.containedBy"
+ },
+ {
+ "id": 207,
+ "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": 203,
+ "name": "contains"
+ },
+ "defaultValue": "this.contains"
+ },
+ {
+ "id": 341,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 333,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 334,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 335,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 336,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 331,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 227,
+ "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": 223,
+ "name": "rangeGte"
+ },
+ "defaultValue": "this.rangeGte"
+ },
+ {
+ "id": 232,
+ "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": 228,
+ "name": "rangeLte"
+ },
+ "defaultValue": "this.rangeLte"
+ },
+ {
+ "id": 242,
+ "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": 238,
+ "name": "overlaps"
+ },
+ "defaultValue": "this.overlaps"
+ },
+ {
+ "id": 337,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 339,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 340,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 217,
+ "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": 213,
+ "name": "rangeLt"
+ },
+ "defaultValue": "this.rangeLt"
+ },
+ {
+ "id": 222,
+ "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": 218,
+ "name": "rangeGt"
+ },
+ "defaultValue": "this.rangeGt"
+ },
+ {
+ "id": 332,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 311,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 312,
+ "name": "abortSignal",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 313,
+ "name": "signal",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 99,
+ "name": "PostgrestTransformBuilder.abortSignal"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 91,
+ "character": 13
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 99,
+ "name": "PostgrestTransformBuilder.abortSignal"
+ }
+ },
+ {
+ "id": 208,
+ "name": "containedBy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 209,
+ "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": 210,
+ "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": 211,
+ "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": 203,
+ "name": "contains",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 204,
+ "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": 205,
+ "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": 206,
+ "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": 318,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 319,
+ "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": 68,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 106,
+ "name": "PostgrestTransformBuilder.csv"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 119,
+ "character": 5
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 106,
+ "name": "PostgrestTransformBuilder.csv"
+ }
+ },
+ {
+ "id": 163,
+ "name": "eq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 164,
+ "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": 165,
+ "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": 166,
+ "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": 85,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 322,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 323,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Obtains the EXPLAIN plan for this request."
+ },
+ "parameters": [
+ {
+ "id": 324,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 325,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 326,
+ "name": "analyze",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query will be executed and the actual run time will be displayed."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 142,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "buffers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on buffer usage."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 145,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 328,
+ "name": "settings",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on configuration parameters that affect query planning."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 144,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 327,
+ "name": "verbose",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query identifier will be displayed and the result will include the output columns of the query."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 143,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 330,
+ "name": "wal",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on WAL record generation\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 146,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [326, 329, 328, 327, 330]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 110,
+ "name": "PostgrestTransformBuilder.explain"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 9
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 110,
+ "name": "PostgrestTransformBuilder.explain"
+ }
+ },
+ {
+ "id": 279,
+ "name": "filter",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 280,
+ "name": "filter",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose `column` satisfies the filter."
+ },
+ "parameters": [
+ {
+ "id": 281,
+ "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": 282,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "id": 361,
+ "name": "FilterOperator",
+ "dereferenced": {
+ "id": 361,
+ "name": "FilterOperator",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
+ "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"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 283,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 452,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 251,
+ "name": "fts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 252,
+ "name": "fts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`).",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `textSearch()` instead.\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 253,
+ "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": 254,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 255,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 256,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 257,
+ "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": [257]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 391,
+ "character": 37
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 391,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 320,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 321,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Set the response type to GeoJSON."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 108,
+ "name": "PostgrestTransformBuilder.geojson"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 127,
+ "character": 9
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 108,
+ "name": "PostgrestTransformBuilder.geojson"
+ }
+ },
+ {
+ "id": 171,
+ "name": "gt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 172,
+ "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": 173,
+ "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": 174,
+ "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": 175,
+ "name": "gte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 176,
+ "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": 177,
+ "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": 178,
+ "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": 191,
+ "name": "ilike",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 192,
+ "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": 193,
+ "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": 194,
+ "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": 199,
+ "name": "in",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 200,
+ "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": 201,
+ "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": 202,
+ "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"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 193,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 195,
+ "name": "is",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 196,
+ "name": "is",
+ "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`."
+ },
+ "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": 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": "boolean"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 181,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 187,
+ "name": "like",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 188,
+ "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": 189,
+ "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": 190,
+ "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": 157,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 298,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 299,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 300,
+ "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": 301,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 302,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 303,
+ "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": [303]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 66,
+ "character": 22
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 86,
+ "name": "PostgrestTransformBuilder.limit"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 66,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 86,
+ "name": "PostgrestTransformBuilder.limit"
+ }
+ },
+ {
+ "id": 179,
+ "name": "lt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 180,
+ "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": 181,
+ "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": 182,
+ "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": 133,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 183,
+ "name": "lte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 184,
+ "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": 185,
+ "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": 186,
+ "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": 145,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "match",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 285,
+ "name": "match",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose columns match the specified `query` object."
+ },
+ "parameters": [
+ {
+ "id": 286,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The object to filter with, with column names as keys mapped\n to their filter values.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 463,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 316,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 317,
+ "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": 70,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestMaybeSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 104,
+ "name": "PostgrestTransformBuilder.maybeSingle"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 110,
+ "character": 13
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 104,
+ "name": "PostgrestTransformBuilder.maybeSingle"
+ }
+ },
+ {
+ "id": 167,
+ "name": "neq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "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": 169,
+ "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": 170,
+ "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": 97,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 152,
+ "name": "not",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 153,
+ "name": "not",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows which doesn't satisfy the filter."
+ },
+ "parameters": [
+ {
+ "id": 154,
+ "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": 155,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "id": 361,
+ "name": "FilterOperator",
+ "dereferenced": {
+ "id": 361,
+ "name": "FilterOperator",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
+ "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"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 61,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 157,
+ "name": "or",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 158,
+ "name": "or",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows satisfying at least one of the filters."
+ },
+ "parameters": [
+ {
+ "id": 159,
+ "name": "filters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The filters to use, separated by commas."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 160,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 162,
+ "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": [162]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 72,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 72,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 290,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 291,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "parameters": [
+ {
+ "id": 292,
+ "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": 293,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 294,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 295,
+ "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": 297,
+ "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": 296,
+ "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": [295, 297, 296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 41,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 78,
+ "name": "PostgrestTransformBuilder.order"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 40,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 78,
+ "name": "PostgrestTransformBuilder.order"
+ }
+ },
+ {
+ "id": 238,
+ "name": "overlaps",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 239,
+ "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": 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": "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": 265,
+ "name": "phfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 266,
+ "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": 267,
+ "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": 268,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 269,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 270,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 271,
+ "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": [271]
+ }
+ ],
+ "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": 258,
+ "name": "plfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 259,
+ "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": 260,
+ "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": 261,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 262,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 263,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 264,
+ "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": [264]
+ }
+ ],
+ "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": 304,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 305,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 306,
+ "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": 307,
+ "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": 308,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 309,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 310,
+ "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": [310]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 79,
+ "character": 33
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 92,
+ "name": "PostgrestTransformBuilder.range"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 79,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 92,
+ "name": "PostgrestTransformBuilder.range"
+ }
+ },
+ {
+ "id": 233,
+ "name": "rangeAdjacent",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 234,
+ "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": 235,
+ "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": 236,
+ "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": 218,
+ "name": "rangeGt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 219,
+ "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": 220,
+ "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": 221,
+ "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": 223,
+ "name": "rangeGte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 224,
+ "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": 225,
+ "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": 226,
+ "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": 213,
+ "name": "rangeLt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 214,
+ "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": 215,
+ "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": 216,
+ "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": 228,
+ "name": "rangeLte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 229,
+ "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": 230,
+ "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": 231,
+ "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": 287,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 288,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 289,
+ "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": 75,
+ "name": "PostgrestTransformBuilder.select"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 75,
+ "name": "PostgrestTransformBuilder.select"
+ }
+ },
+ {
+ "id": 314,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 315,
+ "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": 68,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 102,
+ "name": "PostgrestTransformBuilder.single"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 100,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 102,
+ "name": "PostgrestTransformBuilder.single"
+ }
+ },
+ {
+ "id": 243,
+ "name": "textSearch",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 244,
+ "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": 245,
+ "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": 246,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 247,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 248,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 249,
+ "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": 250,
+ "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": [249, 250]
+ }
+ ],
+ "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": 349,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 350,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 351,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 352,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 353,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 354,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 355,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 356,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 357,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 358,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 359,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 360,
+ "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": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 346,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 347,
+ "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": 348,
+ "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": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ },
+ {
+ "id": 272,
+ "name": "wfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 273,
+ "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": 274,
+ "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": 275,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 276,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 277,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 278,
+ "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": [278]
+ }
+ ],
+ "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": [343]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 237, 342, 338, 212, 207, 341, 333, 331, 227, 232, 242, 337, 339, 340, 217, 222, 332
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 311, 208, 203, 318, 163, 322, 279, 251, 320, 171, 175, 191, 199, 195, 187, 298, 179,
+ 183, 284, 316, 167, 152, 157, 290, 238, 265, 258, 304, 233, 218, 223, 213, 228, 287,
+ 314, 243, 349, 346, 272
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 53,
+ "character": 43
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 73,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ },
+ {
+ "id": 361,
+ "name": "FilterOperator",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
+ "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"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [150]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [361]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "\"lib/PostgrestQueryBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
+ "children": [
+ {
+ "id": 363,
+ "name": "PostgrestQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 364,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 365,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 366,
+ "name": "new PostgrestQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 367,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 368,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 369,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 375,
+ "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": 375,
+ "name": "fetch"
+ }
+ ]
+ }
+ },
+ {
+ "id": 370,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 8,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 371,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 372,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 373,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 374,
+ "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": 376,
+ "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": [375, 370, 374, 376]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 6,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 4,
+ "character": 75
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 432,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 428,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 431,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 423,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 424,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 425,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 426,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 421,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 427,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 429,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 430,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 422,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 415,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 416,
+ "name": "delete",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs a DELETE on the table."
+ },
+ "parameters": [
+ {
+ "id": 417,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 418,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 420,
+ "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": 419,
+ "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": [420, 419]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 212,
+ "character": 9
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 212,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 384,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 385,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 386,
+ "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": 387,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 388,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 390,
+ "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": 389,
+ "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": [390, 389]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ },
+ {
+ "id": 391,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `upsert()` instead.\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 392,
+ "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": 393,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 394,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 398,
+ "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": 396,
+ "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": 397,
+ "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": 395,
+ "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": [398, 396, 397, 395]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "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": 377,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 378,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 379,
+ "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": 380,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 381,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 383,
+ "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": 382,
+ "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": [383, 382]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 33,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 32,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 436,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 437,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 438,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 439,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 440,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 441,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 442,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 443,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 444,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 445,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 446,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 447,
+ "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": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 433,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 434,
+ "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": 435,
+ "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": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ },
+ {
+ "id": 408,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 409,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "parameters": [
+ {
+ "id": 410,
+ "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": 411,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 412,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 414,
+ "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": 413,
+ "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": [414, 413]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 184,
+ "character": 23
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 183,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 399,
+ "name": "upsert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 400,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 401,
+ "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": 402,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 403,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 406,
+ "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": 407,
+ "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": 404,
+ "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": 405,
+ "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": [406, 407, 404, 405]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 143,
+ "character": 38
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 142,
+ "character": 8
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [365]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [432, 428, 431, 423, 421, 427, 429, 430, 422]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [415, 384, 377, 436, 433, 408, 399]
+ }
+ ],
+ "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": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [363]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 448,
+ "name": "\"lib/PostgrestRpcBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestRpcBuilder.ts",
+ "children": [
+ {
+ "id": 449,
+ "name": "PostgrestRpcBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 450,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 451,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 452,
+ "name": "new PostgrestRpcBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 453,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 454,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 461,
+ "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": 375,
+ "name": "fetch"
+ }
+ ]
+ }
+ },
+ {
+ "id": 456,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 8,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 457,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 458,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 459,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 460,
+ "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": 462,
+ "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": [461, 456, 460, 462]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 6,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 4,
+ "character": 73
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 481,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 477,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 480,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 472,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 473,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 474,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 475,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 470,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 476,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 478,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 479,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 471,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 463,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 464,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "parameters": [
+ {
+ "id": 465,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ },
+ {
+ "id": 466,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 467,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 469,
+ "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": 468,
+ "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": [469, 468]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 29,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 28,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 485,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 486,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 487,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 488,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 489,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 490,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 491,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 492,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 493,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 494,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 495,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 496,
+ "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": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 482,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 483,
+ "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": 484,
+ "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": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [451]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [481, 477, 480, 472, 470, 476, 478, 479, 471]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [463, 485, 482]
+ }
+ ],
+ "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": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [449]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestRpcBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 72,
+ "name": "\"lib/PostgrestTransformBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
+ "children": [
+ {
+ "id": 73,
+ "name": "PostgrestTransformBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Post-filters (transforms)"
+ },
+ "typeParameter": [
+ {
+ "id": 74,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 131,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 132,
+ "name": "new PostgrestTransformBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 133,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder",
+ "dereferenced": {
+ "id": 27,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 28,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 41,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 42,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder",
+ "dereferenced": "[Circular ~.children.5.children.0.children.0.signatures.0.parameters.0.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 36,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 31,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 29,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 55,
+ "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": 57,
+ "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": 58,
+ "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": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 47,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 48,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 49,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 50,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 51,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 53,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 54,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 55,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "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": 44,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 45,
+ "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": 46,
+ "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": [41]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [40, 36, 39, 31, 29, 35, 37, 38, 30]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [47, 44]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 130,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "PostgrestBuilder.allowEmpty"
+ }
+ },
+ {
+ "id": 126,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 129,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "PostgrestBuilder.fetch"
+ }
+ },
+ {
+ "id": 121,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 122,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 123,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 119,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 125,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 55,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 127,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 57,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 37,
+ "name": "PostgrestBuilder.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 128,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 38,
+ "name": "PostgrestBuilder.signal"
+ }
+ },
+ {
+ "id": 120,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 99,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 100,
+ "name": "abortSignal",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 101,
+ "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": 106,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 107,
+ "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": 68,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 119,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 110,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 111,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Obtains the EXPLAIN plan for this request."
+ },
+ "parameters": [
+ {
+ "id": 112,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 113,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 114,
+ "name": "analyze",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query will be executed and the actual run time will be displayed."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 142,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 117,
+ "name": "buffers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on buffer usage."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 145,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 116,
+ "name": "settings",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on configuration parameters that affect query planning."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 144,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 115,
+ "name": "verbose",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the query identifier will be displayed and the result will include the output columns of the query."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 143,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 118,
+ "name": "wal",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, include information on WAL record generation\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 146,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [114, 117, 116, 115, 118]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 108,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 109,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Set the response type to GeoJSON."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 127,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 86,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 87,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 88,
+ "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": 89,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 90,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 91,
+ "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": [91]
+ }
+ ],
+ "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": 104,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 105,
+ "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": 70,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestMaybeSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 110,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 78,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 79,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "parameters": [
+ {
+ "id": 80,
+ "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": 81,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 82,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 83,
+ "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": 85,
+ "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": 84,
+ "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": [83, 85, 84]
+ }
+ ],
+ "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": 92,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 93,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 94,
+ "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": 95,
+ "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": 96,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 97,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 98,
+ "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": [98]
+ }
+ ],
+ "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": 75,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 76,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 77,
+ "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": 102,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 103,
+ "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": 68,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 100,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 137,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 138,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 139,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 140,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 141,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 142,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 143,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 144,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 145,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 146,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 147,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 148,
+ "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": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 134,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 135,
+ "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": 136,
+ "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": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 83,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "PostgrestBuilder.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [131]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [130, 126, 129, 121, 119, 125, 127, 128, 120]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [99, 106, 110, 108, 86, 104, 78, 92, 75, 102, 137, 134]
+ }
+ ],
+ "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": 150,
+ "name": "PostgrestFilterBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [73]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 499,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 500,
+ "name": "DEFAULT_HEADERS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 501,
+ "name": "X-Client-Info",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 48
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "`postgrest-js/${version}`"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [501]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [500]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 27,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 28,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 41,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 42,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder",
+ "dereferenced": {
+ "id": 27,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 28,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": "[Circular ~.children.7.children.0.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [41]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [40, 36, 39, 31, 29, 35, 37, 38, 30]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [47, 44]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 36,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 56,
+ "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": 59,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 31,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "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": 54,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 29,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 52,
+ "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": 55,
+ "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": 57,
+ "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": 58,
+ "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": 53,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 47,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 48,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 49,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 50,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 51,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 53,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 54,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "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": 55,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "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": 44,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 45,
+ "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": 46,
+ "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": [41]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [40, 36, 39, 31, 29, 35, 37, 38, 30]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [47, 44]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 73,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 363,
+ "name": "PostgrestQueryBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 449,
+ "name": "PostgrestRpcBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 66,
+ "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": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 4,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [3, 4]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 20,
+ "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": 35,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 17,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 36,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 15,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 33,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 14,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 32,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 60,
+ "name": "PostgrestError"
+ }
+ },
+ {
+ "id": 18,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "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": 22,
+ "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": 31,
+ "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": 28,
+ "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": 29,
+ "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": 27,
+ "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": 26,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 11,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "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": 22,
+ "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": 25,
+ "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": 44,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 23,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 22,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 25,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "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": 22,
+ "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": 40,
+ "character": 40
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestResponseBase"
+ }
+ ]
+ },
+ {
+ "id": 59,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 375,
+ "name": "fetch"
+ }
+ }
+ },
+ {
+ "id": 60,
+ "name": "PostgrestError",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Error format",
+ "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 61,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 65,
+ "name": "code",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 12,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 63,
+ "name": "details",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 64,
+ "name": "hint",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 62,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [65, 63, 64, 62]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 70,
+ "name": "PostgrestMaybeSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 71,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 68,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 66,
+ "name": "PostgrestResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 67,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 38,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 5,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 13,
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ },
+ {
+ "id": 68,
+ "name": "PostgrestSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 69,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 46,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 20,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 13,
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [27]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [2, 13, 5, 20]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [59, 60, 70, 66, 68]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 497,
+ "name": "\"lib/version\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/postgrest-js/src/lib/version.ts",
+ "children": [
+ {
+ "id": 498,
+ "name": "version",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/version.ts",
+ "line": 2,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "stringLiteral",
+ "value": "0.0.0-automated"
+ },
+ "defaultValue": "\"0.0.0-automated\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [498]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/version.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [502, 540, 149, 362, 448, 72, 499, 1, 497]
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v1/realtime.json b/spec/enrichments/tsdoc_v1/realtime.json
index 50f34d1ed58..49295003cef 100644
--- a/spec/enrichments/tsdoc_v1/realtime.json
+++ b/spec/enrichments/tsdoc_v1/realtime.json
@@ -13,7 +13,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/RealtimeClient.ts",
"children": [
{
"id": 228,
@@ -90,7 +90,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 74,
+ "line": 73,
"character": 3
}
]
@@ -106,7 +106,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 13
}
],
@@ -136,7 +136,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 10
}
],
@@ -161,7 +161,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 60,
"character": 6
}
],
@@ -191,7 +191,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 58,
"character": 8
}
],
@@ -211,7 +211,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 57,
"character": 8
}
],
@@ -231,7 +231,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 10
}
],
@@ -253,7 +253,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 46,
"character": 9
}
],
@@ -321,7 +321,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 21
}
],
@@ -342,7 +342,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 52,
"character": 16
}
],
@@ -381,7 +381,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 56,
"character": 8
}
],
@@ -402,7 +402,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 51,
"character": 19
}
],
@@ -424,7 +424,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 47,
"character": 8
}
],
@@ -491,7 +491,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 21
}
],
@@ -521,7 +521,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 59,
"character": 18
}
],
@@ -541,7 +541,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 55,
"character": 16
}
],
@@ -562,7 +562,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 54,
"character": 5
}
],
@@ -583,7 +583,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 12
}
],
@@ -607,7 +607,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 62,
"character": 12
}
],
@@ -629,7 +629,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 9
}
],
@@ -650,7 +650,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 11
}
],
@@ -743,7 +743,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 406,
+ "line": 405,
"character": 11
}
]
@@ -760,7 +760,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 404,
+ "line": 403,
"character": 23
}
]
@@ -792,7 +792,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 417,
+ "line": 416,
"character": 26
}
]
@@ -839,7 +839,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 384,
+ "line": 383,
"character": 22
}
]
@@ -886,7 +886,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 392,
+ "line": 391,
"character": 22
}
]
@@ -918,7 +918,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 372,
+ "line": 371,
"character": 21
}
]
@@ -950,7 +950,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 424,
+ "line": 423,
"character": 24
}
]
@@ -982,7 +982,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 398,
+ "line": 397,
"character": 27
}
]
@@ -1028,7 +1028,7 @@
},
"type": {
"type": "reference",
- "id": 365,
+ "id": 364,
"name": "ChannelParams"
},
"defaultValue": "{}"
@@ -1044,7 +1044,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 265,
+ "line": 264,
"character": 9
}
]
@@ -1078,7 +1078,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 125,
"character": 9
}
]
@@ -1113,7 +1113,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 234,
+ "line": 233,
"character": 17
}
]
@@ -1217,7 +1217,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 152,
+ "line": 151,
"character": 40
}
],
@@ -1237,7 +1237,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 152,
+ "line": 151,
"character": 20
}
],
@@ -1266,7 +1266,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 152,
+ "line": 151,
"character": 13
}
]
@@ -1280,7 +1280,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 149,
+ "line": 148,
"character": 12
}
]
@@ -1314,7 +1314,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 321,
+ "line": 320,
"character": 13
}
]
@@ -1348,7 +1348,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 250,
+ "line": 249,
"character": 13
}
]
@@ -1397,7 +1397,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 362,
+ "line": 361,
"character": 16
}
]
@@ -1474,7 +1474,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 179,
+ "line": 178,
"character": 5
}
]
@@ -1508,7 +1508,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 331,
+ "line": 330,
"character": 9
}
]
@@ -1566,7 +1566,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 203,
+ "line": 202,
"character": 9
}
]
@@ -1619,7 +1619,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 291,
+ "line": 290,
"character": 34
}
],
@@ -1639,7 +1639,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 291,
+ "line": 290,
"character": 27
}
]
@@ -1656,7 +1656,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 291,
+ "line": 290,
"character": 15
}
]
@@ -1714,7 +1714,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 215,
+ "line": 214,
"character": 9
}
]
@@ -1772,7 +1772,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 226,
"character": 11
}
]
@@ -1830,7 +1830,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 191,
+ "line": 190,
"character": 8
}
]
@@ -1881,7 +1881,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 276,
+ "line": 275,
"character": 6
}
]
@@ -1934,7 +1934,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 259,
+ "line": 258,
"character": 8
}
]
@@ -1995,7 +1995,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 347,
+ "line": 346,
"character": 9
}
]
@@ -2020,7 +2020,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 71,
+ "line": 70,
"character": 9
}
],
@@ -2044,7 +2044,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 71,
"character": 9
}
],
@@ -2068,7 +2068,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 72,
"character": 11
}
],
@@ -2092,7 +2092,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 70,
+ "line": 69,
"character": 8
}
],
@@ -2116,7 +2116,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 63,
"character": 22
}
],
@@ -2157,13 +2157,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 35
}
]
},
{
- "id": 365,
+ "id": 364,
"name": "ChannelParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -2171,28 +2171,28 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 36,
+ "line": 35,
"character": 18
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 366,
+ "id": 365,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": [
{
- "id": 368,
+ "id": 367,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 369,
+ "id": 368,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -2211,7 +2211,7 @@
],
"children": [
{
- "id": 367,
+ "id": 366,
"name": "selfBroadcast",
"kind": 32,
"kindString": "Variable",
@@ -2221,7 +2221,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 37,
+ "line": 36,
"character": 15
}
],
@@ -2248,13 +2248,13 @@
{
"title": "Variables",
"kind": 32,
- "children": [367]
+ "children": [366]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 36,
+ "line": 35,
"character": 20
}
]
@@ -2301,35 +2301,6 @@
"name": "string"
}
},
- {
- "id": 364,
- "name": "join_ref",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 10
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
{
"id": 362,
"name": "payload",
@@ -2389,7 +2360,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [361, 364, 362, 363, 360]
+ "children": [361, 362, 363, 360]
}
],
"sources": [
@@ -2778,7 +2749,7 @@
}
},
{
- "id": 370,
+ "id": 369,
"name": "noop",
"kind": 64,
"kindString": "Function",
@@ -2787,7 +2758,7 @@
},
"signatures": [
{
- "id": 371,
+ "id": 370,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
@@ -2801,7 +2772,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 10
}
]
@@ -2816,12 +2787,12 @@
{
"title": "Type aliases",
"kind": 4194304,
- "children": [365, 358, 340]
+ "children": [364, 358, 340]
},
{
"title": "Functions",
"kind": 64,
- "children": [370]
+ "children": [369]
}
],
"sources": [
@@ -2840,7 +2811,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/RealtimeSubscription.ts",
"children": [
{
"id": 140,
@@ -4302,14 +4273,14 @@
]
},
{
- "id": 446,
+ "id": 445,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/index.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/index.ts",
"sources": [
{
"fileName": "index.ts",
@@ -4326,7 +4297,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/constants.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/constants.ts",
"children": [
{
"id": 15,
@@ -4944,7 +4915,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/push.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/push.ts",
"children": [
{
"id": 74,
@@ -5564,7 +5535,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 101,
+ "line": 100,
"character": 25
}
]
@@ -5596,7 +5567,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 109,
+ "line": 108,
"character": 24
}
]
@@ -5656,7 +5627,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 126,
+ "line": 125,
"character": 22
}
]
@@ -5711,7 +5682,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 116,
+ "line": 115,
"character": 12
}
],
@@ -5731,7 +5702,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 115,
+ "line": 114,
"character": 10
}
],
@@ -5751,7 +5722,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 114,
+ "line": 113,
"character": 24
}
]
@@ -5768,7 +5739,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 114,
+ "line": 113,
"character": 23
}
]
@@ -5799,7 +5770,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 96,
+ "line": 95,
"character": 9
}
]
@@ -5858,7 +5829,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 62,
+ "line": 61,
"character": 9
}
]
@@ -5966,7 +5937,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 71,
+ "line": 70,
"character": 14
}
]
@@ -6025,7 +5996,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 92,
+ "line": 91,
"character": 9
}
]
@@ -6099,7 +6070,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 58,
+ "line": 57,
"character": 24
}
]
@@ -6116,7 +6087,7 @@
"sources": [
{
"fileName": "lib/push.ts",
- "line": 58,
+ "line": 57,
"character": 15
}
]
@@ -6171,7 +6142,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/serializer.ts",
"children": [
{
"id": 49,
@@ -6637,7 +6608,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/timer.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/timer.ts",
"children": [
{
"id": 35,
@@ -6917,17 +6888,17 @@
]
},
{
- "id": 372,
+ "id": 371,
"name": "\"lib/transformers\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/transformers.ts",
"children": [
{
- "id": 373,
+ "id": 372,
"name": "PostgresTypes",
"kind": 4,
"kindString": "Enumeration",
@@ -6939,7 +6910,7 @@
},
"children": [
{
- "id": 374,
+ "id": 373,
"name": "abstime",
"kind": 16,
"kindString": "Enumeration member",
@@ -6956,7 +6927,7 @@
"defaultValue": "\"abstime\""
},
{
- "id": 375,
+ "id": 374,
"name": "bool",
"kind": 16,
"kindString": "Enumeration member",
@@ -6973,7 +6944,7 @@
"defaultValue": "\"bool\""
},
{
- "id": 376,
+ "id": 375,
"name": "date",
"kind": 16,
"kindString": "Enumeration member",
@@ -6990,7 +6961,7 @@
"defaultValue": "\"date\""
},
{
- "id": 377,
+ "id": 376,
"name": "daterange",
"kind": 16,
"kindString": "Enumeration member",
@@ -7007,7 +6978,7 @@
"defaultValue": "\"daterange\""
},
{
- "id": 378,
+ "id": 377,
"name": "float4",
"kind": 16,
"kindString": "Enumeration member",
@@ -7024,7 +6995,7 @@
"defaultValue": "\"float4\""
},
{
- "id": 379,
+ "id": 378,
"name": "float8",
"kind": 16,
"kindString": "Enumeration member",
@@ -7041,7 +7012,7 @@
"defaultValue": "\"float8\""
},
{
- "id": 380,
+ "id": 379,
"name": "int2",
"kind": 16,
"kindString": "Enumeration member",
@@ -7058,7 +7029,7 @@
"defaultValue": "\"int2\""
},
{
- "id": 381,
+ "id": 380,
"name": "int4",
"kind": 16,
"kindString": "Enumeration member",
@@ -7075,7 +7046,7 @@
"defaultValue": "\"int4\""
},
{
- "id": 382,
+ "id": 381,
"name": "int4range",
"kind": 16,
"kindString": "Enumeration member",
@@ -7092,7 +7063,7 @@
"defaultValue": "\"int4range\""
},
{
- "id": 383,
+ "id": 382,
"name": "int8",
"kind": 16,
"kindString": "Enumeration member",
@@ -7109,7 +7080,7 @@
"defaultValue": "\"int8\""
},
{
- "id": 384,
+ "id": 383,
"name": "int8range",
"kind": 16,
"kindString": "Enumeration member",
@@ -7126,7 +7097,7 @@
"defaultValue": "\"int8range\""
},
{
- "id": 385,
+ "id": 384,
"name": "json",
"kind": 16,
"kindString": "Enumeration member",
@@ -7143,7 +7114,7 @@
"defaultValue": "\"json\""
},
{
- "id": 386,
+ "id": 385,
"name": "jsonb",
"kind": 16,
"kindString": "Enumeration member",
@@ -7160,7 +7131,7 @@
"defaultValue": "\"jsonb\""
},
{
- "id": 387,
+ "id": 386,
"name": "money",
"kind": 16,
"kindString": "Enumeration member",
@@ -7177,7 +7148,7 @@
"defaultValue": "\"money\""
},
{
- "id": 388,
+ "id": 387,
"name": "numeric",
"kind": 16,
"kindString": "Enumeration member",
@@ -7194,7 +7165,7 @@
"defaultValue": "\"numeric\""
},
{
- "id": 389,
+ "id": 388,
"name": "oid",
"kind": 16,
"kindString": "Enumeration member",
@@ -7211,7 +7182,7 @@
"defaultValue": "\"oid\""
},
{
- "id": 390,
+ "id": 389,
"name": "reltime",
"kind": 16,
"kindString": "Enumeration member",
@@ -7228,7 +7199,7 @@
"defaultValue": "\"reltime\""
},
{
- "id": 391,
+ "id": 390,
"name": "text",
"kind": 16,
"kindString": "Enumeration member",
@@ -7245,7 +7216,7 @@
"defaultValue": "\"text\""
},
{
- "id": 392,
+ "id": 391,
"name": "time",
"kind": 16,
"kindString": "Enumeration member",
@@ -7262,7 +7233,7 @@
"defaultValue": "\"time\""
},
{
- "id": 393,
+ "id": 392,
"name": "timestamp",
"kind": 16,
"kindString": "Enumeration member",
@@ -7279,7 +7250,7 @@
"defaultValue": "\"timestamp\""
},
{
- "id": 394,
+ "id": 393,
"name": "timestamptz",
"kind": 16,
"kindString": "Enumeration member",
@@ -7296,7 +7267,7 @@
"defaultValue": "\"timestamptz\""
},
{
- "id": 395,
+ "id": 394,
"name": "timetz",
"kind": 16,
"kindString": "Enumeration member",
@@ -7313,7 +7284,7 @@
"defaultValue": "\"timetz\""
},
{
- "id": 396,
+ "id": 395,
"name": "tsrange",
"kind": 16,
"kindString": "Enumeration member",
@@ -7330,7 +7301,7 @@
"defaultValue": "\"tsrange\""
},
{
- "id": 397,
+ "id": 396,
"name": "tstzrange",
"kind": 16,
"kindString": "Enumeration member",
@@ -7352,8 +7323,8 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390,
- 391, 392, 393, 394, 395, 396, 397
+ 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389,
+ 390, 391, 392, 393, 394, 395, 396
]
}
],
@@ -7366,7 +7337,7 @@
]
},
{
- "id": 404,
+ "id": 403,
"name": "BaseValue",
"kind": 4194304,
"kindString": "Type alias",
@@ -7401,7 +7372,7 @@
}
},
{
- "id": 398,
+ "id": 397,
"name": "Columns",
"kind": 4194304,
"kindString": "Type alias",
@@ -7418,14 +7389,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 399,
+ "id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 402,
+ "id": 401,
"name": "flags",
"kind": 32,
"kindString": "Variable",
@@ -7448,7 +7419,7 @@
}
},
{
- "id": 400,
+ "id": 399,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -7466,7 +7437,7 @@
}
},
{
- "id": 401,
+ "id": 400,
"name": "type",
"kind": 32,
"kindString": "Variable",
@@ -7484,7 +7455,7 @@
}
},
{
- "id": 403,
+ "id": 402,
"name": "type_modifier",
"kind": 32,
"kindString": "Variable",
@@ -7517,7 +7488,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [402, 400, 401, 403]
+ "children": [401, 399, 400, 402]
}
],
"sources": [
@@ -7532,7 +7503,7 @@
}
},
{
- "id": 406,
+ "id": 405,
"name": "Record",
"kind": 4194304,
"kindString": "Type alias",
@@ -7547,21 +7518,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": [
{
- "id": 408,
+ "id": 407,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 409,
+ "id": 408,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -7574,7 +7545,7 @@
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -7590,7 +7561,7 @@
}
},
{
- "id": 405,
+ "id": 404,
"name": "RecordValue",
"kind": 4194304,
"kindString": "Type alias",
@@ -7607,14 +7578,14 @@
"types": [
{
"type": "reference",
- "id": 404,
+ "id": 403,
"name": "BaseValue"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 404,
+ "id": 403,
"name": "BaseValue"
}
}
@@ -7622,7 +7593,7 @@
}
},
{
- "id": 423,
+ "id": 422,
"name": "convertCell",
"kind": 64,
"kindString": "Function",
@@ -7649,7 +7620,7 @@
},
"signatures": [
{
- "id": 424,
+ "id": 423,
"name": "convertCell",
"kind": 4096,
"kindString": "Call signature",
@@ -7675,7 +7646,7 @@
},
"parameters": [
{
- "id": 425,
+ "id": 424,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -7691,7 +7662,7 @@
}
},
{
- "id": 426,
+ "id": 425,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -7700,14 +7671,14 @@
},
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -7721,7 +7692,7 @@
]
},
{
- "id": 410,
+ "id": 409,
"name": "convertChangeData",
"kind": 64,
"kindString": "Function",
@@ -7740,7 +7711,7 @@
},
"signatures": [
{
- "id": 411,
+ "id": 410,
"name": "convertChangeData",
"kind": 4096,
"kindString": "Call signature",
@@ -7758,7 +7729,7 @@
},
"parameters": [
{
- "id": 412,
+ "id": 411,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -7767,12 +7738,12 @@
},
"type": {
"type": "reference",
- "id": 398,
+ "id": 397,
"name": "Columns"
}
},
{
- "id": 413,
+ "id": 412,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
@@ -7782,12 +7753,12 @@
"comment": {},
"type": {
"type": "reference",
- "id": 406,
+ "id": 405,
"name": "Record"
}
},
{
- "id": 414,
+ "id": 413,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7800,7 +7771,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 415,
+ "id": 414,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7809,7 +7780,7 @@
},
"children": [
{
- "id": 416,
+ "id": 415,
"name": "skipTypes",
"kind": 32,
"kindString": "Variable",
@@ -7837,7 +7808,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [416]
+ "children": [415]
}
],
"sources": [
@@ -7854,7 +7825,7 @@
],
"type": {
"type": "reference",
- "id": 406,
+ "id": 405,
"name": "Record"
}
}
@@ -7868,7 +7839,7 @@
]
},
{
- "id": 417,
+ "id": 416,
"name": "convertColumn",
"kind": 64,
"kindString": "Function",
@@ -7892,7 +7863,7 @@
},
"signatures": [
{
- "id": 418,
+ "id": 417,
"name": "convertColumn",
"kind": 4096,
"kindString": "Call signature",
@@ -7915,7 +7886,7 @@
},
"parameters": [
{
- "id": 419,
+ "id": 418,
"name": "columnName",
"kind": 32768,
"kindString": "Parameter",
@@ -7931,7 +7902,7 @@
}
},
{
- "id": 420,
+ "id": 419,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -7940,12 +7911,12 @@
},
"type": {
"type": "reference",
- "id": 398,
+ "id": 397,
"name": "Columns"
}
},
{
- "id": 421,
+ "id": 420,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
@@ -7957,12 +7928,12 @@
},
"type": {
"type": "reference",
- "id": 406,
+ "id": 405,
"name": "Record"
}
},
{
- "id": 422,
+ "id": 421,
"name": "skipTypes",
"kind": 32768,
"kindString": "Parameter",
@@ -7983,7 +7954,7 @@
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -7997,7 +7968,7 @@
]
},
{
- "id": 427,
+ "id": 426,
"name": "noop",
"kind": 64,
"kindString": "Function",
@@ -8006,28 +7977,28 @@
},
"signatures": [
{
- "id": 428,
+ "id": 427,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 429,
+ "id": 428,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -8041,7 +8012,7 @@
]
},
{
- "id": 439,
+ "id": 438,
"name": "toArray",
"kind": 64,
"kindString": "Function",
@@ -8068,7 +8039,7 @@
},
"signatures": [
{
- "id": 440,
+ "id": 439,
"name": "toArray",
"kind": 4096,
"kindString": "Call signature",
@@ -8094,7 +8065,7 @@
},
"parameters": [
{
- "id": 441,
+ "id": 440,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -8103,12 +8074,12 @@
},
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
},
{
- "id": 442,
+ "id": 441,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -8123,7 +8094,7 @@
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -8137,7 +8108,7 @@
]
},
{
- "id": 430,
+ "id": 429,
"name": "toBoolean",
"kind": 64,
"kindString": "Function",
@@ -8147,7 +8118,7 @@
},
"signatures": [
{
- "id": 431,
+ "id": 430,
"name": "toBoolean",
"kind": 4096,
"kindString": "Call signature",
@@ -8156,7 +8127,7 @@
},
"parameters": [
{
- "id": 432,
+ "id": 431,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -8165,14 +8136,14 @@
},
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -8186,7 +8157,7 @@
]
},
{
- "id": 436,
+ "id": 435,
"name": "toJson",
"kind": 64,
"kindString": "Function",
@@ -8196,7 +8167,7 @@
},
"signatures": [
{
- "id": 437,
+ "id": 436,
"name": "toJson",
"kind": 4096,
"kindString": "Call signature",
@@ -8205,7 +8176,7 @@
},
"parameters": [
{
- "id": 438,
+ "id": 437,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -8214,14 +8185,14 @@
},
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -8235,7 +8206,7 @@
]
},
{
- "id": 433,
+ "id": 432,
"name": "toNumber",
"kind": 64,
"kindString": "Function",
@@ -8245,7 +8216,7 @@
},
"signatures": [
{
- "id": 434,
+ "id": 433,
"name": "toNumber",
"kind": 4096,
"kindString": "Call signature",
@@ -8254,7 +8225,7 @@
},
"parameters": [
{
- "id": 435,
+ "id": 434,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -8263,14 +8234,14 @@
},
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -8284,7 +8255,7 @@
]
},
{
- "id": 443,
+ "id": 442,
"name": "toTimestampString",
"kind": 64,
"kindString": "Function",
@@ -8303,7 +8274,7 @@
},
"signatures": [
{
- "id": 444,
+ "id": 443,
"name": "toTimestampString",
"kind": 4096,
"kindString": "Call signature",
@@ -8321,7 +8292,7 @@
},
"parameters": [
{
- "id": 445,
+ "id": 444,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -8330,14 +8301,14 @@
},
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
],
"type": {
"type": "reference",
- "id": 405,
+ "id": 404,
"name": "RecordValue"
}
}
@@ -8355,17 +8326,17 @@
{
"title": "Enumerations",
"kind": 4,
- "children": [373]
+ "children": [372]
},
{
"title": "Type aliases",
"kind": 4194304,
- "children": [404, 398, 406, 405]
+ "children": [403, 397, 405, 404]
},
{
"title": "Functions",
"kind": 64,
- "children": [423, 410, 417, 427, 439, 430, 436, 433, 443]
+ "children": [422, 409, 416, 426, 438, 429, 435, 432, 442]
}
],
"sources": [
@@ -8384,7 +8355,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/version.ts",
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/version.ts",
"children": [
{
"id": 2,
@@ -8429,7 +8400,7 @@
{
"title": "Modules",
"kind": 1,
- "children": [227, 139, 446, 3, 73, 48, 34, 372, 1]
+ "children": [227, 139, 445, 3, 73, 48, 34, 371, 1]
}
]
}
diff --git a/spec/enrichments/tsdoc_v1/realtime_dereferenced.json b/spec/enrichments/tsdoc_v1/realtime_dereferenced.json
new file mode 100644
index 00000000000..5c124afed3e
--- /dev/null
+++ b/spec/enrichments/tsdoc_v1/realtime_dereferenced.json
@@ -0,0 +1,18420 @@
+{
+ "id": 0,
+ "name": "@supabase/realtime-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 227,
+ "name": "\"RealtimeClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/RealtimeClient.ts",
+ "children": [
+ {
+ "id": 228,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 260,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "signatures": [
+ {
+ "id": 261,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 262,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": 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": 263,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 340,
+ "name": "Options",
+ "dereferenced": {
+ "id": 340,
+ "name": "Options",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 348,
+ "name": "decode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 347,
+ "name": "encode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 350,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 352,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 353,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 344,
+ "name": "heartbeatIntervalMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 346,
+ "name": "logger",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 345,
+ "name": "longpollerTimeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 354,
+ "name": "params",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 355,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 356,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 357,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 349,
+ "name": "reconnectAfterMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 343,
+ "name": "timeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 342,
+ "name": "transport",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [348, 347, 350, 344, 346, 345, 354, 349, 343, 342]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 21
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 73,
+ "character": 3
+ }
+ ]
+ },
+ {
+ "id": 229,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 230,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 252,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "WebSocket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 250,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 249,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 231,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"\""
+ },
+ {
+ "id": 232,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 234,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 235,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 242,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 244,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "setInterval"
+ }
+ }
+ ],
+ "name": "ReturnType"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 248,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 243,
+ "name": "longpollerTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "20000"
+ },
+ {
+ "id": 236,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 237,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 238,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 239,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 245,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 251,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 247,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 246,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 253,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 254,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 49,
+ "name": "Serializer"
+ },
+ "defaultValue": "new Serializer()"
+ },
+ {
+ "id": 240,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 241,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 329,
+ "name": "_appendParams",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 330,
+ "name": "_appendParams",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 331,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 332,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 333,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 334,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 335,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 405,
+ "character": 11
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 403,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 336,
+ "name": "_flushSendBuffer",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 337,
+ "name": "_flushSendBuffer",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 416,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 321,
+ "name": "_onConnClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 322,
+ "name": "_onConnClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 323,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 383,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 324,
+ "name": "_onConnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 325,
+ "name": "_onConnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "ErrorEvent"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 391,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 319,
+ "name": "_onConnOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 320,
+ "name": "_onConnOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 371,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "_sendHeartbeat",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 339,
+ "name": "_sendHeartbeat",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 423,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 327,
+ "name": "_triggerChanError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 328,
+ "name": "_triggerChanError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 397,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 297,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 298,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 299,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 300,
+ "name": "chanParams",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 364,
+ "name": "ChannelParams",
+ "dereferenced": {
+ "id": 364,
+ "name": "ChannelParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 365,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 367,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 366,
+ "name": "selfBroadcast",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [366]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 20
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 264,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 264,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 265,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 290,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 291,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "id": 24,
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 233,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 266,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 267,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 268,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 269,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 270,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 272,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 271,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [272, 271]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 148,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 309,
+ "name": "endPointURL",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 310,
+ "name": "endPointURL",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the URL of the websocket."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 320,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 292,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 293,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Retuns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 249,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 316,
+ "name": "leaveOpenTopic",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 317,
+ "name": "leaveOpenTopic",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Unsubscribe from channels with the specified topic."
+ },
+ "parameters": [
+ {
+ "id": 318,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 361,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 273,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 274,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overriden.\n"
+ },
+ "parameters": [
+ {
+ "id": 275,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 276,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 277,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 178,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "makeRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 312,
+ "name": "makeRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Return the next message ref, accounting for overflows"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 330,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 281,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 282,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 283,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 202,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 304,
+ "name": "onConnMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 305,
+ "name": "onConnMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 306,
+ "name": "rawMessage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 307,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 308,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [308]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 285,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 286,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 287,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 288,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 289,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 226,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "onOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 279,
+ "name": "onOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 280,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 190,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 301,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 302,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 303,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 358,
+ "name": "Message",
+ "dereferenced": {
+ "id": 358,
+ "name": "Message",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 359,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 362,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 363,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [361, 362, 363, 360]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 275,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 294,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 295,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes a subscription from the socket."
+ },
+ "parameters": [
+ {
+ "id": 296,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "An open subscription.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "dereferenced": {
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 148,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 155,
+ "name": "new RealtimeSubscription",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 156,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 157,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 158,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 159,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 160,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 161,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient",
+ "dereferenced": {
+ "id": 228,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": "[Circular ~.children.0.children.0.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [260]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 229, 230, 252, 250, 249, 231, 232, 242, 244, 248,
+ 243, 236, 245, 251, 247, 246, 253, 254, 240, 241
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 329, 336, 321, 324, 319, 338, 327, 297, 264, 290,
+ 266, 309, 292, 316, 273, 311, 281, 304, 284, 287,
+ 278, 301, 294, 313
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [255]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 35
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 141,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 7,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 145,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 11,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ },
+ {
+ "id": 144,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 150,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 152,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 153,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 18
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 146,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 12,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 154,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 18,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 143,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 9,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 9,
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 142,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 8,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 149,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 16,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 180,
+ "name": "canPush",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 181,
+ "name": "canPush",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 97,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 217,
+ "name": "isClosed",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 218,
+ "name": "isClosed",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 202,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 219,
+ "name": "isErrored",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 220,
+ "name": "isErrored",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 205,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "isJoined",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 222,
+ "name": "isJoined",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 208,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "isJoining",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 224,
+ "name": "isJoining",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 211,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "isLeaving",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "isLeaving",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 214,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 201,
+ "name": "isMember",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 202,
+ "name": "isMember",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 203,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 158,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "joinRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 205,
+ "name": "joinRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 162,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 177,
+ "name": "off",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 178,
+ "name": "off",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 179,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 93,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 173,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 174,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 175,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 176,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 89,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 167,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 169,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 81,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 170,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 171,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 172,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 85,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 196,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 197,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 198,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 199,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 200,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 154,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 182,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 183,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 184,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "dereferenced": {
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 21,
+ "name": "access_token",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 32,
+ "character": 14
+ }
+ ],
+ "defaultValue": "\"access_token\""
+ },
+ {
+ "id": 16,
+ "name": "close",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_close\""
+ },
+ {
+ "id": 17,
+ "name": "error",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_error\""
+ },
+ {
+ "id": 18,
+ "name": "join",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 29,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"phx_join\""
+ },
+ {
+ "id": 20,
+ "name": "leave",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 31,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_leave\""
+ },
+ {
+ "id": 19,
+ "name": "reply",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_reply\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [21, 16, 17, 18, 20, 19]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 26,
+ "character": 26
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 185,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 186,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 101,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 206,
+ "name": "rejoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 207,
+ "name": "rejoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 208,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 166,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "rejoinUntilConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 163,
+ "name": "rejoinUntilConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 64,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 214,
+ "name": "replyEventName",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 215,
+ "name": "replyEventName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 216,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 198,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 164,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 165,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 166,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 71,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 209,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 210,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 211,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 212,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 213,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 175,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 193,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 194,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 195,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 129,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 187,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 188,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 189,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 191,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 192,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 116,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 116,
+ "character": 19
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [148]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [141, 145, 144, 150, 147, 146, 154, 143, 142, 149]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 180, 217, 219, 221, 223, 225, 201, 204, 177, 173, 167, 170, 196,
+ 182, 206, 162, 214, 164, 209, 193, 187
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 6,
+ "character": 41
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 258,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 313,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 314,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 315,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 346,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 255,
+ "name": "stateChangeCallbacks",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 257,
+ "name": "close",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 70,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 258,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 259,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 256,
+ "name": "open",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 69,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [257, 258, 259, 256]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [260]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 229, 230, 252, 250, 249, 231, 232, 242, 244, 248, 243, 236, 245, 251, 247, 246, 253,
+ 254, 240, 241
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 329, 336, 321, 324, 319, 338, 327, 297, 264, 290, 266, 309, 292, 316, 273, 311, 281,
+ 304, 284, 287, 278, 301, 294, 313
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [255]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 35
+ }
+ ]
+ },
+ {
+ "id": 364,
+ "name": "ChannelParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 365,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 367,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 366,
+ "name": "selfBroadcast",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [366]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 20
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 358,
+ "name": "Message",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 359,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 362,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 363,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [361, 362, 363, 360]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "Options",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 348,
+ "name": "decode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 347,
+ "name": "encode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 350,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 352,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 353,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 344,
+ "name": "heartbeatIntervalMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 346,
+ "name": "logger",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 345,
+ "name": "longpollerTimeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 354,
+ "name": "params",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 355,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 356,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 357,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 349,
+ "name": "reconnectAfterMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 343,
+ "name": "timeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 342,
+ "name": "transport",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [348, 347, 350, 344, 346, 345, 354, 349, 343, 342]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 369,
+ "name": "noop",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 370,
+ "name": "noop",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 10
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [228]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [364, 358, 340]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [369]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 139,
+ "name": "\"RealtimeSubscription\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/RealtimeSubscription.ts",
+ "children": [
+ {
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 148,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 155,
+ "name": "new RealtimeSubscription",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 156,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 157,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 158,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 159,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 160,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 161,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient",
+ "dereferenced": {
+ "id": 228,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 260,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "signatures": [
+ {
+ "id": 261,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 262,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": 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": 263,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 340,
+ "name": "Options",
+ "dereferenced": {
+ "id": 340,
+ "name": "Options",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 348,
+ "name": "decode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 347,
+ "name": "encode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 350,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 352,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 353,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 344,
+ "name": "heartbeatIntervalMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 346,
+ "name": "logger",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 345,
+ "name": "longpollerTimeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 354,
+ "name": "params",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 355,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 356,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 357,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 349,
+ "name": "reconnectAfterMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 343,
+ "name": "timeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 342,
+ "name": "transport",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 348, 347, 350, 344, 346, 345, 354, 349, 343, 342
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 21
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 73,
+ "character": 3
+ }
+ ]
+ },
+ {
+ "id": 229,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 230,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 252,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "WebSocket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 250,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 249,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 231,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"\""
+ },
+ {
+ "id": 232,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 234,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 235,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 242,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 244,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "setInterval"
+ }
+ }
+ ],
+ "name": "ReturnType"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 248,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 243,
+ "name": "longpollerTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "20000"
+ },
+ {
+ "id": 236,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 237,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 238,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 239,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 245,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 251,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 247,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 246,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 253,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 254,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 49,
+ "name": "Serializer"
+ },
+ "defaultValue": "new Serializer()"
+ },
+ {
+ "id": 240,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 241,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 329,
+ "name": "_appendParams",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 330,
+ "name": "_appendParams",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 331,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 332,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 333,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 334,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 335,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 405,
+ "character": 11
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 403,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 336,
+ "name": "_flushSendBuffer",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 337,
+ "name": "_flushSendBuffer",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 416,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 321,
+ "name": "_onConnClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 322,
+ "name": "_onConnClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 323,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 383,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 324,
+ "name": "_onConnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 325,
+ "name": "_onConnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "ErrorEvent"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 391,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 319,
+ "name": "_onConnOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 320,
+ "name": "_onConnOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 371,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "_sendHeartbeat",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 339,
+ "name": "_sendHeartbeat",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 423,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 327,
+ "name": "_triggerChanError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 328,
+ "name": "_triggerChanError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 397,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 297,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 298,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 299,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 300,
+ "name": "chanParams",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 364,
+ "name": "ChannelParams",
+ "dereferenced": {
+ "id": 364,
+ "name": "ChannelParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 365,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 367,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 366,
+ "name": "selfBroadcast",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [366]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 20
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 264,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 264,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 265,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 290,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 291,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "id": 24,
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 233,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 266,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 267,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 268,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 269,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 270,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 272,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 271,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [272, 271]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 148,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 309,
+ "name": "endPointURL",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 310,
+ "name": "endPointURL",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the URL of the websocket."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 320,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 292,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 293,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Retuns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 249,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 316,
+ "name": "leaveOpenTopic",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 317,
+ "name": "leaveOpenTopic",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Unsubscribe from channels with the specified topic."
+ },
+ "parameters": [
+ {
+ "id": 318,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 361,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 273,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 274,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overriden.\n"
+ },
+ "parameters": [
+ {
+ "id": 275,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 276,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 277,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 178,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "makeRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 312,
+ "name": "makeRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Return the next message ref, accounting for overflows"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 330,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 281,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 282,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 283,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 202,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 304,
+ "name": "onConnMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 305,
+ "name": "onConnMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 306,
+ "name": "rawMessage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 307,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 308,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [308]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 285,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 286,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 287,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 288,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 289,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 226,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "onOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 279,
+ "name": "onOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 280,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 190,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 301,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 302,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 303,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 358,
+ "name": "Message",
+ "dereferenced": {
+ "id": 358,
+ "name": "Message",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 359,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 362,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 363,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [361, 362, 363, 360]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 275,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 294,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 295,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes a subscription from the socket."
+ },
+ "parameters": [
+ {
+ "id": 296,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "An open subscription.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "dereferenced": {
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": "[Circular ~.children.1.children.0.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [148]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 141, 145, 144, 150, 147, 146, 154, 143, 142, 149
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 180, 217, 219, 221, 223, 225, 201, 204, 177, 173,
+ 167, 170, 196, 182, 206, 162, 214, 164, 209, 193,
+ 187
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 6,
+ "character": 41
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 258,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 313,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 314,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 315,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 346,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 255,
+ "name": "stateChangeCallbacks",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 257,
+ "name": "close",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 70,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 258,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 259,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 256,
+ "name": "open",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 69,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [257, 258, 259, 256]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [260]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 229, 230, 252, 250, 249, 231, 232, 242, 244, 248, 243, 236, 245,
+ 251, 247, 246, 253, 254, 240, 241
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 329, 336, 321, 324, 319, 338, 327, 297, 264, 290, 266, 309, 292,
+ 316, 273, 311, 281, 304, 284, 287, 278, 301, 294, 313
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [255]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 35
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 141,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 7,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 145,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 11,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ },
+ {
+ "id": 144,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 150,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 152,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 153,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 18
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 146,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 12,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 154,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 18,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 143,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 9,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 9,
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 142,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 8,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 149,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 16,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 180,
+ "name": "canPush",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 181,
+ "name": "canPush",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 97,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 217,
+ "name": "isClosed",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 218,
+ "name": "isClosed",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 202,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 219,
+ "name": "isErrored",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 220,
+ "name": "isErrored",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 205,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "isJoined",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 222,
+ "name": "isJoined",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 208,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "isJoining",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 224,
+ "name": "isJoining",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 211,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "isLeaving",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "isLeaving",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 214,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 201,
+ "name": "isMember",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 202,
+ "name": "isMember",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 203,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 158,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "joinRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 205,
+ "name": "joinRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 162,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 177,
+ "name": "off",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 178,
+ "name": "off",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 179,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 93,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 173,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 174,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 175,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 176,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 89,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 167,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 169,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 81,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 170,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 171,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 172,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 85,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 196,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 197,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 198,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 199,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 200,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 154,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 182,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 183,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 184,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "dereferenced": {
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 21,
+ "name": "access_token",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 32,
+ "character": 14
+ }
+ ],
+ "defaultValue": "\"access_token\""
+ },
+ {
+ "id": 16,
+ "name": "close",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_close\""
+ },
+ {
+ "id": 17,
+ "name": "error",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_error\""
+ },
+ {
+ "id": 18,
+ "name": "join",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 29,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"phx_join\""
+ },
+ {
+ "id": 20,
+ "name": "leave",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 31,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_leave\""
+ },
+ {
+ "id": 19,
+ "name": "reply",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_reply\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [21, 16, 17, 18, 20, 19]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 26,
+ "character": 26
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 185,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 186,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 101,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 206,
+ "name": "rejoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 207,
+ "name": "rejoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 208,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 166,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "rejoinUntilConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 163,
+ "name": "rejoinUntilConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 64,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 214,
+ "name": "replyEventName",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 215,
+ "name": "replyEventName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 216,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 198,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 164,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 165,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 166,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 71,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 209,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 210,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 211,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 212,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 213,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 175,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 193,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 194,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 195,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 129,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 187,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 188,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 189,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 191,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 192,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 116,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 116,
+ "character": 19
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [148]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [141, 145, 144, 150, 147, 146, 154, 143, 142, 149]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 180, 217, 219, 221, 223, 225, 201, 204, 177, 173, 167, 170, 196, 182, 206, 162, 214,
+ 164, 209, 193, 187
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 6,
+ "character": 41
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [140]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 445,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/index.ts",
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 3,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 21,
+ "name": "access_token",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 32,
+ "character": 14
+ }
+ ],
+ "defaultValue": "\"access_token\""
+ },
+ {
+ "id": 16,
+ "name": "close",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_close\""
+ },
+ {
+ "id": 17,
+ "name": "error",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_error\""
+ },
+ {
+ "id": 18,
+ "name": "join",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 29,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"phx_join\""
+ },
+ {
+ "id": 20,
+ "name": "leave",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 31,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_leave\""
+ },
+ {
+ "id": 19,
+ "name": "reply",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_reply\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [21, 16, 17, 18, 20, 19]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 26,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 9,
+ "name": "CHANNEL_STATES",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 10,
+ "name": "closed",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 19,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"closed\""
+ },
+ {
+ "id": 11,
+ "name": "errored",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 20,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"errored\""
+ },
+ {
+ "id": 12,
+ "name": "joined",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"joined\""
+ },
+ {
+ "id": 13,
+ "name": "joining",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 22,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"joining\""
+ },
+ {
+ "id": 14,
+ "name": "leaving",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 23,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"leaving\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [10, 11, 12, 13, 14]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 18,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 24,
+ "name": "CONNECTION_STATE",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 28,
+ "name": "Closed",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 43,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"closed\""
+ },
+ {
+ "id": 27,
+ "name": "Closing",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 42,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"closing\""
+ },
+ {
+ "id": 25,
+ "name": "Connecting",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 40,
+ "character": 12
+ }
+ ],
+ "defaultValue": "\"connecting\""
+ },
+ {
+ "id": 26,
+ "name": "Open",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 41,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"open\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [28, 27, 25, 26]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 39,
+ "character": 28
+ }
+ ]
+ },
+ {
+ "id": 4,
+ "name": "SOCKET_STATES",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "closed",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 15,
+ "character": 8
+ }
+ ],
+ "defaultValue": "3"
+ },
+ {
+ "id": 7,
+ "name": "closing",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 14,
+ "character": 9
+ }
+ ],
+ "defaultValue": "2"
+ },
+ {
+ "id": 5,
+ "name": "connecting",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "defaultValue": "0"
+ },
+ {
+ "id": 6,
+ "name": "open",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 13,
+ "character": 6
+ }
+ ],
+ "defaultValue": "1"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [8, 7, 5, 6]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 11,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 22,
+ "name": "TRANSPORTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 23,
+ "name": "websocket",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 36,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"websocket\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [23]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 35,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 32,
+ "name": "DEFAULT_TIMEOUT",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 7,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "10000"
+ },
+ "defaultValue": "10000"
+ },
+ {
+ "id": 31,
+ "name": "VSN",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 5,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"1.0.0\""
+ },
+ {
+ "id": 33,
+ "name": "WS_CLOSE_NORMAL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 9,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "1000"
+ },
+ "defaultValue": "1000"
+ },
+ {
+ "id": 29,
+ "name": "DEFAULT_HEADERS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 30,
+ "name": "X-Client-Info",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 3,
+ "character": 48
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "`realtime-js/${version}`"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [30]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 3,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumerations",
+ "kind": 4,
+ "children": [15, 9, 24, 4, 22]
+ },
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [32, 31, 33]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [29]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 73,
+ "name": "\"lib/push\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/push.ts",
+ "children": [
+ {
+ "id": 74,
+ "name": "Push",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 87,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Push"
+ },
+ "signatures": [
+ {
+ "id": 95,
+ "name": "new Push",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Push"
+ },
+ "parameters": [
+ {
+ "id": 96,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The Channel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "dereferenced": {
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 148,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 155,
+ "name": "new RealtimeSubscription",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 156,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 157,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 158,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 159,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 160,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 161,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient",
+ "dereferenced": {
+ "id": 228,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 260,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "signatures": [
+ {
+ "id": 261,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 262,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": 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": 263,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 340,
+ "name": "Options",
+ "dereferenced": {
+ "id": 340,
+ "name": "Options",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 348,
+ "name": "decode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 347,
+ "name": "encode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 350,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 352,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 353,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 344,
+ "name": "heartbeatIntervalMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 346,
+ "name": "logger",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 345,
+ "name": "longpollerTimeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 354,
+ "name": "params",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 355,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 356,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 357,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 349,
+ "name": "reconnectAfterMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 343,
+ "name": "timeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 342,
+ "name": "transport",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 348, 347, 350, 344, 346, 345,
+ 354, 349, 343, 342
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 21
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 73,
+ "character": 3
+ }
+ ]
+ },
+ {
+ "id": 229,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 230,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 252,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "WebSocket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 250,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 249,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 231,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"\""
+ },
+ {
+ "id": 232,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 234,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 235,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 242,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 244,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "setInterval"
+ }
+ }
+ ],
+ "name": "ReturnType"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 248,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 243,
+ "name": "longpollerTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "20000"
+ },
+ {
+ "id": 236,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 237,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 238,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 239,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 245,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 251,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 247,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 246,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 253,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 254,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 49,
+ "name": "Serializer"
+ },
+ "defaultValue": "new Serializer()"
+ },
+ {
+ "id": 240,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 241,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 329,
+ "name": "_appendParams",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 330,
+ "name": "_appendParams",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 331,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 332,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 333,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 334,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 335,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 405,
+ "character": 11
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 403,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 336,
+ "name": "_flushSendBuffer",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 337,
+ "name": "_flushSendBuffer",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 416,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 321,
+ "name": "_onConnClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 322,
+ "name": "_onConnClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 323,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 383,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 324,
+ "name": "_onConnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 325,
+ "name": "_onConnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "ErrorEvent"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 391,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 319,
+ "name": "_onConnOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 320,
+ "name": "_onConnOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 371,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "_sendHeartbeat",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 339,
+ "name": "_sendHeartbeat",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 423,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 327,
+ "name": "_triggerChanError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 328,
+ "name": "_triggerChanError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 397,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 297,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 298,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 299,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 300,
+ "name": "chanParams",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 364,
+ "name": "ChannelParams",
+ "dereferenced": {
+ "id": 364,
+ "name": "ChannelParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 365,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 367,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 366,
+ "name": "selfBroadcast",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [366]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 20
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 264,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 264,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 265,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 290,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 291,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "id": 24,
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 233,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 266,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 267,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 268,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 269,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 270,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 272,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 271,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [272, 271]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 151,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 148,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 309,
+ "name": "endPointURL",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 310,
+ "name": "endPointURL",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the URL of the websocket."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 320,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 292,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 293,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Retuns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 249,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 316,
+ "name": "leaveOpenTopic",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 317,
+ "name": "leaveOpenTopic",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Unsubscribe from channels with the specified topic."
+ },
+ "parameters": [
+ {
+ "id": 318,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 361,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 273,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 274,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overriden.\n"
+ },
+ "parameters": [
+ {
+ "id": 275,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 276,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 277,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 178,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "makeRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 312,
+ "name": "makeRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Return the next message ref, accounting for overflows"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 330,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 281,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 282,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 283,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 202,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 304,
+ "name": "onConnMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 305,
+ "name": "onConnMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 306,
+ "name": "rawMessage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 307,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 308,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [308]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 290,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 285,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 286,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 287,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 288,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 289,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 226,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "onOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 279,
+ "name": "onOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 280,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A function to be called when the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 190,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 301,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 302,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 303,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 358,
+ "name": "Message",
+ "dereferenced": {
+ "id": 358,
+ "name": "Message",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 359,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 362,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 363,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [361, 362, 363, 360]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 275,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 294,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 295,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes a subscription from the socket."
+ },
+ "parameters": [
+ {
+ "id": 296,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "An open subscription.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription",
+ "dereferenced": "[Circular ~.children.4.children.0.children.0.signatures.0.parameters.0.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 258,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 313,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 314,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 315,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 346,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 255,
+ "name": "stateChangeCallbacks",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 257,
+ "name": "close",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 70,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 258,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 259,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 256,
+ "name": "open",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 69,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [257, 258, 259, 256]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [260]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 229, 230, 252, 250, 249, 231, 232, 242, 244, 248,
+ 243, 236, 245, 251, 247, 246, 253, 254, 240, 241
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 329, 336, 321, 324, 319, 338, 327, 297, 264, 290,
+ 266, 309, 292, 316, 273, 311, 281, 304, 284, 287,
+ 278, 301, 294, 313
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [255]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 35
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 141,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 7,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 145,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 11,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ },
+ {
+ "id": 144,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 150,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 152,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 153,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 18
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 146,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 12,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 154,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 18,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 228,
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 143,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 9,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 9,
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 142,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 8,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 149,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 16,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 180,
+ "name": "canPush",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 181,
+ "name": "canPush",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 97,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 217,
+ "name": "isClosed",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 218,
+ "name": "isClosed",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 202,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 219,
+ "name": "isErrored",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 220,
+ "name": "isErrored",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 205,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "isJoined",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 222,
+ "name": "isJoined",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 208,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "isJoining",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 224,
+ "name": "isJoining",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 211,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "isLeaving",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "isLeaving",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 214,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 201,
+ "name": "isMember",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 202,
+ "name": "isMember",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 203,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 158,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "joinRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 205,
+ "name": "joinRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 162,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 177,
+ "name": "off",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 178,
+ "name": "off",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 179,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 93,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 173,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 174,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 175,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 176,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 89,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 167,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 169,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 81,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 170,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 171,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 172,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 85,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 196,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 197,
+ "name": "onMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 198,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 199,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 200,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 154,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 182,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 183,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 184,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "dereferenced": {
+ "id": 15,
+ "name": "CHANNEL_EVENTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 21,
+ "name": "access_token",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 32,
+ "character": 14
+ }
+ ],
+ "defaultValue": "\"access_token\""
+ },
+ {
+ "id": 16,
+ "name": "close",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_close\""
+ },
+ {
+ "id": 17,
+ "name": "error",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_error\""
+ },
+ {
+ "id": 18,
+ "name": "join",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 29,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"phx_join\""
+ },
+ {
+ "id": 20,
+ "name": "leave",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 31,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_leave\""
+ },
+ {
+ "id": 19,
+ "name": "reply",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_reply\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [21, 16, 17, 18, 20, 19]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 26,
+ "character": 26
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 185,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 186,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 101,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 206,
+ "name": "rejoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 207,
+ "name": "rejoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 208,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 166,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "rejoinUntilConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 163,
+ "name": "rejoinUntilConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 64,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 214,
+ "name": "replyEventName",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 215,
+ "name": "replyEventName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 216,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 198,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 164,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 165,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 166,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 71,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 209,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 210,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 211,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 212,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 213,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 175,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 193,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 194,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 195,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 129,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 187,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 188,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 189,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 191,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 192,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 116,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 116,
+ "character": 19
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [148]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [141, 145, 144, 150, 147, 146, 154, 143, 142, 149]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 180, 217, 219, 221, 223, 225, 201, 204, 177, 173, 167, 170, 196,
+ 182, 206, 162, 214, 164, 209, 193, 187
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 6,
+ "character": 41
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 97,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The event, for example `\"phx_join\"`"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 98,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The payload, for example `{user_id: 123}`"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 99,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 100,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 101,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 29,
+ "character": 19
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 102,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The push timeout in milliseconds\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 16,
+ "character": 32
+ }
+ ]
+ },
+ {
+ "id": 88,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "comment": {
+ "shortText": "The Channel"
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 27,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 140,
+ "name": "RealtimeSubscription"
+ }
+ },
+ {
+ "id": 89,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "comment": {
+ "shortText": "The event, for example `\"phx_join\"`"
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 28,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 90,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "comment": {
+ "shortText": "The payload, for example `{user_id: 123}`"
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 29,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 91,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 92,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 93,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 29,
+ "character": 19
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 82,
+ "name": "recHooks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 12,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 83,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 85,
+ "name": "callback",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 84,
+ "name": "status",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 13,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [85, 84]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 12,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 78,
+ "name": "receivedResp",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 8,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 79,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 81,
+ "name": "response",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 80,
+ "name": "status",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 9,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [81, 80]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 8,
+ "character": 15
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 77,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 7,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"\""
+ },
+ {
+ "id": 86,
+ "name": "refEvent",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 16,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 75,
+ "name": "sent",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 5,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 94,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "comment": {
+ "shortText": "The push timeout in milliseconds\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 30,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 76,
+ "name": "timeoutTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 6,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 126,
+ "name": "_cancelRefEvent",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 127,
+ "name": "_cancelRefEvent",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 100,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 128,
+ "name": "_cancelTimeout",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 129,
+ "name": "_cancelTimeout",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 108,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 136,
+ "name": "_hasReceived",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 137,
+ "name": "_hasReceived",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 138,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 125,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 130,
+ "name": "_matchReceive",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 131,
+ "name": "_matchReceive",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 132,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 133,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 135,
+ "name": "response",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 115,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 134,
+ "name": "status",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 114,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [135, 134]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 113,
+ "character": 24
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 113,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 124,
+ "name": "destroy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 125,
+ "name": "destroy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 95,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 114,
+ "name": "receive",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 115,
+ "name": "receive",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 116,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 117,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 61,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 103,
+ "name": "resend",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 104,
+ "name": "resend",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 105,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 33,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 106,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 107,
+ "name": "send",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 43,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 118,
+ "name": "startTimeout",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 119,
+ "name": "startTimeout",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 70,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 120,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 121,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 122,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 123,
+ "name": "response",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 91,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 108,
+ "name": "updatePayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 109,
+ "name": "updatePayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 110,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 111,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 112,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 113,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 57,
+ "character": 24
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 57,
+ "character": 15
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [87]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [88, 89, 90, 82, 78, 77, 86, 75, 94, 76]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [126, 128, 136, 130, 124, 114, 103, 106, 118, 120, 108]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 4,
+ "character": 25
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [74]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 48,
+ "name": "\"lib/serializer\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/serializer.ts",
+ "children": [
+ {
+ "id": 49,
+ "name": "Serializer",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 50,
+ "name": "HEADER_LENGTH",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 5,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "1"
+ },
+ {
+ "id": 55,
+ "name": "_binaryDecode",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 56,
+ "name": "_binaryDecode",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 57,
+ "name": "buffer",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 58,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 61,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 33,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 62,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 34,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 59,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 31,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 60,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 32,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [61, 62, 59, 60]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 19,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 63,
+ "name": "_decodeBroadcast",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 64,
+ "name": "_decodeBroadcast",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 65,
+ "name": "buffer",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ }
+ },
+ {
+ "id": 66,
+ "name": "view",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "DataView"
+ }
+ },
+ {
+ "id": 67,
+ "name": "decoder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "TextDecoder"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 68,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 71,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 33,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 72,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 34,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 69,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 31,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 70,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 32,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [71, 72, 69, 70]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 30,
+ "character": 4
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 26,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 51,
+ "name": "decode",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 52,
+ "name": "decode",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 53,
+ "name": "rawPayload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 54,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 7,
+ "character": 8
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [50]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [55, 63, 51]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 4,
+ "character": 31
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [49]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/serializer.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 34,
+ "name": "\"lib/timer\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/timer.ts",
+ "children": [
+ {
+ "id": 35,
+ "name": "Timer",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a timer that accepts a `timerCalc` function to perform calculated timeout retries, such as exponential backoff.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n let reconnectTimer = new Timer(() => this.connect(), function(tries){\n return [1000, 5000, 10000][tries - 1] || 10000\n })\n reconnectTimer.scheduleTimeout() // fires after 1000\n reconnectTimer.scheduleTimeout() // fires after 5000\n reconnectTimer.reset()\n reconnectTimer.scheduleTimeout() // fires after 1000\n"
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 38,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 41,
+ "name": "new Timer",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 42,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 43,
+ "name": "timerCalc",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "Timer"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 15,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 39,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 17,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 36,
+ "name": "timer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 14,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 40,
+ "name": "timerCalc",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 17,
+ "character": 57
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 37,
+ "name": "tries",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 15,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 44,
+ "name": "reset",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 45,
+ "name": "reset",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 22,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 46,
+ "name": "scheduleTimeout",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 47,
+ "name": "scheduleTimeout",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 28,
+ "character": 17
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [38]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [39, 36, 40, 37]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [44, 46]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 13,
+ "character": 26
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [35]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 371,
+ "name": "\"lib/transformers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/transformers.ts",
+ "children": [
+ {
+ "id": 372,
+ "name": "PostgresTypes",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Helpers to convert the change Payload into native JS types."
+ },
+ "children": [
+ {
+ "id": 373,
+ "name": "abstime",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"abstime\""
+ },
+ {
+ "id": 374,
+ "name": "bool",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 10,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"bool\""
+ },
+ {
+ "id": 375,
+ "name": "date",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"date\""
+ },
+ {
+ "id": 376,
+ "name": "daterange",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 12,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"daterange\""
+ },
+ {
+ "id": 377,
+ "name": "float4",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"float4\""
+ },
+ {
+ "id": 378,
+ "name": "float8",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 14,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"float8\""
+ },
+ {
+ "id": 379,
+ "name": "int2",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 15,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"int2\""
+ },
+ {
+ "id": 380,
+ "name": "int4",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 16,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"int4\""
+ },
+ {
+ "id": 381,
+ "name": "int4range",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 17,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"int4range\""
+ },
+ {
+ "id": 382,
+ "name": "int8",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 18,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"int8\""
+ },
+ {
+ "id": 383,
+ "name": "int8range",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 19,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"int8range\""
+ },
+ {
+ "id": 384,
+ "name": "json",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 20,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"json\""
+ },
+ {
+ "id": 385,
+ "name": "jsonb",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 21,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"jsonb\""
+ },
+ {
+ "id": 386,
+ "name": "money",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 22,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"money\""
+ },
+ {
+ "id": 387,
+ "name": "numeric",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 23,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"numeric\""
+ },
+ {
+ "id": 388,
+ "name": "oid",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 24,
+ "character": 5
+ }
+ ],
+ "defaultValue": "\"oid\""
+ },
+ {
+ "id": 389,
+ "name": "reltime",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 25,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"reltime\""
+ },
+ {
+ "id": 390,
+ "name": "text",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"text\""
+ },
+ {
+ "id": 391,
+ "name": "time",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 27,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"time\""
+ },
+ {
+ "id": 392,
+ "name": "timestamp",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 28,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"timestamp\""
+ },
+ {
+ "id": 393,
+ "name": "timestamptz",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 29,
+ "character": 13
+ }
+ ],
+ "defaultValue": "\"timestamptz\""
+ },
+ {
+ "id": 394,
+ "name": "timetz",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 30,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"timetz\""
+ },
+ {
+ "id": 395,
+ "name": "tsrange",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 31,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"tsrange\""
+ },
+ {
+ "id": 396,
+ "name": "tstzrange",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 32,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"tstzrange\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389,
+ 390, 391, 392, 393, 394, 395, 396
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 8,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 403,
+ "name": "BaseValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 42,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ },
+ {
+ "id": 397,
+ "name": "Columns",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 398,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "flags",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 38,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 399,
+ "name": "name",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 36,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 400,
+ "name": "type",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 37,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 402,
+ "name": "type_modifier",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 39,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [401, 399, 400, 402]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 405,
+ "name": "Record",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 45,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 407,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 408,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 45,
+ "character": 13
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 422,
+ "name": "convertCell",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": 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"
+ }
+ ]
+ },
+ "signatures": [
+ {
+ "id": 423,
+ "name": "convertCell",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 424,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "A postgres column type"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 425,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 118,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 409,
+ "name": "convertChangeData",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": 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"
+ }
+ ]
+ },
+ "signatures": [
+ {
+ "id": 410,
+ "name": "convertChangeData",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 411,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 397,
+ "name": "Columns",
+ "dereferenced": {
+ "id": 397,
+ "name": "Columns",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 398,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "flags",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 38,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 399,
+ "name": "name",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 36,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 400,
+ "name": "type",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 37,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 402,
+ "name": "type_modifier",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 39,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [401, 399, 400, 402]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 412,
+ "name": "record",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "reference",
+ "id": 405,
+ "name": "Record",
+ "dereferenced": {
+ "id": 405,
+ "name": "Record",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 45,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 407,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 408,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 45,
+ "character": 13
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 413,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The map of various options that can be applied to the mapper"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 414,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 415,
+ "name": "skipTypes",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 64,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [415]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 64,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 405,
+ "name": "Record"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 61,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 416,
+ "name": "convertColumn",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": 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"
+ }
+ ]
+ },
+ "signatures": [
+ {
+ "id": 417,
+ "name": "convertColumn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 418,
+ "name": "columnName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The column that you want to convert"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 419,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 397,
+ "name": "Columns",
+ "dereferenced": {
+ "id": 397,
+ "name": "Columns",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 398,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "flags",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 38,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 399,
+ "name": "name",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 36,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 400,
+ "name": "type",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 37,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 402,
+ "name": "type_modifier",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 39,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [401, 399, 400, 402]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 420,
+ "name": "record",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The map of string values"
+ },
+ "type": {
+ "type": "reference",
+ "id": 405,
+ "name": "Record",
+ "dereferenced": {
+ "id": 405,
+ "name": "Record",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 45,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 407,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 408,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 45,
+ "character": 13
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 421,
+ "name": "skipTypes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "An array of types that should not be converted"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 88,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 426,
+ "name": "noop",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 427,
+ "name": "noop",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 428,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 162,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 438,
+ "name": "toArray",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": 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"
+ }
+ ]
+ },
+ "signatures": [
+ {
+ "id": 439,
+ "name": "toArray",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 440,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 441,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 206,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 429,
+ "name": "toBoolean",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 430,
+ "name": "toBoolean",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 431,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 165,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 435,
+ "name": "toJson",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 436,
+ "name": "toJson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 437,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 184,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 432,
+ "name": "toNumber",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 433,
+ "name": "toNumber",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 434,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 175,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 442,
+ "name": "toTimestampString",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": 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"
+ }
+ ]
+ },
+ "signatures": [
+ {
+ "id": 443,
+ "name": "toTimestampString",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": 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": 444,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue",
+ "dereferenced": {
+ "id": 404,
+ "name": "RecordValue",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 403,
+ "name": "BaseValue"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 404,
+ "name": "RecordValue"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 241,
+ "character": 30
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumerations",
+ "kind": 4,
+ "children": [372]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [403, 397, 405, 404]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [422, 409, 416, 426, 438, 429, 435, 432, 442]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/version\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/realtime-js/src/lib/version.ts",
+ "children": [
+ {
+ "id": 2,
+ "name": "version",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/version.ts",
+ "line": 1,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "stringLiteral",
+ "value": "0.0.0-automated"
+ },
+ "defaultValue": "\"0.0.0-automated\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [2]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/version.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [227, 139, 445, 3, 73, 48, 34, 371, 1]
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v1/storage.json b/spec/enrichments/tsdoc_v1/storage.json
index e2730f306ec..0188892fc97 100644
--- a/spec/enrichments/tsdoc_v1/storage.json
+++ b/spec/enrichments/tsdoc_v1/storage.json
@@ -13,7 +13,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/StorageClient.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/StorageClient.ts",
"children": [
{
"id": 313,
@@ -1524,7 +1524,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/index.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/index.ts",
"children": [
{
"id": 381,
@@ -1630,7 +1630,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageBucketApi.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/StorageBucketApi.ts",
"children": [
{
"id": 107,
@@ -3003,7 +3003,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageFileApi.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/StorageFileApi.ts",
"children": [
{
"id": 170,
@@ -6066,7 +6066,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/constants.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/constants.ts",
"children": [
{
"id": 4,
@@ -6143,7 +6143,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/fetch.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/fetch.ts",
"children": [
{
"id": 7,
@@ -7175,7 +7175,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/helpers.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/helpers.ts",
"children": [
{
"id": 69,
@@ -7277,7 +7277,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/index.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/index.ts",
"children": [
{
"id": 305,
@@ -7393,7 +7393,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/types.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/types.ts",
"children": [
{
"id": 74,
@@ -8183,7 +8183,7 @@
"flags": {
"isExported": true
},
- "originalName": "/home/runner/work/storage-js/storage-js/src/lib/version.ts",
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/version.ts",
"children": [
{
"id": 2,
diff --git a/spec/enrichments/tsdoc_v1/storage_dereferenced.json b/spec/enrichments/tsdoc_v1/storage_dereferenced.json
new file mode 100644
index 00000000000..bbdb7cb27ad
--- /dev/null
+++ b/spec/enrichments/tsdoc_v1/storage_dereferenced.json
@@ -0,0 +1,10103 @@
+{
+ "id": 0,
+ "name": "@supabase/storage-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 312,
+ "name": "\"StorageClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/StorageClient.ts",
+ "children": [
+ {
+ "id": 313,
+ "name": "StorageClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 314,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 315,
+ "name": "new StorageClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 316,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 317,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 318,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 319,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 320,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "StorageClient.ts",
+ "line": 5,
+ "character": 35
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 321,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 313,
+ "name": "StorageClient"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 114,
+ "name": "StorageBucketApi.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "StorageClient.ts",
+ "line": 4,
+ "character": 53
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 114,
+ "name": "StorageBucketApi.__constructor"
+ }
+ },
+ {
+ "id": 330,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 9,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 113,
+ "name": "StorageBucketApi.fetch"
+ }
+ },
+ {
+ "id": 326,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 8,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 327,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 328,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 329,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 8,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 109,
+ "name": "StorageBucketApi.headers"
+ }
+ },
+ {
+ "id": 325,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 108,
+ "name": "StorageBucketApi.url"
+ }
+ },
+ {
+ "id": 342,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 343,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new Storage bucket",
+ "returns": "newly created bucket id\n"
+ },
+ "parameters": [
+ {
+ "id": 344,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A unique identifier for the bucket you are creating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 345,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 346,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 347,
+ "name": "public",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 51,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [347]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 51,
+ "character": 12
+ }
+ ]
+ }
+ },
+ "defaultValue": "{ public: false }"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 348,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 349,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 52,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 350,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 52,
+ "character": 41
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [349, 350]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 52,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 133,
+ "name": "StorageBucketApi.createBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 49,
+ "character": 20
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 133,
+ "name": "StorageBucketApi.createBucket"
+ }
+ },
+ {
+ "id": 370,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 371,
+ "name": "deleteBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "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": 372,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The unique identifier of the bucket you would like to delete.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 373,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 374,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 117,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 375,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 376,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 117,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [376]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 117,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 377,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 117,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [374, 377]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 117,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 161,
+ "name": "StorageBucketApi.deleteBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 115,
+ "character": 20
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 161,
+ "name": "StorageBucketApi.deleteBucket"
+ }
+ },
+ {
+ "id": 362,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 363,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes all objects inside a single bucket."
+ },
+ "parameters": [
+ {
+ "id": 364,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The unique identifier of the bucket you would like to empty.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 365,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 366,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 95,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 367,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 368,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 95,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [368]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 95,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 369,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 95,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [366, 369]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 95,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 153,
+ "name": "StorageBucketApi.emptyBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 93,
+ "character": 19
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 153,
+ "name": "StorageBucketApi.emptyBucket"
+ }
+ },
+ {
+ "id": 322,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 323,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform file operation in a bucket."
+ },
+ "parameters": [
+ {
+ "id": 324,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The bucket id to operate on.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 170,
+ "name": "StorageFileApi"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "StorageClient.ts",
+ "line": 14,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 336,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 337,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Retrieves the details of an existing Storage bucket."
+ },
+ "parameters": [
+ {
+ "id": 338,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The unique identifier of the bucket you would like to retrieve.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 339,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 340,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 34,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 74,
+ "name": "Bucket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 341,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 34,
+ "character": 67
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [340, 341]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 34,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 127,
+ "name": "StorageBucketApi.getBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 34,
+ "character": 17
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 127,
+ "name": "StorageBucketApi.getBucket"
+ }
+ },
+ {
+ "id": 331,
+ "name": "listBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 332,
+ "name": "listBuckets",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Retrieves the details of all Storage buckets within an existing project."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 333,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 334,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 20,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 74,
+ "name": "Bucket"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 335,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 20,
+ "character": 61
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [334, 335]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 20,
+ "character": 31
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 122,
+ "name": "StorageBucketApi.listBuckets"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 20,
+ "character": 19
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 122,
+ "name": "StorageBucketApi.listBuckets"
+ }
+ },
+ {
+ "id": 351,
+ "name": "updateBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 352,
+ "name": "updateBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Updates a new Storage bucket"
+ },
+ "parameters": [
+ {
+ "id": 353,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A unique identifier for the bucket you are updating.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 354,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 355,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 356,
+ "name": "public",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 73,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [356]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 73,
+ "character": 12
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 357,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 358,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 74,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 359,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 360,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 74,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [360]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 74,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 361,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 74,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [358, 361]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 74,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 142,
+ "name": "StorageBucketApi.updateBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 71,
+ "character": 20
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 142,
+ "name": "StorageBucketApi.updateBucket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [314]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [330, 326, 325]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [342, 370, 362, 322, 336, 331, 351]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "StorageClient.ts",
+ "line": 4,
+ "character": 26
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 107,
+ "name": "StorageBucketApi"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [313]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "StorageClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 378,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/index.ts",
+ "children": [
+ {
+ "id": 381,
+ "name": "Bucket",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 74
+ },
+ {
+ "id": 382,
+ "name": "FileObject",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 81
+ },
+ {
+ "id": 384,
+ "name": "FileOptions",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 95
+ },
+ {
+ "id": 386,
+ "name": "Metadata",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 104
+ },
+ {
+ "id": 385,
+ "name": "SearchOptions",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 99
+ },
+ {
+ "id": 383,
+ "name": "SortBy",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 92
+ },
+ {
+ "id": 379,
+ "name": "StorageClient",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 313
+ },
+ {
+ "id": 380,
+ "name": "SupabaseStorageClient",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 313
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [381, 382, 384, 386, 385, 383, 379, 380]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 106,
+ "name": "\"lib/StorageBucketApi\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/StorageBucketApi.ts",
+ "children": [
+ {
+ "id": 107,
+ "name": "StorageBucketApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 114,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 115,
+ "name": "new StorageBucketApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 116,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 117,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 118,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 119,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 120,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 11,
+ "character": 35
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 121,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 107,
+ "name": "StorageBucketApi"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 9,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 113,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 9,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 109,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 8,
+ "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/StorageBucketApi.ts",
+ "line": 8,
+ "character": 20
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 108,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 133,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 134,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new Storage bucket",
+ "returns": "newly created bucket id\n"
+ },
+ "parameters": [
+ {
+ "id": 135,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A unique identifier for the bucket you are creating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 136,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 138,
+ "name": "public",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 51,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [138]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 51,
+ "character": 12
+ }
+ ]
+ }
+ },
+ "defaultValue": "{ public: false }"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 139,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 140,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 52,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 141,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 52,
+ "character": 41
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [140, 141]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 52,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 49,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 161,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 162,
+ "name": "deleteBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "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": 163,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The unique identifier of the bucket you would like to delete.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 164,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 165,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 117,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 166,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 167,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 117,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [167]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 117,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 168,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 117,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [165, 168]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 117,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 115,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 153,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 154,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes all objects inside a single bucket."
+ },
+ "parameters": [
+ {
+ "id": 155,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The unique identifier of the bucket you would like to empty.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 156,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 157,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 95,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 158,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 159,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 95,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [159]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 95,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 160,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 95,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [157, 160]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 95,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 93,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 127,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 128,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Retrieves the details of an existing Storage bucket."
+ },
+ "parameters": [
+ {
+ "id": 129,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The unique identifier of the bucket you would like to retrieve.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 130,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 131,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 34,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 74,
+ "name": "Bucket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 132,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 34,
+ "character": 67
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [131, 132]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 34,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 34,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 122,
+ "name": "listBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 123,
+ "name": "listBuckets",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Retrieves the details of all Storage buckets within an existing project."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 124,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 125,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 20,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 74,
+ "name": "Bucket"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 126,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 20,
+ "character": 61
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [125, 126]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 20,
+ "character": 31
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 20,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 142,
+ "name": "updateBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 143,
+ "name": "updateBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Updates a new Storage bucket"
+ },
+ "parameters": [
+ {
+ "id": 144,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A unique identifier for the bucket you are updating.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 145,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 146,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 147,
+ "name": "public",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 73,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [147]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 73,
+ "character": 12
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 149,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 74,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 150,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 151,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 74,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [151]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 74,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 152,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 74,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [149, 152]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 74,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 71,
+ "character": 20
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [114]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [113, 109, 108]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [133, 161, 153, 127, 122, 142]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 6,
+ "character": 29
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 313,
+ "name": "StorageClient"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [107]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageBucketApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 169,
+ "name": "\"lib/StorageFileApi\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/StorageFileApi.ts",
+ "children": [
+ {
+ "id": 170,
+ "name": "StorageFileApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 178,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 179,
+ "name": "new StorageFileApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 180,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 181,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 182,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 183,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 184,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 28,
+ "character": 12
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 185,
+ "name": "bucketId",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 186,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 170,
+ "name": "StorageFileApi"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 24,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 176,
+ "name": "bucketId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 23,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 177,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 24,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 172,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 22,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 173,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 174,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 175,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 22,
+ "character": 20
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 171,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 21,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 286,
+ "name": "_getFinalPath",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 287,
+ "name": "_getFinalPath",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 288,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 387,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 289,
+ "name": "_removeEmptyFolders",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 290,
+ "name": "_removeEmptyFolders",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 291,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 391,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 227,
+ "name": "copy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 228,
+ "name": "copy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Copies an existing file."
+ },
+ "parameters": [
+ {
+ "id": 229,
+ "name": "fromPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The original file path, including the current file name. For example `folder/image.png`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 230,
+ "name": "toPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "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": "reflection",
+ "declaration": {
+ "id": 231,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 232,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 195,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 234,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 195,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [234]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 195,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 235,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 195,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [232, 235]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 195,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 192,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 236,
+ "name": "createSignedUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 237,
+ "name": "createSignedUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create signed URL to download file without requiring permissions. This URL can be valid for a set number of seconds."
+ },
+ "parameters": [
+ {
+ "id": 238,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The file path to be downloaded, including the current file name. For example `folder/image.png`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 239,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "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": "reflection",
+ "declaration": {
+ "id": 240,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 241,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 219,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 242,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 243,
+ "name": "signedURL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 219,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [243]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 219,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 244,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 220,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 245,
+ "name": "signedURL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 221,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [241, 244, 245]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 218,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 215,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 246,
+ "name": "createSignedUrls",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 247,
+ "name": "createSignedUrls",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds."
+ },
+ "parameters": [
+ {
+ "id": 248,
+ "name": "paths",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "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": 249,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "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": "reflection",
+ "declaration": {
+ "id": 250,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 251,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 249,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 252,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 253,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 249,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 254,
+ "name": "path",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 249,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 255,
+ "name": "signedURL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 249,
+ "character": 64
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [253, 254, 255]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 249,
+ "character": 9
+ }
+ ]
+ }
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 256,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 250,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [251, 256]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 248,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 245,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 257,
+ "name": "download",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 258,
+ "name": "download",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Downloads a file."
+ },
+ "parameters": [
+ {
+ "id": 259,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 260,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 261,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 276,
+ "character": 46
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 262,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 276,
+ "character": 66
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [261, 262]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 276,
+ "character": 40
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 276,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 263,
+ "name": "getPublicUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 264,
+ "name": "getPublicUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Retrieve URLs for assets in public buckets"
+ },
+ "parameters": [
+ {
+ "id": 265,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 266,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 267,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 298,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 268,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 269,
+ "name": "publicURL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 298,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [269]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 298,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 270,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 299,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 271,
+ "name": "publicURL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 300,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [267, 270, 271]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 297,
+ "character": 4
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 295,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "list",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 279,
+ "name": "list",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Lists all the files within a bucket."
+ },
+ "parameters": [
+ {
+ "id": 280,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The folder path."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 281,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Search options, including `limit`, `offset`, `sortBy`, and `search`."
+ },
+ "type": {
+ "type": "reference",
+ "id": 99,
+ "name": "SearchOptions",
+ "dereferenced": {
+ "id": 99,
+ "name": "SearchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 100,
+ "name": "limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The number of files you want to be returned."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 35,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 101,
+ "name": "offset",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The starting position."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 38,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 103,
+ "name": "search",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The search string to filter files by."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 44,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 102,
+ "name": "sortBy",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The column to sort by. Can be any column inside a FileObject."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "name": "SortBy"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [100, 101, 103, 102]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 33,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 282,
+ "name": "parameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Fetch parameters, currently only supports `signal`, which is an AbortController's signal\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [14]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 283,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 284,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 371,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 81,
+ "name": "FileObject"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 285,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 371,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [284, 285]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 371,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 367,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 218,
+ "name": "move",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 219,
+ "name": "move",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Moves an existing file."
+ },
+ "parameters": [
+ {
+ "id": 220,
+ "name": "fromPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The original file path, including the current file name. For example `folder/image.png`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 221,
+ "name": "toPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "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": "reflection",
+ "declaration": {
+ "id": 222,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 223,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 172,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 224,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 225,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 172,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [225]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 172,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 226,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 172,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [223, 226]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 172,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 169,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 272,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 273,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Deletes files within the same bucket"
+ },
+ "parameters": [
+ {
+ "id": 274,
+ "name": "paths",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "An array of files to be deleted, 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": "reflection",
+ "declaration": {
+ "id": 275,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 276,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 317,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 81,
+ "name": "FileObject"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 277,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 317,
+ "character": 75
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [276, 277]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 317,
+ "character": 41
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 317,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 208,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 209,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Replaces an existing file at the specified path with a new one."
+ },
+ "parameters": [
+ {
+ "id": 210,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 211,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The body of the file to be stored in the bucket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Uint8Array"
+ }
+ ],
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "name": "URLSearchParams"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 212,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=` seconds value.\n`contentType`: string, 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`.\n`upsert`: boolean, whether to perform an upsert.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 95,
+ "name": "FileOptions",
+ "dereferenced": {
+ "id": 95,
+ "name": "FileOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 96,
+ "name": "cacheControl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 28,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 97,
+ "name": "contentType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 29,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 98,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [96, 97, 98]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 27,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 213,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 214,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 159,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 215,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 216,
+ "name": "Key",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 159,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [216]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 159,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 217,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 159,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [214, 217]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 159,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 145,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 198,
+ "name": "upload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 199,
+ "name": "upload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Uploads a file to an existing bucket."
+ },
+ "parameters": [
+ {
+ "id": 200,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 201,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The body of the file to be stored in the bucket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Uint8Array"
+ }
+ ],
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "name": "URLSearchParams"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 202,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=` seconds value.\n`contentType`: string, 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`.\n`upsert`: boolean, whether to perform an upsert.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 95,
+ "name": "FileOptions",
+ "dereferenced": {
+ "id": 95,
+ "name": "FileOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 96,
+ "name": "cacheControl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 28,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 97,
+ "name": "contentType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 29,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 98,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [96, 97, 98]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 27,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 203,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 204,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 131,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 205,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 206,
+ "name": "Key",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 131,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [206]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 131,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 207,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 131,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [204, 207]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 131,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 117,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 187,
+ "name": "uploadOrUpdate",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 188,
+ "name": "uploadOrUpdate",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Uploads a file to an existing bucket or replaces an existing file at the specified path with a new one."
+ },
+ "parameters": [
+ {
+ "id": 189,
+ "name": "method",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "HTTP method."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PUT"
+ }
+ ]
+ }
+ },
+ {
+ "id": 190,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 191,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The body of the file to be stored in the bucket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Uint8Array"
+ }
+ ],
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "name": "URLSearchParams"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 192,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=` seconds value.\n`contentType`: string, 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`.\n`upsert`: boolean, whether to perform an upsert.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 95,
+ "name": "FileOptions",
+ "dereferenced": {
+ "id": 95,
+ "name": "FileOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 96,
+ "name": "cacheControl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 28,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 97,
+ "name": "contentType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 29,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 98,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [96, 97, 98]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 27,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 193,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 194,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 64,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 195,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 196,
+ "name": "Key",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 64,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [196]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 64,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 197,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 64,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [194, 197]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 64,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 49,
+ "character": 30
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [178]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [176, 177, 172, 171]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [286, 289, 227, 236, 246, 257, 263, 278, 218, 272, 208, 198, 187]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 20,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 298,
+ "name": "DEFAULT_FILE_OPTIONS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 299,
+ "name": "cacheControl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 15,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"3600\""
+ },
+ {
+ "id": 300,
+ "name": "contentType",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 16,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"text/plain;charset=UTF-8\""
+ },
+ {
+ "id": 301,
+ "name": "upsert",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 17,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [299, 300, 301]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 14,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 292,
+ "name": "DEFAULT_SEARCH_OPTIONS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 293,
+ "name": "limit",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 6,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 294,
+ "name": "offset",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 7,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 295,
+ "name": "sortBy",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "column",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 9,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"name\""
+ },
+ {
+ "id": 297,
+ "name": "order",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"asc\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [296, 297]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 8,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [293, 294]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [295]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 5,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [170]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [298, 292]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 3,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 4,
+ "name": "DEFAULT_HEADERS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 5,
+ "name": "X-Client-Info",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 48
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "`storage-js/${version}`"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [5]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [4]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 6,
+ "name": "\"lib/fetch\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/fetch.ts",
+ "children": [
+ {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 12]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [14]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ },
+ {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ },
+ {
+ "id": 16,
+ "name": "RequestMethodType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 14,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PUT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 17,
+ "name": "_getErrorMessage",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 18,
+ "name": "_getErrorMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 19,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 16,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 24,
+ "name": "_getRequestParams",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 25,
+ "name": "_getRequestParams",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 26,
+ "name": "method",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 16,
+ "name": "RequestMethodType",
+ "dereferenced": {
+ "id": 16,
+ "name": "RequestMethodType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 14,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PUT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 27,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 12]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 28,
+ "name": "parameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [14]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 29,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 30,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 31,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 32,
+ "name": "k",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 31,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 33,
+ "name": "_handleRequest",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 34,
+ "name": "_handleRequest",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 35,
+ "name": "fetcher",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 36,
+ "name": "method",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 16,
+ "name": "RequestMethodType",
+ "dereferenced": {
+ "id": 16,
+ "name": "RequestMethodType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 14,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PUT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 37,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 38,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 12]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 39,
+ "name": "parameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [14]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 40,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 48,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 41,
+ "name": "get",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 42,
+ "name": "get",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "fetcher",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 44,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 45,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 12]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 46,
+ "name": "parameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [14]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 68,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 20,
+ "name": "handleError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 21,
+ "name": "handleError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 22,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 23,
+ "name": "reject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 19,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 47,
+ "name": "post",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 48,
+ "name": "post",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 49,
+ "name": "fetcher",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 50,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 51,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 52,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 12]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 53,
+ "name": "parameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [14]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 77,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 54,
+ "name": "put",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 55,
+ "name": "put",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 56,
+ "name": "fetcher",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 57,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 58,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 59,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 12]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 60,
+ "name": "parameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [14]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 87,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 61,
+ "name": "remove",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 62,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 63,
+ "name": "fetcher",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 15,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 64,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 65,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 66,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "name": "FetchOptions",
+ "dereferenced": {
+ "id": 7,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 12]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 67,
+ "name": "parameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 13,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [14]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 32
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 97,
+ "character": 28
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [7, 13]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [15, 16]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [17, 24, 33, 41, 20, 47, 54, 61]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 68,
+ "name": "\"lib/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/helpers.ts",
+ "children": [
+ {
+ "id": 69,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 1,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ },
+ {
+ "id": 70,
+ "name": "resolveFetch",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 71,
+ "name": "resolveFetch",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 72,
+ "name": "customFetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 69,
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 69,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 1,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "fetch"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 69,
+ "name": "Fetch"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 3,
+ "character": 25
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [69]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [70]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 302,
+ "name": "\"lib/index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/index.ts",
+ "children": [
+ {
+ "id": 305,
+ "name": "Bucket",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 74
+ },
+ {
+ "id": 311,
+ "name": "DEFAULT_HEADERS",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 4
+ },
+ {
+ "id": 306,
+ "name": "FileObject",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 81
+ },
+ {
+ "id": 308,
+ "name": "FileOptions",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 95
+ },
+ {
+ "id": 310,
+ "name": "Metadata",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 104
+ },
+ {
+ "id": 309,
+ "name": "SearchOptions",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 99
+ },
+ {
+ "id": 307,
+ "name": "SortBy",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 92
+ },
+ {
+ "id": 303,
+ "name": "StorageBucketApi",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 107
+ },
+ {
+ "id": 304,
+ "name": "StorageFileApi",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 170
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [305, 311, 306, 308, 310, 309, 307, 303, 304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 73,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 74,
+ "name": "Bucket",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 78,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 5,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 75,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 2,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 76,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 3,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 77,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 4,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 80,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 7,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 79,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 6,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [78, 75, 76, 77, 80, 79]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 81,
+ "name": "FileObject",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 83,
+ "name": "bucket_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 12,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 91,
+ "name": "buckets",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 19,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 87,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 85,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 14,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 88,
+ "name": "last_accessed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 17,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 89,
+ "name": "metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 18,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 90,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 18,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 82,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 84,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 13,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 86,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [83, 91, 87, 85, 88, 89, 82, 84, 86]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 10,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 95,
+ "name": "FileOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 96,
+ "name": "cacheControl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 28,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 97,
+ "name": "contentType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 29,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 98,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [96, 97, 98]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 27,
+ "character": 28
+ }
+ ]
+ },
+ {
+ "id": 104,
+ "name": "Metadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 105,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [105]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 48,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 99,
+ "name": "SearchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 100,
+ "name": "limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The number of files you want to be returned."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 35,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 101,
+ "name": "offset",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The starting position."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 38,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 103,
+ "name": "search",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The search string to filter files by."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 44,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 102,
+ "name": "sortBy",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The column to sort by. Can be any column inside a FileObject."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "name": "SortBy"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [100, 101, 103, 102]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 33,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 92,
+ "name": "SortBy",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 93,
+ "name": "column",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 94,
+ "name": "order",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 24,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [93, 94]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 23
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [74, 81, 95, 104, 99, 92]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/version\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Supabase/storage-js/src/lib/version.ts",
+ "children": [
+ {
+ "id": 2,
+ "name": "version",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/version.ts",
+ "line": 2,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "stringLiteral",
+ "value": "0.0.0"
+ },
+ "defaultValue": "\"0.0.0\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [2]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/version.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [312, 378, 106, 169, 3, 6, 68, 302, 73, 1]
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v1/supabase_dereferenced.json b/spec/enrichments/tsdoc_v1/supabase_dereferenced.json
new file mode 100644
index 00000000000..124730fb238
--- /dev/null
+++ b/spec/enrichments/tsdoc_v1/supabase_dereferenced.json
@@ -0,0 +1,4782 @@
+{
+ "id": 0,
+ "name": "@supabase/supabase-js",
+ "kind": 1,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 105,
+ "name": "index",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 202,
+ "name": "SupabaseClientOptions",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "target": 79
+ },
+ {
+ "id": 203,
+ "name": "SupabaseRealtimePayload",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "target": 92
+ },
+ {
+ "id": 111,
+ "name": "SupabaseClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "Supabase Client.",
+ "text": "An isomorphic Javascript client for interacting with Postgres.\n"
+ },
+ "children": [
+ {
+ "id": 112,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 113,
+ "name": "new SupabaseClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 114,
+ "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": 115,
+ "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": 116,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "dereferenced": {
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 83,
+ "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": 24,
+ "character": 2
+ }
+ ],
+ "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": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "cookieOptions"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 86,
+ "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": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 89,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 78,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 82,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject"
+ }
+ },
+ {
+ "id": 87,
+ "name": "localStorage",
+ "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": 40,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "localStorage"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Allows to enable/disable multi-tab/window events"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 85,
+ "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": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 88,
+ "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": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ },
+ {
+ "id": 81,
+ "name": "schema",
+ "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": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 90,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Throw errors, instead of returning them."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [83, 91, 86, 89, 82, 87, 84, 85, 88, 81, 90]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 111,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 117,
+ "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": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupabaseAuthClient"
+ }
+ },
+ {
+ "id": 121,
+ "name": "authUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 35,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 131,
+ "name": "changedAccessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 41,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 126,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 40,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 127,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 128,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 129,
+ "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": 130,
+ "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": 123,
+ "name": "functionsUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 37,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 133,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 44,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 134,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 135,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 136,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 39,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 124,
+ "name": "realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 38,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 120,
+ "name": "realtimeUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 34,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 119,
+ "name": "restUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 33,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 118,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 32,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 132,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 42,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 122,
+ "name": "storageUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 36,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 138,
+ "name": "supabaseKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 137,
+ "name": "supabaseUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 139,
+ "name": "functions",
+ "kind": 262144,
+ "kindString": "Accessor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 106,
+ "character": 6
+ }
+ ],
+ "getSignature": [
+ {
+ "id": 140,
+ "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": 141,
+ "name": "storage",
+ "kind": 262144,
+ "kindString": "Accessor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 116,
+ "character": 6
+ }
+ ],
+ "getSignature": [
+ {
+ "id": 142,
+ "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": 171,
+ "name": "_closeSubscription",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 194,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 172,
+ "name": "_closeSubscription",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 173,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeSubscription",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 174,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 175,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 196,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [175]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 191,
+ "name": "_getAuthHeaders",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 271,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 192,
+ "name": "_getAuthHeaders",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject"
+ }
+ }
+ ]
+ },
+ {
+ "id": 197,
+ "name": "_handleTokenChanged",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 313,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 198,
+ "name": "_handleTokenChanged",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 199,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AuthChangeEvent",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 200,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 201,
+ "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": 189,
+ "name": "_initPostgRESTClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 262,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 190,
+ "name": "_initPostgRESTClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PostgrestClient",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 186,
+ "name": "_initRealtimeClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 255,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 187,
+ "name": "_initRealtimeClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 188,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "Options"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 183,
+ "name": "_initSupabaseAuthClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 228,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 184,
+ "name": "_initSupabaseAuthClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "dereferenced": {
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 83,
+ "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": 24,
+ "character": 2
+ }
+ ],
+ "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": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "cookieOptions"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 86,
+ "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": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 89,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 78,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 82,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject"
+ }
+ },
+ {
+ "id": 87,
+ "name": "localStorage",
+ "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": 40,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "localStorage"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Allows to enable/disable multi-tab/window events"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 85,
+ "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": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 88,
+ "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": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ },
+ {
+ "id": 81,
+ "name": "schema",
+ "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": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 90,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Throw errors, instead of returning them."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [83, 91, 86, 89, 82, 87, 84, 85, 88, 81, 90]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupabaseAuthClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 195,
+ "name": "_listenForAuthEvents",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 306,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 196,
+ "name": "_listenForAuthEvents",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Subscription",
+ "package": "@supabase/gotrue-js",
+ "name": "Subscription"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 193,
+ "name": "_listenForMultiTabEvents",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 279,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 194,
+ "name": "_listenForMultiTabEvents",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 176,
+ "name": "_unsubscribeSubscription",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 209,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 177,
+ "name": "_unsubscribeSubscription",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 178,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeSubscription",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 180,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 211,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [180]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 143,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 144,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 145,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 146,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The table name to operate on.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 2,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "T"
+ }
+ ],
+ "name": "SupabaseQueryBuilder"
+ }
+ }
+ ]
+ },
+ {
+ "id": 181,
+ "name": "getSubscriptions",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 224,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 182,
+ "name": "getSubscriptions",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns an array of all your subscriptions."
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "RealtimeSubscription",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 156,
+ "name": "removeAllSubscriptions",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 162,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 157,
+ "name": "removeAllSubscriptions",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Closes and removes all subscriptions and returns a list of removed\nsubscriptions and their errors."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 158,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 159,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 163,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 160,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 161,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 163,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeSubscription",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [161]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 162,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 163,
+ "character": 52
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [159, 162]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 163,
+ "name": "removeSubscription",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 182,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 164,
+ "name": "removeSubscription",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Closes and removes a subscription and returns the number of open subscriptions."
+ },
+ "parameters": [
+ {
+ "id": 165,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The subscription you want to close and remove.\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeSubscription",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "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/SupabaseClient.ts",
+ "line": 184,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 169,
+ "name": "openSubscriptions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 184,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [169]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 170,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 184,
+ "character": 52
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [167, 170]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 147,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 146,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 148,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "typeParameter": [
+ {
+ "id": 149,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 150,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The function name to call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 151,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The parameters to pass to the function call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 152,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 153,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 152,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 154,
+ "name": "head",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 152,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155, 154]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 149,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "PostgrestFilterBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [112]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 117, 121, 131, 126, 123, 133, 125, 124, 120, 119, 118, 132, 122, 138, 137
+ ]
+ },
+ {
+ "title": "Accessors",
+ "kind": 262144,
+ "children": [139, 141]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [171, 191, 197, 189, 186, 183, 195, 193, 176, 143, 181, 156, 163, 147]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 26,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 106,
+ "name": "createClient",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 16,
+ "character": 6
+ }
+ ],
+ "signatures": [
+ {
+ "id": 107,
+ "name": "createClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new Supabase Client."
+ },
+ "parameters": [
+ {
+ "id": 108,
+ "name": "supabaseUrl",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 109,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 110,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "dereferenced": {
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 83,
+ "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": 24,
+ "character": 2
+ }
+ ],
+ "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": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "cookieOptions"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 86,
+ "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": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 89,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 78,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 82,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject"
+ }
+ },
+ {
+ "id": 87,
+ "name": "localStorage",
+ "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": 40,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "localStorage"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Allows to enable/disable multi-tab/window events"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 85,
+ "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": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 88,
+ "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": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ },
+ {
+ "id": 81,
+ "name": "schema",
+ "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": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 90,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Throw errors, instead of returning them."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [83, 91, 86, 89, 82, 87, 84, 85, 88, 81, 90]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 111,
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [202, 203]
+ },
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [111]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [106]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "lib/SupabaseQueryBuilder",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 2,
+ "name": "SupabaseQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 3,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 13,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 4,
+ "name": "new SupabaseQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 5,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 6,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 7,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 8,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 13,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 27,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 14,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 15,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 16,
+ "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": 17,
+ "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": 9,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 23,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject"
+ }
+ },
+ {
+ "id": 11,
+ "name": "realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 10,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 24,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 18,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 28,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 12,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [13, 9, 11, 10, 18, 12]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 2,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "T"
+ }
+ ],
+ "name": "SupabaseQueryBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "PostgrestQueryBuilder.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "PostgrestQueryBuilder.constructor"
+ }
+ },
+ {
+ "id": 21,
+ "name": "_headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 9,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject"
+ }
+ },
+ {
+ "id": 20,
+ "name": "_realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 8,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 22,
+ "name": "_schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 10,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 19,
+ "name": "_subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 7,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "SupabaseRealtimeClient"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 23,
+ "name": "_table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 11,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 24,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 25,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Subscribe to realtime changes in your database."
+ },
+ "parameters": [
+ {
+ "id": 26,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes."
+ },
+ "type": {
+ "type": "reference",
+ "id": 102,
+ "name": "SupabaseEventTypes",
+ "dereferenced": {
+ "id": 102,
+ "name": "SupabaseEventTypes",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 75,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ },
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 27,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A callback that will handle the payload that is sent whenever your database changes.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 28,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 29,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 30,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "T"
+ }
+ ],
+ "name": "SupabaseRealtimePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 33,
+ "name": "SupabaseRealtimeClient"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [3]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [21, 20, 22, 19, 23]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [24]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 6,
+ "character": 13
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 31,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [2]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 32,
+ "name": "lib/SupabaseRealtimeClient",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 33,
+ "name": "SupabaseRealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 34,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 7,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 35,
+ "name": "new SupabaseRealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 36,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 37,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject",
+ "dereferenced": {
+ "id": 74,
+ "name": "GenericObject",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 75,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 28
+ }
+ ],
+ "indexSignature": {
+ "id": 76,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 77,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 38,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 39,
+ "name": "tableName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 33,
+ "name": "SupabaseRealtimeClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeSubscription",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 41,
+ "name": "getPayloadRecords",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 19,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 42,
+ "name": "getPayloadRecords",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 43,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 44,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 45,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 21,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 46,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 47,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 22,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 48,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [45, 47]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 49,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 50,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "The event you want to listen to."
+ },
+ "parameters": [
+ {
+ "id": 51,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The event"
+ },
+ "type": {
+ "type": "reference",
+ "id": 102,
+ "name": "SupabaseEventTypes",
+ "dereferenced": {
+ "id": 102,
+ "name": "SupabaseEventTypes",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 75,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ },
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 52,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A callback function that is called whenever the event occurs.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 53,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 54,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 55,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "SupabaseRealtimePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 33,
+ "name": "SupabaseRealtimeClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 56,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 57,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Enables the subscription."
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeSubscription",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [34]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [40]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [41, 49, 56]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 4,
+ "character": 13
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [33]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 59,
+ "name": "lib/constants",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 60,
+ "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": 61,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 62,
+ "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": [62]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 63,
+ "name": "STORAGE_KEY",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 4,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "supabase.auth.token"
+ },
+ "defaultValue": "'supabase.auth.token'"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [60, 63]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 2,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 64,
+ "name": "lib/helpers",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 70,
+ "name": "isBrowser",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 15,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 71,
+ "name": "isBrowser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 67,
+ "name": "stripTrailingSlash",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 11,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 68,
+ "name": "stripTrailingSlash",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 69,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 65,
+ "name": "uuid",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 3,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 66,
+ "name": "uuid",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [70, 67, 65]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 3,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 72,
+ "name": "lib/types",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 73,
+ "name": "SupabaseAuthClientOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "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": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 14,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ },
+ {
+ "id": 74,
+ "name": "GenericObject",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 75,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 28
+ }
+ ],
+ "indexSignature": {
+ "id": 76,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 77,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 79,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 83,
+ "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": 24,
+ "character": 2
+ }
+ ],
+ "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": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "cookieOptions"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 86,
+ "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": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 89,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 78,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 82,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "GenericObject"
+ }
+ },
+ {
+ "id": 87,
+ "name": "localStorage",
+ "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": 40,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "localStorage"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 73,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "multiTab",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Allows to enable/disable multi-tab/window events"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 85,
+ "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": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 88,
+ "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": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Options",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ },
+ {
+ "id": 81,
+ "name": "schema",
+ "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": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 90,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Throw errors, instead of returning them."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [83, 91, 86, 89, 82, 87, 84, 85, 88, 81, 90]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 102,
+ "name": "SupabaseEventTypes",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 75,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ },
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ]
+ }
+ },
+ {
+ "id": 92,
+ "name": "SupabaseRealtimePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 63,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 101,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 93,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 94,
+ "name": "commit_timestamp",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 100,
+ "name": "errors",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 95,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 98,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The new record. Present for 'INSERT' and 'UPDATE' events."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 69,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 101,
+ "name": "T"
+ }
+ },
+ {
+ "id": 99,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The previous record. Present for 'UPDATE' and 'DELETE' events."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 101,
+ "name": "T"
+ }
+ },
+ {
+ "id": 96,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 97,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [94, 100, 95, 98, 99, 96, 97]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 63,
+ "character": 41
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [73]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [78, 74, 79, 102, 92]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 103,
+ "name": "lib/version",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 104,
+ "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": [104]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/version.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 2,
+ "children": [105, 1, 32, 59, 64, 72, 103]
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json
index 16cdf1b5fda..13e245020ec 100644
--- a/spec/enrichments/tsdoc_v2/combined.json
+++ b/spec/enrichments/tsdoc_v2/combined.json
@@ -16,15 +16,7 @@
"flags": {},
"children": [
{
- "id": 747,
- "name": "Session",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "target": 141
- },
- {
- "id": 255,
+ "id": 194,
"name": "SupabaseClientOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -32,33902 +24,14 @@
"sources": [
{
"fileName": "src/index.ts",
- "line": 14,
+ "line": 20,
"character": 14
}
],
- "target": 79
+ "target": 61
},
{
- "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",
- "dereferenced": {
- "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"
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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": 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 password 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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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"
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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"
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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": 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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- ]
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- ]
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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": 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",
- "dereferenced": {
- "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"
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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": 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",
- "dereferenced": {
- "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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "id": 1167,
- "name": "RealtimeChannel",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExternal": true
- },
- "children": "[Circular ~.children.0.children.14.children]",
- "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
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "id": 1167,
- "name": "RealtimeChannel",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExternal": true
- },
- "children": "[Circular ~.children.0.children.14.children]",
- "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
- }
- ]
- }
- }
- }
- ],
- "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
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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",
- "dereferenced": {
- "id": 1048,
- "name": "RealtimeClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExternal": true
- },
- "children": "[Circular ~.children.0.children.15.children]",
- "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
- }
- ]
- }
- }
- }
- ],
- "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
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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",
- "dereferenced": {
- "id": 1048,
- "name": "RealtimeClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExternal": true
- },
- "children": "[Circular ~.children.0.children.15.children]",
- "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
- }
- ]
- }
- }
- }
- ],
- "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
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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",
- "dereferenced": {
- "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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": "[Circular ~.children.0.children.16.children.0.signatures.0.parameters.0.type.dereferenced]"
- }
- }
- ],
- "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",
- "dereferenced": "[Circular ~.children.0.children.16.children.0.signatures.0.parameters.0.type.dereferenced]"
- }
- }
- ],
- "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
- }
- ]
- }
- }
- }
- ],
- "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": 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,
+ "id": 104,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
@@ -33938,7 +42,7 @@
},
"children": [
{
- "id": 162,
+ "id": 105,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -33946,13 +50,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 77,
+ "line": 82,
"character": 2
}
],
"signatures": [
{
- "id": 163,
+ "id": 106,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -33962,7 +66,7 @@
},
"typeParameter": [
{
- "id": 164,
+ "id": 107,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -33973,7 +77,7 @@
}
},
{
- "id": 165,
+ "id": 108,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -33993,7 +97,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
@@ -34013,7 +117,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
}
@@ -34022,14 +126,14 @@
}
},
{
- "id": 166,
+ "id": 109,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"default": {
@@ -34038,18 +142,18 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"trueType": {
@@ -34072,7 +176,7 @@
],
"parameters": [
{
- "id": 167,
+ "id": 110,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -34086,7 +190,7 @@
}
},
{
- "id": 168,
+ "id": 111,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -34100,7 +204,7 @@
}
},
{
- "id": 169,
+ "id": 112,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -34109,17 +213,17 @@
},
"type": {
"type": "reference",
- "id": 79,
+ "id": 61,
"typeArguments": [
{
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
}
],
"name": "SupabaseClientOptions",
"dereferenced": {
- "id": 79,
+ "id": 61,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -34133,7 +237,7 @@
],
"typeParameter": [
{
- "id": 97,
+ "id": 78,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -34143,14 +247,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 80,
+ "id": 62,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 84,
+ "id": 66,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -34167,14 +271,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 85,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 86,
+ "id": 68,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -34197,38 +301,7 @@
}
},
{
- "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,
+ "id": 71,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -34251,7 +324,7 @@
}
},
{
- "id": 88,
+ "id": 70,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -34274,7 +347,7 @@
}
},
{
- "id": 90,
+ "id": 72,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -34299,13 +372,13 @@
},
"objectType": {
"type": "reference",
- "id": 60,
+ "id": 59,
"name": "SupabaseAuthClientOptions"
}
}
},
{
- "id": 87,
+ "id": 69,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -34332,7 +405,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86, 91, 89, 88, 90, 87]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -34346,7 +419,7 @@
}
},
{
- "id": 81,
+ "id": 63,
"name": "db",
"kind": 1024,
"kindString": "Property",
@@ -34366,14 +439,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 82,
+ "id": 64,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 83,
+ "id": 65,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -34389,7 +462,7 @@
],
"type": {
"type": "reference",
- "id": 97,
+ "id": 78,
"name": "SchemaName"
}
}
@@ -34398,7 +471,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [83]
+ "children": [65]
}
],
"sources": [
@@ -34412,7 +485,7 @@
}
},
{
- "id": 93,
+ "id": 74,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -34422,21 +495,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 94,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 95,
+ "id": 76,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -34449,18 +522,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 48,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 78,
+ "id": 60,
"name": "Fetch"
}
},
{
- "id": 96,
+ "id": 77,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -34473,7 +546,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 52,
"character": 4
}
],
@@ -34499,13 +572,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [95, 96]
+ "children": [76, 77]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 11
}
]
@@ -34513,7 +586,7 @@
}
},
{
- "id": 92,
+ "id": 73,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -34526,14 +599,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 43,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 1150,
- "qualifiedName": "Options",
+ "qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
@@ -34543,7 +615,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 81, 93, 92]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -34561,21 +633,21 @@
],
"type": {
"type": "reference",
- "id": 161,
+ "id": 104,
"typeArguments": [
{
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
},
{
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
{
"type": "reference",
- "id": 166,
+ "id": 109,
"name": "Schema"
}
],
@@ -34585,7 +657,7 @@
]
},
{
- "id": 170,
+ "id": 113,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -34596,7 +668,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 49,
+ "line": 54,
"character": 2
}
],
@@ -34606,7 +678,7 @@
}
},
{
- "id": 172,
+ "id": 115,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
@@ -34616,7 +688,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 52,
+ "line": 57,
"character": 12
}
],
@@ -34626,7 +698,7 @@
}
},
{
- "id": 183,
+ "id": 126,
"name": "changedAccessToken",
"kind": 1024,
"kindString": "Property",
@@ -34636,7 +708,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 59,
+ "line": 64,
"character": 12
}
],
@@ -34655,7 +727,7 @@
}
},
{
- "id": 178,
+ "id": 121,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -34666,28 +738,28 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 58,
+ "line": 63,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 179,
+ "id": 122,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 180,
+ "id": 123,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 181,
+ "id": 124,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -34700,7 +772,7 @@
}
},
{
- "id": 182,
+ "id": 125,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -34735,7 +807,7 @@
}
},
{
- "id": 174,
+ "id": 117,
"name": "functionsUrl",
"kind": 1024,
"kindString": "Property",
@@ -34745,7 +817,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 54,
+ "line": 59,
"character": 12
}
],
@@ -34755,7 +827,7 @@
}
},
{
- "id": 184,
+ "id": 127,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -34765,27 +837,27 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 61,
+ "line": 66,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 185,
+ "id": 128,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 186,
+ "id": 129,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 187,
+ "id": 130,
"name": "key",
"kind": 32768,
"flags": {},
@@ -34804,7 +876,7 @@
}
},
{
- "id": 175,
+ "id": 118,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -34814,46 +886,25 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 55,
+ "line": 60,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 1048,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
- "id": 171,
+ "id": 114,
"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",
@@ -34861,17 +912,37 @@
"character": 12
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 119,
+ "name": "rest",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
},
{
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
{
@@ -34880,12 +951,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
@@ -34918,7 +989,7 @@
}
},
{
- "id": 177,
+ "id": 120,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -34928,7 +999,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 57,
+ "line": 62,
"character": 12
}
],
@@ -34938,7 +1009,7 @@
}
},
{
- "id": 173,
+ "id": 116,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
@@ -34948,7 +1019,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 53,
+ "line": 58,
"character": 12
}
],
@@ -34958,7 +1029,7 @@
}
},
{
- "id": 189,
+ "id": 132,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
@@ -34971,7 +1042,7 @@
}
},
{
- "id": 188,
+ "id": 131,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
@@ -34984,7 +1055,7 @@
}
},
{
- "id": 190,
+ "id": 133,
"name": "functions",
"kind": 262144,
"kindString": "Accessor",
@@ -34992,13 +1063,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 132,
+ "line": 137,
"character": 6
}
],
"getSignature": [
{
- "id": 191,
+ "id": 134,
"name": "functions",
"kind": 524288,
"kindString": "Get signature",
@@ -35016,7 +1087,7 @@
]
},
{
- "id": 192,
+ "id": 135,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
@@ -35024,13 +1095,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 142,
+ "line": 147,
"character": 6
}
],
"getSignature": [
{
- "id": 193,
+ "id": 136,
"name": "storage",
"kind": 524288,
"kindString": "Get signature",
@@ -35048,7 +1119,7 @@
]
},
{
- "id": 225,
+ "id": 169,
"name": "_getAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -35058,13 +1129,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 225,
+ "line": 234,
"character": 16
}
],
"signatures": [
{
- "id": 226,
+ "id": 170,
"name": "_getAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -35094,7 +1165,7 @@
]
},
{
- "id": 247,
+ "id": 186,
"name": "_handleTokenChanged",
"kind": 2048,
"kindString": "Method",
@@ -35104,79 +1175,33 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 274,
+ "line": 281,
"character": 10
}
],
"signatures": [
{
- "id": 248,
+ "id": 187,
"name": "_handleTokenChanged",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 249,
+ "id": 188,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 720,
"qualifiedName": "AuthChangeEvent",
"package": "@supabase/gotrue-js",
- "name": "AuthChangeEvent",
- "dereferenced": {
- "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"
- }
- ]
- }
- }
+ "name": "AuthChangeEvent"
}
},
{
- "id": 250,
+ "id": 189,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -35196,7 +1221,7 @@
}
},
{
- "id": 251,
+ "id": 190,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
@@ -35224,7 +1249,7 @@
]
},
{
- "id": 236,
+ "id": 180,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
@@ -35234,365 +1259,34 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 260,
+ "line": 267,
"character": 10
}
],
"signatures": [
{
- "id": 237,
+ "id": 181,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 238,
+ "id": 182,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1150,
- "qualifiedName": "Options",
+ "qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
- "name": "Options",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- }
+ "name": "RealtimeClientOptions"
}
}
],
"type": {
"type": "reference",
- "id": 1048,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
@@ -35601,7 +1295,7 @@
]
},
{
- "id": 227,
+ "id": 171,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
@@ -35611,419 +1305,34 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 231,
+ "line": 240,
"character": 10
}
],
"signatures": [
{
- "id": 228,
+ "id": 172,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 229,
+ "id": 173,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 60,
+ "id": 59,
"name": "SupabaseAuthClientOptions",
"dereferenced": {
- "id": 60,
+ "id": 59,
"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",
@@ -36041,7 +1350,7 @@
}
},
{
- "id": 230,
+ "id": 174,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -36066,7 +1375,7 @@
}
},
{
- "id": 231,
+ "id": 175,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -36076,21 +1385,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 232,
+ "id": 176,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 233,
+ "id": 177,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 234,
+ "id": 178,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -36103,7 +1412,7 @@
}
},
{
- "id": 235,
+ "id": 179,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -36146,7 +1455,7 @@
]
},
{
- "id": 239,
+ "id": 183,
"name": "_listenForAuthEvents",
"kind": 2048,
"kindString": "Method",
@@ -36156,151 +1465,32 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 267,
+ "line": 274,
"character": 10
}
],
"signatures": [
{
- "id": 240,
+ "id": 184,
"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]
- }
- ]
- }
- }
- ]
+ "type": "reflection",
+ "declaration": {
+ "id": 185,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
}
}
]
},
{
- "id": 211,
+ "id": 158,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -36308,13 +1498,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 197,
+ "line": 206,
"character": 2
}
],
"signatures": [
{
- "id": 212,
+ "id": 159,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
@@ -36324,7 +1514,7 @@
},
"parameters": [
{
- "id": 213,
+ "id": 160,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -36338,7 +1528,7 @@
}
},
{
- "id": 214,
+ "id": 161,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -36347,44 +1537,16 @@
"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"
- }
- }
- }
+ "type": "reference",
+ "qualifiedName": "RealtimeChannelOptions",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
}
],
"type": {
"type": "reference",
- "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -36393,7 +1555,7 @@
]
},
{
- "id": 194,
+ "id": 137,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -36401,13 +1563,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 151,
+ "line": 156,
"character": 2
}
],
"signatures": [
{
- "id": 195,
+ "id": 138,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -36417,7 +1579,7 @@
},
"typeParameter": [
{
- "id": 196,
+ "id": 139,
"name": "TableName",
"kind": 131072,
"kindString": "Type parameter",
@@ -36428,31 +1590,28 @@
}
},
{
- "id": 197,
+ "id": 140,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 98,
+ "id": 79,
"name": "GenericTable"
}
}
],
"parameters": [
{
- "id": 198,
- "name": "table",
+ "id": 141,
+ "name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "comment": {
- "shortText": "The table name to operate on.\n"
- },
"type": {
"type": "reference",
- "id": 196,
+ "id": 139,
"name": "TableName",
"dereferenced": {}
}
@@ -36463,7 +1622,12 @@
"typeArguments": [
{
"type": "reference",
- "id": 197,
+ "id": 109,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 140,
"name": "Table"
}
],
@@ -36473,15 +1637,80 @@
}
},
{
- "id": 199,
+ "id": 142,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 143,
+ "name": "ViewName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 144,
+ "name": "View",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "name": "GenericView"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 145,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 143,
+ "name": "ViewName",
+ "dereferenced": {}
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 144,
+ "name": "View"
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 146,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 200,
- "name": "table",
+ "id": 147,
+ "name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
@@ -36494,6 +1723,11 @@
"type": {
"type": "reference",
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ },
{
"type": "intrinsic",
"name": "any"
@@ -36507,7 +1741,7 @@
]
},
{
- "id": 218,
+ "id": 162,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -36515,13 +1749,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 204,
+ "line": 213,
"character": 2
}
],
"signatures": [
{
- "id": 219,
+ "id": 163,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -36533,7 +1767,6 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -36543,7 +1776,7 @@
]
},
{
- "id": 223,
+ "id": 167,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -36551,13 +1784,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 221,
+ "line": 230,
"character": 2
}
],
"signatures": [
{
- "id": 224,
+ "id": 168,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -36597,7 +1830,7 @@
]
},
{
- "id": 220,
+ "id": 164,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -36605,13 +1838,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 214,
+ "line": 223,
"character": 2
}
],
"signatures": [
{
- "id": 221,
+ "id": 165,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
@@ -36621,7 +1854,7 @@
},
"parameters": [
{
- "id": 222,
+ "id": 166,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -36631,4633 +1864,9 @@
},
"type": {
"type": "reference",
- "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
- "name": "default",
- "dereferenced": {
- "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",
- "dereferenced": {
- "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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": "[Circular ~.children.0.children.17.children.25.signatures.0.parameters.0.type.dereferenced]"
- }
- }
- ],
- "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",
- "dereferenced": "[Circular ~.children.0.children.17.children.25.signatures.0.parameters.0.type.dereferenced]"
- }
- }
- ],
- "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
- }
- ]
- }
- }
- }
- ],
- "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
- }
- ]
- }
+ "name": "default"
}
}
],
@@ -41290,7 +1899,7 @@
]
},
{
- "id": 201,
+ "id": 148,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -41298,13 +1907,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 169,
+ "line": 177,
"character": 2
}
],
"signatures": [
{
- "id": 202,
+ "id": 149,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -41314,7 +1923,7 @@
},
"typeParameter": [
{
- "id": 203,
+ "id": 150,
"name": "FunctionName",
"kind": 131072,
"kindString": "Type parameter",
@@ -41325,21 +1934,21 @@
}
},
{
- "id": 204,
+ "id": 151,
"name": "Function_",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 103,
+ "id": 93,
"name": "GenericFunction"
}
}
],
"parameters": [
{
- "id": 205,
+ "id": 152,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -41349,17 +1958,20 @@
},
"type": {
"type": "reference",
- "id": 203,
+ "id": 150,
"name": "FunctionName",
"dereferenced": {}
}
},
{
- "id": 206,
+ "id": 153,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "The parameters to pass to the function call."
+ },
"type": {
"type": "indexedAccess",
"indexType": {
@@ -41368,14 +1980,14 @@
},
"objectType": {
"type": "reference",
- "id": 204,
+ "id": 151,
"name": "Function_"
}
},
"defaultValue": "{}"
},
{
- "id": 207,
+ "id": 154,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -41385,24 +1997,27 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 208,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 210,
+ "id": 157,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Count algorithm to use to count rows in a table.\n\n"
+ },
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 177,
+ "line": 185,
"character": 6
}
],
@@ -41425,17 +2040,20 @@
}
},
{
- "id": 209,
+ "id": 156,
"name": "head",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "When set to true, no data will be returned."
+ },
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 176,
+ "line": 184,
"character": 6
}
],
@@ -41449,7 +2067,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [210, 209]
+ "children": [157, 156]
}
]
}
@@ -41459,6 +2077,11 @@
"type": {
"type": "reference",
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ },
{
"type": "conditional",
"checkType": {
@@ -41469,7 +2092,7 @@
},
"objectType": {
"type": "reference",
- "id": 204,
+ "id": 151,
"name": "Function_"
}
},
@@ -41545,7 +2168,7 @@
},
"objectType": {
"type": "reference",
- "id": 204,
+ "id": 151,
"name": "Function_"
}
}
@@ -41562,34 +2185,34 @@
{
"title": "Constructors",
"kind": 512,
- "children": [162]
+ "children": [105]
},
{
"title": "Properties",
"kind": 1024,
- "children": [170, 172, 183, 178, 174, 184, 175, 171, 176, 177, 173, 189, 188]
+ "children": [113, 115, 126, 121, 117, 127, 118, 114, 119, 120, 116, 132, 131]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [190, 192]
+ "children": [133, 135]
},
{
"title": "Methods",
"kind": 2048,
- "children": [225, 247, 236, 227, 239, 211, 194, 218, 223, 220, 201]
+ "children": [169, 186, 180, 171, 183, 158, 137, 162, 167, 164, 148]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 37,
+ "line": 42,
"character": 21
}
],
"typeParameter": [
{
- "id": 252,
+ "id": 191,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -41600,7 +2223,7 @@
}
},
{
- "id": 253,
+ "id": 192,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -41617,7 +2240,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
}
@@ -41634,7 +2257,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
@@ -41654,7 +2277,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
}
@@ -41663,14 +2286,14 @@
}
},
{
- "id": 254,
+ "id": 193,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"default": {
@@ -41679,30 +2302,30 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
@@ -41714,4627 +2337,6 @@
}
]
},
- {
- "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",
- "dereferenced": {
- "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": 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",
@@ -46344,7 +2346,7 @@
"sources": [
{
"fileName": "src/index.ts",
- "line": 19,
+ "line": 25,
"character": 13
}
],
@@ -46427,7 +2429,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"default": {
@@ -46447,7 +2449,7 @@
},
"extendsType": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"trueType": {
@@ -46501,7 +2503,7 @@
},
"type": {
"type": "reference",
- "id": 79,
+ "id": 61,
"typeArguments": [
{
"type": "reference",
@@ -46511,7 +2513,7 @@
],
"name": "SupabaseClientOptions",
"dereferenced": {
- "id": 79,
+ "id": 61,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -46525,7 +2527,7 @@
],
"typeParameter": [
{
- "id": 97,
+ "id": 78,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -46535,14 +2537,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 80,
+ "id": 62,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 84,
+ "id": 66,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -46559,14 +2561,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 85,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 86,
+ "id": 68,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -46589,38 +2591,7 @@
}
},
{
- "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,
+ "id": 71,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -46643,7 +2614,7 @@
}
},
{
- "id": 88,
+ "id": 70,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -46666,7 +2637,7 @@
}
},
{
- "id": 90,
+ "id": 72,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -46691,13 +2662,13 @@
},
"objectType": {
"type": "reference",
- "id": 60,
+ "id": 59,
"name": "SupabaseAuthClientOptions"
}
}
},
{
- "id": 87,
+ "id": 69,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -46724,7 +2695,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86, 91, 89, 88, 90, 87]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -46738,7 +2709,7 @@
}
},
{
- "id": 81,
+ "id": 63,
"name": "db",
"kind": 1024,
"kindString": "Property",
@@ -46758,14 +2729,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 82,
+ "id": 64,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 83,
+ "id": 65,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -46781,7 +2752,7 @@
],
"type": {
"type": "reference",
- "id": 97,
+ "id": 78,
"name": "SchemaName"
}
}
@@ -46790,7 +2761,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [83]
+ "children": [65]
}
],
"sources": [
@@ -46804,7 +2775,7 @@
}
},
{
- "id": 93,
+ "id": 74,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -46814,21 +2785,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 94,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 95,
+ "id": 76,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -46841,18 +2812,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 48,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 78,
+ "id": 60,
"name": "Fetch"
}
},
{
- "id": 96,
+ "id": 77,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -46865,7 +2836,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 52,
"character": 4
}
],
@@ -46891,13 +2862,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [95, 96]
+ "children": [76, 77]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 11
}
]
@@ -46905,7 +2876,7 @@
}
},
{
- "id": 92,
+ "id": 73,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -46918,14 +2889,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 43,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 1150,
- "qualifiedName": "Options",
+ "qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
@@ -46935,7 +2905,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 81, 93, 92]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -46953,7 +2923,7 @@
],
"type": {
"type": "reference",
- "id": 161,
+ "id": 104,
"typeArguments": [
{
"type": "reference",
@@ -46975,94 +2945,23 @@
}
}
]
- },
- {
- "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]
+ "children": [194]
},
{
"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
- ]
+ "children": [104]
},
{
"title": "Functions",
"kind": 64,
- "children": [2, 857]
+ "children": [2]
}
],
"sources": [
@@ -47159,7 +3058,7 @@
"flags": {},
"children": [
{
- "id": 30,
+ "id": 29,
"name": "fetchWithAuth",
"kind": 64,
"kindString": "Function",
@@ -47173,14 +3072,14 @@
],
"signatures": [
{
- "id": 31,
+ "id": 30,
"name": "fetchWithAuth",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 32,
+ "id": 31,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -47191,7 +3090,7 @@
}
},
{
- "id": 33,
+ "id": 32,
"name": "getAccessToken",
"kind": 32768,
"kindString": "Parameter",
@@ -47199,14 +3098,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 34,
+ "id": 33,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 35,
+ "id": 34,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -47238,7 +3137,7 @@
}
},
{
- "id": 36,
+ "id": 35,
"name": "customFetch",
"kind": 32768,
"kindString": "Parameter",
@@ -47248,21 +3147,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 37,
+ "id": 36,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 38,
+ "id": 37,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 39,
+ "id": 38,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -47275,7 +3174,7 @@
}
},
{
- "id": 40,
+ "id": 39,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -47313,21 +3212,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 41,
+ "id": 40,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 42,
+ "id": 41,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 43,
+ "id": 42,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -47340,7 +3239,7 @@
}
},
{
- "id": 44,
+ "id": 43,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -47563,38 +3462,7 @@
"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]
- }
- ]
+ "flags": {}
}
}
}
@@ -47605,7 +3473,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [30, 15, 26]
+ "children": [29, 15, 26]
}
],
"sources": [
@@ -47617,14 +3485,14 @@
]
},
{
- "id": 45,
+ "id": 44,
"name": "lib/helpers",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 51,
+ "id": 50,
"name": "applySettingDefaults",
"kind": 64,
"kindString": "Function",
@@ -47638,14 +3506,14 @@
],
"signatures": [
{
- "id": 52,
+ "id": 51,
"name": "applySettingDefaults",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 53,
+ "id": 52,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -47656,7 +3524,7 @@
}
},
{
- "id": 54,
+ "id": 53,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -47676,7 +3544,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 53,
+ "id": 52,
"name": "Database"
}
},
@@ -47696,7 +3564,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 53,
+ "id": 52,
"name": "Database"
}
}
@@ -47707,24 +3575,24 @@
],
"parameters": [
{
- "id": 55,
+ "id": 54,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 79,
+ "id": 61,
"typeArguments": [
{
"type": "reference",
- "id": 54,
+ "id": 53,
"name": "SchemaName"
}
],
"name": "SupabaseClientOptions",
"dereferenced": {
- "id": 79,
+ "id": 61,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -47738,7 +3606,7 @@
],
"typeParameter": [
{
- "id": 97,
+ "id": 78,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -47748,14 +3616,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 80,
+ "id": 62,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 84,
+ "id": 66,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -47772,14 +3640,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 85,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 86,
+ "id": 68,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -47802,38 +3670,7 @@
}
},
{
- "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,
+ "id": 71,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -47856,7 +3693,7 @@
}
},
{
- "id": 88,
+ "id": 70,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -47879,7 +3716,7 @@
}
},
{
- "id": 90,
+ "id": 72,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -47904,13 +3741,13 @@
},
"objectType": {
"type": "reference",
- "id": 60,
+ "id": 59,
"name": "SupabaseAuthClientOptions"
}
}
},
{
- "id": 87,
+ "id": 69,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -47937,7 +3774,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86, 91, 89, 88, 90, 87]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -47951,7 +3788,7 @@
}
},
{
- "id": 81,
+ "id": 63,
"name": "db",
"kind": 1024,
"kindString": "Property",
@@ -47971,14 +3808,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 82,
+ "id": 64,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 83,
+ "id": 65,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -47994,7 +3831,7 @@
],
"type": {
"type": "reference",
- "id": 97,
+ "id": 78,
"name": "SchemaName"
}
}
@@ -48003,7 +3840,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [83]
+ "children": [65]
}
],
"sources": [
@@ -48017,7 +3854,7 @@
}
},
{
- "id": 93,
+ "id": 74,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -48027,21 +3864,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 94,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 95,
+ "id": 76,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -48054,18 +3891,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 48,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 78,
+ "id": 60,
"name": "Fetch"
}
},
{
- "id": 96,
+ "id": 77,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -48078,7 +3915,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 52,
"character": 4
}
],
@@ -48104,13 +3941,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [95, 96]
+ "children": [76, 77]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 11
}
]
@@ -48118,7 +3955,7 @@
}
},
{
- "id": 92,
+ "id": 73,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -48131,14 +3968,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 43,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 1150,
- "qualifiedName": "Options",
+ "qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
@@ -48148,7 +3984,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 81, 93, 92]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -48164,14 +4000,14 @@
}
},
{
- "id": 56,
+ "id": 55,
"name": "defaults",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 79,
+ "id": 61,
"typeArguments": [
{
"type": "intrinsic",
@@ -48180,7 +4016,7 @@
],
"name": "SupabaseClientOptions",
"dereferenced": {
- "id": 79,
+ "id": 61,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -48194,7 +4030,7 @@
],
"typeParameter": [
{
- "id": 97,
+ "id": 78,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -48204,14 +4040,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 80,
+ "id": 62,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 84,
+ "id": 66,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -48228,14 +4064,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 85,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 86,
+ "id": 68,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -48258,38 +4094,7 @@
}
},
{
- "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,
+ "id": 71,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -48312,7 +4117,7 @@
}
},
{
- "id": 88,
+ "id": 70,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -48335,7 +4140,7 @@
}
},
{
- "id": 90,
+ "id": 72,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -48360,13 +4165,13 @@
},
"objectType": {
"type": "reference",
- "id": 60,
+ "id": 59,
"name": "SupabaseAuthClientOptions"
}
}
},
{
- "id": 87,
+ "id": 69,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -48393,7 +4198,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86, 91, 89, 88, 90, 87]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -48407,7 +4212,7 @@
}
},
{
- "id": 81,
+ "id": 63,
"name": "db",
"kind": 1024,
"kindString": "Property",
@@ -48427,14 +4232,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 82,
+ "id": 64,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 83,
+ "id": 65,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -48450,7 +4255,7 @@
],
"type": {
"type": "reference",
- "id": 97,
+ "id": 78,
"name": "SchemaName"
}
}
@@ -48459,7 +4264,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [83]
+ "children": [65]
}
],
"sources": [
@@ -48473,7 +4278,7 @@
}
},
{
- "id": 93,
+ "id": 74,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -48483,21 +4288,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 94,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 95,
+ "id": 76,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -48510,18 +4315,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 48,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 78,
+ "id": 60,
"name": "Fetch"
}
},
{
- "id": 96,
+ "id": 77,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -48534,7 +4339,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 52,
"character": 4
}
],
@@ -48560,13 +4365,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [95, 96]
+ "children": [76, 77]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 11
}
]
@@ -48574,7 +4379,7 @@
}
},
{
- "id": 92,
+ "id": 73,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -48587,14 +4392,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 43,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 1150,
- "qualifiedName": "Options",
+ "qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
@@ -48604,7 +4408,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 81, 93, 92]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -48622,11 +4426,11 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 61,
"typeArguments": [
{
"type": "reference",
- "id": 54,
+ "id": 53,
"name": "SchemaName"
}
],
@@ -48636,7 +4440,7 @@
]
},
{
- "id": 57,
+ "id": 56,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -48650,7 +4454,7 @@
],
"signatures": [
{
- "id": 58,
+ "id": 57,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -48663,7 +4467,7 @@
]
},
{
- "id": 48,
+ "id": 47,
"name": "stripTrailingSlash",
"kind": 64,
"kindString": "Function",
@@ -48677,14 +4481,14 @@
],
"signatures": [
{
- "id": 49,
+ "id": 48,
"name": "stripTrailingSlash",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 50,
+ "id": 49,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -48703,7 +4507,7 @@
]
},
{
- "id": 46,
+ "id": 45,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -48717,7 +4521,7 @@
],
"signatures": [
{
- "id": 47,
+ "id": 46,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -48734,7 +4538,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [51, 57, 48, 46]
+ "children": [50, 56, 47, 45]
}
],
"sources": [
@@ -48746,403 +4550,18 @@
]
},
{
- "id": 59,
+ "id": 58,
"name": "lib/types",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 60,
+ "id": 59,
"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",
@@ -49158,7 +4577,7 @@
]
},
{
- "id": 78,
+ "id": 60,
"name": "Fetch",
"kind": 4194304,
"kindString": "Type alias",
@@ -49182,7 +4601,7 @@
}
},
{
- "id": 103,
+ "id": 93,
"name": "GenericFunction",
"kind": 4194304,
"kindString": "Type alias",
@@ -49190,21 +4609,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 74,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 104,
+ "id": 94,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 105,
+ "id": 95,
"name": "Args",
"kind": 1024,
"kindString": "Property",
@@ -49212,7 +4631,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 67,
+ "line": 75,
"character": 2
}
],
@@ -49234,7 +4653,7 @@
}
},
{
- "id": 106,
+ "id": 96,
"name": "Returns",
"kind": 1024,
"kindString": "Property",
@@ -49242,7 +4661,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 68,
+ "line": 76,
"character": 2
}
],
@@ -49256,13 +4675,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [105, 106]
+ "children": [95, 96]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 74,
"character": 30
}
]
@@ -49270,37 +4689,37 @@
}
},
{
- "id": 107,
- "name": "GenericSchema",
+ "id": 89,
+ "name": "GenericNonUpdatableView",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 71,
+ "line": 68,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 108,
+ "id": 90,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 110,
- "name": "Functions",
+ "id": 91,
+ "name": "Row",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 69,
"character": 2
}
],
@@ -49311,41 +4730,9 @@
"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"
+ "name": "unknown"
}
],
"qualifiedName": "Record",
@@ -49358,36 +4745,36 @@
{
"title": "Properties",
"kind": 1024,
- "children": [110, 109]
+ "children": [91]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 71,
- "character": 28
+ "line": 68,
+ "character": 38
}
]
}
}
},
{
- "id": 98,
- "name": "GenericTable",
+ "id": 97,
+ "name": "GenericSchema",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 60,
+ "line": 79,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 99,
+ "id": 98,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -49395,14 +4782,14 @@
"children": [
{
"id": 101,
- "name": "Insert",
+ "name": "Functions",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 62,
+ "line": 82,
"character": 2
}
],
@@ -49413,9 +4800,41 @@
"type": "intrinsic",
"name": "string"
},
+ {
+ "type": "reference",
+ "id": 93,
+ "name": "GenericFunction"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 99,
+ "name": "Tables",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
{
"type": "intrinsic",
- "name": "unknown"
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 79,
+ "name": "GenericTable"
}
],
"qualifiedName": "Record",
@@ -49425,14 +4844,85 @@
},
{
"id": 100,
- "name": "Row",
+ "name": "Views",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 61,
+ "line": 81,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 92,
+ "name": "GenericView"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [101, 99, 100]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 79,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 79,
+ "name": "GenericTable",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 82,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 58,
"character": 2
}
],
@@ -49454,11 +4944,141 @@
}
},
{
- "id": 102,
+ "id": 81,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 83,
"name": "Update",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [82, 81, 83]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 27
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "GenericUpdatableView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 85,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 87,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 86,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -49482,27 +5102,86 @@
"package": "typescript",
"name": "Record"
}
+ },
+ {
+ "id": 88,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [101, 100, 102]
+ "children": [87, 86, 88]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 60,
- "character": 27
+ "line": 62,
+ "character": 35
}
]
}
}
},
{
- "id": 79,
+ "id": 92,
+ "name": "GenericView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 84,
+ "name": "GenericUpdatableView"
+ },
+ {
+ "type": "reference",
+ "id": 89,
+ "name": "GenericNonUpdatableView"
+ }
+ ]
+ }
+ },
+ {
+ "id": 61,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -49516,7 +5195,7 @@
],
"typeParameter": [
{
- "id": 97,
+ "id": 78,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -49526,14 +5205,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 80,
+ "id": 62,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 84,
+ "id": 66,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -49550,14 +5229,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 85,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 86,
+ "id": 68,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -49580,38 +5259,7 @@
}
},
{
- "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,
+ "id": 71,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -49634,7 +5282,7 @@
}
},
{
- "id": 88,
+ "id": 70,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -49657,7 +5305,7 @@
}
},
{
- "id": 90,
+ "id": 72,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -49682,13 +5330,13 @@
},
"objectType": {
"type": "reference",
- "id": 60,
+ "id": 59,
"name": "SupabaseAuthClientOptions"
}
}
},
{
- "id": 87,
+ "id": 69,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -49715,7 +5363,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86, 91, 89, 88, 90, 87]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -49729,7 +5377,7 @@
}
},
{
- "id": 81,
+ "id": 63,
"name": "db",
"kind": 1024,
"kindString": "Property",
@@ -49749,14 +5397,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 82,
+ "id": 64,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 83,
+ "id": 65,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -49772,7 +5420,7 @@
],
"type": {
"type": "reference",
- "id": 97,
+ "id": 78,
"name": "SchemaName"
}
}
@@ -49781,7 +5429,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [83]
+ "children": [65]
}
],
"sources": [
@@ -49795,7 +5443,7 @@
}
},
{
- "id": 93,
+ "id": 74,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -49805,21 +5453,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 94,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 95,
+ "id": 76,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -49832,18 +5480,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 48,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 78,
+ "id": 60,
"name": "Fetch"
}
},
{
- "id": 96,
+ "id": 77,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -49856,7 +5504,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 52,
"character": 4
}
],
@@ -49882,13 +5530,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [95, 96]
+ "children": [76, 77]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 11
}
]
@@ -49896,7 +5544,7 @@
}
},
{
- "id": 92,
+ "id": 73,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -49909,14 +5557,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 43,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 1150,
- "qualifiedName": "Options",
+ "qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
@@ -49926,7 +5573,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 81, 93, 92]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -49944,12 +5591,12 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [60]
+ "children": [59]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [78, 103, 107, 98, 79]
+ "children": [60, 93, 89, 97, 79, 84, 92, 61]
}
],
"sources": [
@@ -49961,14 +5608,14 @@
]
},
{
- "id": 111,
+ "id": 102,
"name": "lib/version",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 112,
+ "id": 103,
"name": "version",
"kind": 32,
"kindString": "Variable",
@@ -49993,7 +5640,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [112]
+ "children": [103]
}
],
"sources": [
@@ -50009,7 +5656,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [1, 10, 14, 45, 59, 111]
+ "children": [1, 10, 14, 44, 58, 102]
}
]
},
@@ -50022,14 +5669,14 @@
"originalName": "",
"children": [
{
- "id": 499,
+ "id": 502,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 500,
+ "id": 503,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -50043,14 +5690,14 @@
],
"signatures": [
{
- "id": 501,
+ "id": 504,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 502,
+ "id": 505,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -50061,7 +5708,7 @@
}
},
{
- "id": 503,
+ "id": 506,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -50074,24 +5721,24 @@
],
"type": {
"type": "reference",
- "id": 499,
+ "id": 502,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 496,
+ "id": 499,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 495,
+ "id": 498,
"name": "AuthError.constructor"
}
},
{
- "id": 504,
+ "id": 507,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -50109,7 +5756,7 @@
}
},
{
- "id": 505,
+ "id": 508,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -50123,7 +5770,7 @@
],
"signatures": [
{
- "id": 506,
+ "id": 509,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -50131,14 +5778,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 507,
+ "id": 510,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 509,
+ "id": 512,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -50157,7 +5804,7 @@
"defaultValue": "..."
},
{
- "id": 508,
+ "id": 511,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -50176,7 +5823,7 @@
"defaultValue": "..."
},
{
- "id": 510,
+ "id": 513,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -50199,7 +5846,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [509, 508, 510]
+ "children": [512, 511, 513]
}
]
}
@@ -50212,17 +5859,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [500]
+ "children": [503]
},
{
"title": "Properties",
"kind": 1024,
- "children": [504]
+ "children": [507]
},
{
"title": "Methods",
"kind": 2048,
- "children": [505]
+ "children": [508]
}
],
"sources": [
@@ -50235,20 +5882,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
},
{
- "id": 494,
+ "id": 497,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 495,
+ "id": 498,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -50262,14 +5909,14 @@
],
"signatures": [
{
- "id": 496,
+ "id": 499,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 497,
+ "id": 500,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -50282,7 +5929,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
},
"overwrites": {
@@ -50301,7 +5948,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [495]
+ "children": [498]
}
],
"sources": [
@@ -50322,30 +5969,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 499,
+ "id": 502,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 512,
+ "id": 515,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 559,
+ "id": 562,
"name": "AuthImplicitGrantRedirectError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 560,
+ "id": 563,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -50359,14 +6006,14 @@
],
"signatures": [
{
- "id": 561,
+ "id": 564,
"name": "new AuthImplicitGrantRedirectError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 562,
+ "id": 565,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -50377,7 +6024,7 @@
}
},
{
- "id": 563,
+ "id": 566,
"name": "details",
"kind": 32768,
"kindString": "Parameter",
@@ -50392,14 +6039,14 @@
{
"type": "reflection",
"declaration": {
- "id": 564,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 566,
+ "id": 569,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -50417,7 +6064,7 @@
}
},
{
- "id": 565,
+ "id": 568,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -50439,7 +6086,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [566, 565]
+ "children": [569, 568]
}
]
}
@@ -50451,24 +6098,24 @@
],
"type": {
"type": "reference",
- "id": 559,
+ "id": 562,
"name": "AuthImplicitGrantRedirectError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 567,
+ "id": 570,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -50490,14 +6137,14 @@
{
"type": "reflection",
"declaration": {
- "id": 568,
+ "id": 571,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 570,
+ "id": 573,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -50515,7 +6162,7 @@
}
},
{
- "id": 569,
+ "id": 572,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -50537,7 +6184,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [570, 569]
+ "children": [573, 572]
}
]
}
@@ -50547,7 +6194,7 @@
"defaultValue": "null"
},
{
- "id": 581,
+ "id": 584,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -50565,12 +6212,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 582,
+ "id": 585,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -50588,12 +6235,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 571,
+ "id": 574,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -50607,7 +6254,7 @@
],
"signatures": [
{
- "id": 572,
+ "id": 575,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -50615,14 +6262,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 573,
+ "id": 576,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 577,
+ "id": 580,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -50644,14 +6291,14 @@
{
"type": "reflection",
"declaration": {
- "id": 578,
+ "id": 581,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 580,
+ "id": 583,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -50669,7 +6316,7 @@
}
},
{
- "id": 579,
+ "id": 582,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -50691,7 +6338,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [580, 579]
+ "children": [583, 582]
}
]
}
@@ -50701,7 +6348,7 @@
"defaultValue": "..."
},
{
- "id": 575,
+ "id": 578,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -50720,7 +6367,7 @@
"defaultValue": "..."
},
{
- "id": 574,
+ "id": 577,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -50739,7 +6386,7 @@
"defaultValue": "..."
},
{
- "id": 576,
+ "id": 579,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -50762,21 +6409,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [577, 575, 574, 576]
+ "children": [580, 578, 577, 579]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -50785,17 +6432,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [560]
+ "children": [563]
},
{
"title": "Properties",
"kind": 1024,
- "children": [567, 581, 582]
+ "children": [570, 584, 585]
},
{
"title": "Methods",
"kind": 2048,
- "children": [571]
+ "children": [574]
}
],
"sources": [
@@ -50808,20 +6455,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 546,
+ "id": 549,
"name": "AuthInvalidCredentialsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 547,
+ "id": 550,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -50835,14 +6482,14 @@
],
"signatures": [
{
- "id": 548,
+ "id": 551,
"name": "new AuthInvalidCredentialsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 549,
+ "id": 552,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -50855,24 +6502,24 @@
],
"type": {
"type": "reference",
- "id": 546,
+ "id": 549,
"name": "AuthInvalidCredentialsError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 550,
+ "id": 553,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -50890,12 +6537,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 551,
+ "id": 554,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -50913,12 +6560,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 552,
+ "id": 555,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -50932,7 +6579,7 @@
],
"signatures": [
{
- "id": 553,
+ "id": 556,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -50940,14 +6587,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 554,
+ "id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 556,
+ "id": 559,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -50966,7 +6613,7 @@
"defaultValue": "..."
},
{
- "id": 555,
+ "id": 558,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -50985,7 +6632,7 @@
"defaultValue": "..."
},
{
- "id": 557,
+ "id": 560,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -51008,21 +6655,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [556, 555, 557]
+ "children": [559, 558, 560]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -51031,17 +6678,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [547]
+ "children": [550]
},
{
"title": "Properties",
"kind": 1024,
- "children": [550, 551]
+ "children": [553, 554]
},
{
"title": "Methods",
"kind": 2048,
- "children": [552]
+ "children": [555]
}
],
"sources": [
@@ -51054,20 +6701,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 584,
+ "id": 587,
"name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 585,
+ "id": 588,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -51081,14 +6728,14 @@
],
"signatures": [
{
- "id": 586,
+ "id": 589,
"name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 587,
+ "id": 590,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -51099,7 +6746,7 @@
}
},
{
- "id": 588,
+ "id": 591,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -51112,24 +6759,24 @@
],
"type": {
"type": "reference",
- "id": 584,
+ "id": 587,
"name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 589,
+ "id": 592,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -51147,12 +6794,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 590,
+ "id": 593,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -51170,12 +6817,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 591,
+ "id": 594,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -51189,7 +6836,7 @@
],
"signatures": [
{
- "id": 592,
+ "id": 595,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -51197,14 +6844,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 593,
+ "id": 596,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 595,
+ "id": 598,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -51223,7 +6870,7 @@
"defaultValue": "..."
},
{
- "id": 594,
+ "id": 597,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -51242,7 +6889,7 @@
"defaultValue": "..."
},
{
- "id": 596,
+ "id": 599,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -51265,21 +6912,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [595, 594, 596]
+ "children": [598, 597, 599]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -51288,17 +6935,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [585]
+ "children": [588]
},
{
"title": "Properties",
"kind": 1024,
- "children": [589, 590]
+ "children": [592, 593]
},
{
"title": "Methods",
"kind": 2048,
- "children": [591]
+ "children": [594]
}
],
"sources": [
@@ -51311,20 +6958,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 534,
+ "id": 537,
"name": "AuthSessionMissingError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 535,
+ "id": 538,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -51338,31 +6985,31 @@
],
"signatures": [
{
- "id": 536,
+ "id": 539,
"name": "new AuthSessionMissingError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 534,
+ "id": 537,
"name": "AuthSessionMissingError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 537,
+ "id": 540,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -51380,12 +7027,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 538,
+ "id": 541,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -51403,12 +7050,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 539,
+ "id": 542,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -51422,7 +7069,7 @@
],
"signatures": [
{
- "id": 540,
+ "id": 543,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -51430,14 +7077,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 541,
+ "id": 544,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 543,
+ "id": 546,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -51456,7 +7103,7 @@
"defaultValue": "..."
},
{
- "id": 542,
+ "id": 545,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -51475,7 +7122,7 @@
"defaultValue": "..."
},
{
- "id": 544,
+ "id": 547,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -51498,21 +7145,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [543, 542, 544]
+ "children": [546, 545, 547]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -51521,17 +7168,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [535]
+ "children": [538]
},
{
"title": "Properties",
"kind": 1024,
- "children": [537, 538]
+ "children": [540, 541]
},
{
"title": "Methods",
"kind": 2048,
- "children": [539]
+ "children": [542]
}
],
"sources": [
@@ -51544,20 +7191,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 512,
+ "id": 515,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 513,
+ "id": 516,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -51571,14 +7218,14 @@
],
"signatures": [
{
- "id": 514,
+ "id": 517,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 515,
+ "id": 518,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -51589,7 +7236,7 @@
}
},
{
- "id": 516,
+ "id": 519,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -51602,24 +7249,24 @@
],
"type": {
"type": "reference",
- "id": 512,
+ "id": 515,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 496,
+ "id": 499,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 495,
+ "id": 498,
"name": "AuthError.constructor"
}
},
{
- "id": 517,
+ "id": 520,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -51641,12 +7288,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [513]
+ "children": [516]
},
{
"title": "Properties",
"kind": 1024,
- "children": [517]
+ "children": [520]
}
],
"sources": [
@@ -51659,20 +7306,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
},
{
- "id": 519,
+ "id": 522,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 520,
+ "id": 523,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -51686,14 +7333,14 @@
],
"signatures": [
{
- "id": 521,
+ "id": 524,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 522,
+ "id": 525,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -51704,7 +7351,7 @@
}
},
{
- "id": 523,
+ "id": 526,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -51715,7 +7362,7 @@
}
},
{
- "id": 524,
+ "id": 527,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -51728,24 +7375,24 @@
],
"type": {
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 496,
+ "id": 499,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 495,
+ "id": 498,
"name": "AuthError.constructor"
}
},
{
- "id": 525,
+ "id": 528,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -51767,7 +7414,7 @@
}
},
{
- "id": 526,
+ "id": 529,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -51785,7 +7432,7 @@
}
},
{
- "id": 527,
+ "id": 530,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -51799,7 +7446,7 @@
],
"signatures": [
{
- "id": 528,
+ "id": 531,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -51807,14 +7454,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 531,
+ "id": 534,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -51833,7 +7480,7 @@
"defaultValue": "..."
},
{
- "id": 530,
+ "id": 533,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -51852,7 +7499,7 @@
"defaultValue": "..."
},
{
- "id": 532,
+ "id": 535,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -51875,7 +7522,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [531, 530, 532]
+ "children": [534, 533, 535]
}
]
}
@@ -51888,17 +7535,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [520]
+ "children": [523]
},
{
"title": "Properties",
"kind": 1024,
- "children": [525, 526]
+ "children": [528, 529]
},
{
"title": "Methods",
"kind": 2048,
- "children": [527]
+ "children": [530]
}
],
"sources": [
@@ -51911,29 +7558,29 @@
"extendedTypes": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 534,
+ "id": 537,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 546,
+ "id": 549,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 559,
+ "id": 562,
"name": "AuthImplicitGrantRedirectError"
},
{
"type": "reference",
- "id": 584,
+ "id": 587,
"name": "AuthRetryableFetchError"
}
]
@@ -52214,7 +7861,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 217,
"character": 2
}
],
@@ -52224,7 +7871,31 @@
}
},
{
- "id": 351,
+ "id": 348,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -52238,7 +7909,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -52253,7 +7924,7 @@
}
},
{
- "id": 348,
+ "id": 349,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -52266,7 +7937,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -52295,7 +7966,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 224,
"character": 2
}
],
@@ -52305,7 +7976,7 @@
}
},
{
- "id": 350,
+ "id": 351,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -52318,7 +7989,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -52333,7 +8004,7 @@
}
},
{
- "id": 349,
+ "id": 350,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -52346,7 +8017,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -52375,7 +8046,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 231,
"character": 2
}
],
@@ -52399,7 +8070,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 195,
+ "line": 207,
"character": 2
}
],
@@ -52413,13 +8084,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [345, 351, 348, 346, 350, 349, 347, 344]
+ "children": [345, 348, 352, 349, 346, 351, 350, 347, 344]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 183,
+ "line": 195,
"character": 17
}
],
@@ -52439,7 +8110,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -52494,7 +8165,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -52537,10 +8208,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 458,
+ "id": 461,
"name": "GenerateLinkParams",
"dereferenced": {
- "id": 458,
+ "id": 461,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -52548,7 +8219,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 407,
+ "line": 443,
"character": 12
}
],
@@ -52557,22 +8228,22 @@
"types": [
{
"type": "reference",
- "id": 433,
+ "id": 436,
"name": "GenerateSignupLinkParams"
},
{
"type": "reference",
- "id": 439,
+ "id": 442,
"name": "GenerateInviteOrMagiclinkParams"
},
{
"type": "reference",
- "id": 444,
+ "id": 447,
"name": "GenerateRecoveryLinkParams"
},
{
"type": "reference",
- "id": 449,
+ "id": 452,
"name": "GenerateEmailChangeLinkParams"
}
]
@@ -52586,7 +8257,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 459,
+ "id": 462,
"name": "GenerateLinkResponse"
}
],
@@ -52641,7 +8312,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -52769,7 +8440,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -52858,7 +8529,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -52976,7 +8647,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -53073,7 +8744,7 @@
},
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
@@ -53167,7 +8838,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 217,
"character": 2
}
],
@@ -53177,7 +8848,31 @@
}
},
{
- "id": 351,
+ "id": 348,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -53191,7 +8886,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -53206,7 +8901,7 @@
}
},
{
- "id": 348,
+ "id": 349,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -53219,7 +8914,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -53248,7 +8943,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 224,
"character": 2
}
],
@@ -53258,7 +8953,7 @@
}
},
{
- "id": 350,
+ "id": 351,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -53271,7 +8966,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -53286,7 +8981,7 @@
}
},
{
- "id": 349,
+ "id": 350,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -53299,7 +8994,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -53328,7 +9023,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 231,
"character": 2
}
],
@@ -53352,7 +9047,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 195,
+ "line": 207,
"character": 2
}
],
@@ -53366,13 +9061,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [345, 351, 348, 346, 350, 349, 347, 344]
+ "children": [345, 348, 352, 349, 346, 351, 350, 347, 344]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 183,
+ "line": 195,
"character": 17
}
],
@@ -53392,7 +9087,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -53440,7 +9135,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 104,
+ "line": 105,
"character": 2
}
],
@@ -53463,10 +9158,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 241,
+ "id": 240,
"name": "GoTrueClientOptions",
"dereferenced": {
- "id": 241,
+ "id": 240,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -53481,14 +9176,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 250,
+ "id": 249,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -53508,7 +9203,7 @@
}
},
{
- "id": 249,
+ "id": 248,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -53528,7 +9223,7 @@
}
},
{
- "id": 253,
+ "id": 252,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -53548,7 +9243,7 @@
}
},
{
- "id": 244,
+ "id": 243,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -53565,7 +9260,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 245,
+ "id": 244,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -53578,14 +9273,14 @@
}
],
"indexSignature": {
- "id": 246,
+ "id": 245,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 246,
"name": "key",
"kind": 32768,
"flags": {},
@@ -53604,7 +9299,7 @@
}
},
{
- "id": 251,
+ "id": 250,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -53624,7 +9319,7 @@
}
},
{
- "id": 252,
+ "id": 251,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -53640,12 +9335,12 @@
],
"type": {
"type": "reference",
- "id": 480,
+ "id": 483,
"name": "SupportedStorage"
}
},
{
- "id": 248,
+ "id": 247,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -53665,7 +9360,7 @@
}
},
{
- "id": 243,
+ "id": 242,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -53689,7 +9384,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [250, 249, 253, 244, 251, 252, 248, 243]
+ "children": [249, 248, 252, 243, 250, 251, 247, 242]
}
],
"sources": [
@@ -53725,7 +9420,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 68,
+ "line": 69,
"character": 2
}
],
@@ -53744,7 +9439,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 407,
+ "line": 410,
"character": 8
}
],
@@ -53782,7 +9477,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 409,
+ "line": 412,
"character": 8
}
],
@@ -53804,13 +9499,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 410,
+ "line": 413,
"character": 10
}
],
"type": {
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
}
}
@@ -53834,7 +9529,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 412,
+ "line": 415,
"character": 8
}
],
@@ -53871,7 +9566,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 415,
+ "line": 418,
"character": 8
}
],
@@ -53893,7 +9588,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 416,
+ "line": 419,
"character": 10
}
],
@@ -53922,13 +9617,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 418,
+ "line": 421,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -53960,7 +9655,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 421,
+ "line": 424,
"character": 8
}
],
@@ -53982,7 +9677,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 422,
+ "line": 425,
"character": 10
}
],
@@ -54011,7 +9706,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 424,
+ "line": 427,
"character": 8
}
],
@@ -54049,7 +9744,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 470,
+ "line": 473,
"character": 8
}
],
@@ -54086,7 +9781,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -54106,7 +9801,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 130,
+ "line": 131,
"character": 2
}
],
@@ -54125,7 +9820,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 481,
+ "id": 484,
"name": "InitializeResult"
}
],
@@ -54145,7 +9840,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 665,
+ "line": 701,
"character": 2
}
],
@@ -54193,7 +9888,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent"
}
},
@@ -54212,7 +9907,7 @@
},
{
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
}
]
@@ -54247,7 +9942,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 666,
+ "line": 702,
"character": 4
}
],
@@ -54269,13 +9964,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 666,
+ "line": 702,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 352,
+ "id": 353,
"name": "Subscription"
}
}
@@ -54312,7 +10007,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 688,
+ "line": 724,
"character": 8
}
],
@@ -54370,7 +10065,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 692,
+ "line": 728,
"character": 6
}
],
@@ -54393,7 +10088,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 691,
+ "line": 727,
"character": 6
}
],
@@ -54439,7 +10134,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 696,
+ "line": 732,
"character": 8
}
],
@@ -54463,7 +10158,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 697,
+ "line": 733,
"character": 8
}
],
@@ -54500,7 +10195,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 699,
+ "line": 735,
"character": 8
}
],
@@ -54518,13 +10213,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 699,
+ "line": 735,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -54557,7 +10252,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 534,
+ "line": 539,
"character": 8
}
],
@@ -54569,21 +10264,43 @@
"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."
+ "shortText": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token in the current session is invalid and the current session has expired, an error will be thrown.\nIf the current session does not contain at expires_at field, setSession will use the exp claim defined in the access token."
},
"parameters": [
{
"id": 136,
- "name": "refresh_token",
+ "name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A refresh token returned by supabase auth.\n"
+ "shortText": "The current session that minimally contains an access token, refresh token and a user.\n"
},
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 290,
+ "name": "Session"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "access_token"
+ },
+ {
+ "type": "literal",
+ "value": "refresh_token"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
}
}
],
@@ -54592,7 +10309,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -54612,7 +10329,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 306,
+ "line": 307,
"character": 8
}
],
@@ -54635,10 +10352,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 403,
+ "id": 406,
"name": "SignInWithOAuthCredentials",
"dereferenced": {
- "id": 403,
+ "id": 406,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -54646,21 +10363,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 354,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 404,
+ "id": 407,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 406,
+ "id": 409,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -54670,21 +10387,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 357,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 410,
+ "id": 413,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -54697,14 +10414,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 363,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 411,
+ "id": 414,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -54712,19 +10429,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 363,
"character": 18
}
],
"indexSignature": {
- "id": 412,
+ "id": 415,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 413,
+ "id": 416,
"name": "key",
"kind": 32768,
"flags": {},
@@ -54743,7 +10460,7 @@
}
},
{
- "id": 408,
+ "id": 411,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -54756,7 +10473,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 323,
+ "line": 359,
"character": 4
}
],
@@ -54766,7 +10483,7 @@
}
},
{
- "id": 409,
+ "id": 412,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -54779,7 +10496,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 361,
"character": 4
}
],
@@ -54793,13 +10510,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [410, 408, 409]
+ "children": [413, 411, 412]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 357,
"character": 12
}
]
@@ -54807,7 +10524,7 @@
}
},
{
- "id": 405,
+ "id": 408,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -54818,13 +10535,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 320,
+ "line": 356,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
}
@@ -54833,13 +10550,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [406, 405]
+ "children": [409, 408]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 354,
"character": 41
}
]
@@ -54854,7 +10571,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 267,
+ "id": 266,
"name": "OAuthResponse"
}
],
@@ -54874,7 +10591,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 321,
+ "line": 322,
"character": 8
}
],
@@ -54897,10 +10614,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 389,
+ "id": 390,
"name": "SignInWithPasswordlessCredentials",
"dereferenced": {
- "id": 389,
+ "id": 390,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -54908,7 +10625,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 294,
+ "line": 318,
"character": 12
}
],
@@ -54918,14 +10635,14 @@
{
"type": "reflection",
"declaration": {
- "id": 390,
+ "id": 391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 391,
+ "id": 392,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -54936,7 +10653,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 297,
+ "line": 321,
"character": 6
}
],
@@ -54946,7 +10663,7 @@
}
},
{
- "id": 392,
+ "id": 393,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -54956,21 +10673,434 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 322,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 393,
+ "id": 394,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
+ {
+ "id": 398,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 334,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 397,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 332,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 395,
+ "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": 324,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
{
"id": 396,
+ "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": 326,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [398, 397, 395, 396]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 322,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [392, 393]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 319,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 399,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 340,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 402,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 405,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 350,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 404,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 348,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 403,
+ "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": 342,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [405, 404, 403]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 340,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 400,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 339,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [401, 400]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 337,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 253,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 99,
+ "name": "signInWithPassword",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 257,
+ "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": 377,
+ "name": "SignInWithPasswordCredentials",
+ "dereferenced": {
+ "id": 377,
+ "name": "SignInWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 296,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 379,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 299,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 381,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 302,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 382,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 383,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -54991,83 +11121,58 @@
"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]
+ "children": [383]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 302,
"character": 16
}
]
}
}
+ },
+ {
+ "id": 380,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [391, 392]
+ "children": [379, 381, 380]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 295,
+ "line": 297,
"character": 4
}
]
@@ -55076,14 +11181,14 @@
{
"type": "reflection",
"declaration": {
- "id": 397,
+ "id": 384,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 399,
+ "id": 387,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -55093,21 +11198,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 312,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 400,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 402,
+ "id": 389,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -55128,42 +11233,19 @@
"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]
+ "children": [389]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 312,
"character": 16
}
]
@@ -55171,7 +11253,28 @@
}
},
{
- "id": 398,
+ "id": 386,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 311,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 385,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -55196,7 +11299,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [399, 398]
+ "children": [387, 386, 385]
}
],
"sources": [
@@ -55219,345 +11322,7 @@
"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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- ]
- }
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -55577,7 +11342,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 646,
+ "line": 682,
"character": 8
}
],
@@ -55613,7 +11378,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 646,
+ "line": 682,
"character": 29
}
],
@@ -55626,7 +11391,7 @@
},
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
@@ -55659,7 +11424,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 193,
+ "line": 194,
"character": 8
}
],
@@ -55683,10 +11448,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 360,
+ "id": 361,
"name": "SignUpWithPasswordCredentials",
"dereferenced": {
- "id": 360,
+ "id": 361,
"name": "SignUpWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -55694,7 +11459,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 261,
"character": 12
}
],
@@ -55704,14 +11469,14 @@
{
"type": "reflection",
"declaration": {
- "id": 361,
+ "id": 362,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 363,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -55722,7 +11487,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 264,
"character": 6
}
],
@@ -55732,7 +11497,7 @@
}
},
{
- "id": 364,
+ "id": 365,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -55742,21 +11507,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 267,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 365,
+ "id": 366,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 368,
+ "id": 369,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -55769,7 +11534,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 253,
+ "line": 277,
"character": 8
}
],
@@ -55779,7 +11544,7 @@
}
},
{
- "id": 367,
+ "id": 368,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -55793,7 +11558,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
+ "line": 275,
"character": 8
}
],
@@ -55803,7 +11568,7 @@
}
},
{
- "id": 366,
+ "id": 367,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -55816,7 +11581,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 245,
+ "line": 269,
"character": 8
}
],
@@ -55830,13 +11595,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [368, 367, 366]
+ "children": [369, 368, 367]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 267,
"character": 16
}
]
@@ -55844,7 +11609,7 @@
}
},
{
- "id": 363,
+ "id": 364,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -55855,7 +11620,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 266,
"character": 6
}
],
@@ -55869,13 +11634,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [362, 364, 363]
+ "children": [363, 365, 364]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 262,
"character": 4
}
]
@@ -55884,14 +11649,14 @@
{
"type": "reflection",
"declaration": {
- "id": 369,
+ "id": 370,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 372,
+ "id": 373,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -55901,21 +11666,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 285,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 373,
+ "id": 374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 376,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -55928,7 +11693,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 269,
+ "line": 293,
"character": 8
}
],
@@ -55938,7 +11703,7 @@
}
},
{
- "id": 374,
+ "id": 375,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -55952,7 +11717,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 267,
+ "line": 291,
"character": 8
}
],
@@ -55966,13 +11731,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [375, 374]
+ "children": [376, 375]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 285,
"character": 16
}
]
@@ -55980,7 +11745,7 @@
}
},
{
- "id": 371,
+ "id": 372,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -55991,7 +11756,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 260,
+ "line": 284,
"character": 6
}
],
@@ -56001,7 +11766,7 @@
}
},
{
- "id": 370,
+ "id": 371,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -56012,7 +11777,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 258,
+ "line": 282,
"character": 6
}
],
@@ -56026,13 +11791,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [372, 371, 370]
+ "children": [373, 372, 371]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 256,
+ "line": 280,
"character": 4
}
]
@@ -56049,7 +11814,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -56069,7 +11834,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 499,
+ "line": 502,
"character": 8
}
],
@@ -56116,7 +11881,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -56139,7 +11904,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -56162,7 +11927,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -56185,7 +11950,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -56205,7 +11970,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 158,
+ "line": 170,
"character": 17
}
],
@@ -56225,7 +11990,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -56245,7 +12010,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 363,
+ "line": 366,
"character": 8
}
],
@@ -56268,10 +12033,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 414,
+ "id": 417,
"name": "VerifyOtpParams",
"dereferenced": {
- "id": 414,
+ "id": 417,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -56279,7 +12044,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 331,
+ "line": 367,
"character": 12
}
],
@@ -56288,12 +12053,12 @@
"types": [
{
"type": "reference",
- "id": 415,
+ "id": 418,
"name": "VerifyMobileOtpParams"
},
{
"type": "reference",
- "id": 423,
+ "id": 426,
"name": "VerifyEmailOtpParams"
}
]
@@ -56307,7 +12072,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -56339,7 +12104,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 63,
+ "line": 64,
"character": 21
}
]
@@ -56366,7 +12131,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 217,
"character": 2
}
],
@@ -56376,7 +12141,31 @@
}
},
{
- "id": 351,
+ "id": 348,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -56390,7 +12179,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -56405,7 +12194,7 @@
}
},
{
- "id": 348,
+ "id": 349,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -56418,7 +12207,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -56447,7 +12236,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 224,
"character": 2
}
],
@@ -56457,7 +12246,7 @@
}
},
{
- "id": 350,
+ "id": 351,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -56470,7 +12259,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -56485,7 +12274,7 @@
}
},
{
- "id": 349,
+ "id": 350,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -56498,7 +12287,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -56527,7 +12316,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 231,
"character": 2
}
],
@@ -56551,7 +12340,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 195,
+ "line": 207,
"character": 2
}
],
@@ -56565,13 +12354,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [345, 351, 348, 346, 350, 349, 347, 344]
+ "children": [345, 348, 352, 349, 346, 351, 350, 347, 344]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 183,
+ "line": 195,
"character": 17
}
],
@@ -56584,14 +12373,14 @@
]
},
{
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 459,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -56605,7 +12394,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 402,
+ "line": 438,
"character": 2
}
],
@@ -56615,7 +12404,7 @@
}
},
{
- "id": 457,
+ "id": 460,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -56628,7 +12417,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 404,
+ "line": 440,
"character": 2
}
],
@@ -56642,19 +12431,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [456, 457]
+ "children": [459, 460]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 396,
+ "line": 432,
"character": 17
}
]
},
{
- "id": 291,
+ "id": 290,
"name": "Session",
"kind": 256,
"kindString": "Interface",
@@ -56672,7 +12461,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 101,
+ "line": 109,
"character": 2
}
],
@@ -56695,7 +12484,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 113,
+ "line": 121,
"character": 2
}
],
@@ -56716,7 +12505,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 109,
+ "line": 117,
"character": 2
}
],
@@ -56727,16 +12516,51 @@
},
{
"id": 292,
+ "name": "provider_refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 105,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 291,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 97,
+ "line": 100,
"character": 2
}
],
@@ -56766,7 +12590,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 105,
+ "line": 113,
"character": 2
}
],
@@ -56784,7 +12608,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 114,
+ "line": 122,
"character": 2
}
],
@@ -56802,13 +12626,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 115,
+ "line": 123,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -56817,7 +12641,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [293, 296, 295, 292, 294, 297, 298]
+ "children": [293, 296, 295, 292, 291, 294, 297, 298]
}
],
"sources": [
@@ -56829,14 +12653,14 @@
]
},
{
- "id": 352,
+ "id": 353,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 353,
+ "id": 354,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -56847,7 +12671,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 226,
+ "line": 250,
"character": 2
}
],
@@ -56857,7 +12681,7 @@
}
},
{
- "id": 354,
+ "id": 355,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -56865,13 +12689,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 254,
"character": 2
}
],
"signatures": [
{
- "id": 355,
+ "id": 356,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -56881,17 +12705,17 @@
},
"parameters": [
{
- "id": 356,
+ "id": 357,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent",
"dereferenced": {
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -56936,7 +12760,7 @@
}
},
{
- "id": 357,
+ "id": 358,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -56950,7 +12774,7 @@
},
{
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
}
]
@@ -56965,7 +12789,7 @@
]
},
{
- "id": 358,
+ "id": 359,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -56973,13 +12797,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 234,
+ "line": 258,
"character": 2
}
],
"signatures": [
{
- "id": 359,
+ "id": 360,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -56999,24 +12823,24 @@
{
"title": "Properties",
"kind": 1024,
- "children": [353]
+ "children": [354]
},
{
"title": "Methods",
"kind": 2048,
- "children": [354, 358]
+ "children": [355, 359]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 222,
+ "line": 246,
"character": 17
}
]
},
{
- "id": 310,
+ "id": 317,
"name": "User",
"kind": 256,
"kindString": "Interface",
@@ -57033,7 +12857,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 145,
+ "line": 157,
"character": 2
}
],
@@ -57043,7 +12867,7 @@
}
},
{
- "id": 312,
+ "id": 319,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -57051,71 +12875,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 132,
+ "line": 149,
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 310,
+ "name": "UserAppMetadata"
}
},
{
@@ -57127,7 +12894,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 139,
+ "line": 151,
"character": 2
}
],
@@ -57147,7 +12914,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 140,
+ "line": 152,
"character": 2
}
],
@@ -57167,7 +12934,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 149,
+ "line": 161,
"character": 2
}
],
@@ -57185,7 +12952,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 148,
+ "line": 160,
"character": 2
}
],
@@ -57205,7 +12972,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 146,
+ "line": 158,
"character": 2
}
],
@@ -57225,7 +12992,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 142,
+ "line": 154,
"character": 2
}
],
@@ -57245,7 +13012,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 150,
+ "line": 162,
"character": 2
}
],
@@ -57255,7 +13022,7 @@
}
},
{
- "id": 311,
+ "id": 318,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -57263,7 +13030,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 131,
+ "line": 148,
"character": 2
}
],
@@ -57283,7 +13050,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 155,
+ "line": 167,
"character": 2
}
],
@@ -57307,7 +13074,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 144,
+ "line": 156,
"character": 2
}
],
@@ -57327,7 +13094,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 152,
+ "line": 164,
"character": 2
}
],
@@ -57347,7 +13114,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 143,
+ "line": 155,
"character": 2
}
],
@@ -57367,7 +13134,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 147,
+ "line": 159,
"character": 2
}
],
@@ -57387,7 +13154,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 151,
+ "line": 163,
"character": 2
}
],
@@ -57407,7 +13174,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 141,
+ "line": 153,
"character": 2
}
],
@@ -57427,7 +13194,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 153,
+ "line": 165,
"character": 2
}
],
@@ -57447,7 +13214,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 154,
+ "line": 166,
"character": 2
}
],
@@ -57457,7 +13224,7 @@
}
},
{
- "id": 317,
+ "id": 320,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -57465,42 +13232,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 136,
+ "line": 150,
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 314,
+ "name": "UserMetadata"
}
}
],
@@ -57509,19 +13248,85 @@
"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, 319, 321, 322, 331, 330, 328, 324, 332, 318, 337, 326, 334, 325, 329, 333, 323,
+ 335, 336, 320
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 130,
+ "line": 147,
"character": 17
}
]
},
+ {
+ "id": 310,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 311,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 139,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [311]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 138,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 312,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 313,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
{
"id": 338,
"name": "UserAttributes",
@@ -57544,7 +13349,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -57567,7 +13372,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -57590,7 +13395,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -57613,7 +13418,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -57633,7 +13438,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 158,
+ "line": 170,
"character": 17
}
],
@@ -57661,7 +13466,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 125,
+ "line": 133,
"character": 2
}
],
@@ -57679,7 +13484,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 119,
+ "line": 127,
"character": 2
}
],
@@ -57697,7 +13502,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 121,
+ "line": 129,
"character": 2
}
],
@@ -57744,7 +13549,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 126,
+ "line": 134,
"character": 2
}
],
@@ -57762,7 +13567,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 124,
+ "line": 132,
"character": 2
}
],
@@ -57782,7 +13587,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 127,
+ "line": 135,
"character": 2
}
],
@@ -57800,7 +13605,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 120,
+ "line": 128,
"character": 2
}
],
@@ -57820,20 +13625,57 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 118,
+ "line": 126,
"character": 17
}
]
},
{
- "id": 423,
+ "id": 314,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 143,
+ "character": 17
+ }
+ ],
+ "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": 426,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 424,
+ "id": 427,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -57844,7 +13686,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 348,
+ "line": 384,
"character": 2
}
],
@@ -57854,7 +13696,7 @@
}
},
{
- "id": 427,
+ "id": 430,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -57864,21 +13706,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 353,
+ "line": 389,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 428,
+ "id": 431,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 430,
+ "id": 433,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -57891,7 +13733,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 357,
+ "line": 393,
"character": 4
}
],
@@ -57901,7 +13743,7 @@
}
},
{
- "id": 429,
+ "id": 432,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -57914,7 +13756,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 355,
+ "line": 391,
"character": 4
}
],
@@ -57928,14 +13770,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [430, 429]
+ "children": [433, 432]
}
]
}
}
},
{
- "id": 425,
+ "id": 428,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -57946,7 +13788,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 386,
"character": 2
}
],
@@ -57956,7 +13798,7 @@
}
},
{
- "id": 426,
+ "id": 429,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -57967,13 +13809,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 388,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 432,
+ "id": 435,
"name": "EmailOtpType"
}
}
@@ -57982,26 +13824,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [424, 427, 425, 426]
+ "children": [427, 430, 428, 429]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 346,
+ "line": 382,
"character": 17
}
]
},
{
- "id": 415,
+ "id": 418,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 419,
+ "id": 422,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -58011,21 +13853,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 339,
+ "line": 375,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 420,
+ "id": 423,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 422,
+ "id": 425,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -58038,7 +13880,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 343,
+ "line": 379,
"character": 4
}
],
@@ -58048,7 +13890,7 @@
}
},
{
- "id": 421,
+ "id": 424,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -58061,7 +13903,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 341,
+ "line": 377,
"character": 4
}
],
@@ -58075,14 +13917,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [422, 421]
+ "children": [425, 424]
}
]
}
}
},
{
- "id": 416,
+ "id": 419,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -58093,7 +13935,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 370,
"character": 2
}
],
@@ -58103,7 +13945,7 @@
}
},
{
- "id": 417,
+ "id": 420,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -58114,7 +13956,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 336,
+ "line": 372,
"character": 2
}
],
@@ -58124,7 +13966,7 @@
}
},
{
- "id": 418,
+ "id": 421,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -58135,13 +13977,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 338,
+ "line": 374,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 431,
+ "id": 434,
"name": "MobileOtpType"
}
}
@@ -58150,19 +13992,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [419, 416, 417, 418]
+ "children": [422, 419, 420, 421]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 332,
+ "line": 368,
"character": 17
}
]
},
{
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -58205,7 +14047,7 @@
}
},
{
- "id": 254,
+ "id": 253,
"name": "AuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -58223,14 +14065,14 @@
{
"type": "reflection",
"declaration": {
- "id": 255,
+ "id": 254,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 256,
+ "id": 255,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -58245,14 +14087,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 257,
+ "id": 256,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 259,
+ "id": 258,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -58269,7 +14111,7 @@
"types": [
{
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
},
{
@@ -58280,7 +14122,7 @@
}
},
{
- "id": 258,
+ "id": 257,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -58297,7 +14139,7 @@
"types": [
{
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
},
{
@@ -58312,7 +14154,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [259, 258]
+ "children": [258, 257]
}
],
"sources": [
@@ -58326,7 +14168,7 @@
}
},
{
- "id": 260,
+ "id": 259,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -58348,7 +14190,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [256, 260]
+ "children": [255, 259]
}
],
"sources": [
@@ -58363,14 +14205,14 @@
{
"type": "reflection",
"declaration": {
- "id": 261,
+ "id": 260,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 262,
+ "id": 261,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -58385,14 +14227,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 263,
+ "id": 262,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 265,
+ "id": 264,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -58410,7 +14252,7 @@
}
},
{
- "id": 264,
+ "id": 263,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -58432,7 +14274,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [265, 264]
+ "children": [264, 263]
}
],
"sources": [
@@ -58446,7 +14288,7 @@
}
},
{
- "id": 266,
+ "id": 265,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -58460,7 +14302,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -58469,7 +14311,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [262, 266]
+ "children": [261, 265]
}
],
"sources": [
@@ -58485,7 +14327,7 @@
}
},
{
- "id": 484,
+ "id": 487,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -58493,76 +14335,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 508,
"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": {
@@ -58581,14 +14360,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 511,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 494,
- "name": "AuthError"
+ "type": "literal",
+ "value": null
}
},
{
@@ -58600,13 +14378,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 478,
+ "line": 510,
"character": 6
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 290,
+ "name": "Session"
}
}
],
@@ -58620,7 +14399,70 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 477,
+ "line": 509,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 491,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 493,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 515,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 497,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 492,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 514,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [493, 492]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 513,
"character": 4
}
]
@@ -58630,7 +14472,7 @@
}
},
{
- "id": 432,
+ "id": 435,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -58638,7 +14480,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 362,
+ "line": 398,
"character": 12
}
],
@@ -58669,7 +14511,7 @@
}
},
{
- "id": 449,
+ "id": 452,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -58677,21 +14519,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 421,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 450,
+ "id": 453,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 452,
+ "id": 455,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -58702,7 +14544,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 388,
+ "line": 424,
"character": 2
}
],
@@ -58712,7 +14554,7 @@
}
},
{
- "id": 453,
+ "id": 456,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -58723,7 +14565,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 428,
"character": 2
}
],
@@ -58733,7 +14575,7 @@
}
},
{
- "id": 454,
+ "id": 457,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -58743,7 +14585,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 393,
+ "line": 429,
"character": 2
}
],
@@ -58752,7 +14594,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -58766,7 +14608,7 @@
}
},
{
- "id": 451,
+ "id": 454,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -58774,7 +14616,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 422,
"character": 2
}
],
@@ -58797,13 +14639,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [452, 453, 454, 451]
+ "children": [455, 456, 457, 454]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 421,
"character": 44
}
]
@@ -58811,7 +14653,7 @@
}
},
{
- "id": 439,
+ "id": 442,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -58819,21 +14661,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 407,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 440,
+ "id": 443,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 442,
+ "id": 445,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -58844,7 +14686,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 374,
+ "line": 410,
"character": 2
}
],
@@ -58854,7 +14696,7 @@
}
},
{
- "id": 443,
+ "id": 446,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -58864,7 +14706,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 375,
+ "line": 411,
"character": 2
}
],
@@ -58873,7 +14715,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -58896,7 +14738,7 @@
}
},
{
- "id": 441,
+ "id": 444,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -58904,7 +14746,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 372,
+ "line": 408,
"character": 2
}
],
@@ -58927,13 +14769,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [442, 443, 441]
+ "children": [445, 446, 444]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 407,
"character": 46
}
]
@@ -58941,7 +14783,7 @@
}
},
{
- "id": 458,
+ "id": 461,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -58949,7 +14791,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 407,
+ "line": 443,
"character": 12
}
],
@@ -58958,29 +14800,29 @@
"types": [
{
"type": "reference",
- "id": 433,
+ "id": 436,
"name": "GenerateSignupLinkParams"
},
{
"type": "reference",
- "id": 439,
+ "id": 442,
"name": "GenerateInviteOrMagiclinkParams"
},
{
"type": "reference",
- "id": 444,
+ "id": 447,
"name": "GenerateRecoveryLinkParams"
},
{
"type": "reference",
- "id": 449,
+ "id": 452,
"name": "GenerateEmailChangeLinkParams"
}
]
}
},
{
- "id": 472,
+ "id": 475,
"name": "GenerateLinkProperties",
"kind": 4194304,
"kindString": "Type alias",
@@ -58991,21 +14833,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 430,
+ "line": 466,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 473,
+ "id": 476,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 474,
+ "id": 477,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -59016,70 +14858,7 @@
"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,
+ "line": 471,
"character": 2
}
],
@@ -59090,6 +14869,69 @@
},
{
"id": 478,
+ "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": 476,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 479,
+ "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": 480,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 480,
+ "name": "redirect_to",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The URL appended to the action link."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 482,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 481,
"name": "verification_type",
"kind": 1024,
"kindString": "Property",
@@ -59100,13 +14942,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 484,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 479,
+ "id": 482,
"name": "GenerateLinkType"
}
}
@@ -59115,13 +14957,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [474, 475, 476, 477, 478]
+ "children": [477, 478, 479, 480, 481]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 430,
+ "line": 466,
"character": 37
}
]
@@ -59129,7 +14971,7 @@
}
},
{
- "id": 459,
+ "id": 462,
"name": "GenerateLinkResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -59137,7 +14979,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 449,
"character": 12
}
],
@@ -59147,14 +14989,14 @@
{
"type": "reflection",
"declaration": {
- "id": 460,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 461,
+ "id": 464,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -59162,21 +15004,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 415,
+ "line": 451,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 462,
+ "id": 465,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 463,
+ "id": 466,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -59184,18 +15026,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 416,
+ "line": 452,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 472,
+ "id": 475,
"name": "GenerateLinkProperties"
}
},
{
- "id": 464,
+ "id": 467,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -59203,13 +15045,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 417,
+ "line": 453,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -59218,13 +15060,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [463, 464]
+ "children": [466, 467]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 415,
+ "line": 451,
"character": 12
}
]
@@ -59232,7 +15074,7 @@
}
},
{
- "id": 465,
+ "id": 468,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -59240,7 +15082,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 419,
+ "line": 455,
"character": 6
}
],
@@ -59254,13 +15096,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [461, 465]
+ "children": [464, 468]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 414,
+ "line": 450,
"character": 4
}
]
@@ -59269,14 +15111,14 @@
{
"type": "reflection",
"declaration": {
- "id": 466,
+ "id": 469,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 467,
+ "id": 470,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -59284,21 +15126,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 422,
+ "line": 458,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 468,
+ "id": 471,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 469,
+ "id": 472,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -59306,7 +15148,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 423,
+ "line": 459,
"character": 8
}
],
@@ -59316,7 +15158,7 @@
}
},
{
- "id": 470,
+ "id": 473,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -59324,7 +15166,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 424,
+ "line": 460,
"character": 8
}
],
@@ -59338,13 +15180,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [469, 470]
+ "children": [472, 473]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 422,
+ "line": 458,
"character": 12
}
]
@@ -59352,7 +15194,7 @@
}
},
{
- "id": 471,
+ "id": 474,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -59360,13 +15202,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 426,
+ "line": 462,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -59375,13 +15217,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [467, 471]
+ "children": [470, 474]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 421,
+ "line": 457,
"character": 4
}
]
@@ -59391,7 +15233,7 @@
}
},
{
- "id": 479,
+ "id": 482,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -59399,7 +15241,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 487,
"character": 12
}
],
@@ -59434,7 +15276,7 @@
}
},
{
- "id": 444,
+ "id": 447,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -59442,21 +15284,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 414,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 445,
+ "id": 448,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 447,
+ "id": 450,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -59467,7 +15309,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 417,
"character": 2
}
],
@@ -59477,7 +15319,7 @@
}
},
{
- "id": 448,
+ "id": 451,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -59487,7 +15329,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 382,
+ "line": 418,
"character": 2
}
],
@@ -59496,7 +15338,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -59510,7 +15352,7 @@
}
},
{
- "id": 446,
+ "id": 449,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -59518,7 +15360,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 379,
+ "line": 415,
"character": 2
}
],
@@ -59532,13 +15374,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [447, 448, 446]
+ "children": [450, 451, 449]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 414,
"character": 41
}
]
@@ -59546,7 +15388,7 @@
}
},
{
- "id": 433,
+ "id": 436,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -59554,21 +15396,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 364,
+ "line": 400,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 434,
+ "id": 437,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 436,
+ "id": 439,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -59576,7 +15418,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 366,
+ "line": 402,
"character": 2
}
],
@@ -59586,7 +15428,7 @@
}
},
{
- "id": 438,
+ "id": 441,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -59596,7 +15438,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 404,
"character": 2
}
],
@@ -59605,7 +15447,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -59628,7 +15470,7 @@
}
},
{
- "id": 437,
+ "id": 440,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -59636,7 +15478,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 367,
+ "line": 403,
"character": 2
}
],
@@ -59646,7 +15488,7 @@
}
},
{
- "id": 435,
+ "id": 438,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -59654,7 +15496,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 365,
+ "line": 401,
"character": 2
}
],
@@ -59668,13 +15510,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [436, 438, 437, 435]
+ "children": [439, 441, 440, 438]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 364,
+ "line": 400,
"character": 39
}
]
@@ -59682,7 +15524,7 @@
}
},
{
- "id": 241,
+ "id": 240,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -59697,14 +15539,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 250,
+ "id": 249,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -59724,7 +15566,7 @@
}
},
{
- "id": 249,
+ "id": 248,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -59744,7 +15586,7 @@
}
},
{
- "id": 253,
+ "id": 252,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -59764,7 +15606,7 @@
}
},
{
- "id": 244,
+ "id": 243,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -59781,7 +15623,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 245,
+ "id": 244,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -59794,14 +15636,14 @@
}
],
"indexSignature": {
- "id": 246,
+ "id": 245,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 246,
"name": "key",
"kind": 32768,
"flags": {},
@@ -59820,7 +15662,7 @@
}
},
{
- "id": 251,
+ "id": 250,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -59840,7 +15682,7 @@
}
},
{
- "id": 252,
+ "id": 251,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -59856,12 +15698,12 @@
],
"type": {
"type": "reference",
- "id": 480,
+ "id": 483,
"name": "SupportedStorage"
}
},
{
- "id": 248,
+ "id": 247,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -59881,7 +15723,7 @@
}
},
{
- "id": 243,
+ "id": 242,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -59905,7 +15747,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [250, 249, 253, 244, 251, 252, 248, 243]
+ "children": [249, 248, 252, 243, 250, 251, 247, 242]
}
],
"sources": [
@@ -59919,7 +15761,7 @@
}
},
{
- "id": 481,
+ "id": 484,
"name": "InitializeResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -59927,21 +15769,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 506,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 482,
+ "id": 485,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 483,
+ "id": 486,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -59949,7 +15791,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 506,
"character": 33
}
],
@@ -59958,7 +15800,7 @@
"types": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
},
{
@@ -59973,13 +15815,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [483]
+ "children": [486]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 506,
"character": 31
}
]
@@ -59987,7 +15829,7 @@
}
},
{
- "id": 431,
+ "id": 434,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -59995,7 +15837,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 361,
+ "line": 397,
"character": 12
}
],
@@ -60014,7 +15856,7 @@
}
},
{
- "id": 267,
+ "id": 266,
"name": "OAuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -60032,14 +15874,14 @@
{
"type": "reflection",
"declaration": {
- "id": 268,
+ "id": 267,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 269,
+ "id": 268,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -60054,14 +15896,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 270,
+ "id": 269,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 271,
+ "id": 270,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -60075,12 +15917,12 @@
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
},
{
- "id": 272,
+ "id": 271,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -60102,7 +15944,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [271, 272]
+ "children": [270, 271]
}
],
"sources": [
@@ -60116,7 +15958,7 @@
}
},
{
- "id": 273,
+ "id": 272,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -60138,7 +15980,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [269, 273]
+ "children": [268, 272]
}
],
"sources": [
@@ -60153,14 +15995,14 @@
{
"type": "reflection",
"declaration": {
- "id": 274,
+ "id": 273,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 275,
+ "id": 274,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -60175,14 +16017,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 276,
+ "id": 275,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 277,
+ "id": 276,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -60196,12 +16038,12 @@
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
},
{
- "id": 278,
+ "id": 277,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -60223,7 +16065,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [277, 278]
+ "children": [276, 277]
}
],
"sources": [
@@ -60237,7 +16079,7 @@
}
},
{
- "id": 279,
+ "id": 278,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -60251,7 +16093,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -60260,7 +16102,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [275, 279]
+ "children": [274, 278]
}
],
"sources": [
@@ -60276,7 +16118,7 @@
}
},
{
- "id": 239,
+ "id": 238,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -60362,7 +16204,7 @@
}
},
{
- "id": 403,
+ "id": 406,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -60370,21 +16212,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 354,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 404,
+ "id": 407,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 406,
+ "id": 409,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -60394,21 +16236,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 357,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 410,
+ "id": 413,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -60421,14 +16263,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 363,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 411,
+ "id": 414,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -60436,19 +16278,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 363,
"character": 18
}
],
"indexSignature": {
- "id": 412,
+ "id": 415,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 413,
+ "id": 416,
"name": "key",
"kind": 32768,
"flags": {},
@@ -60467,7 +16309,7 @@
}
},
{
- "id": 408,
+ "id": 411,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -60480,7 +16322,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 323,
+ "line": 359,
"character": 4
}
],
@@ -60490,7 +16332,7 @@
}
},
{
- "id": 409,
+ "id": 412,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -60503,7 +16345,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 361,
"character": 4
}
],
@@ -60517,13 +16359,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [410, 408, 409]
+ "children": [413, 411, 412]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 357,
"character": 12
}
]
@@ -60531,7 +16373,7 @@
}
},
{
- "id": 405,
+ "id": 408,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -60542,13 +16384,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 320,
+ "line": 356,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
}
@@ -60557,13 +16399,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [406, 405]
+ "children": [409, 408]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 354,
"character": 41
}
]
@@ -60571,7 +16413,7 @@
}
},
{
- "id": 376,
+ "id": 377,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -60579,7 +16421,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 272,
+ "line": 296,
"character": 12
}
],
@@ -60589,299 +16431,14 @@
{
"type": "reflection",
"declaration": {
- "id": 377,
+ "id": 378,
"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",
@@ -60892,7 +16449,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 297,
+ "line": 299,
"character": 6
}
],
@@ -60902,7 +16459,7 @@
}
},
{
- "id": 392,
+ "id": 381,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -60912,21 +16469,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 302,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 393,
+ "id": 382,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 396,
+ "id": 383,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -60947,83 +16504,58 @@
"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]
+ "children": [383]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 302,
"character": 16
}
]
}
}
+ },
+ {
+ "id": 380,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [391, 392]
+ "children": [379, 381, 380]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 295,
+ "line": 297,
"character": 4
}
]
@@ -61032,14 +16564,14 @@
{
"type": "reflection",
"declaration": {
- "id": 397,
+ "id": 384,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 399,
+ "id": 387,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -61049,21 +16581,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 312,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 400,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 402,
+ "id": 389,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -61084,42 +16616,19 @@
"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]
+ "children": [389]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 312,
"character": 16
}
]
@@ -61127,7 +16636,28 @@
}
},
{
- "id": 398,
+ "id": 386,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 311,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 385,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -61152,7 +16682,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [399, 398]
+ "children": [387, 386, 385]
}
],
"sources": [
@@ -61168,15 +16698,15 @@
}
},
{
- "id": 360,
- "name": "SignUpWithPasswordCredentials",
+ "id": 390,
+ "name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 318,
"character": 12
}
],
@@ -61186,14 +16716,14 @@
{
"type": "reflection",
"declaration": {
- "id": 361,
+ "id": 391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 392,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -61204,7 +16734,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 321,
"character": 6
}
],
@@ -61214,7 +16744,7 @@
}
},
{
- "id": 364,
+ "id": 393,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -61224,21 +16754,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 322,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 365,
+ "id": 394,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 368,
+ "id": 398,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -61251,7 +16781,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 253,
+ "line": 334,
"character": 8
}
],
@@ -61261,7 +16791,7 @@
}
},
{
- "id": 367,
+ "id": 397,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -61275,7 +16805,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
+ "line": 332,
"character": 8
}
],
@@ -61285,7 +16815,7 @@
}
},
{
- "id": 366,
+ "id": 395,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -61298,7 +16828,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 245,
+ "line": 324,
"character": 8
}
],
@@ -61306,58 +16836,60 @@
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 396,
+ "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": 326,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [368, 367, 366]
+ "children": [398, 397, 395, 396]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 322,
"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]
+ "children": [392, 393]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 319,
"character": 4
}
]
@@ -61366,14 +16898,14 @@
{
"type": "reflection",
"declaration": {
- "id": 369,
+ "id": 399,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 372,
+ "id": 401,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -61383,21 +16915,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 340,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 373,
+ "id": 402,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 405,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -61410,7 +16942,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 269,
+ "line": 350,
"character": 8
}
],
@@ -61420,7 +16952,7 @@
}
},
{
- "id": 374,
+ "id": 404,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -61434,7 +16966,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 267,
+ "line": 348,
"character": 8
}
],
@@ -61442,19 +16974,42 @@
"type": "intrinsic",
"name": "object"
}
+ },
+ {
+ "id": 403,
+ "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": 342,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [375, 374]
+ "children": [405, 404, 403]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 340,
"character": 16
}
]
@@ -61462,28 +17017,7 @@
}
},
{
- "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,
+ "id": 400,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -61494,7 +17028,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 258,
+ "line": 339,
"character": 6
}
],
@@ -61508,13 +17042,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [372, 371, 370]
+ "children": [401, 400]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 256,
+ "line": 337,
"character": 4
}
]
@@ -61524,7 +17058,363 @@
}
},
{
- "id": 480,
+ "id": 361,
+ "name": "SignUpWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 261,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 362,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 363,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 264,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 365,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 267,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 366,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 369,
+ "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": 277,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 368,
+ "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": 275,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 367,
+ "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": 269,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [369, 368, 367]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 267,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 364,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 266,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [363, 365, 364]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 262,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 370,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 373,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 285,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 374,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 376,
+ "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": 293,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 375,
+ "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": 291,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [376, 375]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 285,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 372,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 371,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 282,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [373, 372, 371]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 280,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 483,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -61532,7 +17422,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 468,
+ "line": 504,
"character": 12
}
],
@@ -61575,7 +17465,7 @@
}
},
{
- "id": 280,
+ "id": 279,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -61593,14 +17483,14 @@
{
"type": "reflection",
"declaration": {
- "id": 281,
+ "id": 280,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 282,
+ "id": 281,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -61615,14 +17505,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 283,
+ "id": 282,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 284,
+ "id": 283,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -61636,7 +17526,7 @@
],
"type": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -61645,7 +17535,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [284]
+ "children": [283]
}
],
"sources": [
@@ -61659,7 +17549,7 @@
}
},
{
- "id": 285,
+ "id": 284,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -61681,7 +17571,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [282, 285]
+ "children": [281, 284]
}
],
"sources": [
@@ -61696,14 +17586,14 @@
{
"type": "reflection",
"declaration": {
- "id": 286,
+ "id": 285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 287,
+ "id": 286,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -61718,14 +17608,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 288,
+ "id": 287,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 289,
+ "id": 288,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -61747,7 +17637,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [289]
+ "children": [288]
}
],
"sources": [
@@ -61761,7 +17651,7 @@
}
},
{
- "id": 290,
+ "id": 289,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -61775,7 +17665,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -61784,7 +17674,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [287, 290]
+ "children": [286, 289]
}
],
"sources": [
@@ -61800,7 +17690,7 @@
}
},
{
- "id": 414,
+ "id": 417,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -61808,7 +17698,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 331,
+ "line": 367,
"character": 12
}
],
@@ -61817,19 +17707,19 @@
"types": [
{
"type": "reference",
- "id": 415,
+ "id": 418,
"name": "VerifyMobileOtpParams"
},
{
"type": "reference",
- "id": 423,
+ "id": 426,
"name": "VerifyEmailOtpParams"
}
]
}
},
{
- "id": 491,
+ "id": 494,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -61843,14 +17733,14 @@
],
"signatures": [
{
- "id": 492,
+ "id": 495,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 493,
+ "id": 496,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -61867,7 +17757,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -61879,25 +17769,25 @@
{
"title": "Classes",
"kind": 128,
- "children": [499, 494, 559, 546, 584, 534, 512, 519, 1, 66]
+ "children": [502, 497, 562, 549, 587, 537, 515, 522, 1, 66]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [343, 455, 291, 352, 310, 338, 299, 423, 415]
+ "children": [343, 458, 290, 353, 317, 310, 338, 299, 314, 426, 418]
},
{
"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
+ 239, 253, 487, 435, 452, 442, 461, 475, 462, 482, 447, 436, 240, 484, 434, 266, 238,
+ 406, 377, 390, 361, 483, 279, 417
]
},
{
"title": "Functions",
"kind": 64,
- "children": [491]
+ "children": [494]
}
],
"sources": [
@@ -61917,7 +17807,7 @@
"originalName": "",
"children": [
{
- "id": 486,
+ "id": 498,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -61926,7 +17816,7 @@
},
"children": [
{
- "id": 487,
+ "id": 499,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -61935,19 +17825,20 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 18,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
}
],
"signatures": [
{
- "id": 488,
+ "id": 500,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 489,
+ "id": 501,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -61956,24 +17847,24 @@
],
"parameters": [
{
- "id": 490,
+ "id": 502,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 486,
+ "id": 498,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -61984,30 +17875,28 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [487]
+ "children": [499]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [503, 495, 498, 493, 491, 494, 496, 497, 492]
+ "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [506, 504]
+ "children": [518, 516]
}
],
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
"line": 5,
- "character": 30
+ "character": 30,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L5"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 518,
+ "id": 530,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -62017,7 +17906,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder"
}
],
@@ -62027,20 +17916,20 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -62049,11 +17938,11 @@
],
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -62063,7 +17952,7 @@
]
},
{
- "id": 503,
+ "id": 515,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -62074,7 +17963,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -62083,7 +17973,7 @@
}
},
{
- "id": 495,
+ "id": 507,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -62095,7 +17985,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -62104,7 +17995,7 @@
}
},
{
- "id": 498,
+ "id": 510,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -62115,27 +18006,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 500,
+ "id": 512,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 501,
+ "id": 513,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -62145,21 +18044,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 502,
+ "id": 514,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -62168,9 +18067,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -62179,14 +18078,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -62194,7 +18093,7 @@
}
},
{
- "id": 493,
+ "id": 505,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -62205,7 +18104,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -62220,13 +18120,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 491,
+ "id": 503,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -62237,7 +18137,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -62267,7 +18168,7 @@
}
},
{
- "id": 494,
+ "id": 506,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -62279,7 +18180,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -62288,7 +18190,7 @@
}
},
{
- "id": 496,
+ "id": 508,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -62299,7 +18201,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -62309,7 +18212,7 @@
"defaultValue": "false"
},
{
- "id": 497,
+ "id": 509,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -62321,18 +18224,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
},
{
- "id": 492,
+ "id": 504,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -62343,18 +18247,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 506,
+ "id": 518,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -62363,30 +18268,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 507,
+ "id": 519,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 508,
+ "id": 520,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -62394,7 +18300,7 @@
}
},
{
- "id": 509,
+ "id": 521,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -62407,7 +18313,7 @@
],
"parameters": [
{
- "id": 510,
+ "id": 522,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -62424,32 +18330,40 @@
{
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 523,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 512,
+ "id": 524,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 513,
+ "id": 525,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -62462,7 +18376,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -62470,13 +18384,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -62488,7 +18402,7 @@
}
},
{
- "id": 514,
+ "id": 526,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -62505,21 +18419,29 @@
{
"type": "reflection",
"declaration": {
- "id": 515,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 516,
+ "id": 528,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 517,
+ "id": 529,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -62535,7 +18457,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -62543,13 +18465,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -62569,20 +18491,20 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"implementationOf": {
"type": "reference",
@@ -62596,7 +18518,7 @@
}
},
{
- "id": 504,
+ "id": 516,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -62605,27 +18527,38 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 505,
+ "id": 517,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -62638,30 +18571,28 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [487]
+ "children": [499]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [503, 495, 498, 493, 491, 494, 496, 497, 492]
+ "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [506, 504]
+ "children": [518, 516]
}
],
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
"line": 5,
- "character": 30
+ "character": 30,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L5"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 518,
+ "id": 530,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -62671,7 +18602,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder"
}
],
@@ -62681,20 +18612,20 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
},
@@ -62705,7 +18636,12 @@
"kindString": "Class",
"flags": {},
"comment": {
- "shortText": "PostgREST client."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "PostgREST client."
+ }
+ ]
},
"children": [
{
@@ -62718,7 +18654,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 41,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L41"
}
],
"signatures": [
@@ -62729,7 +18666,12 @@
"kindString": "Constructor signature",
"flags": {},
"comment": {
- "shortText": "Creates a PostgREST client."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates a PostgREST client."
+ }
+ ]
},
"typeParameter": [
{
@@ -62847,7 +18789,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "URL of the PostgREST endpoint"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URL of the PostgREST endpoint"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -62861,7 +18808,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
@@ -62885,7 +18837,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 50,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L50"
}
],
"type": {
@@ -62896,6 +18849,13 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
"id": 14,
@@ -62904,7 +18864,12 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Custom fetch\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Custom fetch"
+ }
+ ]
},
"parameters": [
{
@@ -62918,15 +18883,15 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
@@ -62941,9 +18906,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -62952,14 +18917,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -62975,13 +18940,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Custom headers"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Custom headers"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 48,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L48"
}
],
"type": {
@@ -62996,9 +18967,9 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
@@ -63010,13 +18981,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Postgres schema to switch to"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Postgres schema to switch to"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 49,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L49"
}
],
"type": {
@@ -63029,9 +19006,16 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
"children": [12, 10, 11]
}
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 47,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L47"
+ }
]
}
},
@@ -63075,7 +19059,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 29,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L29"
}
],
"type": {
@@ -63086,6 +19071,13 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
"id": 22,
@@ -63105,15 +19097,15 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
@@ -63128,9 +19120,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -63139,14 +19131,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -63163,7 +19155,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 27,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L27"
}
],
"type": {
@@ -63178,9 +19171,9 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
@@ -63195,7 +19188,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 28,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L28"
}
],
"type": {
@@ -63214,7 +19208,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 26,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L26"
}
],
"type": {
@@ -63232,7 +19227,26 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 64,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L64"
+ },
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 68,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L68"
+ },
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 71,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L71"
+ },
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 72,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L72"
}
],
"signatures": [
@@ -63243,7 +19257,12 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a query on a table or a view."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a query on a table or a view."
+ }
+ ]
},
"typeParameter": [
{
@@ -63277,7 +19296,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The table or view name to query\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The table or view name to query"
+ }
+ ]
},
"type": {
"type": "reference",
@@ -63291,6 +19315,11 @@
"type": "reference",
"id": 49,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "reference",
"id": 28,
@@ -63349,6 +19378,11 @@
"type": "reference",
"id": 49,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "reference",
"id": 32,
@@ -63381,6 +19415,11 @@
"type": "reference",
"id": 49,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "intrinsic",
"name": "any"
@@ -63401,7 +19440,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 102,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L102"
}
],
"signatures": [
@@ -63412,7 +19452,12 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a function call."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a function call."
+ }
+ ]
},
"typeParameter": [
{
@@ -63446,7 +19491,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The function name to call"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The function name to call"
+ }
+ ]
},
"type": {
"type": "reference",
@@ -63462,7 +19512,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The arguments to pass to the function call"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The arguments to pass to the function call"
+ }
+ ]
},
"type": {
"type": "indexedAccess",
@@ -63485,7 +19540,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
@@ -63506,13 +19566,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 113,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L113"
}
],
"type": {
@@ -63542,13 +19640,35 @@
"isOptional": true
},
"comment": {
- "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "When set to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will not be returned.\nUseful if you only need the count."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 112,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L112"
}
],
"type": {
@@ -63560,9 +19680,16 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
"children": [45, 44]
}
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 111,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L111"
+ }
]
}
},
@@ -63571,8 +19698,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "conditional",
"checkType": {
@@ -63626,9 +19758,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
"trueType": {
"type": "indexedAccess",
@@ -63673,17 +19805,14 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
"children": [2]
},
{
"title": "Properties",
- "kind": 1024,
"children": [20, 18, 19, 17]
},
{
"title": "Methods",
- "kind": 2048,
"children": [25, 36]
}
],
@@ -63691,10 +19820,11 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 17,
- "character": 21
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L17"
}
],
- "typeParameter": [
+ "typeParameters": [
{
"id": 46,
"name": "Database",
@@ -63702,7 +19832,12 @@
"kindString": "Type parameter",
"flags": {},
"comment": {
- "shortText": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/typescript-support)\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/next/typescript-support)"
+ }
+ ]
},
"default": {
"type": "intrinsic",
@@ -63716,7 +19851,20 @@
"kindString": "Type parameter",
"flags": {},
"comment": {
- "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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Postgres schema to switch to. Must be a string\nliteral, the same one passed to the constructor. If the schema is not\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"public\"`"
+ },
+ {
+ "kind": "text",
+ "text": ", this must be supplied manually."
+ }
+ ]
},
"type": {
"type": "intersection",
@@ -63826,28 +19974,47 @@
]
},
{
- "id": 110,
+ "id": 112,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 111,
+ "id": 113,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 18,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
+ }
+ ],
"signatures": [
{
- "id": 112,
+ "id": 114,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 113,
+ "id": 115,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 116,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -63864,13 +20031,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 114,
+ "id": 117,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -63879,24 +20046,24 @@
],
"parameters": [
{
- "id": 115,
+ "id": 118,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 486,
+ "id": 498,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -63905,7 +20072,7 @@
},
"children": [
{
- "id": 487,
+ "id": 499,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -63914,19 +20081,20 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 18,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
}
],
"signatures": [
{
- "id": 488,
+ "id": 500,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 489,
+ "id": 501,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -63935,18 +20103,18 @@
],
"parameters": [
{
- "id": 490,
+ "id": 502,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -63957,11 +20125,11 @@
],
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -63971,7 +20139,7 @@
]
},
{
- "id": 503,
+ "id": 515,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -63982,7 +20150,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -63991,7 +20160,7 @@
}
},
{
- "id": 495,
+ "id": 507,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -64003,7 +20172,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -64012,7 +20182,7 @@
}
},
{
- "id": 498,
+ "id": 510,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -64023,27 +20193,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 500,
+ "id": 512,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 501,
+ "id": 513,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -64053,21 +20231,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 502,
+ "id": 514,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -64076,9 +20254,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -64087,14 +20265,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -64102,7 +20280,7 @@
}
},
{
- "id": 493,
+ "id": 505,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -64113,7 +20291,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -64128,13 +20307,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 491,
+ "id": 503,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -64145,7 +20324,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -64175,7 +20355,7 @@
}
},
{
- "id": 494,
+ "id": 506,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -64187,7 +20367,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -64196,7 +20377,7 @@
}
},
{
- "id": 496,
+ "id": 508,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -64207,7 +20388,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -64217,7 +20399,7 @@
"defaultValue": "false"
},
{
- "id": 497,
+ "id": 509,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -64229,18 +20411,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
},
{
- "id": 492,
+ "id": 504,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -64251,18 +20434,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 506,
+ "id": 518,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -64271,30 +20455,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 507,
+ "id": 519,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 508,
+ "id": 520,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -64302,7 +20487,7 @@
}
},
{
- "id": 509,
+ "id": 521,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -64315,7 +20500,7 @@
],
"parameters": [
{
- "id": 510,
+ "id": 522,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -64332,32 +20517,40 @@
{
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 523,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 512,
+ "id": 524,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 513,
+ "id": 525,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -64370,7 +20563,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -64378,13 +20571,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -64396,7 +20589,7 @@
}
},
{
- "id": 514,
+ "id": 526,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -64413,21 +20606,29 @@
{
"type": "reflection",
"declaration": {
- "id": 515,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 516,
+ "id": 528,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 517,
+ "id": 529,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -64443,7 +20644,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -64451,13 +20652,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -64477,20 +20678,20 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"implementationOf": {
"type": "reference",
@@ -64504,7 +20705,7 @@
}
},
{
- "id": 504,
+ "id": 516,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -64513,27 +20714,38 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 505,
+ "id": 517,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -64546,30 +20758,28 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [487]
+ "children": [499]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [503, 495, 498, 493, 491, 494, 496, 497, 492]
+ "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [506, 504]
+ "children": [518, 516]
}
],
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
"line": 5,
- "character": 30
+ "character": 30,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L5"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 518,
+ "id": 530,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -64579,7 +20789,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder"
}
],
@@ -64589,20 +20799,20 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -64611,16 +20821,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -64628,19 +20843,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 396,
+ "id": 403,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 395,
+ "id": 402,
"name": "default.constructor"
}
},
{
- "id": 377,
+ "id": 383,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -64651,7 +20866,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -64660,12 +20876,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 469,
+ "id": 480,
"name": "default.allowEmpty"
}
},
{
- "id": 369,
+ "id": 375,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -64677,7 +20893,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -64686,12 +20903,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 461,
+ "id": 472,
"name": "default.body"
}
},
{
- "id": 372,
+ "id": 378,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -64702,27 +20919,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 373,
+ "id": 379,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 374,
+ "id": 380,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 375,
+ "id": 381,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -64732,21 +20957,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 376,
+ "id": 382,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -64755,9 +20980,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -64766,14 +20991,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -64781,12 +21006,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 464,
+ "id": 475,
"name": "default.fetch"
}
},
{
- "id": 367,
+ "id": 373,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -64797,7 +21022,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -64812,18 +21038,18 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 459,
+ "id": 470,
"name": "default.headers"
}
},
{
- "id": 365,
+ "id": 371,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -64834,7 +21060,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -64864,12 +21091,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 457,
+ "id": 468,
"name": "default.method"
}
},
{
- "id": 368,
+ "id": 374,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -64881,7 +21108,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -64890,12 +21118,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 460,
+ "id": 471,
"name": "default.schema"
}
},
{
- "id": 370,
+ "id": 376,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -64906,7 +21134,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -64916,12 +21145,12 @@
"defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 462,
+ "id": 473,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 371,
+ "id": 377,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -64933,23 +21162,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 463,
+ "id": 474,
"name": "default.signal"
}
},
{
- "id": 366,
+ "id": 372,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -64960,23 +21190,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 458,
+ "id": 469,
"name": "default.url"
}
},
{
- "id": 342,
+ "id": 345,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -64984,50 +21215,66 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 124,
- "character": 2
+ "line": 130,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L130"
}
],
"signatures": [
{
- "id": 343,
+ "id": 346,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Set the AbortSignal for the fetch request."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set the AbortSignal for the fetch request."
+ }
+ ]
},
"parameters": [
{
- "id": 344,
+ "id": 347,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The AbortSignal to use for the fetch request\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The AbortSignal to use for the fetch request"
+ }
+ ]
},
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -65035,19 +21282,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 435,
+ "id": 443,
"name": "default.abortSignal"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 434,
+ "id": 442,
"name": "default.abortSignal"
}
},
{
- "id": 204,
+ "id": 207,
"name": "containedBy",
"kind": 2048,
"kindString": "Method",
@@ -65055,23 +21302,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 214,
- "character": 2
+ "line": 216,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L216"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 220,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L220"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 221,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L221"
}
],
"signatures": [
{
- "id": 205,
+ "id": 208,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is contained by "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 206,
+ "id": 209,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -65082,99 +21363,6 @@
}
}
],
- "parameters": [
- {
- "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",
- "dereferenced": {}
- }
- },
- {
- "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"
- }
- }
- }
- ]
- }
- }
- ],
- "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": [
{
"id": 210,
@@ -65182,9 +21370,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 209,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -65193,6 +21391,104 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record",
+ "qualifiedName": "Record",
+ "package": "typescript"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 209,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 212,
+ "name": "containedBy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 213,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 214,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "union",
"types": [
@@ -65219,9 +21515,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
]
}
@@ -65229,16 +21525,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -65248,7 +21549,7 @@
]
},
{
- "id": 196,
+ "id": 199,
"name": "contains",
"kind": 2048,
"kindString": "Method",
@@ -65256,23 +21557,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 187,
- "character": 2
+ "line": 189,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L189"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 193,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L193"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 194,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L194"
}
],
"signatures": [
{
- "id": 197,
+ "id": 200,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for jsonb, array, and range columns. Match only rows where\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " contains every element appearing in "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 198,
+ "id": 201,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -65285,29 +21620,39 @@
],
"parameters": [
{
- "id": 199,
+ "id": 202,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The jsonb, array, or range column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 198,
+ "id": 201,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 200,
+ "id": 203,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The jsonb, array, or range value to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range value to filter with"
+ }
+ ]
},
"type": {
"type": "union",
@@ -65328,9 +21673,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
{
"type": "array",
@@ -65338,12 +21683,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 198,
+ "id": 201,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -65354,16 +21699,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -65371,14 +21721,14 @@
}
},
{
- "id": 201,
+ "id": 204,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 202,
+ "id": 205,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -65389,7 +21739,7 @@
}
},
{
- "id": 203,
+ "id": 206,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -65420,9 +21770,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
]
}
@@ -65430,16 +21780,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -65449,7 +21804,7 @@
]
},
{
- "id": 349,
+ "id": 352,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -65457,26 +21812,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 155,
- "character": 2
+ "line": 161,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L161"
}
],
"signatures": [
{
- "id": 350,
+ "id": 353,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as a string in CSV format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a string in CSV format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -65486,25 +21855,25 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "default.csv"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 441,
+ "id": 449,
"name": "default.csv"
}
},
{
- "id": 116,
+ "id": 119,
"name": "eq",
"kind": 2048,
"kindString": "Method",
@@ -65512,24 +21881,73 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 39,
- "character": 2
+ "line": 41,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L41"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 42,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L42"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 43,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 117,
+ "id": 120,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nTo check if the value of "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is NULL, you should use "
+ },
+ {
+ "kind": "code",
+ "text": "`.is()`"
+ },
+ {
+ "kind": "text",
+ "text": " instead."
+ }
+ ]
},
"typeParameter": [
{
- "id": 118,
+ "id": 121,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -65542,40 +21960,50 @@
],
"parameters": [
{
- "id": 119,
+ "id": 122,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 118,
+ "id": 121,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 120,
+ "id": 123,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 118,
+ "id": 121,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -65583,16 +22011,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -65600,14 +22033,14 @@
}
},
{
- "id": 121,
+ "id": 124,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 122,
+ "id": 125,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -65618,7 +22051,7 @@
}
},
{
- "id": 123,
+ "id": 126,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -65631,16 +22064,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -65650,7 +22088,7 @@
]
},
{
- "id": 353,
+ "id": 356,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -65658,42 +22096,61 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 189,
- "character": 2
+ "line": 195,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L195"
}
],
"signatures": [
{
- "id": 354,
+ "id": 357,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as the EXPLAIN plan for the query."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as the EXPLAIN plan for the query."
+ }
+ ]
},
"parameters": [
{
- "id": 355,
+ "id": 358,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 356,
+ "id": 359,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 360,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -65701,13 +22158,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query will be executed and the\nactual run time will be returned"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 197,
- "character": 4
+ "line": 203,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L203"
}
],
"type": {
@@ -65716,7 +22187,7 @@
}
},
{
- "id": 360,
+ "id": 363,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -65724,13 +22195,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on buffer usage\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on buffer usage"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
- "character": 4
+ "line": 206,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L206"
}
],
"type": {
@@ -65739,7 +22224,7 @@
}
},
{
- "id": 362,
+ "id": 365,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -65747,13 +22232,31 @@
"isOptional": true
},
"comment": {
- "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The format of the output, can be "
+ },
+ {
+ "kind": "code",
+ "text": "`\"text\"`"
+ },
+ {
+ "kind": "text",
+ "text": " (default)\nor "
+ },
+ {
+ "kind": "code",
+ "text": "`\"json\"`"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 202,
- "character": 4
+ "line": 208,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L208"
}
],
"type": {
@@ -65771,7 +22274,7 @@
}
},
{
- "id": 359,
+ "id": 362,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -65779,36 +22282,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on configuration\nparameters that affect query planning"
+ }
+ ]
},
"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
+ "line": 205,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L205"
}
],
"type": {
@@ -65818,6 +22312,51 @@
},
{
"id": 361,
+ "name": "verbose",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query identifier will be returned\nand "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will include the output columns of the query"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 204,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L204"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 364,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -65825,13 +22364,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on WAL record generation\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on WAL record generation"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 201,
- "character": 4
+ "line": 207,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L207"
}
],
"type": {
@@ -65843,8 +22396,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [357, 360, 362, 359, 358, 361]
+ "children": [360, 363, 365, 362, 361, 364]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 202,
+ "character": 5,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L202"
}
]
}
@@ -65860,7 +22420,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -65870,16 +22430,16 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
@@ -65893,35 +22453,35 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
},
"inheritedFrom": {
"type": "reference",
- "id": 446,
+ "id": 454,
"name": "default.explain"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 445,
+ "id": 453,
"name": "default.explain"
}
},
{
- "id": 298,
+ "id": 301,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -65929,24 +22489,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 439,
- "character": 2
+ "line": 441,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L441"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 446,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L446"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 447,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L447"
}
],
"signatures": [
{
- "id": 299,
+ "id": 302,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.\n\nUnlike most filters, "
+ },
+ {
+ "kind": "code",
+ "text": "`opearator`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized."
+ }
+ ]
},
"typeParameter": [
{
- "id": 300,
+ "id": 303,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -65959,29 +22552,39 @@
],
"parameters": [
{
- "id": 301,
+ "id": 304,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 300,
+ "id": 303,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 302,
+ "id": 305,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The operator to filter with, following PostgREST syntax"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The operator to filter with, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "union",
@@ -66082,13 +22685,18 @@
}
},
{
- "id": 303,
+ "id": 306,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with, following PostgREST syntax\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -66098,16 +22706,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -66115,14 +22728,14 @@
}
},
{
- "id": 304,
+ "id": 307,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 305,
+ "id": 308,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -66133,7 +22746,7 @@
}
},
{
- "id": 306,
+ "id": 309,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -66144,7 +22757,7 @@
}
},
{
- "id": 307,
+ "id": 310,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -66157,16 +22770,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -66176,7 +22794,7 @@
]
},
{
- "id": 351,
+ "id": 354,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -66184,26 +22802,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 163,
- "character": 2
+ "line": 169,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L169"
}
],
"signatures": [
{
- "id": 352,
+ "id": 355,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as an object in [GeoJSON](https://geojson.org) format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
@@ -66217,33 +22849,33 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "default.geojson"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "default.geojson"
}
},
{
- "id": 132,
+ "id": 135,
"name": "gt",
"kind": 2048,
"kindString": "Method",
@@ -66251,23 +22883,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 65,
- "character": 2
+ "line": 67,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L67"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 68,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L68"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 69,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L69"
}
],
"signatures": [
{
- "id": 133,
+ "id": 136,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is greater than `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is greater than "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 134,
+ "id": 137,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -66278,71 +22944,6 @@
}
}
],
- "parameters": [
- {
- "id": 135,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 134,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -66350,9 +22951,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 137,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -66361,6 +22972,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 137,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 140,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 141,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 142,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -66369,16 +23050,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -66388,7 +23074,7 @@
]
},
{
- "id": 140,
+ "id": 143,
"name": "gte",
"kind": 2048,
"kindString": "Method",
@@ -66396,23 +23082,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 78,
- "character": 2
+ "line": 80,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L80"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 81,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L81"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 82,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L82"
}
],
"signatures": [
{
- "id": 141,
+ "id": 144,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is greater than or equal to `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is greater than or equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 142,
+ "id": 145,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -66423,71 +23143,6 @@
}
}
],
- "parameters": [
- {
- "id": 143,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 142,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -66495,9 +23150,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 145,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -66506,6 +23171,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 145,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 148,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 149,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 150,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -66514,16 +23249,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -66533,7 +23273,7 @@
]
},
{
- "id": 172,
+ "id": 175,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
@@ -66541,23 +23281,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 130,
- "character": 2
+ "line": 132,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L132"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 133,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L133"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 134,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L134"
}
],
"signatures": [
{
- "id": 173,
+ "id": 176,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " matches "
+ },
+ {
+ "kind": "code",
+ "text": "`pattern`"
+ },
+ {
+ "kind": "text",
+ "text": " case-insensitively."
+ }
+ ]
},
"typeParameter": [
{
- "id": 174,
+ "id": 177,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -66568,62 +23342,6 @@
}
}
],
- "parameters": [
- {
- "id": 175,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 174,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -66631,9 +23349,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 177,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -66642,6 +23370,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The pattern to match with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -66650,16 +23386,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 180,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 182,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -66669,7 +23463,7 @@
]
},
{
- "id": 188,
+ "id": 191,
"name": "in",
"kind": 2048,
"kindString": "Method",
@@ -66677,23 +23471,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 165,
- "character": 2
+ "line": 167,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L167"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 168,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L168"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 169,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L169"
}
],
"signatures": [
{
- "id": 189,
+ "id": 192,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is included in the "
+ },
+ {
+ "kind": "code",
+ "text": "`values`"
+ },
+ {
+ "kind": "text",
+ "text": " array."
+ }
+ ]
},
"typeParameter": [
{
- "id": 190,
+ "id": 193,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -66706,29 +23534,39 @@
],
"parameters": [
{
- "id": 191,
+ "id": 194,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 190,
+ "id": 193,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 192,
+ "id": 195,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The values array to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values array to filter with"
+ }
+ ]
},
"type": {
"type": "array",
@@ -66736,12 +23574,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 190,
+ "id": 193,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -66750,16 +23588,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -66767,14 +23610,14 @@
}
},
{
- "id": 193,
+ "id": 196,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 194,
+ "id": 197,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -66785,7 +23628,7 @@
}
},
{
- "id": 195,
+ "id": 198,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -66801,16 +23644,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -66820,7 +23668,7 @@
]
},
{
- "id": 180,
+ "id": 183,
"name": "is",
"kind": 2048,
"kindString": "Method",
@@ -66828,24 +23676,113 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 149,
- "character": 2
+ "line": 151,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L151"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 155,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L155"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 156,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L156"
}
],
"signatures": [
{
- "id": 181,
+ "id": 184,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " IS "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nFor non-boolean columns, this is only relevant for checking if the value of\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is NULL by setting "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " to "
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nFor boolean columns, you can also set "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": " or "
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": " and it\nwill behave the same way as "
+ },
+ {
+ "kind": "code",
+ "text": "`.eq()`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 182,
+ "id": 185,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -66858,115 +23795,63 @@
],
"parameters": [
{
- "id": 183,
+ "id": 186,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 182,
+ "id": 185,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 184,
+ "id": 187,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intersection",
- "types": [
+ "summary": [
{
- "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
- }
- ]
+ "kind": "text",
+ "text": "The value to filter with"
}
]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "Object"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -66974,14 +23859,14 @@
}
},
{
- "id": 185,
+ "id": 188,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 186,
+ "id": 189,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -66992,7 +23877,7 @@
}
},
{
- "id": 187,
+ "id": 190,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -67014,16 +23899,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -67033,7 +23923,7 @@
]
},
{
- "id": 164,
+ "id": 167,
"name": "like",
"kind": 2048,
"kindString": "Method",
@@ -67041,23 +23931,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 117,
- "character": 2
+ "line": 119,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L119"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 120,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L120"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 121,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L121"
}
],
"signatures": [
{
- "id": 165,
+ "id": 168,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " matches "
+ },
+ {
+ "kind": "code",
+ "text": "`pattern`"
+ },
+ {
+ "kind": "text",
+ "text": " case-sensitively."
+ }
+ ]
},
"typeParameter": [
{
- "id": 166,
+ "id": 169,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -67068,62 +23992,6 @@
}
}
],
- "parameters": [
- {
- "id": 167,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 166,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -67131,9 +23999,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 169,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -67142,6 +24020,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The pattern to match with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -67150,16 +24036,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 172,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 173,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 174,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -67169,7 +24113,7 @@
]
},
{
- "id": 329,
+ "id": 332,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -67177,29 +24121,48 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 2
+ "line": 101,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"signatures": [
{
- "id": 330,
+ "id": 333,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `count`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`count`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"parameters": [
{
- "id": 331,
+ "id": 334,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The maximum number of rows to return"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The maximum number of rows to return"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -67207,26 +24170,31 @@
}
},
{
- "id": 332,
+ "id": 335,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 334,
+ "id": 337,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -67234,13 +24202,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 43
+ "line": 101,
+ "character": 43,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"type": {
@@ -67252,8 +24226,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [334]
+ "children": [337]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 101,
+ "character": 41,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
]
}
@@ -67263,16 +24244,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -67280,19 +24266,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 422,
+ "id": 430,
"name": "default.limit"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 421,
+ "id": 429,
"name": "default.limit"
}
},
{
- "id": 148,
+ "id": 151,
"name": "lt",
"kind": 2048,
"kindString": "Method",
@@ -67300,23 +24286,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 91,
- "character": 2
+ "line": 93,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L93"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 94,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L94"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 95,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L95"
}
],
"signatures": [
{
- "id": 149,
+ "id": 152,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is less than `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is less than "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 150,
+ "id": 153,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -67327,71 +24347,6 @@
}
}
],
- "parameters": [
- {
- "id": 151,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 150,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -67399,9 +24354,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 153,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -67410,6 +24375,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 153,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 156,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 157,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -67418,16 +24453,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -67437,7 +24477,7 @@
]
},
{
- "id": 156,
+ "id": 159,
"name": "lte",
"kind": 2048,
"kindString": "Method",
@@ -67445,23 +24485,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 104,
- "character": 2
+ "line": 106,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L106"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 107,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L107"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 108,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L108"
}
],
"signatures": [
{
- "id": 157,
+ "id": 160,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is less than or equal to `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is less than or equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 158,
+ "id": 161,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -67472,71 +24546,6 @@
}
}
],
- "parameters": [
- {
- "id": 159,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 158,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -67544,9 +24553,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 161,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -67555,6 +24574,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 161,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 164,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 165,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 166,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -67563,16 +24652,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -67582,7 +24676,7 @@
]
},
{
- "id": 276,
+ "id": 279,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -67590,23 +24684,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 374,
- "character": 2
+ "line": 376,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L376"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 377,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L377"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 378,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L378"
}
],
"signatures": [
{
- "id": 277,
+ "id": 280,
"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."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where each column in "
+ },
+ {
+ "kind": "code",
+ "text": "`query`"
+ },
+ {
+ "kind": "text",
+ "text": " keys is equal to its\nassociated value. Shorthand for multiple "
+ },
+ {
+ "kind": "code",
+ "text": "`.eq()`"
+ },
+ {
+ "kind": "text",
+ "text": "s."
+ }
+ ]
},
"typeParameter": [
{
- "id": 278,
+ "id": 281,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -67619,54 +24747,64 @@
],
"parameters": [
{
- "id": 279,
+ "id": 282,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The object to filter with, with column names as keys mapped\nto their filter values"
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 278,
+ "id": 281,
"name": "ColumnName"
},
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 278,
+ "id": 281,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -67674,14 +24812,14 @@
}
},
{
- "id": 280,
+ "id": 283,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 281,
+ "id": 284,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -67698,24 +24836,29 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -67725,7 +24868,7 @@
]
},
{
- "id": 347,
+ "id": 350,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -67733,56 +24876,77 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 146,
- "character": 2
+ "line": 152,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L152"
}
],
"signatures": [
{
- "id": 348,
+ "id": 351,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be zero or one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise\nthis returns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 523,
+ "id": 535,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
"name": "PostgrestMaybeSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 440,
+ "id": 448,
"name": "default.maybeSingle"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 439,
+ "id": 447,
"name": "default.maybeSingle"
}
},
{
- "id": 124,
+ "id": 127,
"name": "neq",
"kind": 2048,
"kindString": "Method",
@@ -67790,23 +24954,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 52,
- "character": 2
+ "line": 54,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L54"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 55,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L55"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 56,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L56"
}
],
"signatures": [
{
- "id": 125,
+ "id": 128,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is not equal to `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is not equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 126,
+ "id": 129,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -67817,71 +25015,6 @@
}
}
],
- "parameters": [
- {
- "id": 127,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 126,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -67889,9 +25022,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 129,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -67900,6 +25043,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 129,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 132,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 134,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -67908,16 +25121,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -67927,7 +25145,7 @@
]
},
{
- "id": 282,
+ "id": 285,
"name": "not",
"kind": 2048,
"kindString": "Method",
@@ -67935,24 +25153,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 396,
- "character": 2
+ "line": 398,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L398"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 403,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L403"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 404,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L404"
}
],
"signatures": [
{
- "id": 283,
+ "id": 286,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows which doesn't satisfy the filter.\n\nUnlike most filters, "
+ },
+ {
+ "kind": "code",
+ "text": "`opearator`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized."
+ }
+ ]
},
"typeParameter": [
{
- "id": 284,
+ "id": 287,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -67965,29 +25216,39 @@
],
"parameters": [
{
- "id": 285,
+ "id": 288,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 284,
+ "id": 287,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 286,
+ "id": 289,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The operator to be negated to filter with, following\nPostgREST syntax"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The operator to be negated to filter with, following\nPostgREST syntax"
+ }
+ ]
},
"type": {
"type": "reference",
@@ -67995,24 +25256,29 @@
}
},
{
- "id": 287,
+ "id": 290,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with, following PostgREST syntax\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 284,
+ "id": 287,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -68020,16 +25286,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -68037,14 +25308,14 @@
}
},
{
- "id": 288,
+ "id": 291,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 289,
+ "id": 292,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -68055,7 +25326,7 @@
}
},
{
- "id": 290,
+ "id": 293,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -68066,7 +25337,7 @@
}
},
{
- "id": 291,
+ "id": 294,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -68079,16 +25350,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -68098,7 +25374,7 @@
]
},
{
- "id": 292,
+ "id": 295,
"name": "or",
"kind": 2048,
"kindString": "Method",
@@ -68106,30 +25382,56 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 420,
- "character": 2
+ "line": 422,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L422"
}
],
"signatures": [
{
- "id": 293,
+ "id": 296,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows which satisfy at least one of the filters.\n\nUnlike most filters, "
+ },
+ {
+ "kind": "code",
+ "text": "`filters`"
+ },
+ {
+ "kind": "text",
+ "text": " 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 "
+ },
+ {
+ "kind": "code",
+ "text": "`.or()`"
+ },
+ {
+ "kind": "text",
+ "text": " filter across multiple tables."
+ }
+ ]
},
"parameters": [
{
- "id": 294,
+ "id": 297,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The filters to use, following PostgREST syntax"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The filters to use, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -68137,26 +25439,31 @@
}
},
{
- "id": 295,
+ "id": 298,
"name": "foreignTable",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Set this to filter on foreign tables instead of the\ncurrent table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to filter on foreign tables instead of the\ncurrent table"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 296,
+ "id": 299,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 297,
+ "id": 300,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -68166,8 +25473,9 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 420,
- "character": 42
+ "line": 422,
+ "character": 42,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L422"
}
],
"type": {
@@ -68179,8 +25487,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [297]
+ "children": [300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 422,
+ "character": 40,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L422"
}
]
}
@@ -68190,16 +25505,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -68209,7 +25529,7 @@
]
},
{
- "id": 313,
+ "id": 316,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -68217,24 +25537,49 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 59,
- "character": 2
+ "line": 65,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L65"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 69,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L69"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 73,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L73"
}
],
"signatures": [
{
- "id": 314,
+ "id": 317,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Order the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table."
+ }
+ ]
},
"typeParameter": [
{
- "id": 315,
+ "id": 318,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -68247,23 +25592,28 @@
],
"parameters": [
{
- "id": 316,
+ "id": 319,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to order by"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to order by"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 315,
+ "id": 318,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 317,
+ "id": 320,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -68271,19 +25621,24 @@
"isOptional": true
},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 319,
+ "id": 322,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -68291,13 +25646,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the result will be in ascending order"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the result will be in ascending order"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 16
+ "line": 67,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -68306,7 +25675,7 @@
}
},
{
- "id": 321,
+ "id": 324,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -68314,13 +25683,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to order a foreign table by foreign\ncolumns"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 59
+ "line": 67,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -68329,7 +25704,7 @@
}
},
{
- "id": 320,
+ "id": 323,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -68337,13 +25712,51 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear first. If "
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": ",\n"
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear last."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 37
+ "line": 67,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -68355,136 +25768,15 @@
"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"
- }
+ "children": [322, 324, 323]
}
],
- "groups": [
+ "sources": [
{
- "title": "Properties",
- "kind": 1024,
- "children": [326, 328, 327]
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 67,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
]
}
@@ -68493,16 +25785,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -68513,16 +25810,159 @@
"id": 414,
"name": "default.order"
}
+ },
+ {
+ "id": 325,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 326,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 327,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 328,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 329,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 331,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 330,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [329, 331, 330]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 422,
+ "name": "default.order"
+ }
}
],
"inheritedFrom": {
"type": "reference",
- "id": 405,
+ "id": 413,
"name": "default.order"
}
},
{
- "id": 252,
+ "id": 255,
"name": "overlaps",
"kind": 2048,
"kindString": "Method",
@@ -68530,23 +25970,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 313,
- "character": 2
+ "line": 315,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L315"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 319,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L319"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 320,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L320"
}
],
"signatures": [
{
- "id": 253,
+ "id": 256,
"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."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for array and range columns. Match only rows where\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " have an element in common."
+ }
+ ]
},
"typeParameter": [
{
- "id": 254,
+ "id": 257,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -68559,29 +26033,39 @@
],
"parameters": [
{
- "id": 255,
+ "id": 258,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The array or range column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The array or range column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 254,
+ "id": 257,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 256,
+ "id": 259,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The array or range value to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The array or range value to filter with"
+ }
+ ]
},
"type": {
"type": "union",
@@ -68596,12 +26080,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 254,
+ "id": 257,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -68612,16 +26096,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -68629,14 +26118,14 @@
}
},
{
- "id": 257,
+ "id": 260,
"name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 258,
+ "id": 261,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -68647,7 +26136,7 @@
}
},
{
- "id": 259,
+ "id": 262,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -68672,16 +26161,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -68691,7 +26185,7 @@
]
},
{
- "id": 335,
+ "id": 338,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -68699,29 +26193,56 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 2
+ "line": 116,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"signatures": [
{
- "id": 336,
+ "id": 339,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`from`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`to`"
+ },
+ {
+ "kind": "text",
+ "text": " inclusively."
+ }
+ ]
},
"parameters": [
{
- "id": 337,
+ "id": 340,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The starting index from which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The starting index from which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -68729,13 +26250,18 @@
}
},
{
- "id": 338,
+ "id": 341,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The last index to which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The last index to which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -68743,26 +26269,31 @@
}
},
{
- "id": 339,
+ "id": 342,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 343,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 341,
+ "id": 344,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -68770,13 +26301,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 54
+ "line": 116,
+ "character": 54,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"type": {
@@ -68788,8 +26325,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [341]
+ "children": [344]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 52,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
]
}
@@ -68799,16 +26343,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -68816,19 +26365,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 428,
+ "id": 436,
"name": "default.range"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 427,
+ "id": 435,
"name": "default.range"
}
},
{
- "id": 244,
+ "id": 247,
"name": "rangeAdjacent",
"kind": 2048,
"kindString": "Method",
@@ -68836,23 +26385,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 299,
- "character": 2
+ "line": 301,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L301"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 302,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L302"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 303,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L303"
}
],
"signatures": [
{
- "id": 245,
+ "id": 248,
"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."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is\nmutually exclusive to "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": " and there can be no element between the two\nranges."
+ }
+ ]
},
"typeParameter": [
{
- "id": 246,
+ "id": 249,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -68863,62 +26446,6 @@
}
}
],
- "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",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -68926,9 +26453,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 249,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -68937,6 +26474,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -68945,16 +26490,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 252,
+ "name": "rangeAdjacent",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 253,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 254,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -68964,7 +26567,7 @@
]
},
{
- "id": 212,
+ "id": 215,
"name": "rangeGt",
"kind": 2048,
"kindString": "Method",
@@ -68972,23 +26575,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 240,
- "character": 2
+ "line": 242,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L242"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 243,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L243"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 244,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L244"
}
],
"signatures": [
{
- "id": 213,
+ "id": 216,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is greater than any element in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 214,
+ "id": 217,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -68999,62 +26636,6 @@
}
}
],
- "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",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -69062,9 +26643,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 217,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -69073,6 +26664,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -69081,16 +26680,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 220,
+ "name": "rangeGt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 221,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 222,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -69100,7 +26757,7 @@
]
},
{
- "id": 220,
+ "id": 223,
"name": "rangeGte",
"kind": 2048,
"kindString": "Method",
@@ -69108,23 +26765,65 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 255,
- "character": 2
+ "line": 257,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L257"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 258,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L258"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 259,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L259"
}
],
"signatures": [
{
- "id": 221,
+ "id": 224,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is either contained in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": " or greater than any element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 222,
+ "id": 225,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -69135,62 +26834,6 @@
}
}
],
- "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",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -69198,9 +26841,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 225,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -69209,6 +26862,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -69217,16 +26878,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 228,
+ "name": "rangeGte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 229,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 230,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -69236,7 +26955,7 @@
]
},
{
- "id": 228,
+ "id": 231,
"name": "rangeLt",
"kind": 2048,
"kindString": "Method",
@@ -69244,23 +26963,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 269,
- "character": 2
+ "line": 271,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L271"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 272,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L272"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 273,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L273"
}
],
"signatures": [
{
- "id": 229,
+ "id": 232,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is less than any element in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 230,
+ "id": 233,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -69271,62 +27024,6 @@
}
}
],
- "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",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -69334,9 +27031,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 233,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -69345,6 +27052,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -69353,16 +27068,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 236,
+ "name": "rangeLt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 237,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 238,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -69372,7 +27145,7 @@
]
},
{
- "id": 236,
+ "id": 239,
"name": "rangeLte",
"kind": 2048,
"kindString": "Method",
@@ -69380,23 +27153,65 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 284,
- "character": 2
+ "line": 286,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L286"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 287,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L287"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 288,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L288"
}
],
"signatures": [
{
- "id": 237,
+ "id": 240,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is either contained in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": " or less than any element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 238,
+ "id": 241,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -69407,62 +27222,6 @@
}
}
],
- "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",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -69470,9 +27229,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 241,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -69481,6 +27250,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -69489,16 +27266,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 244,
+ "name": "rangeLte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 245,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 246,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -69508,7 +27343,96 @@
]
},
{
- "id": 363,
+ "id": 368,
+ "name": "returns",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 249,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L249"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 369,
+ "name": "returns",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Override the type of the returned "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 370,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The new result type to override with"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 370,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 466,
+ "name": "default.returns"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 465,
+ "name": "default.returns"
+ }
+ },
+ {
+ "id": 366,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -69516,33 +27440,51 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 229,
- "character": 2
+ "line": 235,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L235"
}
],
"signatures": [
{
- "id": 364,
+ "id": 367,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Rollback the query.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will still be returned, but the query is not committed."
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -69550,19 +27492,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 456,
+ "id": 464,
"name": "default.rollback"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 455,
+ "id": 463,
"name": "default.rollback"
}
},
{
- "id": 308,
+ "id": 311,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -69570,24 +27512,69 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 18,
- "character": 2
+ "line": 24,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L24"
}
],
"signatures": [
{
- "id": 309,
+ "id": 312,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a SELECT on the query result.\n\nBy default, "
+ },
+ {
+ "kind": "code",
+ "text": "`.insert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.update()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.upsert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", and "
+ },
+ {
+ "kind": "code",
+ "text": "`.delete()`"
+ },
+ {
+ "kind": "text",
+ "text": " do not\nreturn modified rows. By calling this method, modified rows are returned in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 310,
+ "id": 313,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -69602,7 +27589,7 @@
}
},
{
- "id": 311,
+ "id": 314,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -69612,29 +27599,18 @@
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"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"
- }
+ "type": "reference",
+ "id": 313,
+ "name": "Query"
}
],
"name": "GetResult"
@@ -69643,7 +27619,7 @@
],
"parameters": [
{
- "id": 312,
+ "id": 315,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -69651,11 +27627,16 @@
"isOptional": true
},
"comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The columns to retrieve, separated by commas"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 310,
+ "id": 313,
"name": "Query",
"dereferenced": {}
}
@@ -69663,16 +27644,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 311,
+ "id": 314,
"name": "NewResult"
}
],
@@ -69680,19 +27666,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 401,
+ "id": 409,
"name": "default.select"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 400,
+ "id": 408,
"name": "default.select"
}
},
{
- "id": 345,
+ "id": 348,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -69700,56 +27686,77 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 135,
- "character": 2
+ "line": 141,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L141"
}
],
"signatures": [
{
- "id": 346,
+ "id": 349,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise this\nreturns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 438,
+ "id": 446,
"name": "default.single"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 437,
+ "id": 445,
"name": "default.single"
}
},
{
- "id": 260,
+ "id": 263,
"name": "textSearch",
"kind": 2048,
"kindString": "Method",
@@ -69757,23 +27764,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 339,
- "character": 2
+ "line": 341,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L341"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 346,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L346"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 351,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L351"
}
],
"signatures": [
{
- "id": 261,
+ "id": 264,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for text and tsvector columns. Match only rows where\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " matches the query string in "
+ },
+ {
+ "kind": "code",
+ "text": "`query`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 262,
+ "id": 265,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -69786,29 +27827,39 @@
],
"parameters": [
{
- "id": 263,
+ "id": 266,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The text or tsvector column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The text or tsvector column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 262,
+ "id": 265,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 264,
+ "id": 267,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The query text to match with"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The query text to match with"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -69816,7 +27867,7 @@
}
},
{
- "id": 265,
+ "id": 268,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -69824,19 +27875,24 @@
"isOptional": true
},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 266,
+ "id": 269,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 267,
+ "id": 270,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -69844,13 +27900,19 @@
"isOptional": true
},
"comment": {
- "shortText": "The text search configuration to use"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The text search configuration to use"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 342,
- "character": 16
+ "line": 344,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L344"
}
],
"type": {
@@ -69859,7 +27921,7 @@
}
},
{
- "id": 268,
+ "id": 271,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -69867,13 +27929,27 @@
"isOptional": true
},
"comment": {
- "shortText": "Change how the `query` text is interpreted\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Change how the "
+ },
+ {
+ "kind": "code",
+ "text": "`query`"
+ },
+ {
+ "kind": "text",
+ "text": " text is interpreted"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 342,
- "character": 33
+ "line": 344,
+ "character": 33,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L344"
}
],
"type": {
@@ -69898,8 +27974,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [267, 268]
+ "children": [270, 271]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 344,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L344"
}
]
}
@@ -69908,16 +27991,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -69925,14 +28013,14 @@
}
},
{
- "id": 269,
+ "id": 272,
"name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 270,
+ "id": 273,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -69943,7 +28031,7 @@
}
},
{
- "id": 271,
+ "id": 274,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -69954,7 +28042,7 @@
}
},
{
- "id": 272,
+ "id": 275,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -69964,14 +28052,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 276,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 274,
+ "id": 277,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -69981,8 +28069,9 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 347,
- "character": 16
+ "line": 349,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L349"
}
],
"type": {
@@ -69991,7 +28080,7 @@
}
},
{
- "id": 275,
+ "id": 278,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -70001,8 +28090,9 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 347,
- "character": 33
+ "line": 349,
+ "character": 33,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L349"
}
],
"type": {
@@ -70027,8 +28117,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [274, 275]
+ "children": [277, 278]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 349,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L349"
}
]
}
@@ -70037,16 +28134,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -70056,7 +28158,7 @@
]
},
{
- "id": 380,
+ "id": 386,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -70065,30 +28167,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 381,
+ "id": 387,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 382,
+ "id": 388,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -70096,7 +28199,7 @@
}
},
{
- "id": 383,
+ "id": 389,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -70109,7 +28212,7 @@
],
"parameters": [
{
- "id": 384,
+ "id": 390,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -70126,32 +28229,40 @@
{
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 386,
+ "id": 392,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 387,
+ "id": 393,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -70164,7 +28275,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -70172,13 +28283,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -70190,7 +28301,7 @@
}
},
{
- "id": 388,
+ "id": 394,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -70207,21 +28318,29 @@
{
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 395,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 390,
+ "id": 396,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 391,
+ "id": 397,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -70237,7 +28356,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -70245,13 +28364,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -70271,36 +28390,36 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 484,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 472,
+ "id": 483,
"name": "default.then"
}
},
{
- "id": 378,
+ "id": 384,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -70309,32 +28428,48 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 379,
+ "id": 385,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -70342,14 +28477,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 471,
+ "id": 482,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 470,
+ "id": 481,
"name": "default.throwOnError"
}
}
@@ -70357,34 +28492,43 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [111]
+ "children": [113]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [377, 369, 372, 367, 365, 368, 370, 371, 366]
+ "children": [383, 375, 378, 373, 371, 374, 376, 377, 372]
},
{
"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
+ 345, 207, 199, 352, 119, 356, 301, 354, 135, 143, 175, 191, 183, 167, 332, 151, 159,
+ 279, 350, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 368, 366, 311, 348,
+ 263, 386, 384
]
}
],
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 27,
- "character": 21
+ "line": 28,
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L28"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 392,
+ "id": 398,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 399,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -70401,13 +28545,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 393,
+ "id": 400,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -70417,16 +28561,21 @@
"extendedTypes": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -70450,8 +28599,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 13,
- "character": 2
+ "line": 16,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L16"
}
],
"signatures": [
@@ -70464,6 +28614,17 @@
"typeParameter": [
{
"id": 52,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 53,
"name": "Relation",
"kind": 131072,
"kindString": "Type parameter",
@@ -70485,20 +28646,20 @@
],
"parameters": [
{
- "id": 53,
+ "id": 54,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 54,
+ "id": 55,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -70506,14 +28667,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 56,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 58,
+ "id": 59,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -70523,28 +28684,36 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 22,
- "character": 6
+ "line": 25,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L25"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 59,
+ "id": 60,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 60,
+ "id": 61,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 61,
+ "id": 62,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -70554,21 +28723,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 62,
+ "id": 63,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -70577,9 +28746,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -70588,14 +28757,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -70603,7 +28772,7 @@
}
},
{
- "id": 56,
+ "id": 57,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -70613,8 +28782,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 20,
- "character": 6
+ "line": 23,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L23"
}
],
"type": {
@@ -70629,13 +28799,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 57,
+ "id": 58,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -70645,8 +28815,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 21,
- "character": 6
+ "line": 24,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L24"
}
],
"type": {
@@ -70658,8 +28829,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [58, 56, 57]
+ "children": [59, 57, 58]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 22,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L22"
}
]
}
@@ -70673,6 +28851,11 @@
{
"type": "reference",
"id": 52,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 53,
"name": "Relation"
}
],
@@ -70682,7 +28865,7 @@
]
},
{
- "id": 67,
+ "id": 68,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -70692,28 +28875,36 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 11,
- "character": 2
+ "line": 14,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L14"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 68,
+ "id": 69,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 69,
+ "id": 70,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 70,
+ "id": 71,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -70723,21 +28914,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 71,
+ "id": 72,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -70746,9 +28937,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -70757,14 +28948,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -70772,7 +28963,7 @@
}
},
{
- "id": 64,
+ "id": 65,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -70780,8 +28971,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 8,
- "character": 2
+ "line": 11,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L11"
}
],
"type": {
@@ -70796,13 +28988,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 65,
+ "id": 66,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -70812,8 +29004,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 9,
- "character": 2
+ "line": 12,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L12"
}
],
"type": {
@@ -70822,7 +29015,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -70832,19 +29025,20 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 10,
- "character": 2
+ "line": 13,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L13"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
},
{
- "id": 63,
+ "id": 64,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -70852,19 +29046,20 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 7,
- "character": 2
+ "line": 10,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L10"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 104,
+ "id": 105,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -70872,43 +29067,61 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 296,
- "character": 2
+ "line": 299,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L299"
}
],
"signatures": [
{
- "id": 105,
+ "id": 106,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a DELETE on the table or view.\n\nBy default, deleted rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": " after filters."
+ }
+ ]
},
"parameters": [
{
- "id": 106,
+ "id": 107,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 107,
+ "id": 108,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 108,
+ "id": 109,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -70916,13 +29129,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count deleted rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 299,
- "character": 4
+ "line": 302,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L302"
}
],
"type": {
@@ -70947,8 +29198,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [108]
+ "children": [109]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 301,
+ "character": 5,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L301"
}
]
}
@@ -70958,8 +29216,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -70968,7 +29231,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -70983,7 +29246,7 @@
]
},
{
- "id": 81,
+ "id": 82,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -70991,24 +29254,37 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 117,
- "character": 2
+ "line": 120,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L120"
}
],
"signatures": [
{
- "id": 82,
+ "id": 83,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform an INSERT into the table or view.\n\nBy default, inserted rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 83,
+ "id": 84,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -71025,35 +29301,40 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"parameters": [
{
- "id": 84,
+ "id": 85,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows."
+ }
+ ]
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
- "id": 83,
+ "id": 84,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 83,
+ "id": 84,
"name": "Row"
}
}
@@ -71061,26 +29342,31 @@
}
},
{
- "id": 85,
+ "id": 86,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 86,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 87,
+ "id": 88,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -71088,13 +29374,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count inserted rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 122,
- "character": 6
+ "line": 125,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L125"
}
],
"type": {
@@ -71119,8 +29443,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [87]
+ "children": [88]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 124,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L124"
}
]
}
@@ -71130,8 +29461,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -71140,7 +29476,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -71155,7 +29491,7 @@
]
},
{
- "id": 72,
+ "id": 73,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -71163,23 +29499,29 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 52,
- "character": 2
+ "line": 55,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L55"
}
],
"signatures": [
{
- "id": 73,
+ "id": 74,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a SELECT query on the table or view."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a SELECT query on the table or view."
+ }
+ ]
},
"typeParameter": [
{
- "id": 74,
+ "id": 75,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -71194,7 +29536,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -71202,6 +29544,11 @@
"default": {
"type": "reference",
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -71210,30 +29557,14 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"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"
- }
+ "type": "reference",
+ "id": 75,
+ "name": "Query"
}
],
"name": "GetResult"
@@ -71242,7 +29573,7 @@
],
"parameters": [
{
- "id": 76,
+ "id": 77,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -71250,36 +29581,46 @@
"isOptional": true
},
"comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The columns to retrieve, separated by commas"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 74,
+ "id": 75,
"name": "Query",
"dereferenced": {}
}
},
{
- "id": 77,
+ "id": 78,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 78,
+ "id": 79,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 80,
+ "id": 81,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -71287,13 +29628,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count rows in the table or view.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 62,
- "character": 6
+ "line": 65,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L65"
}
],
"type": {
@@ -71315,7 +29694,7 @@
}
},
{
- "id": 79,
+ "id": 80,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -71323,13 +29702,35 @@
"isOptional": true
},
"comment": {
- "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "When set to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will not be returned.\nUseful if you only need the count."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 61,
- "character": 6
+ "line": 64,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L64"
}
],
"type": {
@@ -71341,8 +29742,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [80, 79]
+ "children": [81, 80]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 63,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L63"
}
]
}
@@ -71352,8 +29760,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -71362,13 +29775,13 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
{
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "Result"
}
],
@@ -71378,7 +29791,7 @@
]
},
{
- "id": 97,
+ "id": 98,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -71386,24 +29799,37 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 247,
- "character": 2
+ "line": 250,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L250"
}
],
"signatures": [
{
- "id": 98,
+ "id": 99,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform an UPDATE on the table or view.\n\nBy default, updated rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": " after filters."
+ }
+ ]
},
"typeParameter": [
{
- "id": 99,
+ "id": 100,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -71420,50 +29846,60 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"parameters": [
{
- "id": 100,
+ "id": 101,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The values to update with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values to update with"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 99,
+ "id": 100,
"name": "Row",
"dereferenced": {}
}
},
{
- "id": 101,
+ "id": 102,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 102,
+ "id": 103,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 103,
+ "id": 104,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -71471,13 +29907,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count updated rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 252,
- "character": 6
+ "line": 255,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L255"
}
],
"type": {
@@ -71502,8 +29976,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [103]
+ "children": [104]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 254,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L254"
}
]
}
@@ -71513,8 +29994,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -71523,7 +30009,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -71538,7 +30024,7 @@
]
},
{
- "id": 88,
+ "id": 89,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
@@ -71546,24 +30032,77 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 189,
- "character": 2
+ "line": 192,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L192"
}
],
"signatures": [
{
- "id": 89,
+ "id": 90,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto "
+ },
+ {
+ "kind": "code",
+ "text": "`onConflict`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.upsert()`"
+ },
+ {
+ "kind": "text",
+ "text": " allows you to perform the equivalent of\n"
+ },
+ {
+ "kind": "code",
+ "text": "`.insert()`"
+ },
+ {
+ "kind": "text",
+ "text": " if a row with the corresponding "
+ },
+ {
+ "kind": "code",
+ "text": "`onConflict`"
+ },
+ {
+ "kind": "text",
+ "text": " columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n"
+ },
+ {
+ "kind": "code",
+ "text": "`ignoreDuplicates`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nBy default, upserted rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 90,
+ "id": 91,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -71580,35 +30119,40 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"parameters": [
{
- "id": 91,
+ "id": 92,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows."
+ }
+ ]
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
- "id": 90,
+ "id": 91,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 90,
+ "id": 91,
"name": "Row"
}
}
@@ -71616,26 +30160,31 @@
}
},
{
- "id": 92,
+ "id": 93,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 93,
+ "id": 94,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 96,
+ "id": 97,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -71643,13 +30192,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count upserted rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 198,
- "character": 6
+ "line": 201,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L201"
}
],
"type": {
@@ -71671,7 +30258,7 @@
}
},
{
- "id": 95,
+ "id": 96,
"name": "ignoreDuplicates",
"kind": 1024,
"kindString": "Property",
@@ -71679,13 +30266,35 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", duplicate rows are ignored. If\n"
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": ", duplicate rows are merged with existing rows."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 197,
- "character": 6
+ "line": 200,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L200"
}
],
"type": {
@@ -71694,7 +30303,7 @@
}
},
{
- "id": 94,
+ "id": 95,
"name": "onConflict",
"kind": 1024,
"kindString": "Property",
@@ -71702,13 +30311,27 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n"
+ },
+ {
+ "kind": "code",
+ "text": "`onConflict`"
+ },
+ {
+ "kind": "text",
+ "text": " columns are equal."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 196,
- "character": 6
+ "line": 199,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L199"
}
],
"type": {
@@ -71720,8 +30343,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [96, 95, 94]
+ "children": [97, 96, 95]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 198,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L198"
}
]
}
@@ -71731,8 +30361,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -71741,7 +30376,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -71759,30 +30394,39 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
"children": [50]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [67, 64, 65, 66, 63]
+ "children": [68, 65, 66, 67, 64]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [104, 81, 72, 97, 88]
+ "children": [105, 82, 73, 98, 89]
}
],
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
"line": 6,
- "character": 21
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L6"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 109,
+ "id": 110,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 111,
"name": "Relation",
"kind": 131072,
"kindString": "Type parameter",
@@ -71804,28 +30448,47 @@
]
},
{
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 402,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 18,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
+ }
+ ],
"signatures": [
{
- "id": 396,
+ "id": 403,
"name": "new PostgrestTransformBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 397,
+ "id": 404,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 405,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -71842,13 +30505,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 398,
+ "id": 406,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -71857,24 +30520,24 @@
],
"parameters": [
{
- "id": 399,
+ "id": 407,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 486,
+ "id": 498,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -71883,7 +30546,7 @@
},
"children": [
{
- "id": 487,
+ "id": 499,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -71892,19 +30555,20 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 18,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
}
],
"signatures": [
{
- "id": 488,
+ "id": 500,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 489,
+ "id": 501,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -71913,18 +30577,18 @@
],
"parameters": [
{
- "id": 490,
+ "id": 502,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -71935,11 +30599,11 @@
],
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -71949,7 +30613,7 @@
]
},
{
- "id": 503,
+ "id": 515,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -71960,7 +30624,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -71969,7 +30634,7 @@
}
},
{
- "id": 495,
+ "id": 507,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -71981,7 +30646,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -71990,7 +30656,7 @@
}
},
{
- "id": 498,
+ "id": 510,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -72001,27 +30667,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 500,
+ "id": 512,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 501,
+ "id": 513,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -72031,21 +30705,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 502,
+ "id": 514,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -72054,9 +30728,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -72065,14 +30739,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -72080,7 +30754,7 @@
}
},
{
- "id": 493,
+ "id": 505,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -72091,7 +30765,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -72106,13 +30781,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 491,
+ "id": 503,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -72123,7 +30798,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -72153,7 +30829,7 @@
}
},
{
- "id": 494,
+ "id": 506,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -72165,7 +30841,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -72174,7 +30851,7 @@
}
},
{
- "id": 496,
+ "id": 508,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -72185,7 +30862,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -72195,7 +30873,7 @@
"defaultValue": "false"
},
{
- "id": 497,
+ "id": 509,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -72207,18 +30885,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
},
{
- "id": 492,
+ "id": 504,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -72229,18 +30908,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 506,
+ "id": 518,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -72249,30 +30929,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 507,
+ "id": 519,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 508,
+ "id": 520,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -72280,7 +30961,7 @@
}
},
{
- "id": 509,
+ "id": 521,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -72293,7 +30974,7 @@
],
"parameters": [
{
- "id": 510,
+ "id": 522,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -72310,32 +30991,40 @@
{
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 523,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 512,
+ "id": 524,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 513,
+ "id": 525,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -72348,7 +31037,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -72356,13 +31045,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -72374,7 +31063,7 @@
}
},
{
- "id": 514,
+ "id": 526,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -72391,21 +31080,29 @@
{
"type": "reflection",
"declaration": {
- "id": 515,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 516,
+ "id": 528,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 517,
+ "id": 529,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -72421,7 +31118,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -72429,13 +31126,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -72455,20 +31152,20 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"implementationOf": {
"type": "reference",
@@ -72482,7 +31179,7 @@
}
},
{
- "id": 504,
+ "id": 516,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -72491,27 +31188,38 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 505,
+ "id": 517,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -72524,30 +31232,28 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [487]
+ "children": [499]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [503, 495, 498, 493, 491, 494, 496, 497, 492]
+ "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [506, 504]
+ "children": [518, 516]
}
],
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
"line": 5,
- "character": 30
+ "character": 30,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L5"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 518,
+ "id": 530,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -72557,7 +31263,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder"
}
],
@@ -72567,20 +31273,20 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -72589,16 +31295,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -72606,19 +31317,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 488,
+ "id": 500,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 487,
+ "id": 499,
"name": "default.constructor"
}
},
{
- "id": 469,
+ "id": 480,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -72629,7 +31340,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -72638,12 +31350,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 503,
+ "id": 515,
"name": "default.allowEmpty"
}
},
{
- "id": 461,
+ "id": 472,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -72655,7 +31367,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -72664,12 +31377,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 495,
+ "id": 507,
"name": "default.body"
}
},
{
- "id": 464,
+ "id": 475,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -72680,27 +31393,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 476,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 466,
+ "id": 477,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 467,
+ "id": 478,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -72710,21 +31431,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 468,
+ "id": 479,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -72733,9 +31454,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -72744,14 +31465,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -72759,12 +31480,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 498,
+ "id": 510,
"name": "default.fetch"
}
},
{
- "id": 459,
+ "id": 470,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -72775,7 +31496,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -72790,18 +31512,18 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 493,
+ "id": 505,
"name": "default.headers"
}
},
{
- "id": 457,
+ "id": 468,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -72812,7 +31534,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -72842,12 +31565,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 491,
+ "id": 503,
"name": "default.method"
}
},
{
- "id": 460,
+ "id": 471,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -72859,7 +31582,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -72868,12 +31592,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 494,
+ "id": 506,
"name": "default.schema"
}
},
{
- "id": 462,
+ "id": 473,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -72884,7 +31608,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -72894,12 +31619,12 @@
"defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 496,
+ "id": 508,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 463,
+ "id": 474,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -72911,23 +31636,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 497,
+ "id": 509,
"name": "default.signal"
}
},
{
- "id": 458,
+ "id": 469,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -72938,23 +31664,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 492,
+ "id": 504,
"name": "default.url"
}
},
{
- "id": 434,
+ "id": 442,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -72962,50 +31689,66 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 124,
- "character": 2
+ "line": 130,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L130"
}
],
"signatures": [
{
- "id": 435,
+ "id": 443,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Set the AbortSignal for the fetch request."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set the AbortSignal for the fetch request."
+ }
+ ]
},
"parameters": [
{
- "id": 436,
+ "id": 444,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The AbortSignal to use for the fetch request\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The AbortSignal to use for the fetch request"
+ }
+ ]
},
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -73015,7 +31758,7 @@
]
},
{
- "id": 441,
+ "id": 449,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -73023,26 +31766,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 155,
- "character": 2
+ "line": 161,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L161"
}
],
"signatures": [
{
- "id": 442,
+ "id": 450,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as a string in CSV format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a string in CSV format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -73052,15 +31809,15 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 445,
+ "id": 453,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -73068,42 +31825,61 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 189,
- "character": 2
+ "line": 195,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L195"
}
],
"signatures": [
{
- "id": 446,
+ "id": 454,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as the EXPLAIN plan for the query."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as the EXPLAIN plan for the query."
+ }
+ ]
},
"parameters": [
{
- "id": 447,
+ "id": 455,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 448,
+ "id": 456,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 449,
+ "id": 457,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -73111,13 +31887,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query will be executed and the\nactual run time will be returned"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 197,
- "character": 4
+ "line": 203,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L203"
}
],
"type": {
@@ -73126,7 +31916,7 @@
}
},
{
- "id": 452,
+ "id": 460,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -73134,13 +31924,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on buffer usage\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on buffer usage"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
- "character": 4
+ "line": 206,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L206"
}
],
"type": {
@@ -73149,7 +31953,7 @@
}
},
{
- "id": 454,
+ "id": 462,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -73157,13 +31961,31 @@
"isOptional": true
},
"comment": {
- "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The format of the output, can be "
+ },
+ {
+ "kind": "code",
+ "text": "`\"text\"`"
+ },
+ {
+ "kind": "text",
+ "text": " (default)\nor "
+ },
+ {
+ "kind": "code",
+ "text": "`\"json\"`"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 202,
- "character": 4
+ "line": 208,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L208"
}
],
"type": {
@@ -73181,7 +32003,7 @@
}
},
{
- "id": 451,
+ "id": 459,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -73189,13 +32011,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on configuration\nparameters that affect query planning"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 199,
- "character": 4
+ "line": 205,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L205"
}
],
"type": {
@@ -73204,7 +32040,7 @@
}
},
{
- "id": 450,
+ "id": 458,
"name": "verbose",
"kind": 1024,
"kindString": "Property",
@@ -73212,13 +32048,35 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query identifier will be returned\nand "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will include the output columns of the query"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 198,
- "character": 4
+ "line": 204,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L204"
}
],
"type": {
@@ -73227,7 +32085,7 @@
}
},
{
- "id": 453,
+ "id": 461,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -73235,13 +32093,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on WAL record generation\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on WAL record generation"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 201,
- "character": 4
+ "line": 207,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L207"
}
],
"type": {
@@ -73253,8 +32125,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [449, 452, 454, 451, 450, 453]
+ "children": [457, 460, 462, 459, 458, 461]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 202,
+ "character": 5,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L202"
}
]
}
@@ -73270,7 +32149,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -73280,16 +32159,16 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
@@ -73303,17 +32182,17 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -73321,7 +32200,7 @@
]
},
{
- "id": 443,
+ "id": 451,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -73329,26 +32208,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 163,
- "character": 2
+ "line": 169,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L169"
}
],
"signatures": [
{
- "id": 444,
+ "id": 452,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as an object in [GeoJSON](https://geojson.org) format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
@@ -73362,23 +32255,23 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 421,
+ "id": 429,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -73386,29 +32279,48 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 2
+ "line": 101,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"signatures": [
{
- "id": 422,
+ "id": 430,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `count`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`count`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"parameters": [
{
- "id": 423,
+ "id": 431,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The maximum number of rows to return"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The maximum number of rows to return"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -73416,26 +32328,31 @@
}
},
{
- "id": 424,
+ "id": 432,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 425,
+ "id": 433,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 426,
+ "id": 434,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -73443,13 +32360,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 43
+ "line": 101,
+ "character": 43,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"type": {
@@ -73461,8 +32384,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [426]
+ "children": [434]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 101,
+ "character": 41,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
]
}
@@ -73472,16 +32402,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -73491,7 +32426,7 @@
]
},
{
- "id": 439,
+ "id": 447,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -73499,46 +32434,67 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 146,
- "character": 2
+ "line": 152,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L152"
}
],
"signatures": [
{
- "id": 440,
+ "id": 448,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be zero or one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise\nthis returns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 523,
+ "id": 535,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
"name": "PostgrestMaybeSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 405,
+ "id": 413,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -73546,24 +32502,49 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 59,
- "character": 2
+ "line": 65,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L65"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 69,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L69"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 73,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L73"
}
],
"signatures": [
{
- "id": 406,
+ "id": 414,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Order the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table."
+ }
+ ]
},
"typeParameter": [
{
- "id": 407,
+ "id": 415,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -73576,23 +32557,28 @@
],
"parameters": [
{
- "id": 408,
+ "id": 416,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to order by"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to order by"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 315,
+ "id": 318,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 409,
+ "id": 417,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -73600,19 +32586,24 @@
"isOptional": true
},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 410,
+ "id": 418,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 411,
+ "id": 419,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -73620,13 +32611,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the result will be in ascending order"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the result will be in ascending order"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 16
+ "line": 67,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -73635,7 +32640,7 @@
}
},
{
- "id": 413,
+ "id": 421,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -73643,13 +32648,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to order a foreign table by foreign\ncolumns"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 59
+ "line": 67,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -73658,7 +32669,7 @@
}
},
{
- "id": 412,
+ "id": 420,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -73666,13 +32677,51 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear first. If "
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": ",\n"
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear last."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 37
+ "line": 67,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -73684,8 +32733,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [411, 413, 412]
+ "children": [419, 421, 420]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 67,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
]
}
@@ -73694,16 +32750,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -73711,14 +32772,14 @@
}
},
{
- "id": 414,
+ "id": 422,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 415,
+ "id": 423,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -73729,7 +32790,7 @@
}
},
{
- "id": 416,
+ "id": 424,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -73739,14 +32800,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 417,
+ "id": 425,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 418,
+ "id": 426,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -73756,8 +32817,9 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 65,
- "character": 16
+ "line": 71,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
],
"type": {
@@ -73766,7 +32828,7 @@
}
},
{
- "id": 420,
+ "id": 428,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -73774,8 +32836,9 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 65,
- "character": 59
+ "line": 71,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
],
"type": {
@@ -73784,7 +32847,7 @@
}
},
{
- "id": 419,
+ "id": 427,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -73794,8 +32857,9 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 65,
- "character": 37
+ "line": 71,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
],
"type": {
@@ -73807,8 +32871,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [418, 420, 419]
+ "children": [426, 428, 427]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
]
}
@@ -73817,16 +32888,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -73836,7 +32912,7 @@
]
},
{
- "id": 427,
+ "id": 435,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -73844,29 +32920,56 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 2
+ "line": 116,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"signatures": [
{
- "id": 428,
+ "id": 436,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`from`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`to`"
+ },
+ {
+ "kind": "text",
+ "text": " inclusively."
+ }
+ ]
},
"parameters": [
{
- "id": 429,
+ "id": 437,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The starting index from which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The starting index from which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -73874,13 +32977,18 @@
}
},
{
- "id": 430,
+ "id": 438,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The last index to which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The last index to which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -73888,26 +32996,31 @@
}
},
{
- "id": 431,
+ "id": 439,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 432,
+ "id": 440,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 433,
+ "id": 441,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -73915,13 +33028,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 54
+ "line": 116,
+ "character": 54,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"type": {
@@ -73933,8 +33052,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [433]
+ "children": [441]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 52,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
]
}
@@ -73944,16 +33070,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -73963,7 +33094,86 @@
]
},
{
- "id": 455,
+ "id": 465,
+ "name": "returns",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 249,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L249"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 466,
+ "name": "returns",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Override the type of the returned "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 467,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The new result type to override with"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 370,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 463,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -73971,33 +33181,51 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 229,
- "character": 2
+ "line": 235,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L235"
}
],
"signatures": [
{
- "id": 456,
+ "id": 464,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Rollback the query.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will still be returned, but the query is not committed."
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -74007,7 +33235,7 @@
]
},
{
- "id": 400,
+ "id": 408,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -74015,24 +33243,69 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 18,
- "character": 2
+ "line": 24,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L24"
}
],
"signatures": [
{
- "id": 401,
+ "id": 409,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a SELECT on the query result.\n\nBy default, "
+ },
+ {
+ "kind": "code",
+ "text": "`.insert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.update()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.upsert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", and "
+ },
+ {
+ "kind": "code",
+ "text": "`.delete()`"
+ },
+ {
+ "kind": "text",
+ "text": " do not\nreturn modified rows. By calling this method, modified rows are returned in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 402,
+ "id": 410,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -74047,7 +33320,7 @@
}
},
{
- "id": 403,
+ "id": 411,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -74057,29 +33330,18 @@
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"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"
- }
+ "type": "reference",
+ "id": 313,
+ "name": "Query"
}
],
"name": "GetResult"
@@ -74088,7 +33350,7 @@
],
"parameters": [
{
- "id": 404,
+ "id": 412,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -74096,11 +33358,16 @@
"isOptional": true
},
"comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The columns to retrieve, separated by commas"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 310,
+ "id": 313,
"name": "Query",
"dereferenced": {}
}
@@ -74108,16 +33375,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 311,
+ "id": 314,
"name": "NewResult"
}
],
@@ -74127,7 +33399,7 @@
]
},
{
- "id": 437,
+ "id": 445,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -74135,46 +33407,67 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 135,
- "character": 2
+ "line": 141,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L141"
}
],
"signatures": [
{
- "id": 438,
+ "id": 446,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise this\nreturns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 472,
+ "id": 483,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -74183,30 +33476,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 473,
+ "id": 484,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 474,
+ "id": 485,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -74214,7 +33508,7 @@
}
},
{
- "id": 475,
+ "id": 486,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -74227,7 +33521,7 @@
],
"parameters": [
{
- "id": 476,
+ "id": 487,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -74244,32 +33538,40 @@
{
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 478,
+ "id": 489,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 479,
+ "id": 490,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -74282,7 +33584,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -74290,13 +33592,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -74308,7 +33610,7 @@
}
},
{
- "id": 480,
+ "id": 491,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -74325,21 +33627,29 @@
{
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 482,
+ "id": 493,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 483,
+ "id": 494,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -74355,7 +33665,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -74363,13 +33673,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -74389,36 +33699,36 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 507,
+ "id": 519,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 506,
+ "id": 518,
"name": "default.then"
}
},
{
- "id": 470,
+ "id": 481,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -74427,32 +33737,48 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 471,
+ "id": 482,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -74460,14 +33786,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 505,
+ "id": 517,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 504,
+ "id": 516,
"name": "default.throwOnError"
}
}
@@ -74475,30 +33801,39 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [395]
+ "children": [402]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [469, 461, 464, 459, 457, 460, 462, 463, 458]
+ "children": [480, 472, 475, 470, 468, 471, 473, 474, 469]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [434, 441, 445, 443, 421, 439, 405, 427, 455, 400, 437, 472, 470]
+ "children": [442, 449, 453, 451, 429, 447, 413, 435, 465, 463, 408, 445, 483, 481]
}
],
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 5,
- "character": 21
+ "line": 10,
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L10"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 484,
+ "id": 495,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 496,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -74515,13 +33850,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 485,
+ "id": 497,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -74531,11 +33866,11 @@
"extendedTypes": [
{
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -74545,39 +33880,50 @@
"extendedBy": [
{
"type": "reference",
- "id": 110,
+ "id": 112,
"name": "PostgrestFilterBuilder"
}
]
},
{
- "id": 525,
+ "id": 537,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error format\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes",
+ "target": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes"
+ }
+ ]
},
"sources": [
{
"fileName": "src/types.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L8"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 538,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 542,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -74586,7 +33932,8 @@
{
"fileName": "src/types.ts",
"line": 12,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L12"
}
],
"type": {
@@ -74595,7 +33942,7 @@
}
},
{
- "id": 528,
+ "id": 540,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -74604,7 +33951,8 @@
{
"fileName": "src/types.ts",
"line": 10,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L10"
}
],
"type": {
@@ -74613,7 +33961,7 @@
}
},
{
- "id": 529,
+ "id": 541,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -74622,7 +33970,8 @@
{
"fileName": "src/types.ts",
"line": 11,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L11"
}
],
"type": {
@@ -74631,7 +33980,7 @@
}
},
{
- "id": 527,
+ "id": 539,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -74640,7 +33989,8 @@
{
"fileName": "src/types.ts",
"line": 9,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L9"
}
],
"type": {
@@ -74652,22 +34002,22 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [530, 528, 529, 527]
+ "children": [542, 540, 541, 539]
}
],
"sources": [
{
"fileName": "src/types.ts",
"line": 8,
- "character": 29
+ "character": 29,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L8"
}
]
}
}
},
{
- "id": 523,
+ "id": 535,
"name": "PostgrestMaybeSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -74676,12 +34026,13 @@
{
"fileName": "src/types.ts",
"line": 45,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L45"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 524,
+ "id": 536,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -74690,19 +34041,19 @@
],
"type": {
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
- "id": 524,
+ "id": 536,
"name": "T"
},
{
- "type": "intrinsic",
- "name": "undefined"
+ "type": "literal",
+ "value": null
}
]
}
@@ -74711,7 +34062,7 @@
}
},
{
- "id": 519,
+ "id": 531,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -74720,12 +34071,13 @@
{
"fileName": "src/types.ts",
"line": 35,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L35"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 520,
+ "id": 532,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -74740,7 +34092,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 520,
+ "id": 532,
"name": "T"
}
],
@@ -74754,7 +34106,7 @@
}
},
{
- "id": 521,
+ "id": 533,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -74763,12 +34115,13 @@
{
"fileName": "src/types.ts",
"line": 42,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L42"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 522,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -74783,7 +34136,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 522,
+ "id": 534,
"name": "T"
}
],
@@ -74800,20 +34153,19 @@
"groups": [
{
"title": "Classes",
- "kind": 128,
- "children": [486, 1, 110, 49, 394]
+ "children": [498, 1, 112, 49, 401]
},
{
"title": "Type Aliases",
- "kind": 4194304,
- "children": [525, 523, 519, 521]
+ "children": [537, 535, 531, 533]
}
],
"sources": [
{
"fileName": "src/index.ts",
"line": 1,
- "character": 0
+ "character": 0,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/index.ts#L1"
}
]
},
@@ -74826,1051 +34178,375 @@
"originalName": "",
"children": [
{
- "id": 363,
- "name": "Transformers",
- "kind": 4,
- "kindString": "Namespace",
+ "id": 500,
+ "name": "REALTIME_LISTEN_TYPES",
+ "kind": 8,
+ "kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 364,
- "name": "PostgresTypes",
- "kind": 8,
- "kindString": "Enumeration",
+ "id": 501,
+ "name": "BROADCAST",
+ "kind": 16,
+ "kindString": "Enumeration Member",
"flags": {},
- "comment": {
- "shortText": "Helpers to convert the change Payload into native JS types."
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 77,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
},
- "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
- }
- ]
+ "defaultValue": "\"broadcast\""
},
{
- "id": 402,
- "name": "convertCell",
- "kind": 64,
- "kindString": "Function",
+ "id": 503,
+ "name": "POSTGRES_CHANGES",
+ "kind": 16,
+ "kindString": "Enumeration Member",
"flags": {},
"sources": [
{
- "fileName": "lib/transformers.ts",
- "line": 118,
- "character": 13
+ "fileName": "RealtimeChannel.ts",
+ "line": 79,
+ "character": 2
}
],
- "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"
- }
- }
- ]
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ },
+ "defaultValue": "\"postgres_changes\""
},
{
- "id": 389,
- "name": "convertChangeData",
- "kind": 64,
- "kindString": "Function",
+ "id": 502,
+ "name": "PRESENCE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
"flags": {},
"sources": [
{
- "fileName": "lib/transformers.ts",
- "line": 61,
- "character": 13
+ "fileName": "RealtimeChannel.ts",
+ "line": 78,
+ "character": 2
}
],
- "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"
- }
- }
- ]
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ },
+ "defaultValue": "\"presence\""
}
],
"groups": [
{
- "title": "Enumerations",
- "kind": 8,
- "children": [364]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [402, 389, 396, 415, 406, 412, 409, 419]
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [501, 503, 502]
}
],
"sources": [
{
- "fileName": "lib/transformers.ts",
- "line": 8,
- "character": 0
+ "fileName": "RealtimeChannel.ts",
+ "line": 76,
+ "character": 12
}
]
},
{
- "id": 142,
+ "id": 504,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 505,
+ "name": "ALL",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 70,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "*"
+ },
+ "defaultValue": "\"*\""
+ },
+ {
+ "id": 508,
+ "name": "DELETE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "DELETE"
+ },
+ "defaultValue": "\"DELETE\""
+ },
+ {
+ "id": 506,
+ "name": "INSERT",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ "defaultValue": "\"INSERT\""
+ },
+ {
+ "id": 507,
+ "name": "UPDATE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ "defaultValue": "\"UPDATE\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [505, 508, 506, 507]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 69,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 509,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 511,
+ "name": "JOIN",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ },
+ "defaultValue": "\"join\""
+ },
+ {
+ "id": 512,
+ "name": "LEAVE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 37,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ },
+ "defaultValue": "\"leave\""
+ },
+ {
+ "id": 510,
+ "name": "SYNC",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ },
+ "defaultValue": "\"sync\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [511, 512, 510]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 34,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 513,
+ "name": "REALTIME_SUBSCRIBE_STATES",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 517,
+ "name": "CHANNEL_ERROR",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 86,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ },
+ "defaultValue": "\"CHANNEL_ERROR\""
+ },
+ {
+ "id": 516,
+ "name": "CLOSED",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ "defaultValue": "\"CLOSED\""
+ },
+ {
+ "id": 514,
+ "name": "SUBSCRIBED",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ "defaultValue": "\"SUBSCRIBED\""
+ },
+ {
+ "id": 515,
+ "name": "TIMED_OUT",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ "defaultValue": "\"TIMED_OUT\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [517, 516, 514, 515]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 82,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 55,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
"flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
"children": [
{
- "id": 153,
+ "id": 66,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -75878,20 +34554,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 25,
+ "line": 111,
"character": 2
}
],
"signatures": [
{
- "id": 154,
+ "id": 67,
"name": "new RealtimeChannel",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 155,
+ "id": 68,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -75902,65 +34578,267 @@
}
},
{
- "id": 156,
+ "id": 69,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 157,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
"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"
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
}
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
}
}
}
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 160,
+ "id": 70,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default",
"dereferenced": {
- "id": 1,
+ "id": 306,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 2,
+ "id": 307,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -75968,13 +34846,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 88,
"character": 2
}
],
"signatures": [
{
- "id": 3,
+ "id": 308,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -75984,7 +34862,7 @@
},
"parameters": [
{
- "id": 4,
+ "id": 309,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -75998,7 +34876,7 @@
}
},
{
- "id": 5,
+ "id": 310,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -76007,10 +34885,10 @@
},
"type": {
"type": "reference",
- "id": 125,
- "name": "Options",
+ "id": 418,
+ "name": "RealtimeClientOptions",
"dereferenced": {
- "id": 125,
+ "id": 418,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -76025,14 +34903,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 419,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 132,
+ "id": 425,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -76054,7 +34932,7 @@
}
},
{
- "id": 131,
+ "id": 424,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -76076,7 +34954,7 @@
}
},
{
- "id": 134,
+ "id": 427,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -76093,7 +34971,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -76106,14 +34984,14 @@
}
],
"indexSignature": {
- "id": 136,
+ "id": 429,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 137,
+ "id": 430,
"name": "key",
"kind": 32768,
"flags": {},
@@ -76132,7 +35010,7 @@
}
},
{
- "id": 129,
+ "id": 422,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -76152,7 +35030,7 @@
}
},
{
- "id": 130,
+ "id": 423,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -76174,7 +35052,7 @@
}
},
{
- "id": 138,
+ "id": 431,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -76191,7 +35069,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -76204,14 +35082,14 @@
}
],
"indexSignature": {
- "id": 140,
+ "id": 433,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 141,
+ "id": 434,
"name": "key",
"kind": 32768,
"flags": {},
@@ -76230,7 +35108,7 @@
}
},
{
- "id": 133,
+ "id": 426,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -76252,7 +35130,7 @@
}
},
{
- "id": 128,
+ "id": 421,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -76272,7 +35150,7 @@
}
},
{
- "id": 127,
+ "id": 420,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -76299,7 +35177,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 132, 131, 134, 129, 130, 138, 133, 128, 127
+ 425, 424, 427, 422, 423, 431, 426, 421, 420
]
}
],
@@ -76307,7 +35185,7 @@
{
"fileName": "RealtimeClient.ts",
"line": 16,
- "character": 22
+ "character": 36
}
]
}
@@ -76318,14 +35196,14 @@
],
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
}
]
},
{
- "id": 6,
+ "id": 311,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -76333,7 +35211,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 41,
"character": 2
}
],
@@ -76353,7 +35231,7 @@
"defaultValue": "null"
},
{
- "id": 7,
+ "id": 312,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -76361,7 +35239,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 2
}
],
@@ -76369,14 +35247,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
"defaultValue": "[]"
},
{
- "id": 28,
+ "id": 333,
"name": "conn",
"kind": 1024,
"kindString": "Property",
@@ -76384,7 +35262,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 57,
"character": 2
}
],
@@ -76406,31 +35284,11 @@
"defaultValue": "null"
},
{
- "id": 26,
+ "id": 331,
"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",
@@ -76446,7 +35304,27 @@
}
},
{
- "id": 8,
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
"name": "endPoint",
"kind": 1024,
"kindString": "Property",
@@ -76454,7 +35332,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 2
}
],
@@ -76465,7 +35343,7 @@
"defaultValue": "''"
},
{
- "id": 37,
+ "id": 342,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -76473,7 +35351,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 71,
"character": 2
}
],
@@ -76484,7 +35362,7 @@
"defaultValue": "100"
},
{
- "id": 9,
+ "id": 314,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -76494,27 +35372,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 10,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 11,
+ "id": 316,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 12,
+ "id": 317,
"name": "key",
"kind": 32768,
"flags": {},
@@ -76534,7 +35412,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 19,
+ "id": 324,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -76542,7 +35420,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 2
}
],
@@ -76553,7 +35431,7 @@
"defaultValue": "30000"
},
{
- "id": 20,
+ "id": 325,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -76561,7 +35439,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 2
}
],
@@ -76583,7 +35461,7 @@
"defaultValue": "undefined"
},
{
- "id": 38,
+ "id": 343,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -76591,7 +35469,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 72,
"character": 2
}
],
@@ -76602,7 +35480,7 @@
"defaultValue": "false"
},
{
- "id": 24,
+ "id": 329,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -76610,7 +35488,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 2
}
],
@@ -76623,7 +35501,7 @@
"defaultValue": "noop"
},
{
- "id": 13,
+ "id": 318,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -76633,27 +35511,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 14,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 15,
+ "id": 320,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 16,
+ "id": 321,
"name": "key",
"kind": 32768,
"flags": {},
@@ -76673,7 +35551,7 @@
"defaultValue": "{}"
},
{
- "id": 21,
+ "id": 326,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -76681,7 +35559,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 2
}
],
@@ -76701,7 +35579,7 @@
"defaultValue": "null"
},
{
- "id": 27,
+ "id": 332,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -76709,7 +35587,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 56,
"character": 2
}
],
@@ -76721,29 +35599,11 @@
}
},
{
- "id": 23,
+ "id": 328,
"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",
@@ -76751,6 +35611,24 @@
"character": 2
}
],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
"type": {
"type": "intrinsic",
"name": "number"
@@ -76758,7 +35636,7 @@
"defaultValue": "0"
},
{
- "id": 29,
+ "id": 334,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -76766,7 +35644,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 58,
"character": 2
}
],
@@ -76782,11 +35660,30 @@
"defaultValue": "[]"
},
{
- "id": 30,
+ "id": 335,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -76794,40 +35691,44 @@
"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,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 34,
+ "id": 339,
"name": "close",
"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"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -76846,8 +35747,8 @@
}
},
{
- "id": 35,
- "name": "error",
+ "id": 341,
+ "name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -76869,30 +35770,7 @@
}
},
{
- "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,
+ "id": 338,
"name": "open",
"kind": 1024,
"kindString": "Property",
@@ -76900,7 +35778,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 4
}
],
@@ -76919,7 +35797,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [34, 35, 36, 33]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -76927,11 +35805,30 @@
"defaultValue": "..."
},
{
- "id": 17,
+ "id": 322,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -76939,25 +35836,6 @@
"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"
@@ -76965,7 +35843,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 76,
+ "id": 366,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -76973,20 +35851,20 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 278,
+ "line": 218,
"character": 2
}
],
"signatures": [
{
- "id": 77,
+ "id": 367,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 78,
+ "id": 368,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -76997,28 +35875,259 @@
}
},
{
- "id": 79,
+ "id": 369,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "ChannelParams"
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
- "defaultValue": "{}"
+ "defaultValue": "..."
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 39,
+ "id": 344,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -77026,13 +36135,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 125,
"character": 2
}
],
"signatures": [
{
- "id": 40,
+ "id": 345,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
@@ -77048,7 +36157,7 @@
]
},
{
- "id": 69,
+ "id": 362,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -77056,13 +36165,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 247,
+ "line": 198,
"character": 2
}
],
"signatures": [
{
- "id": 70,
+ "id": 363,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
@@ -77078,7 +36187,7 @@
]
},
{
- "id": 41,
+ "id": 346,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -77086,13 +36195,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 147,
"character": 2
}
],
"signatures": [
{
- "id": 42,
+ "id": 347,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
@@ -77102,7 +36211,7 @@
},
"parameters": [
{
- "id": 43,
+ "id": 348,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -77118,7 +36227,7 @@
}
},
{
- "id": 44,
+ "id": 349,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -77142,37 +36251,7 @@
]
},
{
- "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,
+ "id": 350,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -77180,13 +36259,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 163,
+ "line": 162,
"character": 2
}
],
"signatures": [
{
- "id": 46,
+ "id": 351,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -77195,7 +36274,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
@@ -77203,7 +36282,7 @@
]
},
{
- "id": 71,
+ "id": 364,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -77211,13 +36290,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 263,
+ "line": 214,
"character": 2
}
],
"signatures": [
{
- "id": 72,
+ "id": 365,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -77233,50 +36312,7 @@
]
},
{
- "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,
+ "id": 357,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -77284,13 +36320,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 192,
+ "line": 191,
"character": 2
}
],
"signatures": [
{
- "id": 53,
+ "id": 358,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
@@ -77301,7 +36337,7 @@
},
"parameters": [
{
- "id": 54,
+ "id": 359,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -77312,7 +36348,7 @@
}
},
{
- "id": 55,
+ "id": 360,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -77323,7 +36359,7 @@
}
},
{
- "id": 56,
+ "id": 361,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -77344,326 +36380,7 @@
]
},
{
- "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,
+ "id": 370,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -77671,13 +36388,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 293,
+ "line": 236,
"character": 2
}
],
"signatures": [
{
- "id": 81,
+ "id": 371,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -77688,14 +36405,147 @@
},
"parameters": [
{
- "id": 82,
+ "id": 372,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "Message"
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -77716,93 +36566,7 @@
]
},
{
- "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",
- "dereferenced": {
- "id": 142,
- "name": "RealtimeChannel",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": "[Circular ~.children.1.children]",
- "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
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 50,
+ "id": 355,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -77810,13 +36574,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 178,
+ "line": 177,
"character": 2
}
],
"signatures": [
{
- "id": 51,
+ "id": 356,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -77827,21 +36591,9 @@
{
"type": "array",
"elementType": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
}
],
@@ -77853,7 +36605,7 @@
]
},
{
- "id": 47,
+ "id": 352,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -77861,63 +36613,61 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 167,
+ "line": 166,
"character": 2
}
],
"signatures": [
{
- "id": 48,
+ "id": 353,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 49,
+ "id": 354,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default",
"dereferenced": {
- "id": 142,
+ "id": 55,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
"flags": {},
- "children": "[Circular ~.children.1.children]",
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
+ "children": "[Circular ~.children.4.children]",
"groups": [
{
"title": "Constructors",
"kind": 512,
- "children": [153]
+ "children": [66]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 161, 176, 175, 181, 179, 178, 177, 185, 174, 173,
- 180
+ 71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90
]
},
{
"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
- ]
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 8,
+ "line": 94,
"character": 21
}
]
@@ -77929,21 +36679,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
],
"qualifiedName": "Promise",
@@ -77954,7 +36692,7 @@
]
},
{
- "id": 92,
+ "id": 373,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -77962,13 +36700,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 371,
+ "line": 263,
"character": 2
}
],
"signatures": [
{
- "id": 93,
+ "id": 374,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -77978,7 +36716,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 375,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -78013,29 +36751,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [307]
},
{
"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
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318,
+ 326, 332, 328, 327, 334, 335, 336, 322, 323
]
},
{
"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
- ]
+ "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 21
}
]
@@ -78045,14 +36780,14 @@
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 161,
+ "id": 71,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -78060,27 +36795,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 9,
+ "line": 95,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 162,
+ "id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 163,
+ "id": 73,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 164,
+ "id": 74,
"name": "key",
"kind": 32768,
"flags": {},
@@ -78095,14 +36830,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 171,
+ "id": 81,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -78110,7 +36845,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 99,
"character": 6
}
],
@@ -78122,7 +36857,7 @@
}
},
{
- "id": 167,
+ "id": 77,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -78130,14 +36865,14 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 168,
+ "id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -78145,19 +36880,19 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 14
}
],
"indexSignature": {
- "id": 169,
+ "id": 79,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 170,
+ "id": 80,
"name": "key",
"kind": 32768,
"flags": {},
@@ -78176,7 +36911,7 @@
}
},
{
- "id": 172,
+ "id": 82,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -78186,7 +36921,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 100,
"character": 6
}
],
@@ -78196,7 +36931,7 @@
}
},
{
- "id": 166,
+ "id": 76,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -78204,7 +36939,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 11,
+ "line": 97,
"character": 6
}
],
@@ -78218,13 +36953,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [171, 167, 172, 166]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 10,
+ "line": 96,
"character": 19
}
]
@@ -78237,7 +36972,7 @@
"defaultValue": "{}"
},
{
- "id": 176,
+ "id": 86,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -78245,7 +36980,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 20,
+ "line": 106,
"character": 2
}
],
@@ -78255,7 +36990,7 @@
}
},
{
- "id": 175,
+ "id": 85,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -78263,7 +36998,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 105,
"character": 2
}
],
@@ -78274,7 +37009,7 @@
"defaultValue": "false"
},
{
- "id": 181,
+ "id": 91,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -78282,42 +37017,14 @@
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 179,
+ "id": 89,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -78325,18 +37032,18 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 109,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 300,
+ "id": 1,
"name": "default"
}
},
{
- "id": 178,
+ "id": 88,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -78344,7 +37051,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 22,
+ "line": 108,
"character": 2
}
],
@@ -78358,7 +37065,7 @@
"defaultValue": "[]"
},
{
- "id": 177,
+ "id": 87,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -78366,7 +37073,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 21,
+ "line": 107,
"character": 2
}
],
@@ -78376,7 +37083,7 @@
}
},
{
- "id": 185,
+ "id": 92,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -78385,12 +37092,12 @@
},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
},
{
- "id": 174,
+ "id": 84,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -78398,7 +37105,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 18,
+ "line": 104,
"character": 2
}
],
@@ -78409,7 +37116,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 173,
+ "id": 83,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -78417,7 +37124,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 17,
+ "line": 103,
"character": 2
}
],
@@ -78427,7 +37134,7 @@
}
},
{
- "id": 180,
+ "id": 90,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -78440,320 +37147,7 @@
}
},
{
- "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,
+ "id": 119,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -78761,61 +37155,555 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 249,
+ "line": 315,
"character": 2
}
],
"signatures": [
{
- "id": 217,
+ "id": 120,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "returns": "\n"
+ "shortText": "Listen to messages."
},
"parameters": [
{
- "id": 218,
+ "id": 121,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "comment": {
- "shortText": "\"postgres_changes\" is the only type supported at this time"
- },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "literal",
+ "value": "broadcast"
}
},
{
- "id": 219,
+ "id": 122,
"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,
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 317,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [124]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 127,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 128,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 320,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 130,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 319,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [131, 130]
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 135,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 136,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 326,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [138]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 139,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 140,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 141,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 143,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 144,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 331,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [146]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 149,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 151,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 152,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 153,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 336,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 158,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 159,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 221,
+ "id": 162,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 222,
+ "id": 163,
"name": "key",
"kind": 32768,
"flags": {},
@@ -78832,192 +37720,1028 @@
}
}
}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 165,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
},
{
- "id": 223,
+ "id": 166,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 167,
"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": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 169,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 170,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 175,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 176,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 177,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 178,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 175,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 182,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 184,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 188,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 189,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 191,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 192,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 186,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 193,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 197,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 195,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 199,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 200,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 202,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 203,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 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,
+ "id": 101,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -79025,226 +38749,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 198,
+ "line": 284,
"character": 2
}
],
"signatures": [
{
- "id": 193,
+ "id": 102,
"name": "presenceState",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
- "name": "PresenceState"
+ "id": 495,
+ "name": "RealtimePresenceState"
}
}
]
},
{
- "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,
+ "id": 204,
"name": "send",
"kind": 2048,
"kindString": "Method",
@@ -79252,20 +38777,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 301,
+ "line": 367,
"character": 2
}
],
"signatures": [
{
- "id": 242,
+ "id": 205,
"name": "send",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 243,
+ "id": 206,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -79273,14 +38798,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 207,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 245,
+ "id": 208,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -79288,7 +38813,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 302,
+ "line": 368,
"character": 15
}
],
@@ -79302,18 +38827,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [245]
+ "children": [208]
}
],
"indexSignature": {
- "id": 246,
+ "id": 209,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 210,
"name": "key",
"kind": 32768,
"flags": {},
@@ -79332,7 +38857,7 @@
}
},
{
- "id": 248,
+ "id": 211,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -79340,20 +38865,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 249,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 250,
+ "id": 213,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 251,
+ "id": 214,
"name": "key",
"kind": 32768,
"flags": {},
@@ -79377,21 +38902,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -79402,7 +38915,7 @@
]
},
{
- "id": 188,
+ "id": 93,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -79410,20 +38923,23 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 90,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 189,
+ "id": 94,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
"parameters": [
{
- "id": 190,
+ "id": 95,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -79431,14 +38947,76 @@
"isOptional": true
},
"type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 97,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 98,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ }
+ ]
+ }
+ },
+ {
+ "id": 99,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
},
{
- "id": 191,
+ "id": 100,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -79451,14 +39029,15 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "void"
+ "type": "reference",
+ "id": 55,
+ "name": "default"
}
}
]
},
{
- "id": 194,
+ "id": 103,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -79466,20 +39045,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 202,
+ "line": 288,
"character": 8
}
],
"signatures": [
{
- "id": 195,
+ "id": 104,
"name": "track",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 196,
+ "id": 105,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -79487,20 +39066,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 198,
+ "id": 107,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 199,
+ "id": 108,
"name": "key",
"kind": 32768,
"flags": {},
@@ -79519,7 +39098,7 @@
}
},
{
- "id": 200,
+ "id": 109,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -79527,20 +39106,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 110,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 202,
+ "id": 111,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 203,
+ "id": 112,
"name": "key",
"kind": 32768,
"flags": {},
@@ -79564,21 +39143,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -79589,73 +39156,7 @@
]
},
{
- "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,
+ "id": 221,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -79663,13 +39164,13 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 341,
+ "line": 407,
"character": 2
}
],
"signatures": [
{
- "id": 259,
+ "id": 222,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -79680,7 +39181,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 223,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -79721,7 +39222,7 @@
]
},
{
- "id": 204,
+ "id": 113,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -79729,20 +39230,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 216,
+ "line": 302,
"character": 8
}
],
"signatures": [
{
- "id": 205,
+ "id": 114,
"name": "untrack",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 206,
+ "id": 115,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -79750,20 +39251,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 207,
+ "id": 116,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 208,
+ "id": 117,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 209,
+ "id": 118,
"name": "key",
"kind": 32768,
"flags": {},
@@ -79787,21 +39288,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -79812,7 +39301,7 @@
]
},
{
- "id": 252,
+ "id": 215,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -79820,20 +39309,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 328,
+ "line": 394,
"character": 2
}
],
"signatures": [
{
- "id": 253,
+ "id": 216,
"name": "updateJoinPayload",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 254,
+ "id": 217,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -79841,20 +39330,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 255,
+ "id": 218,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 256,
+ "id": 219,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 257,
+ "id": 220,
"name": "key",
"kind": 32768,
"flags": {},
@@ -79885,39 +39374,36 @@
{
"title": "Constructors",
"kind": 512,
- "children": [153]
+ "children": [66]
},
{
"title": "Properties",
"kind": 1024,
- "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180]
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
},
{
"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
- ]
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 8,
+ "line": 94,
"character": 21
}
]
},
{
- "id": 1,
+ "id": 306,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 2,
+ "id": 307,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -79925,13 +39411,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 88,
"character": 2
}
],
"signatures": [
{
- "id": 3,
+ "id": 308,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -79941,7 +39427,7 @@
},
"parameters": [
{
- "id": 4,
+ "id": 309,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -79955,7 +39441,7 @@
}
},
{
- "id": 5,
+ "id": 310,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -79964,10 +39450,10 @@
},
"type": {
"type": "reference",
- "id": 125,
- "name": "Options",
+ "id": 418,
+ "name": "RealtimeClientOptions",
"dereferenced": {
- "id": 125,
+ "id": 418,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -79982,14 +39468,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 419,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 132,
+ "id": 425,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -80011,7 +39497,7 @@
}
},
{
- "id": 131,
+ "id": 424,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -80033,7 +39519,7 @@
}
},
{
- "id": 134,
+ "id": 427,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -80050,7 +39536,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -80063,14 +39549,14 @@
}
],
"indexSignature": {
- "id": 136,
+ "id": 429,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 137,
+ "id": 430,
"name": "key",
"kind": 32768,
"flags": {},
@@ -80089,7 +39575,7 @@
}
},
{
- "id": 129,
+ "id": 422,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -80109,7 +39595,7 @@
}
},
{
- "id": 130,
+ "id": 423,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -80131,7 +39617,7 @@
}
},
{
- "id": 138,
+ "id": 431,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -80148,7 +39634,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -80161,14 +39647,14 @@
}
],
"indexSignature": {
- "id": 140,
+ "id": 433,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 141,
+ "id": 434,
"name": "key",
"kind": 32768,
"flags": {},
@@ -80187,7 +39673,7 @@
}
},
{
- "id": 133,
+ "id": 426,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -80209,7 +39695,7 @@
}
},
{
- "id": 128,
+ "id": 421,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -80229,7 +39715,7 @@
}
},
{
- "id": 127,
+ "id": 420,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -80255,14 +39741,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [132, 131, 134, 129, 130, 138, 133, 128, 127]
+ "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
"line": 16,
- "character": 22
+ "character": 36
}
]
}
@@ -80273,14 +39759,14 @@
],
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
}
]
},
{
- "id": 6,
+ "id": 311,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -80288,7 +39774,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 41,
"character": 2
}
],
@@ -80308,7 +39794,7 @@
"defaultValue": "null"
},
{
- "id": 7,
+ "id": 312,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -80316,7 +39802,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 2
}
],
@@ -80324,14 +39810,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
"defaultValue": "[]"
},
{
- "id": 28,
+ "id": 333,
"name": "conn",
"kind": 1024,
"kindString": "Property",
@@ -80339,7 +39825,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 57,
"character": 2
}
],
@@ -80361,31 +39847,11 @@
"defaultValue": "null"
},
{
- "id": 26,
+ "id": 331,
"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",
@@ -80401,7 +39867,27 @@
}
},
{
- "id": 8,
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
"name": "endPoint",
"kind": 1024,
"kindString": "Property",
@@ -80409,7 +39895,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 2
}
],
@@ -80420,7 +39906,7 @@
"defaultValue": "''"
},
{
- "id": 37,
+ "id": 342,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -80428,7 +39914,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 71,
"character": 2
}
],
@@ -80439,7 +39925,7 @@
"defaultValue": "100"
},
{
- "id": 9,
+ "id": 314,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -80449,27 +39935,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 10,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 11,
+ "id": 316,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 12,
+ "id": 317,
"name": "key",
"kind": 32768,
"flags": {},
@@ -80489,7 +39975,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 19,
+ "id": 324,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -80497,7 +39983,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 2
}
],
@@ -80508,7 +39994,7 @@
"defaultValue": "30000"
},
{
- "id": 20,
+ "id": 325,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -80516,7 +40002,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 2
}
],
@@ -80538,7 +40024,7 @@
"defaultValue": "undefined"
},
{
- "id": 38,
+ "id": 343,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -80546,7 +40032,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 72,
"character": 2
}
],
@@ -80557,7 +40043,7 @@
"defaultValue": "false"
},
{
- "id": 24,
+ "id": 329,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -80565,7 +40051,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 2
}
],
@@ -80578,7 +40064,7 @@
"defaultValue": "noop"
},
{
- "id": 13,
+ "id": 318,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -80588,27 +40074,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 14,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 15,
+ "id": 320,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 16,
+ "id": 321,
"name": "key",
"kind": 32768,
"flags": {},
@@ -80628,7 +40114,7 @@
"defaultValue": "{}"
},
{
- "id": 21,
+ "id": 326,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -80636,7 +40122,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 2
}
],
@@ -80656,7 +40142,7 @@
"defaultValue": "null"
},
{
- "id": 27,
+ "id": 332,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -80664,7 +40150,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 56,
"character": 2
}
],
@@ -80676,29 +40162,11 @@
}
},
{
- "id": 23,
+ "id": 328,
"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",
@@ -80706,6 +40174,24 @@
"character": 2
}
],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
"type": {
"type": "intrinsic",
"name": "number"
@@ -80713,7 +40199,7 @@
"defaultValue": "0"
},
{
- "id": 29,
+ "id": 334,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -80721,7 +40207,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 58,
"character": 2
}
],
@@ -80737,11 +40223,30 @@
"defaultValue": "[]"
},
{
- "id": 30,
+ "id": 335,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -80749,40 +40254,44 @@
"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,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 34,
+ "id": 339,
"name": "close",
"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"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -80801,8 +40310,8 @@
}
},
{
- "id": 35,
- "name": "error",
+ "id": 341,
+ "name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -80824,30 +40333,7 @@
}
},
{
- "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,
+ "id": 338,
"name": "open",
"kind": 1024,
"kindString": "Property",
@@ -80855,7 +40341,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 4
}
],
@@ -80874,7 +40360,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [34, 35, 36, 33]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -80882,11 +40368,30 @@
"defaultValue": "..."
},
{
- "id": 17,
+ "id": 322,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -80894,25 +40399,6 @@
"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"
@@ -80920,7 +40406,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 76,
+ "id": 366,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -80928,20 +40414,20 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 278,
+ "line": 218,
"character": 2
}
],
"signatures": [
{
- "id": 77,
+ "id": 367,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 78,
+ "id": 368,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -80952,28 +40438,259 @@
}
},
{
- "id": 79,
+ "id": 369,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "ChannelParams"
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
- "defaultValue": "{}"
+ "defaultValue": "..."
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 39,
+ "id": 344,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -80981,13 +40698,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 125,
"character": 2
}
],
"signatures": [
{
- "id": 40,
+ "id": 345,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
@@ -81003,7 +40720,7 @@
]
},
{
- "id": 69,
+ "id": 362,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -81011,13 +40728,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 247,
+ "line": 198,
"character": 2
}
],
"signatures": [
{
- "id": 70,
+ "id": 363,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
@@ -81033,7 +40750,7 @@
]
},
{
- "id": 41,
+ "id": 346,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -81041,13 +40758,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 147,
"character": 2
}
],
"signatures": [
{
- "id": 42,
+ "id": 347,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
@@ -81057,7 +40774,7 @@
},
"parameters": [
{
- "id": 43,
+ "id": 348,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -81073,7 +40790,7 @@
}
},
{
- "id": 44,
+ "id": 349,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -81097,37 +40814,7 @@
]
},
{
- "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,
+ "id": 350,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -81135,13 +40822,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 163,
+ "line": 162,
"character": 2
}
],
"signatures": [
{
- "id": 46,
+ "id": 351,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -81150,7 +40837,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
@@ -81158,7 +40845,7 @@
]
},
{
- "id": 71,
+ "id": 364,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -81166,13 +40853,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 263,
+ "line": 214,
"character": 2
}
],
"signatures": [
{
- "id": 72,
+ "id": 365,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -81188,50 +40875,7 @@
]
},
{
- "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,
+ "id": 357,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -81239,13 +40883,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 192,
+ "line": 191,
"character": 2
}
],
"signatures": [
{
- "id": 53,
+ "id": 358,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
@@ -81256,7 +40900,7 @@
},
"parameters": [
{
- "id": 54,
+ "id": 359,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -81267,7 +40911,7 @@
}
},
{
- "id": 55,
+ "id": 360,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -81278,7 +40922,7 @@
}
},
{
- "id": 56,
+ "id": 361,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -81299,326 +40943,7 @@
]
},
{
- "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,
+ "id": 370,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -81626,13 +40951,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 293,
+ "line": 236,
"character": 2
}
],
"signatures": [
{
- "id": 81,
+ "id": 371,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -81643,14 +40968,147 @@
},
"parameters": [
{
- "id": 82,
+ "id": 372,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "Message"
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -81671,2051 +41129,7 @@
]
},
{
- "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",
- "dereferenced": {
- "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",
- "dereferenced": {
- "id": 1,
- "name": "RealtimeClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": "[Circular ~.children.2.children]",
- "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
- }
- ]
- }
- }
- }
- ],
- "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
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 50,
+ "id": 355,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -83723,13 +41137,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 178,
+ "line": 177,
"character": 2
}
],
"signatures": [
{
- "id": 51,
+ "id": 356,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -83740,21 +41154,9 @@
{
"type": "array",
"elementType": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
}
],
@@ -83766,7 +41168,7 @@
]
},
{
- "id": 47,
+ "id": 352,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -83774,37 +41176,40 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 167,
+ "line": 166,
"character": 2
}
],
"signatures": [
{
- "id": 48,
+ "id": 353,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 49,
+ "id": 354,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default",
"dereferenced": {
- "id": 142,
+ "id": 55,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
"flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
"children": [
{
- "id": 153,
+ "id": 66,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -83812,20 +41217,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 25,
+ "line": 111,
"character": 2
}
],
"signatures": [
{
- "id": 154,
+ "id": 67,
"name": "new RealtimeChannel",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 155,
+ "id": 68,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -83836,90 +41241,293 @@
}
},
{
- "id": 156,
+ "id": 69,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 157,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
"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"
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
}
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
}
}
}
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 160,
+ "id": 70,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default",
"dereferenced": {
- "id": 1,
+ "id": 306,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {},
- "children": "[Circular ~.children.2.children]",
+ "children": "[Circular ~.children.5.children]",
"groups": [
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [307]
},
{
"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
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325,
+ 343, 329, 318, 326, 332, 328, 327, 334, 335, 336,
+ 322, 323
]
},
{
"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
+ 366, 344, 362, 346, 350, 364, 357, 370, 355, 352,
+ 373
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 21
}
]
@@ -83929,14 +41537,14 @@
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 161,
+ "id": 71,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -83944,27 +41552,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 9,
+ "line": 95,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 162,
+ "id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 163,
+ "id": 73,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 164,
+ "id": 74,
"name": "key",
"kind": 32768,
"flags": {},
@@ -83979,14 +41587,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 171,
+ "id": 81,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -83994,7 +41602,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 99,
"character": 6
}
],
@@ -84006,7 +41614,7 @@
}
},
{
- "id": 167,
+ "id": 77,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -84014,14 +41622,14 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 168,
+ "id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -84029,19 +41637,19 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 14
}
],
"indexSignature": {
- "id": 169,
+ "id": 79,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 170,
+ "id": 80,
"name": "key",
"kind": 32768,
"flags": {},
@@ -84060,7 +41668,7 @@
}
},
{
- "id": 172,
+ "id": 82,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -84070,7 +41678,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 100,
"character": 6
}
],
@@ -84080,7 +41688,7 @@
}
},
{
- "id": 166,
+ "id": 76,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -84088,7 +41696,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 11,
+ "line": 97,
"character": 6
}
],
@@ -84102,13 +41710,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [171, 167, 172, 166]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 10,
+ "line": 96,
"character": 19
}
]
@@ -84121,7 +41729,7 @@
"defaultValue": "{}"
},
{
- "id": 176,
+ "id": 86,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -84129,7 +41737,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 20,
+ "line": 106,
"character": 2
}
],
@@ -84139,7 +41747,7 @@
}
},
{
- "id": 175,
+ "id": 85,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -84147,7 +41755,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 105,
"character": 2
}
],
@@ -84158,7 +41766,7 @@
"defaultValue": "false"
},
{
- "id": 181,
+ "id": 91,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -84166,42 +41774,14 @@
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 179,
+ "id": 89,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -84209,18 +41789,18 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 109,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 300,
+ "id": 1,
"name": "default"
}
},
{
- "id": 178,
+ "id": 88,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -84228,7 +41808,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 22,
+ "line": 108,
"character": 2
}
],
@@ -84242,7 +41822,7 @@
"defaultValue": "[]"
},
{
- "id": 177,
+ "id": 87,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -84250,7 +41830,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 21,
+ "line": 107,
"character": 2
}
],
@@ -84260,7 +41840,7 @@
}
},
{
- "id": 185,
+ "id": 92,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -84269,12 +41849,12 @@
},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
},
{
- "id": 174,
+ "id": 84,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -84282,7 +41862,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 18,
+ "line": 104,
"character": 2
}
],
@@ -84293,7 +41873,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 173,
+ "id": 83,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -84301,7 +41881,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 17,
+ "line": 103,
"character": 2
}
],
@@ -84311,7 +41891,7 @@
}
},
{
- "id": 180,
+ "id": 90,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -84324,320 +41904,7 @@
}
},
{
- "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,
+ "id": 119,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -84645,61 +41912,555 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 249,
+ "line": 315,
"character": 2
}
],
"signatures": [
{
- "id": 217,
+ "id": 120,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "returns": "\n"
+ "shortText": "Listen to messages."
},
"parameters": [
{
- "id": 218,
+ "id": 121,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "comment": {
- "shortText": "\"postgres_changes\" is the only type supported at this time"
- },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "literal",
+ "value": "broadcast"
}
},
{
- "id": 219,
+ "id": 122,
"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,
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 317,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [124]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 127,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 128,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 320,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 130,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 319,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [131, 130]
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 135,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 136,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 326,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [138]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 139,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 140,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 141,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 143,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 144,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 331,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [146]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 149,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 151,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 152,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 153,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 336,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 158,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 159,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 221,
+ "id": 162,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 222,
+ "id": 163,
"name": "key",
"kind": 32768,
"flags": {},
@@ -84716,192 +42477,1028 @@
}
}
}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 165,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
},
{
- "id": 223,
+ "id": 166,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 167,
"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": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 169,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 170,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 175,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 176,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 177,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 178,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 175,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 182,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 184,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 188,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 189,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 191,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 192,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 186,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 193,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 197,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 195,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 199,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 200,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 202,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 203,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 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,
+ "id": 101,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -84909,226 +43506,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 198,
+ "line": 284,
"character": 2
}
],
"signatures": [
{
- "id": 193,
+ "id": 102,
"name": "presenceState",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
- "name": "PresenceState"
+ "id": 495,
+ "name": "RealtimePresenceState"
}
}
]
},
{
- "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,
+ "id": 204,
"name": "send",
"kind": 2048,
"kindString": "Method",
@@ -85136,20 +43534,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 301,
+ "line": 367,
"character": 2
}
],
"signatures": [
{
- "id": 242,
+ "id": 205,
"name": "send",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 243,
+ "id": 206,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -85157,14 +43555,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 207,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 245,
+ "id": 208,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -85172,7 +43570,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 302,
+ "line": 368,
"character": 15
}
],
@@ -85186,18 +43584,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [245]
+ "children": [208]
}
],
"indexSignature": {
- "id": 246,
+ "id": 209,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 210,
"name": "key",
"kind": 32768,
"flags": {},
@@ -85216,7 +43614,7 @@
}
},
{
- "id": 248,
+ "id": 211,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -85224,20 +43622,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 249,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 250,
+ "id": 213,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 251,
+ "id": 214,
"name": "key",
"kind": 32768,
"flags": {},
@@ -85261,21 +43659,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -85286,7 +43672,7 @@
]
},
{
- "id": 188,
+ "id": 93,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -85294,20 +43680,23 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 90,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 189,
+ "id": 94,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
"parameters": [
{
- "id": 190,
+ "id": 95,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -85315,14 +43704,76 @@
"isOptional": true
},
"type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 97,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 98,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ }
+ ]
+ }
+ },
+ {
+ "id": 99,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
},
{
- "id": 191,
+ "id": 100,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -85335,14 +43786,15 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "void"
+ "type": "reference",
+ "id": 55,
+ "name": "default"
}
}
]
},
{
- "id": 194,
+ "id": 103,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -85350,20 +43802,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 202,
+ "line": 288,
"character": 8
}
],
"signatures": [
{
- "id": 195,
+ "id": 104,
"name": "track",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 196,
+ "id": 105,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -85371,20 +43823,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 198,
+ "id": 107,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 199,
+ "id": 108,
"name": "key",
"kind": 32768,
"flags": {},
@@ -85403,7 +43855,7 @@
}
},
{
- "id": 200,
+ "id": 109,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -85411,20 +43863,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 110,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 202,
+ "id": 111,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 203,
+ "id": 112,
"name": "key",
"kind": 32768,
"flags": {},
@@ -85448,21 +43900,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -85473,73 +43913,7 @@
]
},
{
- "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,
+ "id": 221,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -85547,13 +43921,13 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 341,
+ "line": 407,
"character": 2
}
],
"signatures": [
{
- "id": 259,
+ "id": 222,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -85564,7 +43938,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 223,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -85605,7 +43979,7 @@
]
},
{
- "id": 204,
+ "id": 113,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -85613,20 +43987,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 216,
+ "line": 302,
"character": 8
}
],
"signatures": [
{
- "id": 205,
+ "id": 114,
"name": "untrack",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 206,
+ "id": 115,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -85634,20 +44008,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 207,
+ "id": 116,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 208,
+ "id": 117,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 209,
+ "id": 118,
"name": "key",
"kind": 32768,
"flags": {},
@@ -85671,21 +44045,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -85696,7 +44058,7 @@
]
},
{
- "id": 252,
+ "id": 215,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -85704,20 +44066,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 328,
+ "line": 394,
"character": 2
}
],
"signatures": [
{
- "id": 253,
+ "id": 216,
"name": "updateJoinPayload",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 254,
+ "id": 217,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -85725,20 +44087,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 255,
+ "id": 218,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 256,
+ "id": 219,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 257,
+ "id": 220,
"name": "key",
"kind": 32768,
"flags": {},
@@ -85769,26 +44131,23 @@
{
"title": "Constructors",
"kind": 512,
- "children": [153]
+ "children": [66]
},
{
"title": "Properties",
"kind": 1024,
- "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180]
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
},
{
"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
- ]
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 8,
+ "line": 94,
"character": 21
}
]
@@ -85800,21 +44159,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
],
"qualifiedName": "Promise",
@@ -85825,7 +44172,7 @@
]
},
{
- "id": 92,
+ "id": 373,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -85833,13 +44180,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 371,
+ "line": 263,
"character": 2
}
],
"signatures": [
{
- "id": 93,
+ "id": 374,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -85849,7 +44196,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 375,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -85884,40 +44231,39 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [307]
},
{
"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
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326, 332, 328, 327,
+ 334, 335, 336, 322, 323
]
},
{
"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
- ]
+ "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 21
}
]
},
{
- "id": 300,
+ "id": 1,
"name": "RealtimePresence",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 332,
+ "id": 28,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -85925,13 +44271,13 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 64,
+ "line": 83,
"character": 2
}
],
"signatures": [
{
- "id": 333,
+ "id": 29,
"name": "new RealtimePresence",
"kind": 16384,
"kindString": "Constructor signature",
@@ -85941,7 +44287,7 @@
},
"parameters": [
{
- "id": 334,
+ "id": 30,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -85951,17 +44297,20 @@
},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default",
"dereferenced": {
- "id": 142,
+ "id": 55,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
"flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
"children": [
{
- "id": 153,
+ "id": 66,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -85969,20 +44318,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 25,
+ "line": 111,
"character": 2
}
],
"signatures": [
{
- "id": 154,
+ "id": 67,
"name": "new RealtimeChannel",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 155,
+ "id": 68,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -85993,65 +44342,267 @@
}
},
{
- "id": 156,
+ "id": 69,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 157,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
"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"
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
}
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
}
}
}
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 160,
+ "id": 70,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default",
"dereferenced": {
- "id": 1,
+ "id": 306,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 2,
+ "id": 307,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -86059,13 +44610,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 88,
"character": 2
}
],
"signatures": [
{
- "id": 3,
+ "id": 308,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -86075,7 +44626,7 @@
},
"parameters": [
{
- "id": 4,
+ "id": 309,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -86089,7 +44640,7 @@
}
},
{
- "id": 5,
+ "id": 310,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -86098,10 +44649,10 @@
},
"type": {
"type": "reference",
- "id": 125,
- "name": "Options",
+ "id": 418,
+ "name": "RealtimeClientOptions",
"dereferenced": {
- "id": 125,
+ "id": 418,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -86116,14 +44667,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 419,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 132,
+ "id": 425,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -86145,7 +44696,7 @@
}
},
{
- "id": 131,
+ "id": 424,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -86167,7 +44718,7 @@
}
},
{
- "id": 134,
+ "id": 427,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -86184,7 +44735,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -86197,14 +44748,14 @@
}
],
"indexSignature": {
- "id": 136,
+ "id": 429,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 137,
+ "id": 430,
"name": "key",
"kind": 32768,
"flags": {},
@@ -86223,7 +44774,7 @@
}
},
{
- "id": 129,
+ "id": 422,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -86243,7 +44794,7 @@
}
},
{
- "id": 130,
+ "id": 423,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -86265,7 +44816,7 @@
}
},
{
- "id": 138,
+ "id": 431,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -86282,7 +44833,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -86295,14 +44846,14 @@
}
],
"indexSignature": {
- "id": 140,
+ "id": 433,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 141,
+ "id": 434,
"name": "key",
"kind": 32768,
"flags": {},
@@ -86321,7 +44872,7 @@
}
},
{
- "id": 133,
+ "id": 426,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -86343,7 +44894,7 @@
}
},
{
- "id": 128,
+ "id": 421,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -86363,7 +44914,7 @@
}
},
{
- "id": 127,
+ "id": 420,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -86390,8 +44941,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 132, 131, 134, 129, 130, 138,
- 133, 128, 127
+ 425, 424, 427, 422, 423, 431,
+ 426, 421, 420
]
}
],
@@ -86399,7 +44950,7 @@
{
"fileName": "RealtimeClient.ts",
"line": 16,
- "character": 22
+ "character": 36
}
]
}
@@ -86410,14 +44961,14 @@
],
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
}
]
},
{
- "id": 6,
+ "id": 311,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -86425,7 +44976,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 41,
"character": 2
}
],
@@ -86445,7 +44996,7 @@
"defaultValue": "null"
},
{
- "id": 7,
+ "id": 312,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -86453,7 +45004,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 2
}
],
@@ -86461,14 +45012,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
"defaultValue": "[]"
},
{
- "id": 28,
+ "id": 333,
"name": "conn",
"kind": 1024,
"kindString": "Property",
@@ -86476,7 +45027,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 57,
"character": 2
}
],
@@ -86498,31 +45049,11 @@
"defaultValue": "null"
},
{
- "id": 26,
+ "id": 331,
"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",
@@ -86538,7 +45069,27 @@
}
},
{
- "id": 8,
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
"name": "endPoint",
"kind": 1024,
"kindString": "Property",
@@ -86546,7 +45097,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 2
}
],
@@ -86557,7 +45108,7 @@
"defaultValue": "''"
},
{
- "id": 37,
+ "id": 342,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -86565,7 +45116,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 71,
"character": 2
}
],
@@ -86576,7 +45127,7 @@
"defaultValue": "100"
},
{
- "id": 9,
+ "id": 314,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -86586,27 +45137,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 10,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 11,
+ "id": 316,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 12,
+ "id": 317,
"name": "key",
"kind": 32768,
"flags": {},
@@ -86626,7 +45177,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 19,
+ "id": 324,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -86634,7 +45185,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 2
}
],
@@ -86645,7 +45196,7 @@
"defaultValue": "30000"
},
{
- "id": 20,
+ "id": 325,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -86653,7 +45204,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 2
}
],
@@ -86675,7 +45226,7 @@
"defaultValue": "undefined"
},
{
- "id": 38,
+ "id": 343,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -86683,7 +45234,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 72,
"character": 2
}
],
@@ -86694,7 +45245,7 @@
"defaultValue": "false"
},
{
- "id": 24,
+ "id": 329,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -86702,7 +45253,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 2
}
],
@@ -86715,7 +45266,7 @@
"defaultValue": "noop"
},
{
- "id": 13,
+ "id": 318,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -86725,27 +45276,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 14,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 15,
+ "id": 320,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 16,
+ "id": 321,
"name": "key",
"kind": 32768,
"flags": {},
@@ -86765,7 +45316,7 @@
"defaultValue": "{}"
},
{
- "id": 21,
+ "id": 326,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -86773,7 +45324,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 2
}
],
@@ -86793,7 +45344,7 @@
"defaultValue": "null"
},
{
- "id": 27,
+ "id": 332,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -86801,7 +45352,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 56,
"character": 2
}
],
@@ -86813,29 +45364,11 @@
}
},
{
- "id": 23,
+ "id": 328,
"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",
@@ -86843,6 +45376,24 @@
"character": 2
}
],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
"type": {
"type": "intrinsic",
"name": "number"
@@ -86850,7 +45401,7 @@
"defaultValue": "0"
},
{
- "id": 29,
+ "id": 334,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -86858,7 +45409,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 58,
"character": 2
}
],
@@ -86874,11 +45425,30 @@
"defaultValue": "[]"
},
{
- "id": 30,
+ "id": 335,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -86886,40 +45456,44 @@
"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,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 34,
+ "id": 339,
"name": "close",
"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"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -86938,8 +45512,8 @@
}
},
{
- "id": 35,
- "name": "error",
+ "id": 341,
+ "name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -86961,30 +45535,7 @@
}
},
{
- "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,
+ "id": 338,
"name": "open",
"kind": 1024,
"kindString": "Property",
@@ -86992,7 +45543,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 4
}
],
@@ -87011,7 +45562,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [34, 35, 36, 33]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -87019,11 +45570,30 @@
"defaultValue": "..."
},
{
- "id": 17,
+ "id": 322,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -87031,25 +45601,6 @@
"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"
@@ -87057,7 +45608,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 76,
+ "id": 366,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -87065,20 +45616,20 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 278,
+ "line": 218,
"character": 2
}
],
"signatures": [
{
- "id": 77,
+ "id": 367,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 78,
+ "id": 368,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -87089,28 +45640,261 @@
}
},
{
- "id": 79,
+ "id": 369,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "ChannelParams"
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 301, 300
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
- "defaultValue": "{}"
+ "defaultValue": "..."
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 39,
+ "id": 344,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -87118,13 +45902,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 125,
"character": 2
}
],
"signatures": [
{
- "id": 40,
+ "id": 345,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
@@ -87140,7 +45924,7 @@
]
},
{
- "id": 69,
+ "id": 362,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -87148,13 +45932,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 247,
+ "line": 198,
"character": 2
}
],
"signatures": [
{
- "id": 70,
+ "id": 363,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
@@ -87170,7 +45954,7 @@
]
},
{
- "id": 41,
+ "id": 346,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -87178,13 +45962,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 147,
"character": 2
}
],
"signatures": [
{
- "id": 42,
+ "id": 347,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
@@ -87194,7 +45978,7 @@
},
"parameters": [
{
- "id": 43,
+ "id": 348,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -87210,7 +45994,7 @@
}
},
{
- "id": 44,
+ "id": 349,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -87234,37 +46018,7 @@
]
},
{
- "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,
+ "id": 350,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -87272,13 +46026,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 163,
+ "line": 162,
"character": 2
}
],
"signatures": [
{
- "id": 46,
+ "id": 351,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -87287,7 +46041,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
@@ -87295,7 +46049,7 @@
]
},
{
- "id": 71,
+ "id": 364,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -87303,13 +46057,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 263,
+ "line": 214,
"character": 2
}
],
"signatures": [
{
- "id": 72,
+ "id": 365,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -87325,50 +46079,7 @@
]
},
{
- "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,
+ "id": 357,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -87376,13 +46087,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 192,
+ "line": 191,
"character": 2
}
],
"signatures": [
{
- "id": 53,
+ "id": 358,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
@@ -87393,7 +46104,7 @@
},
"parameters": [
{
- "id": 54,
+ "id": 359,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -87404,7 +46115,7 @@
}
},
{
- "id": 55,
+ "id": 360,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -87415,7 +46126,7 @@
}
},
{
- "id": 56,
+ "id": 361,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -87436,326 +46147,7 @@
]
},
{
- "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,
+ "id": 370,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -87763,13 +46155,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 293,
+ "line": 236,
"character": 2
}
],
"signatures": [
{
- "id": 81,
+ "id": 371,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -87780,14 +46172,149 @@
},
"parameters": [
{
- "id": 82,
+ "id": 372,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "Message"
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 438, 441, 439, 440, 437
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -87808,55 +46335,7 @@
]
},
{
- "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",
- "dereferenced": "[Circular ~.children.3.children.0.signatures.0.parameters.0.type.dereferenced]"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 50,
+ "id": 355,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -87864,13 +46343,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 178,
+ "line": 177,
"character": 2
}
],
"signatures": [
{
- "id": 51,
+ "id": 356,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -87881,21 +46360,9 @@
{
"type": "array",
"elementType": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
}
],
@@ -87907,7 +46374,7 @@
]
},
{
- "id": 47,
+ "id": 352,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -87915,29 +46382,29 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 167,
+ "line": 166,
"character": 2
}
],
"signatures": [
{
- "id": 48,
+ "id": 353,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 49,
+ "id": 354,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default",
- "dereferenced": "[Circular ~.children.3.children.0.signatures.0.parameters.0.type.dereferenced]"
+ "dereferenced": "[Circular ~.children.6.children.0.signatures.0.parameters.0.type.dereferenced]"
}
}
],
@@ -87945,21 +46412,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
],
"qualifiedName": "Promise",
@@ -87970,7 +46425,7 @@
]
},
{
- "id": 92,
+ "id": 373,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -87978,13 +46433,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 371,
+ "line": 263,
"character": 2
}
],
"signatures": [
{
- "id": 93,
+ "id": 374,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -87994,7 +46449,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 375,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -88029,29 +46484,30 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [307]
},
{
"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
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325,
+ 343, 329, 318, 326, 332, 328, 327, 334, 335, 336,
+ 322, 323
]
},
{
"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
+ 366, 344, 362, 346, 350, 364, 357, 370, 355, 352,
+ 373
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 21
}
]
@@ -88061,14 +46517,14 @@
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 161,
+ "id": 71,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -88076,27 +46532,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 9,
+ "line": 95,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 162,
+ "id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 163,
+ "id": 73,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 164,
+ "id": 74,
"name": "key",
"kind": 32768,
"flags": {},
@@ -88111,14 +46567,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 171,
+ "id": 81,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -88126,7 +46582,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 99,
"character": 6
}
],
@@ -88138,7 +46594,7 @@
}
},
{
- "id": 167,
+ "id": 77,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -88146,14 +46602,14 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 168,
+ "id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -88161,19 +46617,19 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 14
}
],
"indexSignature": {
- "id": 169,
+ "id": 79,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 170,
+ "id": 80,
"name": "key",
"kind": 32768,
"flags": {},
@@ -88192,7 +46648,7 @@
}
},
{
- "id": 172,
+ "id": 82,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -88202,7 +46658,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 100,
"character": 6
}
],
@@ -88212,7 +46668,7 @@
}
},
{
- "id": 166,
+ "id": 76,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -88220,7 +46676,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 11,
+ "line": 97,
"character": 6
}
],
@@ -88234,13 +46690,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [171, 167, 172, 166]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 10,
+ "line": 96,
"character": 19
}
]
@@ -88253,7 +46709,7 @@
"defaultValue": "{}"
},
{
- "id": 176,
+ "id": 86,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -88261,7 +46717,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 20,
+ "line": 106,
"character": 2
}
],
@@ -88271,7 +46727,7 @@
}
},
{
- "id": 175,
+ "id": 85,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -88279,7 +46735,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 105,
"character": 2
}
],
@@ -88290,7 +46746,7 @@
"defaultValue": "false"
},
{
- "id": 181,
+ "id": 91,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -88298,42 +46754,14 @@
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 179,
+ "id": 89,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -88341,18 +46769,18 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 109,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 300,
+ "id": 1,
"name": "default"
}
},
{
- "id": 178,
+ "id": 88,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -88360,7 +46788,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 22,
+ "line": 108,
"character": 2
}
],
@@ -88374,7 +46802,7 @@
"defaultValue": "[]"
},
{
- "id": 177,
+ "id": 87,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -88382,7 +46810,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 21,
+ "line": 107,
"character": 2
}
],
@@ -88392,7 +46820,7 @@
}
},
{
- "id": 185,
+ "id": 92,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -88401,12 +46829,12 @@
},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
},
{
- "id": 174,
+ "id": 84,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -88414,7 +46842,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 18,
+ "line": 104,
"character": 2
}
],
@@ -88425,7 +46853,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 173,
+ "id": 83,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -88433,7 +46861,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 17,
+ "line": 103,
"character": 2
}
],
@@ -88443,7 +46871,7 @@
}
},
{
- "id": 180,
+ "id": 90,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -88456,320 +46884,7 @@
}
},
{
- "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,
+ "id": 119,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -88777,61 +46892,555 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 249,
+ "line": 315,
"character": 2
}
],
"signatures": [
{
- "id": 217,
+ "id": 120,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "returns": "\n"
+ "shortText": "Listen to messages."
},
"parameters": [
{
- "id": 218,
+ "id": 121,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "comment": {
- "shortText": "\"postgres_changes\" is the only type supported at this time"
- },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "literal",
+ "value": "broadcast"
}
},
{
- "id": 219,
+ "id": 122,
"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,
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 317,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [124]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 127,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 128,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 320,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 130,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 319,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [131, 130]
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 135,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 136,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 326,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [138]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 139,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 140,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 141,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 143,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 144,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 331,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [146]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 149,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 151,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 152,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 153,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 336,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 158,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 159,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 221,
+ "id": 162,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 222,
+ "id": 163,
"name": "key",
"kind": 32768,
"flags": {},
@@ -88848,192 +47457,1028 @@
}
}
}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 165,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
},
{
- "id": 223,
+ "id": 166,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 167,
"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": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 169,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 170,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 175,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 176,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 177,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 178,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 175,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 182,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 184,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 188,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 189,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 191,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 192,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 186,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 193,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 197,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 195,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 199,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 200,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 202,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 203,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 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,
+ "id": 101,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -89041,226 +48486,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 198,
+ "line": 284,
"character": 2
}
],
"signatures": [
{
- "id": 193,
+ "id": 102,
"name": "presenceState",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
- "name": "PresenceState"
+ "id": 495,
+ "name": "RealtimePresenceState"
}
}
]
},
{
- "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,
+ "id": 204,
"name": "send",
"kind": 2048,
"kindString": "Method",
@@ -89268,20 +48514,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 301,
+ "line": 367,
"character": 2
}
],
"signatures": [
{
- "id": 242,
+ "id": 205,
"name": "send",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 243,
+ "id": 206,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -89289,14 +48535,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 207,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 245,
+ "id": 208,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -89304,7 +48550,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 302,
+ "line": 368,
"character": 15
}
],
@@ -89318,18 +48564,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [245]
+ "children": [208]
}
],
"indexSignature": {
- "id": 246,
+ "id": 209,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 210,
"name": "key",
"kind": 32768,
"flags": {},
@@ -89348,7 +48594,7 @@
}
},
{
- "id": 248,
+ "id": 211,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -89356,20 +48602,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 249,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 250,
+ "id": 213,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 251,
+ "id": 214,
"name": "key",
"kind": 32768,
"flags": {},
@@ -89393,21 +48639,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -89418,7 +48652,7 @@
]
},
{
- "id": 188,
+ "id": 93,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -89426,20 +48660,23 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 90,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 189,
+ "id": 94,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
"parameters": [
{
- "id": 190,
+ "id": 95,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -89447,14 +48684,76 @@
"isOptional": true
},
"type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 97,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 98,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ }
+ ]
+ }
+ },
+ {
+ "id": 99,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
},
{
- "id": 191,
+ "id": 100,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -89467,14 +48766,15 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "void"
+ "type": "reference",
+ "id": 55,
+ "name": "default"
}
}
]
},
{
- "id": 194,
+ "id": 103,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -89482,20 +48782,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 202,
+ "line": 288,
"character": 8
}
],
"signatures": [
{
- "id": 195,
+ "id": 104,
"name": "track",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 196,
+ "id": 105,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -89503,20 +48803,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 198,
+ "id": 107,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 199,
+ "id": 108,
"name": "key",
"kind": 32768,
"flags": {},
@@ -89535,7 +48835,7 @@
}
},
{
- "id": 200,
+ "id": 109,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -89543,20 +48843,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 110,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 202,
+ "id": 111,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 203,
+ "id": 112,
"name": "key",
"kind": 32768,
"flags": {},
@@ -89580,21 +48880,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -89605,73 +48893,7 @@
]
},
{
- "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,
+ "id": 221,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -89679,13 +48901,13 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 341,
+ "line": 407,
"character": 2
}
],
"signatures": [
{
- "id": 259,
+ "id": 222,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -89696,7 +48918,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 223,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -89737,7 +48959,7 @@
]
},
{
- "id": 204,
+ "id": 113,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -89745,20 +48967,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 216,
+ "line": 302,
"character": 8
}
],
"signatures": [
{
- "id": 205,
+ "id": 114,
"name": "untrack",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 206,
+ "id": 115,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -89766,20 +48988,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 207,
+ "id": 116,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 208,
+ "id": 117,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 209,
+ "id": 118,
"name": "key",
"kind": 32768,
"flags": {},
@@ -89803,21 +49025,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -89828,7 +49038,7 @@
]
},
{
- "id": 252,
+ "id": 215,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -89836,20 +49046,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 328,
+ "line": 394,
"character": 2
}
],
"signatures": [
{
- "id": 253,
+ "id": 216,
"name": "updateJoinPayload",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 254,
+ "id": 217,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -89857,20 +49067,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 255,
+ "id": 218,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 256,
+ "id": 219,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 257,
+ "id": 220,
"name": "key",
"kind": 32768,
"flags": {},
@@ -89901,26 +49111,23 @@
{
"title": "Constructors",
"kind": 512,
- "children": [153]
+ "children": [66]
},
{
"title": "Properties",
"kind": 1024,
- "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180]
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
},
{
"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
- ]
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 8,
+ "line": 94,
"character": 21
}
]
@@ -89928,7 +49135,7 @@
}
},
{
- "id": 335,
+ "id": 31,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -89948,14 +49155,14 @@
],
"type": {
"type": "reference",
- "id": 300,
+ "id": 1,
"name": "default"
}
}
]
},
{
- "id": 339,
+ "id": 35,
"name": "caller",
"kind": 1024,
"kindString": "Property",
@@ -89963,21 +49170,21 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 47,
+ "line": 66,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 36,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 341,
+ "id": 37,
"name": "onJoin",
"kind": 1024,
"kindString": "Property",
@@ -89985,7 +49192,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 48,
+ "line": 67,
"character": 4
}
],
@@ -89997,7 +49204,7 @@
}
},
{
- "id": 342,
+ "id": 38,
"name": "onLeave",
"kind": 1024,
"kindString": "Property",
@@ -90005,7 +49212,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 49,
+ "line": 68,
"character": 4
}
],
@@ -90017,7 +49224,7 @@
}
},
{
- "id": 343,
+ "id": 39,
"name": "onSync",
"kind": 2048,
"kindString": "Method",
@@ -90025,13 +49232,13 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 50,
+ "line": 69,
"character": 4
}
],
"signatures": [
{
- "id": 344,
+ "id": 40,
"name": "onSync",
"kind": 4096,
"kindString": "Call signature",
@@ -90048,12 +49255,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [341, 342]
+ "children": [37, 38]
},
{
"title": "Methods",
"kind": 2048,
- "children": [343]
+ "children": [39]
}
]
}
@@ -90061,7 +49268,7 @@
"defaultValue": "..."
},
{
- "id": 345,
+ "id": 41,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -90070,12 +49277,12 @@
},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
{
- "id": 338,
+ "id": 34,
"name": "joinRef",
"kind": 1024,
"kindString": "Property",
@@ -90083,7 +49290,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 46,
+ "line": 65,
"character": 2
}
],
@@ -90103,7 +49310,7 @@
"defaultValue": "null"
},
{
- "id": 337,
+ "id": 33,
"name": "pendingDiffs",
"kind": 1024,
"kindString": "Property",
@@ -90111,7 +49318,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 45,
+ "line": 64,
"character": 2
}
],
@@ -90125,7 +49332,7 @@
"defaultValue": "[]"
},
{
- "id": 336,
+ "id": 32,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -90133,526 +49340,301 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 44,
+ "line": 63,
"character": 2
}
],
"type": {
"type": "reference",
- "name": "PresenceState"
+ "id": 495,
+ "name": "RealtimePresenceState"
},
"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]
+ "children": [28]
},
{
"title": "Properties",
"kind": 1024,
- "children": [339, 345, 338, 337, 336]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [357, 346, 349, 352, 313, 307, 301]
+ "children": [35, 41, 34, 33, 32]
}
],
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 43,
+ "line": 62,
"character": 21
}
]
},
{
- "id": 125,
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 305,
+ "name": "RealtimeChannelSendResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 67,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ },
+ {
+ "id": 418,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -90667,14 +49649,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 419,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 132,
+ "id": 425,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -90696,7 +49678,7 @@
}
},
{
- "id": 131,
+ "id": 424,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -90718,7 +49700,7 @@
}
},
{
- "id": 134,
+ "id": 427,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -90735,7 +49717,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -90748,14 +49730,14 @@
}
],
"indexSignature": {
- "id": 136,
+ "id": 429,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 137,
+ "id": 430,
"name": "key",
"kind": 32768,
"flags": {},
@@ -90774,7 +49756,7 @@
}
},
{
- "id": 129,
+ "id": 422,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -90794,7 +49776,7 @@
}
},
{
- "id": 130,
+ "id": 423,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -90816,7 +49798,7 @@
}
},
{
- "id": 138,
+ "id": 431,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -90833,7 +49815,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -90846,14 +49828,14 @@
}
],
"indexSignature": {
- "id": 140,
+ "id": 433,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 141,
+ "id": 434,
"name": "key",
"kind": 32768,
"flags": {},
@@ -90872,7 +49854,7 @@
}
},
{
- "id": 133,
+ "id": 426,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -90894,7 +49876,7 @@
}
},
{
- "id": 128,
+ "id": 421,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -90914,7 +49896,7 @@
}
},
{
- "id": 127,
+ "id": 420,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -90940,35 +49922,1277 @@
{
"title": "Properties",
"kind": 1024,
- "children": [132, 131, 134, 129, 130, 138, 133, 128, 127]
+ "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
"line": 16,
- "character": 22
+ "character": 36
}
]
}
}
+ },
+ {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 449,
+ "name": "RealtimePostgresChangesPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 55,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 453,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 450,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 55,
+ "character": 53
+ }
+ ],
+ "indexSignature": {
+ "id": 451,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 452,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ },
+ {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ ]
+ }
+ },
+ {
+ "id": 473,
+ "name": "RealtimePostgresDeletePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 48,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 482,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 479,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 48,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 480,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 481,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "name": "RealtimePostgresChangesPayloadBase"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 474,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 475,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 508,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 476,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 477,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 478,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 482,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "Partial",
+ "package": "typescript",
+ "name": "Partial"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [475, 476, 478]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 49,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 454,
+ "name": "RealtimePostgresInsertPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 34,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 463,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 460,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 34,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 461,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 462,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "name": "RealtimePostgresChangesPayloadBase"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 456,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 506,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 457,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 37,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 463,
+ "name": "T"
+ }
+ },
+ {
+ "id": 458,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 459,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 38,
+ "character": 9
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [456, 457, 458]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 35,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 464,
+ "name": "RealtimePostgresUpdatePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 41,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 472,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 469,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 41,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 470,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 471,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "name": "RealtimePostgresChangesPayloadBase"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 465,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 466,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 43,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 507,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 467,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 44,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 472,
+ "name": "T"
+ }
+ },
+ {
+ "id": 468,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 45,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "Partial",
+ "package": "typescript",
+ "name": "Partial"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [466, 467, 468]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 42,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 20,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 484,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 487,
+ "name": "currentPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ },
+ {
+ "id": 485,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 511,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 486,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 488,
+ "name": "newPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [487, 485, 486, 488]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 20,
+ "character": 42
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 27,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 490,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 493,
+ "name": "currentPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ },
+ {
+ "id": 491,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 512,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 492,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 494,
+ "name": "leftPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [493, 491, 492, 494]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 27,
+ "character": 43
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 36
+ }
+ ],
+ "indexSignature": {
+ "id": 497,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 498,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
}
],
"groups": [
{
- "title": "Namespaces",
- "kind": 4,
- "children": [363]
+ "title": "Enumerations",
+ "kind": 8,
+ "children": [500, 504, 509, 513]
},
{
"title": "Classes",
"kind": 128,
- "children": [142, 1, 300]
+ "children": [55, 306, 1]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [125]
+ "children": [294, 305, 418, 435, 442, 449, 473, 454, 464, 483, 489, 495, 499]
}
],
"sources": [
@@ -90994,14 +51218,14 @@
"flags": {},
"children": [
{
- "id": 381,
+ "id": 390,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 382,
+ "id": 391,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -91015,14 +51239,14 @@
],
"signatures": [
{
- "id": 383,
+ "id": 392,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 384,
+ "id": 393,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -91033,7 +51257,7 @@
}
},
{
- "id": 385,
+ "id": 394,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -91046,24 +51270,24 @@
],
"type": {
"type": "reference",
- "id": 381,
+ "id": 390,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 378,
+ "id": 387,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 377,
+ "id": 386,
"name": "StorageError.constructor"
}
},
{
- "id": 386,
+ "id": 395,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -91081,7 +51305,7 @@
}
},
{
- "id": 387,
+ "id": 396,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -91095,7 +51319,7 @@
],
"signatures": [
{
- "id": 388,
+ "id": 397,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -91103,14 +51327,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 391,
+ "id": 400,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -91129,7 +51353,7 @@
"defaultValue": "..."
},
{
- "id": 390,
+ "id": 399,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -91148,7 +51372,7 @@
"defaultValue": "..."
},
{
- "id": 392,
+ "id": 401,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -91171,7 +51395,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [391, 390, 392]
+ "children": [400, 399, 401]
}
]
}
@@ -91184,17 +51408,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [382]
+ "children": [391]
},
{
"title": "Properties",
"kind": 1024,
- "children": [386]
+ "children": [395]
},
{
"title": "Methods",
"kind": 2048,
- "children": [387]
+ "children": [396]
}
],
"sources": [
@@ -91207,20 +51431,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
]
},
{
- "id": 249,
+ "id": 258,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 250,
+ "id": 259,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -91234,14 +51458,14 @@
],
"signatures": [
{
- "id": 251,
+ "id": 260,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 252,
+ "id": 261,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -91252,7 +51476,7 @@
}
},
{
- "id": 253,
+ "id": 262,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -91260,20 +51484,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 263,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 255,
+ "id": 264,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 256,
+ "id": 265,
"name": "key",
"kind": 32768,
"flags": {},
@@ -91293,7 +51517,7 @@
"defaultValue": "{}"
},
{
- "id": 257,
+ "id": 266,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -91303,21 +51527,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 258,
+ "id": 267,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 259,
+ "id": 268,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 260,
+ "id": 269,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -91330,7 +51554,7 @@
}
},
{
- "id": 261,
+ "id": 270,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -91367,7 +51591,7 @@
],
"type": {
"type": "reference",
- "id": 249,
+ "id": 258,
"name": "StorageClient"
},
"overwrites": {
@@ -91384,7 +51608,7 @@
}
},
{
- "id": 292,
+ "id": 301,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -91398,7 +51622,7 @@
],
"signatures": [
{
- "id": 293,
+ "id": 302,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -91409,7 +51633,7 @@
},
"parameters": [
{
- "id": 294,
+ "id": 303,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -91423,7 +51647,7 @@
}
},
{
- "id": 295,
+ "id": 304,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -91431,14 +51655,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 296,
+ "id": 305,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 297,
+ "id": 306,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -91463,7 +51687,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [297]
+ "children": [306]
}
]
}
@@ -91480,14 +51704,14 @@
{
"type": "reflection",
"declaration": {
- "id": 298,
+ "id": 307,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 299,
+ "id": 308,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -91504,7 +51728,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
},
{
@@ -91518,7 +51742,7 @@
}
},
{
- "id": 300,
+ "id": 309,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -91540,7 +51764,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [299, 300]
+ "children": [308, 309]
}
]
}
@@ -91548,14 +51772,14 @@
{
"type": "reflection",
"declaration": {
- "id": 301,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 302,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -91573,7 +51797,7 @@
}
},
{
- "id": 303,
+ "id": 312,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -91587,7 +51811,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -91596,7 +51820,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [302, 303]
+ "children": [311, 312]
}
]
}
@@ -91622,7 +51846,7 @@
}
},
{
- "id": 329,
+ "id": 338,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -91636,7 +51860,7 @@
],
"signatures": [
{
- "id": 330,
+ "id": 339,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -91646,7 +51870,7 @@
},
"parameters": [
{
- "id": 331,
+ "id": 340,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -91669,14 +51893,14 @@
{
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 341,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 333,
+ "id": 342,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -91691,14 +51915,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 334,
+ "id": 343,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 335,
+ "id": 344,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -91720,14 +51944,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [335]
+ "children": [344]
}
]
}
}
},
{
- "id": 336,
+ "id": 345,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -91749,7 +51973,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [333, 336]
+ "children": [342, 345]
}
]
}
@@ -91757,14 +51981,14 @@
{
"type": "reflection",
"declaration": {
- "id": 337,
+ "id": 346,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 338,
+ "id": 347,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -91782,7 +52006,7 @@
}
},
{
- "id": 339,
+ "id": 348,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -91796,7 +52020,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -91805,7 +52029,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [338, 339]
+ "children": [347, 348]
}
]
}
@@ -91831,7 +52055,7 @@
}
},
{
- "id": 318,
+ "id": 327,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -91845,7 +52069,7 @@
],
"signatures": [
{
- "id": 319,
+ "id": 328,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -91855,7 +52079,7 @@
},
"parameters": [
{
- "id": 320,
+ "id": 329,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -91878,14 +52102,14 @@
{
"type": "reflection",
"declaration": {
- "id": 321,
+ "id": 330,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 322,
+ "id": 331,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -91900,14 +52124,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 323,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 324,
+ "id": 333,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -91929,14 +52153,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [324]
+ "children": [333]
}
]
}
}
},
{
- "id": 325,
+ "id": 334,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -91958,7 +52182,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [322, 325]
+ "children": [331, 334]
}
]
}
@@ -91966,14 +52190,14 @@
{
"type": "reflection",
"declaration": {
- "id": 326,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 327,
+ "id": 336,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -91991,7 +52215,7 @@
}
},
{
- "id": 328,
+ "id": 337,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -92005,7 +52229,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -92014,7 +52238,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [327, 328]
+ "children": [336, 337]
}
]
}
@@ -92040,7 +52264,7 @@
}
},
{
- "id": 262,
+ "id": 271,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -92054,7 +52278,7 @@
],
"signatures": [
{
- "id": 263,
+ "id": 272,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -92064,7 +52288,7 @@
},
"parameters": [
{
- "id": 264,
+ "id": 273,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -92087,7 +52311,7 @@
]
},
{
- "id": 283,
+ "id": 292,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -92101,7 +52325,7 @@
],
"signatures": [
{
- "id": 284,
+ "id": 293,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -92111,7 +52335,7 @@
},
"parameters": [
{
- "id": 285,
+ "id": 294,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -92125,6 +52349,167 @@
}
}
],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 297,
+ "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": [296, 297]
+ }
+ ]
+ }
+ },
+ {
+ "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": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 300,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [299, 300]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "default.getBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "default.getBucket"
+ }
+ },
+ {
+ "id": 284,
+ "name": "listBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 285,
+ "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": [
@@ -92149,14 +52534,17 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 52,
+ "line": 23,
"character": 8
}
],
"type": {
- "type": "reference",
- "id": 340,
- "name": "Bucket"
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ }
}
},
{
@@ -92168,7 +52556,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 53,
+ "line": 24,
"character": 8
}
],
@@ -92205,7 +52593,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 56,
+ "line": 27,
"character": 8
}
],
@@ -92223,13 +52611,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 57,
+ "line": 28,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -92250,170 +52638,6 @@
"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,
@@ -92428,7 +52652,7 @@
}
},
{
- "id": 304,
+ "id": 313,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -92442,7 +52666,7 @@
],
"signatures": [
{
- "id": 305,
+ "id": 314,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -92452,7 +52676,7 @@
},
"parameters": [
{
- "id": 306,
+ "id": 315,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -92466,7 +52690,7 @@
}
},
{
- "id": 307,
+ "id": 316,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -92474,14 +52698,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 318,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -92506,7 +52730,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309]
+ "children": [318]
}
]
}
@@ -92522,14 +52746,14 @@
{
"type": "reflection",
"declaration": {
- "id": 310,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 311,
+ "id": 320,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -92544,14 +52768,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 312,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 313,
+ "id": 322,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -92573,14 +52797,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [313]
+ "children": [322]
}
]
}
}
},
{
- "id": 314,
+ "id": 323,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -92602,7 +52826,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [311, 314]
+ "children": [320, 323]
}
]
}
@@ -92610,14 +52834,14 @@
{
"type": "reflection",
"declaration": {
- "id": 315,
+ "id": 324,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 316,
+ "id": 325,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -92635,7 +52859,7 @@
}
},
{
- "id": 317,
+ "id": 326,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -92649,7 +52873,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -92658,7 +52882,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [316, 317]
+ "children": [325, 326]
}
]
}
@@ -92688,12 +52912,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [250]
+ "children": [259]
},
{
"title": "Methods",
"kind": 2048,
- "children": [292, 329, 318, 262, 283, 275, 304]
+ "children": [301, 338, 327, 271, 292, 284, 313]
}
],
"sources": [
@@ -92712,14 +52936,14 @@
]
},
{
- "id": 376,
+ "id": 385,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 377,
+ "id": 386,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -92733,14 +52957,14 @@
],
"signatures": [
{
- "id": 378,
+ "id": 387,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 379,
+ "id": 388,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -92753,7 +52977,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
},
"overwrites": {
@@ -92772,7 +52996,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [377]
+ "children": [386]
}
],
"sources": [
@@ -92793,25 +53017,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 381,
+ "id": 390,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 394,
+ "id": 403,
"name": "StorageUnknownError"
}
]
},
{
- "id": 394,
+ "id": 403,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 404,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -92825,14 +53049,14 @@
],
"signatures": [
{
- "id": 396,
+ "id": 405,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 397,
+ "id": 406,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -92843,7 +53067,7 @@
}
},
{
- "id": 398,
+ "id": 407,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -92856,24 +53080,24 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 403,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 378,
+ "id": 387,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 377,
+ "id": 386,
"name": "StorageError.constructor"
}
},
{
- "id": 399,
+ "id": 408,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -92895,12 +53119,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [395]
+ "children": [404]
},
{
"title": "Properties",
"kind": 1024,
- "children": [399]
+ "children": [408]
}
],
"sources": [
@@ -92913,20 +53137,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
]
},
{
- "id": 340,
+ "id": 349,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 344,
+ "id": 353,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -92944,7 +53168,7 @@
}
},
{
- "id": 341,
+ "id": 350,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -92962,7 +53186,7 @@
}
},
{
- "id": 342,
+ "id": 351,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -92980,7 +53204,7 @@
}
},
{
- "id": 343,
+ "id": 352,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -92998,7 +53222,7 @@
}
},
{
- "id": 346,
+ "id": 355,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -93016,7 +53240,7 @@
}
},
{
- "id": 345,
+ "id": 354,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -93038,7 +53262,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344, 341, 342, 343, 346, 345]
+ "children": [353, 350, 351, 352, 355, 354]
}
],
"sources": [
@@ -93050,14 +53274,14 @@
]
},
{
- "id": 369,
+ "id": 378,
"name": "FetchParameters",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 370,
+ "id": 379,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -93086,7 +53310,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370]
+ "children": [379]
}
],
"sources": [
@@ -93098,14 +53322,14 @@
]
},
{
- "id": 347,
+ "id": 356,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 349,
+ "id": 358,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
@@ -93123,7 +53347,7 @@
}
},
{
- "id": 356,
+ "id": 365,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
@@ -93137,12 +53361,12 @@
],
"type": {
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
}
},
{
- "id": 353,
+ "id": 362,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -93160,7 +53384,7 @@
}
},
{
- "id": 351,
+ "id": 360,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -93178,7 +53402,7 @@
}
},
{
- "id": 354,
+ "id": 363,
"name": "last_accessed_at",
"kind": 1024,
"kindString": "Property",
@@ -93196,7 +53420,7 @@
}
},
{
- "id": 355,
+ "id": 364,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -93226,7 +53450,7 @@
}
},
{
- "id": 348,
+ "id": 357,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -93244,7 +53468,7 @@
}
},
{
- "id": 350,
+ "id": 359,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -93262,7 +53486,7 @@
}
},
{
- "id": 352,
+ "id": 361,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -93284,7 +53508,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [349, 356, 353, 351, 354, 355, 348, 350, 352]
+ "children": [358, 365, 362, 360, 363, 364, 357, 359, 361]
}
],
"sources": [
@@ -93296,14 +53520,14 @@
]
},
{
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -93326,7 +53550,7 @@
}
},
{
- "id": 362,
+ "id": 371,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -93349,7 +53573,7 @@
}
},
{
- "id": 363,
+ "id": 372,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -93376,7 +53600,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 362, 363]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -93388,14 +53612,14 @@
]
},
{
- "id": 371,
+ "id": 380,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 372,
+ "id": 381,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -93417,7 +53641,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [372]
+ "children": [381]
}
],
"sources": [
@@ -93429,14 +53653,14 @@
]
},
{
- "id": 364,
+ "id": 373,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 365,
+ "id": 374,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -93459,7 +53683,7 @@
}
},
{
- "id": 366,
+ "id": 375,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -93482,7 +53706,7 @@
}
},
{
- "id": 368,
+ "id": 377,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -93505,7 +53729,7 @@
}
},
{
- "id": 367,
+ "id": 376,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -93524,7 +53748,7 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 366,
"name": "SortBy"
}
}
@@ -93533,7 +53757,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [365, 366, 368, 367]
+ "children": [374, 375, 377, 376]
}
],
"sources": [
@@ -93545,14 +53769,14 @@
]
},
{
- "id": 357,
+ "id": 366,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 358,
+ "id": 367,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -93572,7 +53796,7 @@
}
},
{
- "id": 359,
+ "id": 368,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -93596,7 +53820,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [358, 359]
+ "children": [367, 368]
}
],
"sources": [
@@ -93608,7 +53832,7 @@
]
},
{
- "id": 373,
+ "id": 382,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -93622,14 +53846,14 @@
],
"signatures": [
{
- "id": 374,
+ "id": 383,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 375,
+ "id": 384,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -93646,7 +53870,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -93658,17 +53882,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [381, 249, 376, 394]
+ "children": [390, 258, 385, 403]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [340, 369, 347, 360, 371, 364, 357]
+ "children": [349, 378, 356, 369, 380, 373, 366]
},
{
"title": "Functions",
"kind": 64,
- "children": [373]
+ "children": [382]
}
],
"sources": [
@@ -93968,7 +54192,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
},
{
@@ -94051,7 +54275,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -94250,7 +54474,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -94449,7 +54673,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -94542,7 +54766,7 @@
],
"type": {
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
}
},
@@ -94616,7 +54840,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -94695,7 +54919,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
}
}
@@ -94770,7 +54994,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -95016,7 +55240,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -95063,7 +55287,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 249,
+ "id": 258,
"name": "StorageClient"
}
]
@@ -95357,7 +55581,7 @@
"children": [
{
"id": 176,
- "name": "message",
+ "name": "path",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -95454,7 +55678,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -95487,7 +55711,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 262,
+ "line": 263,
"character": 8
}
],
@@ -95523,12 +55747,70 @@
"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"
+ "shortText": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute."
},
"type": {
"type": "intrinsic",
"name": "number"
}
+ },
+ {
+ "id": 185,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 186,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 187,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 266,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [187]
+ }
+ ]
+ }
+ }
}
],
"type": {
@@ -95540,14 +55822,14 @@
{
"type": "reflection",
"declaration": {
- "id": 185,
+ "id": 188,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 186,
+ "id": 189,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -95555,21 +55837,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 267,
+ "line": 269,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 187,
+ "id": 190,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 188,
+ "id": 191,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -95577,7 +55859,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 267,
+ "line": 269,
"character": 16
}
],
@@ -95591,67 +55873,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [188]
+ "children": [191]
}
]
}
}
},
- {
- "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",
@@ -95661,13 +55888,68 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 272,
+ "line": 270,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [189, 192]
+ }
+ ]
+ }
+ },
+ {
+ "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/packages/StorageFileApi.ts",
+ "line": 273,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 195,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 274,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -95676,7 +55958,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [191, 192]
+ "children": [194, 195]
}
]
}
@@ -95692,7 +55974,7 @@
]
},
{
- "id": 193,
+ "id": 196,
"name": "createSignedUrls",
"kind": 2048,
"kindString": "Method",
@@ -95700,13 +55982,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 301,
+ "line": 307,
"character": 8
}
],
"signatures": [
{
- "id": 194,
+ "id": 197,
"name": "createSignedUrls",
"kind": 4096,
"kindString": "Call signature",
@@ -95716,7 +55998,7 @@
},
"parameters": [
{
- "id": 195,
+ "id": 198,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -95733,18 +56015,76 @@
}
},
{
- "id": 196,
+ "id": 199,
"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"
+ "shortText": "The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute."
},
"type": {
"type": "intrinsic",
"name": "number"
}
+ },
+ {
+ "id": 200,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 202,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 310,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [202]
+ }
+ ]
+ }
+ }
}
],
"type": {
@@ -95756,14 +56096,14 @@
{
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 203,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 198,
+ "id": 204,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -95771,7 +56111,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 8
}
],
@@ -95780,14 +56120,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 199,
+ "id": 205,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 200,
+ "id": 206,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -95795,7 +56135,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 16
}
],
@@ -95814,7 +56154,7 @@
}
},
{
- "id": 201,
+ "id": 207,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -95822,7 +56162,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 38
}
],
@@ -95841,7 +56181,7 @@
}
},
{
- "id": 202,
+ "id": 208,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -95849,7 +56189,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 59
}
],
@@ -95863,7 +56203,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [200, 201, 202]
+ "children": [206, 207, 208]
}
]
}
@@ -95871,7 +56211,7 @@
}
},
{
- "id": 203,
+ "id": 209,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -95879,7 +56219,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 307,
+ "line": 314,
"character": 8
}
],
@@ -95893,7 +56233,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [198, 203]
+ "children": [204, 209]
}
]
}
@@ -95901,14 +56241,14 @@
{
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 210,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 205,
+ "id": 211,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -95916,7 +56256,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 310,
+ "line": 317,
"character": 8
}
],
@@ -95926,7 +56266,7 @@
}
},
{
- "id": 206,
+ "id": 212,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -95934,13 +56274,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 311,
+ "line": 318,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -95949,7 +56289,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [205, 206]
+ "children": [211, 212]
}
]
}
@@ -95965,7 +56305,7 @@
]
},
{
- "id": 207,
+ "id": 213,
"name": "download",
"kind": 2048,
"kindString": "Method",
@@ -95973,13 +56313,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 342,
+ "line": 355,
"character": 8
}
],
"signatures": [
{
- "id": 208,
+ "id": 214,
"name": "download",
"kind": 4096,
"kindString": "Call signature",
@@ -95989,7 +56329,7 @@
},
"parameters": [
{
- "id": 209,
+ "id": 215,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -96012,14 +56352,14 @@
{
"type": "reflection",
"declaration": {
- "id": 210,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 211,
+ "id": 217,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -96027,7 +56367,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 346,
+ "line": 359,
"character": 8
}
],
@@ -96039,7 +56379,7 @@
}
},
{
- "id": 212,
+ "id": 218,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -96047,7 +56387,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 347,
+ "line": 360,
"character": 8
}
],
@@ -96061,7 +56401,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [211, 212]
+ "children": [217, 218]
}
]
}
@@ -96069,14 +56409,14 @@
{
"type": "reflection",
"declaration": {
- "id": 213,
+ "id": 219,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 214,
+ "id": 220,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -96084,7 +56424,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 350,
+ "line": 363,
"character": 8
}
],
@@ -96094,7 +56434,7 @@
}
},
{
- "id": 215,
+ "id": 221,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -96102,13 +56442,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 351,
+ "line": 364,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -96117,7 +56457,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [214, 215]
+ "children": [220, 221]
}
]
}
@@ -96133,7 +56473,7 @@
]
},
{
- "id": 216,
+ "id": 222,
"name": "getPublicUrl",
"kind": 2048,
"kindString": "Method",
@@ -96141,13 +56481,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 377,
+ "line": 391,
"character": 2
}
],
"signatures": [
{
- "id": 217,
+ "id": 223,
"name": "getPublicUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -96157,31 +56497,89 @@
},
"parameters": [
{
- "id": 218,
+ "id": 224,
"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"
+ "shortText": "The path and name of the file to generate the public URL for. For example `folder/image.png`."
},
"type": {
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 225,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 226,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 227,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 393,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [227]
+ }
+ ]
+ }
+ }
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 219,
+ "id": 228,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 220,
+ "id": 229,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -96189,21 +56587,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 377,
- "character": 32
+ "line": 394,
+ "character": 7
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 230,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 222,
+ "id": 231,
"name": "publicUrl",
"kind": 1024,
"kindString": "Property",
@@ -96211,8 +56609,8 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 377,
- "character": 40
+ "line": 394,
+ "character": 15
}
],
"type": {
@@ -96225,7 +56623,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [222]
+ "children": [231]
}
]
}
@@ -96236,7 +56634,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [220]
+ "children": [229]
}
]
}
@@ -96245,7 +56643,7 @@
]
},
{
- "id": 232,
+ "id": 241,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -96253,13 +56651,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 483,
+ "line": 506,
"character": 8
}
],
"signatures": [
{
- "id": 233,
+ "id": 242,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -96269,7 +56667,7 @@
},
"parameters": [
{
- "id": 234,
+ "id": 243,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -96285,7 +56683,7 @@
}
},
{
- "id": 235,
+ "id": 244,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -96294,17 +56692,17 @@
},
"type": {
"type": "reference",
- "id": 364,
+ "id": 373,
"name": "SearchOptions",
"dereferenced": {
- "id": 364,
+ "id": 373,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 365,
+ "id": 374,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -96327,7 +56725,7 @@
}
},
{
- "id": 366,
+ "id": 375,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -96350,7 +56748,7 @@
}
},
{
- "id": 368,
+ "id": 377,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -96373,7 +56771,7 @@
}
},
{
- "id": 367,
+ "id": 376,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -96392,7 +56790,7 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 366,
"name": "SortBy"
}
}
@@ -96401,7 +56799,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [365, 366, 368, 367]
+ "children": [374, 375, 377, 376]
}
],
"sources": [
@@ -96415,7 +56813,7 @@
}
},
{
- "id": 236,
+ "id": 245,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -96424,17 +56822,17 @@
},
"type": {
"type": "reference",
- "id": 369,
+ "id": 378,
"name": "FetchParameters",
"dereferenced": {
- "id": 369,
+ "id": 378,
"name": "FetchParameters",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 370,
+ "id": 379,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -96463,7 +56861,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370]
+ "children": [379]
}
],
"sources": [
@@ -96486,14 +56884,14 @@
{
"type": "reflection",
"declaration": {
- "id": 237,
+ "id": 246,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 238,
+ "id": 247,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -96501,7 +56899,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 489,
+ "line": 512,
"character": 8
}
],
@@ -96509,13 +56907,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 347,
+ "id": 356,
"name": "FileObject"
}
}
},
{
- "id": 239,
+ "id": 248,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -96523,7 +56921,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 490,
+ "line": 513,
"character": 8
}
],
@@ -96537,7 +56935,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [238, 239]
+ "children": [247, 248]
}
]
}
@@ -96545,14 +56943,14 @@
{
"type": "reflection",
"declaration": {
- "id": 240,
+ "id": 249,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 241,
+ "id": 250,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -96560,7 +56958,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 493,
+ "line": 516,
"character": 8
}
],
@@ -96570,7 +56968,7 @@
}
},
{
- "id": 242,
+ "id": 251,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -96578,13 +56976,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 494,
+ "line": 517,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -96593,7 +56991,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [241, 242]
+ "children": [250, 251]
}
]
}
@@ -96797,7 +57195,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -96822,7 +57220,7 @@
]
},
{
- "id": 223,
+ "id": 232,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -96830,13 +57228,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 387,
+ "line": 410,
"character": 8
}
],
"signatures": [
{
- "id": 224,
+ "id": 233,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -96846,7 +57244,7 @@
},
"parameters": [
{
- "id": 225,
+ "id": 234,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -96872,14 +57270,14 @@
{
"type": "reflection",
"declaration": {
- "id": 226,
+ "id": 235,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 227,
+ "id": 236,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -96887,7 +57285,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 391,
+ "line": 414,
"character": 8
}
],
@@ -96895,13 +57293,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 347,
+ "id": 356,
"name": "FileObject"
}
}
},
{
- "id": 228,
+ "id": 237,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -96909,7 +57307,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 392,
+ "line": 415,
"character": 8
}
],
@@ -96923,7 +57321,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [227, 228]
+ "children": [236, 237]
}
]
}
@@ -96931,14 +57329,14 @@
{
"type": "reflection",
"declaration": {
- "id": 229,
+ "id": 238,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 230,
+ "id": 239,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -96946,7 +57344,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 395,
+ "line": 418,
"character": 8
}
],
@@ -96956,7 +57354,7 @@
}
},
{
- "id": 231,
+ "id": 240,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -96964,13 +57362,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 396,
+ "line": 419,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -96979,7 +57377,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [230, 231]
+ "children": [239, 240]
}
]
}
@@ -97123,17 +57521,17 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"dereferenced": {
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -97156,7 +57554,7 @@
}
},
{
- "id": 362,
+ "id": 371,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -97179,7 +57577,7 @@
}
},
{
- "id": 363,
+ "id": 372,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -97206,7 +57604,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 362, 363]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -97356,7 +57754,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -97509,17 +57907,17 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"dereferenced": {
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -97542,7 +57940,7 @@
}
},
{
- "id": 362,
+ "id": 371,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -97565,7 +57963,7 @@
}
},
{
- "id": 363,
+ "id": 372,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -97592,7 +57990,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 362, 363]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -97742,7 +58140,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -97776,7 +58174,7 @@
{
"title": "Methods",
"kind": 2048,
- "children": [169, 181, 193, 207, 216, 232, 157, 223, 144, 131]
+ "children": [169, 181, 196, 213, 222, 241, 157, 232, 144, 131]
}
],
"sources": [
@@ -97816,652 +58214,276 @@
"id": 0,
"name": "@supabase/functions-js",
"kind": 1,
+ "kindString": "Project",
"flags": {},
"originalName": "",
"children": [
{
"id": 1,
- "name": "index",
- "kind": 2,
- "kindString": "Module",
+ "name": "FunctionsClient",
+ "kind": 128,
+ "kindString": "Class",
"flags": {},
"children": [
{
- "id": 69,
- "name": "FunctionsError",
- "kind": 16777216,
- "kindString": "Reference",
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/index.ts",
- "line": 3,
+ "fileName": "src/FunctionsClient.ts",
+ "line": 16,
"character": 2
}
],
- "target": 13
- },
- {
- "id": 70,
- "name": "FunctionsFetchError",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
+ "signatures": [
{
- "fileName": "src/index.ts",
- "line": 4,
- "character": 2
- }
- ],
- "target": 20
- },
- {
- "id": 71,
- "name": "FunctionsHttpError",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 5,
- "character": 2
- }
- ],
- "target": 30
- },
- {
- "id": 72,
- "name": "FunctionsRelayError",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 6,
- "character": 2
- }
- ],
- "target": 25
- },
- {
- "id": 73,
- "name": "FunctionsResponse",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 7,
- "character": 2
- }
- ],
- "target": 11
- },
- {
- "id": 42,
- "name": "FunctionsClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 43,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "id": 3,
+ "name": "new FunctionsClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
"flags": {},
- "sources": [
+ "parameters": [
{
- "fileName": "src/FunctionsClient.ts",
- "line": 16,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 44,
- "name": "new FunctionsClient",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "id": 4,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {},
- "parameters": [
- {
- "id": 45,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 46,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 47,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 49,
- "name": "customFetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 23,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 50,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 51,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 52,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 53,
- "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": 48,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 22,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [49, 48]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
"type": {
- "type": "reference",
- "id": 42,
- "name": "FunctionsClient"
+ "type": "intrinsic",
+ "name": "string"
}
- }
- ]
- },
- {
- "id": 56,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
+ },
{
- "fileName": "src/FunctionsClient.ts",
- "line": 14,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 57,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "id": 5,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {},
- "signatures": [
- {
- "id": 58,
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 6,
"name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {},
- "parameters": [
+ "children": [
{
- "id": 59,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 60,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
+ "id": 8,
+ "name": "customFetch",
+ "kind": 1024,
+ "kindString": "Property",
"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": 55,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 13,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 54,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 12,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 64,
- "name": "invoke",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 45,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 65,
- "name": "invoke",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Invokes a function"
- },
- "typeParameter": [
- {
- "id": 66,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "parameters": [
- {
- "id": 67,
- "name": "functionName",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "the name of the function to invoke"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 68,
- "name": "invokeOptions",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 35,
- "name": "FunctionInvokeOptions",
- "dereferenced": {
- "id": 35,
- "name": "FunctionInvokeOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
"sources": [
{
- "fileName": "src/types.ts",
- "line": 44,
- "character": 12
+ "fileName": "src/FunctionsClient.ts",
+ "line": 23,
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 36,
+ "id": 9,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "children": [
+ "signatures": [
{
- "id": 41,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "the body of the request"
- },
- "sources": [
+ "id": 10,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
{
- "fileName": "src/types.ts",
- "line": 52,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "File",
- "package": "typescript",
- "name": "File"
- },
- {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- },
- {
- "type": "reference",
- "qualifiedName": "ArrayBuffer",
- "package": "typescript",
- "name": "ArrayBuffer"
- },
- {
- "type": "reference",
- "qualifiedName": "FormData",
- "package": "typescript",
- "name": "FormData"
- },
- {
- "type": "reference",
- "typeArguments": [
+ "id": 11,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
{
"type": "reference",
- "qualifiedName": "Uint8Array",
+ "qualifiedName": "RequestInfo",
"package": "typescript",
- "name": "Uint8Array"
- }
- ],
- "qualifiedName": "ReadableStream",
- "package": "typescript",
- "name": "ReadableStream"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
+ "name": "RequestInfo"
},
{
- "type": "intrinsic",
- "name": "any"
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
}
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- },
- {
- "type": "intrinsic",
- "name": "string"
+ ]
}
- ]
- }
- },
- {
- "id": 37,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "object representing the headers to send with the request"
- },
- "sources": [
+ },
{
- "fileName": "src/types.ts",
- "line": 48,
- "character": 2
+ "id": 12,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
}
],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 38,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 48,
- "character": 12
- }
- ],
- "indexSignature": {
- "id": 39,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 40,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
}
- }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
}
}
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [41, 37]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 44,
- "character": 36
- }
]
}
}
+ },
+ {
+ "id": 7,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 22,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
}
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 7]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "FunctionsClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 15,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 16,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 17,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 18,
+ "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": 19,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
},
- "defaultValue": "{}"
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
}
],
"type": {
@@ -98469,15 +58491,9 @@
"typeArguments": [
{
"type": "reference",
- "id": 11,
- "typeArguments": [
- {
- "type": "reference",
- "id": 66,
- "name": "T"
- }
- ],
- "name": "FunctionsResponse"
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
}
],
"qualifiedName": "Promise",
@@ -98486,992 +58502,753 @@
}
}
]
- },
- {
- "id": 61,
- "name": "setAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 35,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 62,
- "name": "setAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates the authorization header"
- },
- "parameters": [
- {
- "id": 63,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "the new jwt token sent in the authorisation header\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
}
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [43]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [56, 55, 54]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [64, 61]
- }
- ],
+ }
+ },
+ {
+ "id": 14,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
"sources": [
{
"fileName": "src/FunctionsClient.ts",
- "line": 11,
- "character": 13
+ "line": 13,
+ "character": 12
}
- ]
- }
- ],
- "groups": [
- {
- "title": "References",
- "kind": 16777216,
- "children": [69, 70, 71, 72, 73]
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
},
- {
- "title": "Classes",
- "kind": 128,
- "children": [42]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 2,
- "name": "types",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
{
"id": 13,
- "name": "FunctionsError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
{
- "id": 14,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "fileName": "src/FunctionsClient.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 23,
+ "name": "invoke",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 43,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 24,
+ "name": "invoke",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {},
- "sources": [
+ "comment": {
+ "shortText": "Invokes a function"
+ },
+ "typeParameter": [
{
- "fileName": "src/types.ts",
- "line": 19,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 15,
- "name": "new FunctionsError",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "id": 25,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
"flags": {},
- "parameters": [
- {
- "id": 16,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 17,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "'FunctionsError'"
- },
- {
- "id": 18,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- },
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
}
}
],
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- },
- {
- "id": 19,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
+ "parameters": [
{
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
+ "id": 26,
+ "name": "functionName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "the name of the function to invoke\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 27,
+ "name": "invokeOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "FunctionInvokeOptions"
+ },
+ "defaultValue": "{}"
}
],
"type": {
- "type": "intrinsic",
- "name": "any"
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 50,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 25,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
}
}
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [14]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [19]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 17,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 20,
- "name": "FunctionsFetchError"
- },
- {
- "type": "reference",
- "id": 25,
- "name": "FunctionsRelayError"
- },
- {
- "type": "reference",
- "id": 30,
- "name": "FunctionsHttpError"
- }
]
},
{
"id": 20,
- "name": "FunctionsFetchError",
- "kind": 128,
- "kindString": "Class",
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
"flags": {},
- "children": [
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
{
"id": 21,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 27,
- "character": 2
- }
- ],
- "signatures": [
+ "comment": {
+ "shortText": "Updates the authorization header"
+ },
+ "parameters": [
{
"id": 22,
- "name": "new FunctionsFetchError",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {},
- "parameters": [
- {
- "id": 23,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 20,
- "name": "FunctionsFetchError"
- },
- "overwrites": {
- "type": "reference",
- "id": 15,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 14,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 24,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 19,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [21]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [24]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 26,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 30,
- "name": "FunctionsHttpError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 31,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 39,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 32,
- "name": "new FunctionsHttpError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 33,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 30,
- "name": "FunctionsHttpError"
- },
- "overwrites": {
- "type": "reference",
- "id": 15,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 14,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 34,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 19,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [31]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [34]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 38,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 25,
- "name": "FunctionsRelayError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 26,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 33,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 27,
- "name": "new FunctionsRelayError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 28,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 25,
- "name": "FunctionsRelayError"
- },
- "overwrites": {
- "type": "reference",
- "id": 15,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 14,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 29,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 19,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [26]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [29]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 32,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 8,
- "name": "FunctionsResponseFailure",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 9,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 10,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [9, 10]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 11,
- "character": 17
- }
- ]
- },
- {
- "id": 4,
- "name": "FunctionsResponseSuccess",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Response format"
- },
- "children": [
- {
- "id": 5,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 7,
- "name": "T"
- }
- },
- {
- "id": 6,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [5, 6]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 7,
- "character": 17
- }
- ],
- "typeParameter": [
- {
- "id": 7,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ]
- },
- {
- "id": 3,
- "name": "Fetch",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "query",
- "queryType": {
- "type": "reference",
- "id": 50,
- "qualifiedName": "fetch",
- "package": "typescript",
- "name": "fetch"
- }
- }
- },
- {
- "id": 35,
- "name": "FunctionInvokeOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 44,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 36,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 41,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"comment": {
- "shortText": "the body of the request"
+ "shortText": "the new jwt token sent in the authorisation header\n"
},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 52,
- "character": 2
- }
- ],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "File",
- "package": "typescript",
- "name": "File"
- },
- {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- },
- {
- "type": "reference",
- "qualifiedName": "ArrayBuffer",
- "package": "typescript",
- "name": "ArrayBuffer"
- },
- {
- "type": "reference",
- "qualifiedName": "FormData",
- "package": "typescript",
- "name": "FormData"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Uint8Array",
- "package": "typescript",
- "name": "Uint8Array"
- }
- ],
- "qualifiedName": "ReadableStream",
- "package": "typescript",
- "name": "ReadableStream"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [2]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [15, 14, 13]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [23, 20]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 11,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 28,
+ "name": "FunctionsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 29,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 30,
+ "name": "new FunctionsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 31,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 37,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
+ "id": 32,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "'FunctionsError'"
+ },
+ {
+ "id": 33,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "object representing the headers to send with the request"
- },
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 48,
- "character": 2
- }
- ],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 38,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 48,
- "character": 12
- }
- ],
- "indexSignature": {
- "id": 39,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 40,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
+ "type": "intrinsic",
+ "name": "any"
}
}
],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [41, 37]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 44,
- "character": 36
- }
- ]
+ "type": {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
}
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
}
},
{
- "id": 11,
- "name": "FunctionsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
+ "id": 34,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types.ts",
- "line": 15,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 12,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
+ "line": 18,
+ "character": 2
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 4,
- "typeArguments": [
- {
- "type": "reference",
- "id": 12,
- "name": "T"
- }
- ],
- "name": "FunctionsResponseSuccess"
- },
- {
- "type": "reference",
- "id": 8,
- "name": "FunctionsResponseFailure"
- }
- ]
+ "type": "intrinsic",
+ "name": "any"
}
}
],
"groups": [
{
- "title": "Classes",
- "kind": 128,
- "children": [13, 20, 30, 25]
+ "title": "Constructors",
+ "kind": 512,
+ "children": [29]
},
{
- "title": "Interfaces",
- "kind": 256,
- "children": [8, 4]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [3, 35, 11]
+ "title": "Properties",
+ "kind": 1024,
+ "children": [34]
}
],
"sources": [
{
"fileName": "src/types.ts",
- "line": 1,
- "character": 0
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsFetchError"
+ },
+ {
+ "type": "reference",
+ "id": 40,
+ "name": "FunctionsHttpError"
+ },
+ {
+ "type": "reference",
+ "id": 45,
+ "name": "FunctionsRelayError"
}
]
+ },
+ {
+ "id": 35,
+ "name": "FunctionsFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 36,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 37,
+ "name": "new FunctionsFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 38,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 30,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 29,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 39,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [36]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [39]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 26,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "FunctionsHttpError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 41,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 39,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 42,
+ "name": "new FunctionsHttpError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 43,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 40,
+ "name": "FunctionsHttpError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 30,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 29,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 44,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [41]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [44]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 38,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 45,
+ "name": "FunctionsRelayError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 46,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 47,
+ "name": "new FunctionsRelayError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 48,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 45,
+ "name": "FunctionsRelayError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 30,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 29,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 49,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [46]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [49]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 50,
+ "name": "FunctionsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 51,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 51,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "FunctionsResponseFailure"
+ }
+ ]
+ }
}
],
"groups": [
{
- "title": "Modules",
- "kind": 2,
- "children": [1, 2]
+ "title": "Classes",
+ "kind": 128,
+ "children": [1, 28, 35, 40, 45]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [50]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
}
]
}
diff --git a/spec/enrichments/tsdoc_v2/functions.json b/spec/enrichments/tsdoc_v2/functions.json
index 62257ba37ca..11d88bd4d89 100644
--- a/spec/enrichments/tsdoc_v2/functions.json
+++ b/spec/enrichments/tsdoc_v2/functions.json
@@ -2,471 +2,276 @@
"id": 0,
"name": "@supabase/functions-js",
"kind": 1,
+ "kindString": "Project",
"flags": {},
"originalName": "",
"children": [
{
"id": 1,
- "name": "index",
- "kind": 2,
- "kindString": "Module",
+ "name": "FunctionsClient",
+ "kind": 128,
+ "kindString": "Class",
"flags": {},
"children": [
{
- "id": 69,
- "name": "FunctionsError",
- "kind": 16777216,
- "kindString": "Reference",
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/index.ts",
- "line": 3,
+ "fileName": "src/FunctionsClient.ts",
+ "line": 16,
"character": 2
}
],
- "target": 13
- },
- {
- "id": 70,
- "name": "FunctionsFetchError",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
+ "signatures": [
{
- "fileName": "src/index.ts",
- "line": 4,
- "character": 2
- }
- ],
- "target": 20
- },
- {
- "id": 71,
- "name": "FunctionsHttpError",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 5,
- "character": 2
- }
- ],
- "target": 30
- },
- {
- "id": 72,
- "name": "FunctionsRelayError",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 6,
- "character": 2
- }
- ],
- "target": 25
- },
- {
- "id": 73,
- "name": "FunctionsResponse",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 7,
- "character": 2
- }
- ],
- "target": 11
- },
- {
- "id": 42,
- "name": "FunctionsClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 43,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "id": 3,
+ "name": "new FunctionsClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
"flags": {},
- "sources": [
+ "parameters": [
{
- "fileName": "src/FunctionsClient.ts",
- "line": 16,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 44,
- "name": "new FunctionsClient",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "id": 4,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {},
- "parameters": [
- {
- "id": 45,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 5,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 6,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 46,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 47,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
+ "children": [
+ {
+ "id": 8,
+ "name": "customFetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
{
- "id": 49,
- "name": "customFetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
+ "fileName": "src/FunctionsClient.ts",
+ "line": 23,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
{
- "fileName": "src/FunctionsClient.ts",
- "line": 23,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 50,
+ "id": 10,
"name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {},
- "signatures": [
+ "parameters": [
{
- "id": 51,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 11,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {},
- "parameters": [
- {
- "id": 52,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
+ "type": {
+ "type": "union",
+ "types": [
+ {
"type": "reference",
"qualifiedName": "RequestInfo",
"package": "typescript",
"name": "RequestInfo"
- }
- },
- {
- "id": 53,
- "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",
+ "qualifiedName": "URL",
"package": "typescript",
- "name": "Response"
+ "name": "URL"
}
- ],
- "qualifiedName": "Promise",
+ ]
+ }
+ },
+ {
+ "id": 12,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
"package": "typescript",
- "name": "Promise"
+ "name": "RequestInit"
}
}
- ]
- }
- }
- },
- {
- "id": 48,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 22,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
}
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
+ }
+ ]
}
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [49, 48]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 42,
- "name": "FunctionsClient"
- }
- }
- ]
- },
- {
- "id": 56,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 14,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 57,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 58,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 59,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
}
},
{
- "id": 60,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
+ "id": 7,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
"flags": {
"isOptional": true
},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 22,
+ "character": 6
+ }
+ ],
"type": {
"type": "reference",
- "qualifiedName": "RequestInit",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
"package": "typescript",
- "name": "RequestInit"
+ "name": "Record"
}
}
],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 7]
+ }
+ ]
}
- ]
- }
- }
- },
- {
- "id": 55,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 13,
- "character": 12
+ },
+ "defaultValue": "{}"
}
],
"type": {
"type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "id": 1,
+ "name": "FunctionsClient"
}
- },
+ }
+ ]
+ },
+ {
+ "id": 15,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
{
- "id": 54,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 12,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 64,
- "name": "invoke",
- "kind": 2048,
- "kindString": "Method",
+ "fileName": "src/FunctionsClient.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 16,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {},
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 45,
- "character": 8
- }
- ],
"signatures": [
{
- "id": 65,
- "name": "invoke",
+ "id": 17,
+ "name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
- "comment": {
- "shortText": "Invokes a function"
- },
- "typeParameter": [
- {
- "id": 66,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
"parameters": [
{
- "id": 67,
- "name": "functionName",
+ "id": 18,
+ "name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "comment": {
- "shortText": "the name of the function to invoke"
- },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
}
},
{
- "id": 68,
- "name": "invokeOptions",
+ "id": 19,
+ "name": "init",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"type": {
"type": "reference",
- "id": 35,
- "name": "FunctionInvokeOptions"
- },
- "defaultValue": "{}"
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
}
],
"type": {
@@ -474,15 +279,9 @@
"typeArguments": [
{
"type": "reference",
- "id": 11,
- "typeArguments": [
- {
- "type": "reference",
- "id": 66,
- "name": "T"
- }
- ],
- "name": "FunctionsResponse"
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
}
],
"qualifiedName": "Promise",
@@ -491,992 +290,753 @@
}
}
]
- },
- {
- "id": 61,
- "name": "setAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 35,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 62,
- "name": "setAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates the authorization header"
- },
- "parameters": [
- {
- "id": 63,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "the new jwt token sent in the authorisation header\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
}
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [43]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [56, 55, 54]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [64, 61]
- }
- ],
+ }
+ },
+ {
+ "id": 14,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
"sources": [
{
"fileName": "src/FunctionsClient.ts",
- "line": 11,
- "character": 13
+ "line": 13,
+ "character": 12
}
- ]
- }
- ],
- "groups": [
- {
- "title": "References",
- "kind": 16777216,
- "children": [69, 70, 71, 72, 73]
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
},
- {
- "title": "Classes",
- "kind": 128,
- "children": [42]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 2,
- "name": "types",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
{
"id": 13,
- "name": "FunctionsError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
{
- "id": 14,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "fileName": "src/FunctionsClient.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 23,
+ "name": "invoke",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 43,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 24,
+ "name": "invoke",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {},
- "sources": [
+ "comment": {
+ "shortText": "Invokes a function"
+ },
+ "typeParameter": [
{
- "fileName": "src/types.ts",
- "line": 19,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 15,
- "name": "new FunctionsError",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "id": 25,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
"flags": {},
- "parameters": [
- {
- "id": 16,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 17,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "'FunctionsError'"
- },
- {
- "id": 18,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- },
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
}
}
],
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- },
- {
- "id": 19,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
+ "parameters": [
{
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
+ "id": 26,
+ "name": "functionName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "the name of the function to invoke\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 27,
+ "name": "invokeOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "FunctionInvokeOptions"
+ },
+ "defaultValue": "{}"
}
],
"type": {
- "type": "intrinsic",
- "name": "any"
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 50,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 25,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
}
}
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [14]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [19]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 17,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 20,
- "name": "FunctionsFetchError"
- },
- {
- "type": "reference",
- "id": 25,
- "name": "FunctionsRelayError"
- },
- {
- "type": "reference",
- "id": 30,
- "name": "FunctionsHttpError"
- }
]
},
{
"id": 20,
- "name": "FunctionsFetchError",
- "kind": 128,
- "kindString": "Class",
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
"flags": {},
- "children": [
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
{
"id": 21,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 27,
- "character": 2
- }
- ],
- "signatures": [
+ "comment": {
+ "shortText": "Updates the authorization header"
+ },
+ "parameters": [
{
"id": 22,
- "name": "new FunctionsFetchError",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {},
- "parameters": [
- {
- "id": 23,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 20,
- "name": "FunctionsFetchError"
- },
- "overwrites": {
- "type": "reference",
- "id": 15,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 14,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 24,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 19,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [21]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [24]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 26,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 30,
- "name": "FunctionsHttpError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 31,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 39,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 32,
- "name": "new FunctionsHttpError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 33,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 30,
- "name": "FunctionsHttpError"
- },
- "overwrites": {
- "type": "reference",
- "id": 15,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 14,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 34,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 19,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [31]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [34]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 38,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 25,
- "name": "FunctionsRelayError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 26,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 33,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 27,
- "name": "new FunctionsRelayError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 28,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 25,
- "name": "FunctionsRelayError"
- },
- "overwrites": {
- "type": "reference",
- "id": 15,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 14,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 29,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 19,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [26]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [29]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 32,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 8,
- "name": "FunctionsResponseFailure",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 9,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 10,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [9, 10]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 11,
- "character": 17
- }
- ]
- },
- {
- "id": 4,
- "name": "FunctionsResponseSuccess",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Response format"
- },
- "children": [
- {
- "id": 5,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 7,
- "name": "T"
- }
- },
- {
- "id": 6,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [5, 6]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 7,
- "character": 17
- }
- ],
- "typeParameter": [
- {
- "id": 7,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ]
- },
- {
- "id": 3,
- "name": "Fetch",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "query",
- "queryType": {
- "type": "reference",
- "id": 50,
- "qualifiedName": "fetch",
- "package": "typescript",
- "name": "fetch"
- }
- }
- },
- {
- "id": 35,
- "name": "FunctionInvokeOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 44,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 36,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 41,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"comment": {
- "shortText": "the body of the request"
+ "shortText": "the new jwt token sent in the authorisation header\n"
},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 52,
- "character": 2
- }
- ],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "File",
- "package": "typescript",
- "name": "File"
- },
- {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- },
- {
- "type": "reference",
- "qualifiedName": "ArrayBuffer",
- "package": "typescript",
- "name": "ArrayBuffer"
- },
- {
- "type": "reference",
- "qualifiedName": "FormData",
- "package": "typescript",
- "name": "FormData"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Uint8Array",
- "package": "typescript",
- "name": "Uint8Array"
- }
- ],
- "qualifiedName": "ReadableStream",
- "package": "typescript",
- "name": "ReadableStream"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [2]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [15, 14, 13]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [23, 20]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 11,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 28,
+ "name": "FunctionsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 29,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 30,
+ "name": "new FunctionsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 31,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 37,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
+ "id": 32,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "'FunctionsError'"
+ },
+ {
+ "id": 33,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "object representing the headers to send with the request"
- },
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 48,
- "character": 2
- }
- ],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 38,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 48,
- "character": 12
- }
- ],
- "indexSignature": {
- "id": 39,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 40,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
+ "type": "intrinsic",
+ "name": "any"
}
}
],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [41, 37]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 44,
- "character": 36
- }
- ]
+ "type": {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
}
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
}
},
{
- "id": 11,
- "name": "FunctionsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
+ "id": 34,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types.ts",
- "line": 15,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 12,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
+ "line": 18,
+ "character": 2
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 4,
- "typeArguments": [
- {
- "type": "reference",
- "id": 12,
- "name": "T"
- }
- ],
- "name": "FunctionsResponseSuccess"
- },
- {
- "type": "reference",
- "id": 8,
- "name": "FunctionsResponseFailure"
- }
- ]
+ "type": "intrinsic",
+ "name": "any"
}
}
],
"groups": [
{
- "title": "Classes",
- "kind": 128,
- "children": [13, 20, 30, 25]
+ "title": "Constructors",
+ "kind": 512,
+ "children": [29]
},
{
- "title": "Interfaces",
- "kind": 256,
- "children": [8, 4]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [3, 35, 11]
+ "title": "Properties",
+ "kind": 1024,
+ "children": [34]
}
],
"sources": [
{
"fileName": "src/types.ts",
- "line": 1,
- "character": 0
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsFetchError"
+ },
+ {
+ "type": "reference",
+ "id": 40,
+ "name": "FunctionsHttpError"
+ },
+ {
+ "type": "reference",
+ "id": 45,
+ "name": "FunctionsRelayError"
}
]
+ },
+ {
+ "id": 35,
+ "name": "FunctionsFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 36,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 37,
+ "name": "new FunctionsFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 38,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 30,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 29,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 39,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [36]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [39]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 26,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "FunctionsHttpError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 41,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 39,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 42,
+ "name": "new FunctionsHttpError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 43,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 40,
+ "name": "FunctionsHttpError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 30,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 29,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 44,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [41]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [44]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 38,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 45,
+ "name": "FunctionsRelayError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 46,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 47,
+ "name": "new FunctionsRelayError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 48,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 45,
+ "name": "FunctionsRelayError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 30,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 29,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 49,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [46]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [49]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 50,
+ "name": "FunctionsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 51,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 51,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "FunctionsResponseFailure"
+ }
+ ]
+ }
}
],
"groups": [
{
- "title": "Modules",
- "kind": 2,
- "children": [1, 2]
+ "title": "Classes",
+ "kind": 128,
+ "children": [1, 28, 35, 40, 45]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [50]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
}
]
}
diff --git a/spec/enrichments/tsdoc_v2/functions_dereferenced.json b/spec/enrichments/tsdoc_v2/functions_dereferenced.json
index 63b21bab8a0..11d88bd4d89 100644
--- a/spec/enrichments/tsdoc_v2/functions_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/functions_dereferenced.json
@@ -2,652 +2,276 @@
"id": 0,
"name": "@supabase/functions-js",
"kind": 1,
+ "kindString": "Project",
"flags": {},
"originalName": "",
"children": [
{
"id": 1,
- "name": "index",
- "kind": 2,
- "kindString": "Module",
+ "name": "FunctionsClient",
+ "kind": 128,
+ "kindString": "Class",
"flags": {},
"children": [
{
- "id": 69,
- "name": "FunctionsError",
- "kind": 16777216,
- "kindString": "Reference",
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/index.ts",
- "line": 3,
+ "fileName": "src/FunctionsClient.ts",
+ "line": 16,
"character": 2
}
],
- "target": 13
- },
- {
- "id": 70,
- "name": "FunctionsFetchError",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
+ "signatures": [
{
- "fileName": "src/index.ts",
- "line": 4,
- "character": 2
- }
- ],
- "target": 20
- },
- {
- "id": 71,
- "name": "FunctionsHttpError",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 5,
- "character": 2
- }
- ],
- "target": 30
- },
- {
- "id": 72,
- "name": "FunctionsRelayError",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 6,
- "character": 2
- }
- ],
- "target": 25
- },
- {
- "id": 73,
- "name": "FunctionsResponse",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 7,
- "character": 2
- }
- ],
- "target": 11
- },
- {
- "id": 42,
- "name": "FunctionsClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 43,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "id": 3,
+ "name": "new FunctionsClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
"flags": {},
- "sources": [
+ "parameters": [
{
- "fileName": "src/FunctionsClient.ts",
- "line": 16,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 44,
- "name": "new FunctionsClient",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "id": 4,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {},
- "parameters": [
- {
- "id": 45,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 46,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 47,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 49,
- "name": "customFetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 23,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 50,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 51,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 52,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 53,
- "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": 48,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 22,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [49, 48]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
"type": {
- "type": "reference",
- "id": 42,
- "name": "FunctionsClient"
+ "type": "intrinsic",
+ "name": "string"
}
- }
- ]
- },
- {
- "id": 56,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
+ },
{
- "fileName": "src/FunctionsClient.ts",
- "line": 14,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 57,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "id": 5,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {},
- "signatures": [
- {
- "id": 58,
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 6,
"name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {},
- "parameters": [
+ "children": [
{
- "id": 59,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 60,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
+ "id": 8,
+ "name": "customFetch",
+ "kind": 1024,
+ "kindString": "Property",
"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": 55,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 13,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 54,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 12,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 64,
- "name": "invoke",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 45,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 65,
- "name": "invoke",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Invokes a function"
- },
- "typeParameter": [
- {
- "id": 66,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "parameters": [
- {
- "id": 67,
- "name": "functionName",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "the name of the function to invoke"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 68,
- "name": "invokeOptions",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 35,
- "name": "FunctionInvokeOptions",
- "dereferenced": {
- "id": 35,
- "name": "FunctionInvokeOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
"sources": [
{
- "fileName": "src/types.ts",
- "line": 44,
- "character": 12
+ "fileName": "src/FunctionsClient.ts",
+ "line": 23,
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 36,
+ "id": 9,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
- "children": [
+ "signatures": [
{
- "id": 41,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "the body of the request"
- },
- "sources": [
+ "id": 10,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
{
- "fileName": "src/types.ts",
- "line": 52,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "File",
- "package": "typescript",
- "name": "File"
- },
- {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- },
- {
- "type": "reference",
- "qualifiedName": "ArrayBuffer",
- "package": "typescript",
- "name": "ArrayBuffer"
- },
- {
- "type": "reference",
- "qualifiedName": "FormData",
- "package": "typescript",
- "name": "FormData"
- },
- {
- "type": "reference",
- "typeArguments": [
+ "id": 11,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
{
"type": "reference",
- "qualifiedName": "Uint8Array",
+ "qualifiedName": "RequestInfo",
"package": "typescript",
- "name": "Uint8Array"
- }
- ],
- "qualifiedName": "ReadableStream",
- "package": "typescript",
- "name": "ReadableStream"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
+ "name": "RequestInfo"
},
{
- "type": "intrinsic",
- "name": "any"
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
}
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- },
- {
- "type": "intrinsic",
- "name": "string"
+ ]
}
- ]
- }
- },
- {
- "id": 37,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "object representing the headers to send with the request"
- },
- "sources": [
+ },
{
- "fileName": "src/types.ts",
- "line": 48,
- "character": 2
+ "id": 12,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
}
],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 38,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 48,
- "character": 12
- }
- ],
- "indexSignature": {
- "id": 39,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 40,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
}
- }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
}
}
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [41, 37]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 44,
- "character": 36
- }
]
}
}
+ },
+ {
+ "id": 7,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 22,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
}
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [8, 7]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "FunctionsClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 15,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 16,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 17,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 18,
+ "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": 19,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
},
- "defaultValue": "{}"
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
}
],
"type": {
@@ -655,15 +279,9 @@
"typeArguments": [
{
"type": "reference",
- "id": 11,
- "typeArguments": [
- {
- "type": "reference",
- "id": 66,
- "name": "T"
- }
- ],
- "name": "FunctionsResponse"
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
}
],
"qualifiedName": "Promise",
@@ -672,992 +290,753 @@
}
}
]
- },
- {
- "id": 61,
- "name": "setAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 35,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 62,
- "name": "setAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates the authorization header"
- },
- "parameters": [
- {
- "id": 63,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "the new jwt token sent in the authorisation header\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
}
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [43]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [56, 55, 54]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [64, 61]
- }
- ],
+ }
+ },
+ {
+ "id": 14,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
"sources": [
{
"fileName": "src/FunctionsClient.ts",
- "line": 11,
- "character": 13
+ "line": 13,
+ "character": 12
}
- ]
- }
- ],
- "groups": [
- {
- "title": "References",
- "kind": 16777216,
- "children": [69, 70, 71, 72, 73]
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
},
- {
- "title": "Classes",
- "kind": 128,
- "children": [42]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 2,
- "name": "types",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
{
"id": 13,
- "name": "FunctionsError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
{
- "id": 14,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "fileName": "src/FunctionsClient.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 23,
+ "name": "invoke",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 43,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 24,
+ "name": "invoke",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {},
- "sources": [
+ "comment": {
+ "shortText": "Invokes a function"
+ },
+ "typeParameter": [
{
- "fileName": "src/types.ts",
- "line": 19,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 15,
- "name": "new FunctionsError",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "id": 25,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
"flags": {},
- "parameters": [
- {
- "id": 16,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 17,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "'FunctionsError'"
- },
- {
- "id": 18,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- },
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
}
}
],
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- },
- {
- "id": 19,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
+ "parameters": [
{
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
+ "id": 26,
+ "name": "functionName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "the name of the function to invoke\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 27,
+ "name": "invokeOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "FunctionInvokeOptions"
+ },
+ "defaultValue": "{}"
}
],
"type": {
- "type": "intrinsic",
- "name": "any"
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 50,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 25,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
}
}
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [14]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [19]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 17,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 20,
- "name": "FunctionsFetchError"
- },
- {
- "type": "reference",
- "id": 25,
- "name": "FunctionsRelayError"
- },
- {
- "type": "reference",
- "id": 30,
- "name": "FunctionsHttpError"
- }
]
},
{
"id": 20,
- "name": "FunctionsFetchError",
- "kind": 128,
- "kindString": "Class",
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
"flags": {},
- "children": [
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
{
"id": 21,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 27,
- "character": 2
- }
- ],
- "signatures": [
+ "comment": {
+ "shortText": "Updates the authorization header"
+ },
+ "parameters": [
{
"id": 22,
- "name": "new FunctionsFetchError",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {},
- "parameters": [
- {
- "id": 23,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 20,
- "name": "FunctionsFetchError"
- },
- "overwrites": {
- "type": "reference",
- "id": 15,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 14,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 24,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 19,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [21]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [24]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 26,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 30,
- "name": "FunctionsHttpError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 31,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 39,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 32,
- "name": "new FunctionsHttpError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 33,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 30,
- "name": "FunctionsHttpError"
- },
- "overwrites": {
- "type": "reference",
- "id": 15,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 14,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 34,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 19,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [31]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [34]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 38,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 25,
- "name": "FunctionsRelayError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 26,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 33,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 27,
- "name": "new FunctionsRelayError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 28,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 25,
- "name": "FunctionsRelayError"
- },
- "overwrites": {
- "type": "reference",
- "id": 15,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 14,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 29,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 19,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [26]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [29]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 32,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 13,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 8,
- "name": "FunctionsResponseFailure",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 9,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 10,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [9, 10]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 11,
- "character": 17
- }
- ]
- },
- {
- "id": 4,
- "name": "FunctionsResponseSuccess",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Response format"
- },
- "children": [
- {
- "id": 5,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 7,
- "name": "T"
- }
- },
- {
- "id": 6,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [5, 6]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 7,
- "character": 17
- }
- ],
- "typeParameter": [
- {
- "id": 7,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ]
- },
- {
- "id": 3,
- "name": "Fetch",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "query",
- "queryType": {
- "type": "reference",
- "id": 50,
- "qualifiedName": "fetch",
- "package": "typescript",
- "name": "fetch"
- }
- }
- },
- {
- "id": 35,
- "name": "FunctionInvokeOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 44,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 36,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 41,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"comment": {
- "shortText": "the body of the request"
+ "shortText": "the new jwt token sent in the authorisation header\n"
},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 52,
- "character": 2
- }
- ],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "File",
- "package": "typescript",
- "name": "File"
- },
- {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- },
- {
- "type": "reference",
- "qualifiedName": "ArrayBuffer",
- "package": "typescript",
- "name": "ArrayBuffer"
- },
- {
- "type": "reference",
- "qualifiedName": "FormData",
- "package": "typescript",
- "name": "FormData"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Uint8Array",
- "package": "typescript",
- "name": "Uint8Array"
- }
- ],
- "qualifiedName": "ReadableStream",
- "package": "typescript",
- "name": "ReadableStream"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [2]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [15, 14, 13]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [23, 20]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 11,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 28,
+ "name": "FunctionsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 29,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 30,
+ "name": "new FunctionsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 31,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 37,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
+ "id": 32,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "'FunctionsError'"
+ },
+ {
+ "id": 33,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "object representing the headers to send with the request"
- },
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 48,
- "character": 2
- }
- ],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 38,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 48,
- "character": 12
- }
- ],
- "indexSignature": {
- "id": 39,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 40,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
+ "type": "intrinsic",
+ "name": "any"
}
}
],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [41, 37]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 44,
- "character": 36
- }
- ]
+ "type": {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
}
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
}
},
{
- "id": 11,
- "name": "FunctionsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
+ "id": 34,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types.ts",
- "line": 15,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 12,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
+ "line": 18,
+ "character": 2
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 4,
- "typeArguments": [
- {
- "type": "reference",
- "id": 12,
- "name": "T"
- }
- ],
- "name": "FunctionsResponseSuccess"
- },
- {
- "type": "reference",
- "id": 8,
- "name": "FunctionsResponseFailure"
- }
- ]
+ "type": "intrinsic",
+ "name": "any"
}
}
],
"groups": [
{
- "title": "Classes",
- "kind": 128,
- "children": [13, 20, 30, 25]
+ "title": "Constructors",
+ "kind": 512,
+ "children": [29]
},
{
- "title": "Interfaces",
- "kind": 256,
- "children": [8, 4]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [3, 35, 11]
+ "title": "Properties",
+ "kind": 1024,
+ "children": [34]
}
],
"sources": [
{
"fileName": "src/types.ts",
- "line": 1,
- "character": 0
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsFetchError"
+ },
+ {
+ "type": "reference",
+ "id": 40,
+ "name": "FunctionsHttpError"
+ },
+ {
+ "type": "reference",
+ "id": 45,
+ "name": "FunctionsRelayError"
}
]
+ },
+ {
+ "id": 35,
+ "name": "FunctionsFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 36,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 37,
+ "name": "new FunctionsFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 38,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 30,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 29,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 39,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [36]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [39]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 26,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "FunctionsHttpError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 41,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 39,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 42,
+ "name": "new FunctionsHttpError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 43,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 40,
+ "name": "FunctionsHttpError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 30,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 29,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 44,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [41]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [44]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 38,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 45,
+ "name": "FunctionsRelayError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 46,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 47,
+ "name": "new FunctionsRelayError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 48,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 45,
+ "name": "FunctionsRelayError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 30,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 29,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 49,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [46]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [49]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 50,
+ "name": "FunctionsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 51,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 51,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "FunctionsResponseFailure"
+ }
+ ]
+ }
}
],
"groups": [
{
- "title": "Modules",
- "kind": 2,
- "children": [1, 2]
+ "title": "Classes",
+ "kind": 128,
+ "children": [1, 28, 35, 40, 45]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [50]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
}
]
}
diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.json
index 271a15c6288..6bd8e38c40f 100644
--- a/spec/enrichments/tsdoc_v2/gotrue.json
+++ b/spec/enrichments/tsdoc_v2/gotrue.json
@@ -7,14 +7,14 @@
"originalName": "",
"children": [
{
- "id": 499,
+ "id": 502,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 500,
+ "id": 503,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -28,14 +28,14 @@
],
"signatures": [
{
- "id": 501,
+ "id": 504,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 502,
+ "id": 505,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -46,7 +46,7 @@
}
},
{
- "id": 503,
+ "id": 506,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -59,24 +59,24 @@
],
"type": {
"type": "reference",
- "id": 499,
+ "id": 502,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 496,
+ "id": 499,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 495,
+ "id": 498,
"name": "AuthError.constructor"
}
},
{
- "id": 504,
+ "id": 507,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -94,7 +94,7 @@
}
},
{
- "id": 505,
+ "id": 508,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -108,7 +108,7 @@
],
"signatures": [
{
- "id": 506,
+ "id": 509,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -116,14 +116,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 507,
+ "id": 510,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 509,
+ "id": 512,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -142,7 +142,7 @@
"defaultValue": "..."
},
{
- "id": 508,
+ "id": 511,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -161,7 +161,7 @@
"defaultValue": "..."
},
{
- "id": 510,
+ "id": 513,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -184,7 +184,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [509, 508, 510]
+ "children": [512, 511, 513]
}
]
}
@@ -197,17 +197,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [500]
+ "children": [503]
},
{
"title": "Properties",
"kind": 1024,
- "children": [504]
+ "children": [507]
},
{
"title": "Methods",
"kind": 2048,
- "children": [505]
+ "children": [508]
}
],
"sources": [
@@ -220,20 +220,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
},
{
- "id": 494,
+ "id": 497,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 495,
+ "id": 498,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -247,14 +247,14 @@
],
"signatures": [
{
- "id": 496,
+ "id": 499,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 497,
+ "id": 500,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -267,7 +267,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
},
"overwrites": {
@@ -286,7 +286,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [495]
+ "children": [498]
}
],
"sources": [
@@ -307,30 +307,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 499,
+ "id": 502,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 512,
+ "id": 515,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 559,
+ "id": 562,
"name": "AuthImplicitGrantRedirectError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 560,
+ "id": 563,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -344,14 +344,14 @@
],
"signatures": [
{
- "id": 561,
+ "id": 564,
"name": "new AuthImplicitGrantRedirectError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 562,
+ "id": 565,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -362,7 +362,7 @@
}
},
{
- "id": 563,
+ "id": 566,
"name": "details",
"kind": 32768,
"kindString": "Parameter",
@@ -377,14 +377,14 @@
{
"type": "reflection",
"declaration": {
- "id": 564,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 566,
+ "id": 569,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -402,7 +402,7 @@
}
},
{
- "id": 565,
+ "id": 568,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -424,7 +424,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [566, 565]
+ "children": [569, 568]
}
]
}
@@ -436,24 +436,24 @@
],
"type": {
"type": "reference",
- "id": 559,
+ "id": 562,
"name": "AuthImplicitGrantRedirectError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 567,
+ "id": 570,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -475,14 +475,14 @@
{
"type": "reflection",
"declaration": {
- "id": 568,
+ "id": 571,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 570,
+ "id": 573,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -500,7 +500,7 @@
}
},
{
- "id": 569,
+ "id": 572,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -522,7 +522,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [570, 569]
+ "children": [573, 572]
}
]
}
@@ -532,7 +532,7 @@
"defaultValue": "null"
},
{
- "id": 581,
+ "id": 584,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -550,12 +550,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 582,
+ "id": 585,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -573,12 +573,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 571,
+ "id": 574,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -592,7 +592,7 @@
],
"signatures": [
{
- "id": 572,
+ "id": 575,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -600,14 +600,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 573,
+ "id": 576,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 577,
+ "id": 580,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -629,14 +629,14 @@
{
"type": "reflection",
"declaration": {
- "id": 578,
+ "id": 581,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 580,
+ "id": 583,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -654,7 +654,7 @@
}
},
{
- "id": 579,
+ "id": 582,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -676,7 +676,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [580, 579]
+ "children": [583, 582]
}
]
}
@@ -686,7 +686,7 @@
"defaultValue": "..."
},
{
- "id": 575,
+ "id": 578,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -705,7 +705,7 @@
"defaultValue": "..."
},
{
- "id": 574,
+ "id": 577,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -724,7 +724,7 @@
"defaultValue": "..."
},
{
- "id": 576,
+ "id": 579,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -747,21 +747,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [577, 575, 574, 576]
+ "children": [580, 578, 577, 579]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -770,17 +770,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [560]
+ "children": [563]
},
{
"title": "Properties",
"kind": 1024,
- "children": [567, 581, 582]
+ "children": [570, 584, 585]
},
{
"title": "Methods",
"kind": 2048,
- "children": [571]
+ "children": [574]
}
],
"sources": [
@@ -793,20 +793,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 546,
+ "id": 549,
"name": "AuthInvalidCredentialsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 547,
+ "id": 550,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -820,14 +820,14 @@
],
"signatures": [
{
- "id": 548,
+ "id": 551,
"name": "new AuthInvalidCredentialsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 549,
+ "id": 552,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -840,24 +840,24 @@
],
"type": {
"type": "reference",
- "id": 546,
+ "id": 549,
"name": "AuthInvalidCredentialsError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 550,
+ "id": 553,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -875,12 +875,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 551,
+ "id": 554,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -898,12 +898,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 552,
+ "id": 555,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -917,7 +917,7 @@
],
"signatures": [
{
- "id": 553,
+ "id": 556,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -925,14 +925,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 554,
+ "id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 556,
+ "id": 559,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -951,7 +951,7 @@
"defaultValue": "..."
},
{
- "id": 555,
+ "id": 558,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -970,7 +970,7 @@
"defaultValue": "..."
},
{
- "id": 557,
+ "id": 560,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -993,21 +993,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [556, 555, 557]
+ "children": [559, 558, 560]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -1016,17 +1016,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [547]
+ "children": [550]
},
{
"title": "Properties",
"kind": 1024,
- "children": [550, 551]
+ "children": [553, 554]
},
{
"title": "Methods",
"kind": 2048,
- "children": [552]
+ "children": [555]
}
],
"sources": [
@@ -1039,20 +1039,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 584,
+ "id": 587,
"name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 585,
+ "id": 588,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1066,14 +1066,14 @@
],
"signatures": [
{
- "id": 586,
+ "id": 589,
"name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 587,
+ "id": 590,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1084,7 +1084,7 @@
}
},
{
- "id": 588,
+ "id": 591,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -1097,24 +1097,24 @@
],
"type": {
"type": "reference",
- "id": 584,
+ "id": 587,
"name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 589,
+ "id": 592,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1132,12 +1132,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 590,
+ "id": 593,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1155,12 +1155,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 591,
+ "id": 594,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1174,7 +1174,7 @@
],
"signatures": [
{
- "id": 592,
+ "id": 595,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1182,14 +1182,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 593,
+ "id": 596,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 595,
+ "id": 598,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1208,7 +1208,7 @@
"defaultValue": "..."
},
{
- "id": 594,
+ "id": 597,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1227,7 +1227,7 @@
"defaultValue": "..."
},
{
- "id": 596,
+ "id": 599,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1250,21 +1250,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [595, 594, 596]
+ "children": [598, 597, 599]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -1273,17 +1273,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [585]
+ "children": [588]
},
{
"title": "Properties",
"kind": 1024,
- "children": [589, 590]
+ "children": [592, 593]
},
{
"title": "Methods",
"kind": 2048,
- "children": [591]
+ "children": [594]
}
],
"sources": [
@@ -1296,20 +1296,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 534,
+ "id": 537,
"name": "AuthSessionMissingError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 535,
+ "id": 538,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1323,31 +1323,31 @@
],
"signatures": [
{
- "id": 536,
+ "id": 539,
"name": "new AuthSessionMissingError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 534,
+ "id": 537,
"name": "AuthSessionMissingError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 537,
+ "id": 540,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1365,12 +1365,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 538,
+ "id": 541,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1388,12 +1388,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 539,
+ "id": 542,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1407,7 +1407,7 @@
],
"signatures": [
{
- "id": 540,
+ "id": 543,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1415,14 +1415,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 541,
+ "id": 544,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 543,
+ "id": 546,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1441,7 +1441,7 @@
"defaultValue": "..."
},
{
- "id": 542,
+ "id": 545,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1460,7 +1460,7 @@
"defaultValue": "..."
},
{
- "id": 544,
+ "id": 547,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1483,21 +1483,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [543, 542, 544]
+ "children": [546, 545, 547]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -1506,17 +1506,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [535]
+ "children": [538]
},
{
"title": "Properties",
"kind": 1024,
- "children": [537, 538]
+ "children": [540, 541]
},
{
"title": "Methods",
"kind": 2048,
- "children": [539]
+ "children": [542]
}
],
"sources": [
@@ -1529,20 +1529,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 512,
+ "id": 515,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 513,
+ "id": 516,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1556,14 +1556,14 @@
],
"signatures": [
{
- "id": 514,
+ "id": 517,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 515,
+ "id": 518,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1574,7 +1574,7 @@
}
},
{
- "id": 516,
+ "id": 519,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -1587,24 +1587,24 @@
],
"type": {
"type": "reference",
- "id": 512,
+ "id": 515,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 496,
+ "id": 499,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 495,
+ "id": 498,
"name": "AuthError.constructor"
}
},
{
- "id": 517,
+ "id": 520,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -1626,12 +1626,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [513]
+ "children": [516]
},
{
"title": "Properties",
"kind": 1024,
- "children": [517]
+ "children": [520]
}
],
"sources": [
@@ -1644,20 +1644,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
},
{
- "id": 519,
+ "id": 522,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 520,
+ "id": 523,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1671,14 +1671,14 @@
],
"signatures": [
{
- "id": 521,
+ "id": 524,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 522,
+ "id": 525,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1689,7 +1689,7 @@
}
},
{
- "id": 523,
+ "id": 526,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -1700,7 +1700,7 @@
}
},
{
- "id": 524,
+ "id": 527,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -1713,24 +1713,24 @@
],
"type": {
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 496,
+ "id": 499,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 495,
+ "id": 498,
"name": "AuthError.constructor"
}
},
{
- "id": 525,
+ "id": 528,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1752,7 +1752,7 @@
}
},
{
- "id": 526,
+ "id": 529,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1770,7 +1770,7 @@
}
},
{
- "id": 527,
+ "id": 530,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1784,7 +1784,7 @@
],
"signatures": [
{
- "id": 528,
+ "id": 531,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1792,14 +1792,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 531,
+ "id": 534,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1818,7 +1818,7 @@
"defaultValue": "..."
},
{
- "id": 530,
+ "id": 533,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1837,7 +1837,7 @@
"defaultValue": "..."
},
{
- "id": 532,
+ "id": 535,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1860,7 +1860,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [531, 530, 532]
+ "children": [534, 533, 535]
}
]
}
@@ -1873,17 +1873,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [520]
+ "children": [523]
},
{
"title": "Properties",
"kind": 1024,
- "children": [525, 526]
+ "children": [528, 529]
},
{
"title": "Methods",
"kind": 2048,
- "children": [527]
+ "children": [530]
}
],
"sources": [
@@ -1896,29 +1896,29 @@
"extendedTypes": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 534,
+ "id": 537,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 546,
+ "id": 549,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 559,
+ "id": 562,
"name": "AuthImplicitGrantRedirectError"
},
{
"type": "reference",
- "id": 584,
+ "id": 587,
"name": "AuthRetryableFetchError"
}
]
@@ -2185,7 +2185,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -2240,7 +2240,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -2283,7 +2283,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 458,
+ "id": 461,
"name": "GenerateLinkParams"
}
}
@@ -2293,7 +2293,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 459,
+ "id": 462,
"name": "GenerateLinkResponse"
}
],
@@ -2348,7 +2348,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -2476,7 +2476,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -2565,7 +2565,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -2683,7 +2683,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -2780,7 +2780,7 @@
},
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
@@ -2860,7 +2860,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -2908,7 +2908,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 104,
+ "line": 105,
"character": 2
}
],
@@ -2931,7 +2931,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 241,
+ "id": 240,
"name": "GoTrueClientOptions"
}
}
@@ -2956,7 +2956,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 68,
+ "line": 69,
"character": 2
}
],
@@ -2975,7 +2975,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 407,
+ "line": 410,
"character": 8
}
],
@@ -3013,7 +3013,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 409,
+ "line": 412,
"character": 8
}
],
@@ -3035,13 +3035,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 410,
+ "line": 413,
"character": 10
}
],
"type": {
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
}
}
@@ -3065,7 +3065,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 412,
+ "line": 415,
"character": 8
}
],
@@ -3102,7 +3102,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 415,
+ "line": 418,
"character": 8
}
],
@@ -3124,7 +3124,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 416,
+ "line": 419,
"character": 10
}
],
@@ -3153,13 +3153,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 418,
+ "line": 421,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -3191,7 +3191,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 421,
+ "line": 424,
"character": 8
}
],
@@ -3213,7 +3213,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 422,
+ "line": 425,
"character": 10
}
],
@@ -3242,7 +3242,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 424,
+ "line": 427,
"character": 8
}
],
@@ -3280,7 +3280,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 470,
+ "line": 473,
"character": 8
}
],
@@ -3317,7 +3317,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -3337,7 +3337,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 130,
+ "line": 131,
"character": 2
}
],
@@ -3356,7 +3356,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 481,
+ "id": 484,
"name": "InitializeResult"
}
],
@@ -3376,7 +3376,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 665,
+ "line": 701,
"character": 2
}
],
@@ -3424,7 +3424,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent"
}
},
@@ -3443,7 +3443,7 @@
},
{
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
}
]
@@ -3478,7 +3478,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 666,
+ "line": 702,
"character": 4
}
],
@@ -3500,13 +3500,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 666,
+ "line": 702,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 352,
+ "id": 353,
"name": "Subscription"
}
}
@@ -3543,7 +3543,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 688,
+ "line": 724,
"character": 8
}
],
@@ -3601,7 +3601,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 692,
+ "line": 728,
"character": 6
}
],
@@ -3624,7 +3624,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 691,
+ "line": 727,
"character": 6
}
],
@@ -3670,7 +3670,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 696,
+ "line": 732,
"character": 8
}
],
@@ -3694,7 +3694,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 697,
+ "line": 733,
"character": 8
}
],
@@ -3731,7 +3731,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 699,
+ "line": 735,
"character": 8
}
],
@@ -3749,13 +3749,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 699,
+ "line": 735,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -3788,7 +3788,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 534,
+ "line": 539,
"character": 8
}
],
@@ -3800,21 +3800,43 @@
"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."
+ "shortText": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token in the current session is invalid and the current session has expired, an error will be thrown.\nIf the current session does not contain at expires_at field, setSession will use the exp claim defined in the access token."
},
"parameters": [
{
"id": 136,
- "name": "refresh_token",
+ "name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A refresh token returned by supabase auth.\n"
+ "shortText": "The current session that minimally contains an access token, refresh token and a user.\n"
},
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 290,
+ "name": "Session"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "access_token"
+ },
+ {
+ "type": "literal",
+ "value": "refresh_token"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
}
}
],
@@ -3823,7 +3845,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -3843,7 +3865,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 306,
+ "line": 307,
"character": 8
}
],
@@ -3866,7 +3888,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 403,
+ "id": 406,
"name": "SignInWithOAuthCredentials"
}
}
@@ -3876,7 +3898,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 267,
+ "id": 266,
"name": "OAuthResponse"
}
],
@@ -3896,7 +3918,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 321,
+ "line": 322,
"character": 8
}
],
@@ -3919,7 +3941,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 389,
+ "id": 390,
"name": "SignInWithPasswordlessCredentials"
}
}
@@ -3929,7 +3951,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -3949,7 +3971,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 256,
+ "line": 257,
"character": 8
}
],
@@ -3972,7 +3994,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 376,
+ "id": 377,
"name": "SignInWithPasswordCredentials"
}
}
@@ -3982,7 +4004,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -4002,7 +4024,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 646,
+ "line": 682,
"character": 8
}
],
@@ -4038,7 +4060,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 646,
+ "line": 682,
"character": 29
}
],
@@ -4051,7 +4073,7 @@
},
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
@@ -4084,7 +4106,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 193,
+ "line": 194,
"character": 8
}
],
@@ -4108,7 +4130,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 360,
+ "id": 361,
"name": "SignUpWithPasswordCredentials"
}
}
@@ -4118,7 +4140,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -4138,7 +4160,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 499,
+ "line": 502,
"character": 8
}
],
@@ -4171,7 +4193,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -4191,7 +4213,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 363,
+ "line": 366,
"character": 8
}
],
@@ -4214,7 +4236,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 414,
+ "id": 417,
"name": "VerifyOtpParams"
}
}
@@ -4224,7 +4246,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -4256,7 +4278,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 63,
+ "line": 64,
"character": 21
}
]
@@ -4283,7 +4305,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 217,
"character": 2
}
],
@@ -4293,7 +4315,31 @@
}
},
{
- "id": 351,
+ "id": 348,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4307,7 +4353,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -4322,7 +4368,7 @@
}
},
{
- "id": 348,
+ "id": 349,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -4335,7 +4381,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -4364,7 +4410,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 224,
"character": 2
}
],
@@ -4374,7 +4420,7 @@
}
},
{
- "id": 350,
+ "id": 351,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -4387,7 +4433,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -4402,7 +4448,7 @@
}
},
{
- "id": 349,
+ "id": 350,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -4415,7 +4461,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -4444,7 +4490,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 231,
"character": 2
}
],
@@ -4468,7 +4514,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 195,
+ "line": 207,
"character": 2
}
],
@@ -4482,13 +4528,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [345, 351, 348, 346, 350, 349, 347, 344]
+ "children": [345, 348, 352, 349, 346, 351, 350, 347, 344]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 183,
+ "line": 195,
"character": 17
}
],
@@ -4501,14 +4547,14 @@
]
},
{
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 459,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4522,7 +4568,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 402,
+ "line": 438,
"character": 2
}
],
@@ -4532,7 +4578,7 @@
}
},
{
- "id": 457,
+ "id": 460,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -4545,7 +4591,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 404,
+ "line": 440,
"character": 2
}
],
@@ -4559,19 +4605,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [456, 457]
+ "children": [459, 460]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 396,
+ "line": 432,
"character": 17
}
]
},
{
- "id": 291,
+ "id": 290,
"name": "Session",
"kind": 256,
"kindString": "Interface",
@@ -4589,7 +4635,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 101,
+ "line": 109,
"character": 2
}
],
@@ -4612,7 +4658,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 113,
+ "line": 121,
"character": 2
}
],
@@ -4633,7 +4679,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 109,
+ "line": 117,
"character": 2
}
],
@@ -4644,16 +4690,51 @@
},
{
"id": 292,
+ "name": "provider_refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 105,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 291,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 97,
+ "line": 100,
"character": 2
}
],
@@ -4683,7 +4764,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 105,
+ "line": 113,
"character": 2
}
],
@@ -4701,7 +4782,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 114,
+ "line": 122,
"character": 2
}
],
@@ -4719,13 +4800,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 115,
+ "line": 123,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -4734,7 +4815,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [293, 296, 295, 292, 294, 297, 298]
+ "children": [293, 296, 295, 292, 291, 294, 297, 298]
}
],
"sources": [
@@ -4746,14 +4827,14 @@
]
},
{
- "id": 352,
+ "id": 353,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 353,
+ "id": 354,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -4764,7 +4845,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 226,
+ "line": 250,
"character": 2
}
],
@@ -4774,7 +4855,7 @@
}
},
{
- "id": 354,
+ "id": 355,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -4782,13 +4863,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 254,
"character": 2
}
],
"signatures": [
{
- "id": 355,
+ "id": 356,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -4798,19 +4879,19 @@
},
"parameters": [
{
- "id": 356,
+ "id": 357,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent"
}
},
{
- "id": 357,
+ "id": 358,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -4824,7 +4905,7 @@
},
{
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
}
]
@@ -4839,7 +4920,7 @@
]
},
{
- "id": 358,
+ "id": 359,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -4847,13 +4928,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 234,
+ "line": 258,
"character": 2
}
],
"signatures": [
{
- "id": 359,
+ "id": 360,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -4873,24 +4954,24 @@
{
"title": "Properties",
"kind": 1024,
- "children": [353]
+ "children": [354]
},
{
"title": "Methods",
"kind": 2048,
- "children": [354, 358]
+ "children": [355, 359]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 222,
+ "line": 246,
"character": 17
}
]
},
{
- "id": 310,
+ "id": 317,
"name": "User",
"kind": 256,
"kindString": "Interface",
@@ -4907,7 +4988,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 145,
+ "line": 157,
"character": 2
}
],
@@ -4917,7 +4998,7 @@
}
},
{
- "id": 312,
+ "id": 319,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -4925,71 +5006,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 132,
+ "line": 149,
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 310,
+ "name": "UserAppMetadata"
}
},
{
@@ -5001,7 +5025,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 139,
+ "line": 151,
"character": 2
}
],
@@ -5021,7 +5045,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 140,
+ "line": 152,
"character": 2
}
],
@@ -5041,7 +5065,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 149,
+ "line": 161,
"character": 2
}
],
@@ -5059,7 +5083,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 148,
+ "line": 160,
"character": 2
}
],
@@ -5079,7 +5103,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 146,
+ "line": 158,
"character": 2
}
],
@@ -5099,7 +5123,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 142,
+ "line": 154,
"character": 2
}
],
@@ -5119,7 +5143,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 150,
+ "line": 162,
"character": 2
}
],
@@ -5129,7 +5153,7 @@
}
},
{
- "id": 311,
+ "id": 318,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -5137,7 +5161,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 131,
+ "line": 148,
"character": 2
}
],
@@ -5157,7 +5181,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 155,
+ "line": 167,
"character": 2
}
],
@@ -5181,7 +5205,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 144,
+ "line": 156,
"character": 2
}
],
@@ -5201,7 +5225,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 152,
+ "line": 164,
"character": 2
}
],
@@ -5221,7 +5245,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 143,
+ "line": 155,
"character": 2
}
],
@@ -5241,7 +5265,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 147,
+ "line": 159,
"character": 2
}
],
@@ -5261,7 +5285,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 151,
+ "line": 163,
"character": 2
}
],
@@ -5281,7 +5305,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 141,
+ "line": 153,
"character": 2
}
],
@@ -5301,7 +5325,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 153,
+ "line": 165,
"character": 2
}
],
@@ -5321,7 +5345,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 154,
+ "line": 166,
"character": 2
}
],
@@ -5331,7 +5355,7 @@
}
},
{
- "id": 317,
+ "id": 320,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -5339,42 +5363,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 136,
+ "line": 150,
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 314,
+ "name": "UserMetadata"
}
}
],
@@ -5383,19 +5379,85 @@
"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, 319, 321, 322, 331, 330, 328, 324, 332, 318, 337, 326, 334, 325, 329, 333, 323,
+ 335, 336, 320
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 130,
+ "line": 147,
"character": 17
}
]
},
+ {
+ "id": 310,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 311,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 139,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [311]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 138,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 312,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 313,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
{
"id": 338,
"name": "UserAttributes",
@@ -5418,7 +5480,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -5441,7 +5503,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -5464,7 +5526,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -5487,7 +5549,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -5507,7 +5569,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 158,
+ "line": 170,
"character": 17
}
],
@@ -5535,7 +5597,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 125,
+ "line": 133,
"character": 2
}
],
@@ -5553,7 +5615,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 119,
+ "line": 127,
"character": 2
}
],
@@ -5571,7 +5633,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 121,
+ "line": 129,
"character": 2
}
],
@@ -5618,7 +5680,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 126,
+ "line": 134,
"character": 2
}
],
@@ -5636,7 +5698,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 124,
+ "line": 132,
"character": 2
}
],
@@ -5656,7 +5718,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 127,
+ "line": 135,
"character": 2
}
],
@@ -5674,7 +5736,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 120,
+ "line": 128,
"character": 2
}
],
@@ -5694,20 +5756,57 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 118,
+ "line": 126,
"character": 17
}
]
},
{
- "id": 423,
+ "id": 314,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 143,
+ "character": 17
+ }
+ ],
+ "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": 426,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 424,
+ "id": 427,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -5718,7 +5817,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 348,
+ "line": 384,
"character": 2
}
],
@@ -5728,7 +5827,7 @@
}
},
{
- "id": 427,
+ "id": 430,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -5738,21 +5837,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 353,
+ "line": 389,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 428,
+ "id": 431,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 430,
+ "id": 433,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -5765,7 +5864,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 357,
+ "line": 393,
"character": 4
}
],
@@ -5775,7 +5874,7 @@
}
},
{
- "id": 429,
+ "id": 432,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -5788,7 +5887,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 355,
+ "line": 391,
"character": 4
}
],
@@ -5802,14 +5901,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [430, 429]
+ "children": [433, 432]
}
]
}
}
},
{
- "id": 425,
+ "id": 428,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -5820,7 +5919,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 386,
"character": 2
}
],
@@ -5830,7 +5929,7 @@
}
},
{
- "id": 426,
+ "id": 429,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -5841,13 +5940,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 388,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 432,
+ "id": 435,
"name": "EmailOtpType"
}
}
@@ -5856,26 +5955,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [424, 427, 425, 426]
+ "children": [427, 430, 428, 429]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 346,
+ "line": 382,
"character": 17
}
]
},
{
- "id": 415,
+ "id": 418,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 419,
+ "id": 422,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -5885,21 +5984,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 339,
+ "line": 375,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 420,
+ "id": 423,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 422,
+ "id": 425,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -5912,7 +6011,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 343,
+ "line": 379,
"character": 4
}
],
@@ -5922,7 +6021,7 @@
}
},
{
- "id": 421,
+ "id": 424,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -5935,7 +6034,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 341,
+ "line": 377,
"character": 4
}
],
@@ -5949,14 +6048,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [422, 421]
+ "children": [425, 424]
}
]
}
}
},
{
- "id": 416,
+ "id": 419,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -5967,7 +6066,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 370,
"character": 2
}
],
@@ -5977,7 +6076,7 @@
}
},
{
- "id": 417,
+ "id": 420,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -5988,7 +6087,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 336,
+ "line": 372,
"character": 2
}
],
@@ -5998,7 +6097,7 @@
}
},
{
- "id": 418,
+ "id": 421,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6009,13 +6108,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 338,
+ "line": 374,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 431,
+ "id": 434,
"name": "MobileOtpType"
}
}
@@ -6024,19 +6123,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [419, 416, 417, 418]
+ "children": [422, 419, 420, 421]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 332,
+ "line": 368,
"character": 17
}
]
},
{
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -6079,7 +6178,7 @@
}
},
{
- "id": 254,
+ "id": 253,
"name": "AuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -6097,14 +6196,14 @@
{
"type": "reflection",
"declaration": {
- "id": 255,
+ "id": 254,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 256,
+ "id": 255,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6119,14 +6218,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 257,
+ "id": 256,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 259,
+ "id": 258,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -6143,7 +6242,7 @@
"types": [
{
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
},
{
@@ -6154,7 +6253,7 @@
}
},
{
- "id": 258,
+ "id": 257,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -6171,7 +6270,7 @@
"types": [
{
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
},
{
@@ -6186,7 +6285,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [259, 258]
+ "children": [258, 257]
}
],
"sources": [
@@ -6200,7 +6299,7 @@
}
},
{
- "id": 260,
+ "id": 259,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6222,7 +6321,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [256, 260]
+ "children": [255, 259]
}
],
"sources": [
@@ -6237,14 +6336,14 @@
{
"type": "reflection",
"declaration": {
- "id": 261,
+ "id": 260,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 262,
+ "id": 261,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6259,14 +6358,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 263,
+ "id": 262,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 265,
+ "id": 264,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -6284,7 +6383,7 @@
}
},
{
- "id": 264,
+ "id": 263,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -6306,7 +6405,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [265, 264]
+ "children": [264, 263]
}
],
"sources": [
@@ -6320,7 +6419,7 @@
}
},
{
- "id": 266,
+ "id": 265,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6334,7 +6433,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -6343,7 +6442,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [262, 266]
+ "children": [261, 265]
}
],
"sources": [
@@ -6359,7 +6458,7 @@
}
},
{
- "id": 484,
+ "id": 487,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -6367,76 +6466,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 508,
"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": {
@@ -6455,14 +6491,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 511,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 494,
- "name": "AuthError"
+ "type": "literal",
+ "value": null
}
},
{
@@ -6474,13 +6509,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 478,
+ "line": 510,
"character": 6
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 290,
+ "name": "Session"
}
}
],
@@ -6494,7 +6530,70 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 477,
+ "line": 509,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 491,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 493,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 515,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 497,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 492,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 514,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [493, 492]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 513,
"character": 4
}
]
@@ -6504,7 +6603,7 @@
}
},
{
- "id": 432,
+ "id": 435,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -6512,7 +6611,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 362,
+ "line": 398,
"character": 12
}
],
@@ -6543,7 +6642,7 @@
}
},
{
- "id": 449,
+ "id": 452,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6551,21 +6650,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 421,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 450,
+ "id": 453,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 452,
+ "id": 455,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6576,7 +6675,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 388,
+ "line": 424,
"character": 2
}
],
@@ -6586,7 +6685,7 @@
}
},
{
- "id": 453,
+ "id": 456,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -6597,7 +6696,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 428,
"character": 2
}
],
@@ -6607,7 +6706,7 @@
}
},
{
- "id": 454,
+ "id": 457,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -6617,7 +6716,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 393,
+ "line": 429,
"character": 2
}
],
@@ -6626,7 +6725,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -6640,7 +6739,7 @@
}
},
{
- "id": 451,
+ "id": 454,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6648,7 +6747,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 422,
"character": 2
}
],
@@ -6671,13 +6770,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [452, 453, 454, 451]
+ "children": [455, 456, 457, 454]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 421,
"character": 44
}
]
@@ -6685,7 +6784,7 @@
}
},
{
- "id": 439,
+ "id": 442,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6693,21 +6792,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 407,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 440,
+ "id": 443,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 442,
+ "id": 445,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6718,7 +6817,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 374,
+ "line": 410,
"character": 2
}
],
@@ -6728,7 +6827,7 @@
}
},
{
- "id": 443,
+ "id": 446,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -6738,7 +6837,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 375,
+ "line": 411,
"character": 2
}
],
@@ -6747,7 +6846,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -6770,7 +6869,7 @@
}
},
{
- "id": 441,
+ "id": 444,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6778,7 +6877,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 372,
+ "line": 408,
"character": 2
}
],
@@ -6801,13 +6900,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [442, 443, 441]
+ "children": [445, 446, 444]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 407,
"character": 46
}
]
@@ -6815,7 +6914,7 @@
}
},
{
- "id": 458,
+ "id": 461,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6823,7 +6922,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 407,
+ "line": 443,
"character": 12
}
],
@@ -6832,29 +6931,29 @@
"types": [
{
"type": "reference",
- "id": 433,
+ "id": 436,
"name": "GenerateSignupLinkParams"
},
{
"type": "reference",
- "id": 439,
+ "id": 442,
"name": "GenerateInviteOrMagiclinkParams"
},
{
"type": "reference",
- "id": 444,
+ "id": 447,
"name": "GenerateRecoveryLinkParams"
},
{
"type": "reference",
- "id": 449,
+ "id": 452,
"name": "GenerateEmailChangeLinkParams"
}
]
}
},
{
- "id": 472,
+ "id": 475,
"name": "GenerateLinkProperties",
"kind": 4194304,
"kindString": "Type alias",
@@ -6865,21 +6964,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 430,
+ "line": 466,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 473,
+ "id": 476,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 474,
+ "id": 477,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -6890,70 +6989,7 @@
"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,
+ "line": 471,
"character": 2
}
],
@@ -6964,6 +7000,69 @@
},
{
"id": 478,
+ "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": 476,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 479,
+ "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": 480,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 480,
+ "name": "redirect_to",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The URL appended to the action link."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 482,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 481,
"name": "verification_type",
"kind": 1024,
"kindString": "Property",
@@ -6974,13 +7073,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 484,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 479,
+ "id": 482,
"name": "GenerateLinkType"
}
}
@@ -6989,13 +7088,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [474, 475, 476, 477, 478]
+ "children": [477, 478, 479, 480, 481]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 430,
+ "line": 466,
"character": 37
}
]
@@ -7003,7 +7102,7 @@
}
},
{
- "id": 459,
+ "id": 462,
"name": "GenerateLinkResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -7011,7 +7110,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 449,
"character": 12
}
],
@@ -7021,14 +7120,14 @@
{
"type": "reflection",
"declaration": {
- "id": 460,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 461,
+ "id": 464,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7036,21 +7135,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 415,
+ "line": 451,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 462,
+ "id": 465,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 463,
+ "id": 466,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -7058,18 +7157,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 416,
+ "line": 452,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 472,
+ "id": 475,
"name": "GenerateLinkProperties"
}
},
{
- "id": 464,
+ "id": 467,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -7077,13 +7176,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 417,
+ "line": 453,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -7092,13 +7191,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [463, 464]
+ "children": [466, 467]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 415,
+ "line": 451,
"character": 12
}
]
@@ -7106,7 +7205,7 @@
}
},
{
- "id": 465,
+ "id": 468,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7114,7 +7213,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 419,
+ "line": 455,
"character": 6
}
],
@@ -7128,13 +7227,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [461, 465]
+ "children": [464, 468]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 414,
+ "line": 450,
"character": 4
}
]
@@ -7143,14 +7242,14 @@
{
"type": "reflection",
"declaration": {
- "id": 466,
+ "id": 469,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 467,
+ "id": 470,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7158,21 +7257,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 422,
+ "line": 458,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 468,
+ "id": 471,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 469,
+ "id": 472,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -7180,7 +7279,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 423,
+ "line": 459,
"character": 8
}
],
@@ -7190,7 +7289,7 @@
}
},
{
- "id": 470,
+ "id": 473,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -7198,7 +7297,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 424,
+ "line": 460,
"character": 8
}
],
@@ -7212,13 +7311,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [469, 470]
+ "children": [472, 473]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 422,
+ "line": 458,
"character": 12
}
]
@@ -7226,7 +7325,7 @@
}
},
{
- "id": 471,
+ "id": 474,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7234,13 +7333,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 426,
+ "line": 462,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -7249,13 +7348,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [467, 471]
+ "children": [470, 474]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 421,
+ "line": 457,
"character": 4
}
]
@@ -7265,7 +7364,7 @@
}
},
{
- "id": 479,
+ "id": 482,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -7273,7 +7372,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 487,
"character": 12
}
],
@@ -7308,7 +7407,7 @@
}
},
{
- "id": 444,
+ "id": 447,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -7316,21 +7415,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 414,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 445,
+ "id": 448,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 447,
+ "id": 450,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -7341,7 +7440,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 417,
"character": 2
}
],
@@ -7351,7 +7450,7 @@
}
},
{
- "id": 448,
+ "id": 451,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -7361,7 +7460,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 382,
+ "line": 418,
"character": 2
}
],
@@ -7370,7 +7469,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -7384,7 +7483,7 @@
}
},
{
- "id": 446,
+ "id": 449,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7392,7 +7491,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 379,
+ "line": 415,
"character": 2
}
],
@@ -7406,13 +7505,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [447, 448, 446]
+ "children": [450, 451, 449]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 414,
"character": 41
}
]
@@ -7420,7 +7519,7 @@
}
},
{
- "id": 433,
+ "id": 436,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -7428,21 +7527,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 364,
+ "line": 400,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 434,
+ "id": 437,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 436,
+ "id": 439,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -7450,7 +7549,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 366,
+ "line": 402,
"character": 2
}
],
@@ -7460,7 +7559,7 @@
}
},
{
- "id": 438,
+ "id": 441,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -7470,7 +7569,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 404,
"character": 2
}
],
@@ -7479,7 +7578,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -7502,7 +7601,7 @@
}
},
{
- "id": 437,
+ "id": 440,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -7510,7 +7609,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 367,
+ "line": 403,
"character": 2
}
],
@@ -7520,7 +7619,7 @@
}
},
{
- "id": 435,
+ "id": 438,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7528,7 +7627,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 365,
+ "line": 401,
"character": 2
}
],
@@ -7542,13 +7641,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [436, 438, 437, 435]
+ "children": [439, 441, 440, 438]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 364,
+ "line": 400,
"character": 39
}
]
@@ -7556,7 +7655,7 @@
}
},
{
- "id": 241,
+ "id": 240,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -7571,14 +7670,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 250,
+ "id": 249,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -7598,7 +7697,7 @@
}
},
{
- "id": 249,
+ "id": 248,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -7618,7 +7717,7 @@
}
},
{
- "id": 253,
+ "id": 252,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -7638,7 +7737,7 @@
}
},
{
- "id": 244,
+ "id": 243,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -7655,7 +7754,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 245,
+ "id": 244,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7668,14 +7767,14 @@
}
],
"indexSignature": {
- "id": 246,
+ "id": 245,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 246,
"name": "key",
"kind": 32768,
"flags": {},
@@ -7694,7 +7793,7 @@
}
},
{
- "id": 251,
+ "id": 250,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -7714,7 +7813,7 @@
}
},
{
- "id": 252,
+ "id": 251,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -7730,12 +7829,12 @@
],
"type": {
"type": "reference",
- "id": 480,
+ "id": 483,
"name": "SupportedStorage"
}
},
{
- "id": 248,
+ "id": 247,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -7755,7 +7854,7 @@
}
},
{
- "id": 243,
+ "id": 242,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -7779,7 +7878,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [250, 249, 253, 244, 251, 252, 248, 243]
+ "children": [249, 248, 252, 243, 250, 251, 247, 242]
}
],
"sources": [
@@ -7793,7 +7892,7 @@
}
},
{
- "id": 481,
+ "id": 484,
"name": "InitializeResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -7801,21 +7900,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 506,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 482,
+ "id": 485,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 483,
+ "id": 486,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7823,7 +7922,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 506,
"character": 33
}
],
@@ -7832,7 +7931,7 @@
"types": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
},
{
@@ -7847,13 +7946,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [483]
+ "children": [486]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 506,
"character": 31
}
]
@@ -7861,7 +7960,7 @@
}
},
{
- "id": 431,
+ "id": 434,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -7869,7 +7968,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 361,
+ "line": 397,
"character": 12
}
],
@@ -7888,7 +7987,7 @@
}
},
{
- "id": 267,
+ "id": 266,
"name": "OAuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -7906,14 +8005,14 @@
{
"type": "reflection",
"declaration": {
- "id": 268,
+ "id": 267,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 269,
+ "id": 268,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7928,14 +8027,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 270,
+ "id": 269,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 271,
+ "id": 270,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -7949,12 +8048,12 @@
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
},
{
- "id": 272,
+ "id": 271,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -7976,7 +8075,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [271, 272]
+ "children": [270, 271]
}
],
"sources": [
@@ -7990,7 +8089,7 @@
}
},
{
- "id": 273,
+ "id": 272,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8012,7 +8111,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [269, 273]
+ "children": [268, 272]
}
],
"sources": [
@@ -8027,14 +8126,14 @@
{
"type": "reflection",
"declaration": {
- "id": 274,
+ "id": 273,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 275,
+ "id": 274,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8049,14 +8148,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 276,
+ "id": 275,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 277,
+ "id": 276,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -8070,12 +8169,12 @@
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
},
{
- "id": 278,
+ "id": 277,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -8097,7 +8196,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [277, 278]
+ "children": [276, 277]
}
],
"sources": [
@@ -8111,7 +8210,7 @@
}
},
{
- "id": 279,
+ "id": 278,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8125,7 +8224,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -8134,7 +8233,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [275, 279]
+ "children": [274, 278]
}
],
"sources": [
@@ -8150,7 +8249,7 @@
}
},
{
- "id": 239,
+ "id": 238,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -8236,7 +8335,7 @@
}
},
{
- "id": 403,
+ "id": 406,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -8244,21 +8343,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 354,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 404,
+ "id": 407,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 406,
+ "id": 409,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -8268,21 +8367,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 357,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 410,
+ "id": 413,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -8295,14 +8394,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 363,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 411,
+ "id": 414,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8310,19 +8409,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 363,
"character": 18
}
],
"indexSignature": {
- "id": 412,
+ "id": 415,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 413,
+ "id": 416,
"name": "key",
"kind": 32768,
"flags": {},
@@ -8341,7 +8440,7 @@
}
},
{
- "id": 408,
+ "id": 411,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -8354,7 +8453,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 323,
+ "line": 359,
"character": 4
}
],
@@ -8364,7 +8463,7 @@
}
},
{
- "id": 409,
+ "id": 412,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -8377,7 +8476,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 361,
"character": 4
}
],
@@ -8391,13 +8490,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [410, 408, 409]
+ "children": [413, 411, 412]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 357,
"character": 12
}
]
@@ -8405,7 +8504,7 @@
}
},
{
- "id": 405,
+ "id": 408,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -8416,13 +8515,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 320,
+ "line": 356,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
}
@@ -8431,13 +8530,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [406, 405]
+ "children": [409, 408]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 354,
"character": 41
}
]
@@ -8445,7 +8544,7 @@
}
},
{
- "id": 376,
+ "id": 377,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -8453,7 +8552,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 272,
+ "line": 296,
"character": 12
}
],
@@ -8463,299 +8562,14 @@
{
"type": "reflection",
"declaration": {
- "id": 377,
+ "id": 378,
"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",
@@ -8766,7 +8580,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 297,
+ "line": 299,
"character": 6
}
],
@@ -8776,7 +8590,7 @@
}
},
{
- "id": 392,
+ "id": 381,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -8786,21 +8600,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 302,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 393,
+ "id": 382,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 396,
+ "id": 383,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -8821,83 +8635,58 @@
"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]
+ "children": [383]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 302,
"character": 16
}
]
}
}
+ },
+ {
+ "id": 380,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [391, 392]
+ "children": [379, 381, 380]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 295,
+ "line": 297,
"character": 4
}
]
@@ -8906,14 +8695,14 @@
{
"type": "reflection",
"declaration": {
- "id": 397,
+ "id": 384,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 399,
+ "id": 387,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -8923,21 +8712,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 312,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 400,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 402,
+ "id": 389,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -8958,42 +8747,19 @@
"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]
+ "children": [389]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 312,
"character": 16
}
]
@@ -9001,7 +8767,28 @@
}
},
{
- "id": 398,
+ "id": 386,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 311,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 385,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -9026,7 +8813,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [399, 398]
+ "children": [387, 386, 385]
}
],
"sources": [
@@ -9042,15 +8829,15 @@
}
},
{
- "id": 360,
- "name": "SignUpWithPasswordCredentials",
+ "id": 390,
+ "name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 318,
"character": 12
}
],
@@ -9060,14 +8847,14 @@
{
"type": "reflection",
"declaration": {
- "id": 361,
+ "id": 391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 392,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9078,7 +8865,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 321,
"character": 6
}
],
@@ -9088,7 +8875,7 @@
}
},
{
- "id": 364,
+ "id": 393,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9098,21 +8885,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 322,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 365,
+ "id": 394,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 368,
+ "id": 398,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -9125,7 +8912,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 253,
+ "line": 334,
"character": 8
}
],
@@ -9135,7 +8922,7 @@
}
},
{
- "id": 367,
+ "id": 397,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9149,7 +8936,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
+ "line": 332,
"character": 8
}
],
@@ -9159,7 +8946,7 @@
}
},
{
- "id": 366,
+ "id": 395,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -9172,7 +8959,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 245,
+ "line": 324,
"character": 8
}
],
@@ -9180,58 +8967,60 @@
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 396,
+ "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": 326,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [368, 367, 366]
+ "children": [398, 397, 395, 396]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 322,
"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]
+ "children": [392, 393]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 319,
"character": 4
}
]
@@ -9240,14 +9029,14 @@
{
"type": "reflection",
"declaration": {
- "id": 369,
+ "id": 399,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 372,
+ "id": 401,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9257,21 +9046,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 340,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 373,
+ "id": 402,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 405,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -9284,7 +9073,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 269,
+ "line": 350,
"character": 8
}
],
@@ -9294,7 +9083,7 @@
}
},
{
- "id": 374,
+ "id": 404,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9308,7 +9097,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 267,
+ "line": 348,
"character": 8
}
],
@@ -9316,19 +9105,42 @@
"type": "intrinsic",
"name": "object"
}
+ },
+ {
+ "id": 403,
+ "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": 342,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [375, 374]
+ "children": [405, 404, 403]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 340,
"character": 16
}
]
@@ -9336,28 +9148,7 @@
}
},
{
- "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,
+ "id": 400,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -9368,7 +9159,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 258,
+ "line": 339,
"character": 6
}
],
@@ -9382,13 +9173,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [372, 371, 370]
+ "children": [401, 400]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 256,
+ "line": 337,
"character": 4
}
]
@@ -9398,7 +9189,363 @@
}
},
{
- "id": 480,
+ "id": 361,
+ "name": "SignUpWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 261,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 362,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 363,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 264,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 365,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 267,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 366,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 369,
+ "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": 277,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 368,
+ "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": 275,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 367,
+ "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": 269,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [369, 368, 367]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 267,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 364,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 266,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [363, 365, 364]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 262,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 370,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 373,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 285,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 374,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 376,
+ "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": 293,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 375,
+ "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": 291,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [376, 375]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 285,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 372,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 371,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 282,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [373, 372, 371]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 280,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 483,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -9406,7 +9553,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 468,
+ "line": 504,
"character": 12
}
],
@@ -9449,7 +9596,7 @@
}
},
{
- "id": 280,
+ "id": 279,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -9467,14 +9614,14 @@
{
"type": "reflection",
"declaration": {
- "id": 281,
+ "id": 280,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 282,
+ "id": 281,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9489,14 +9636,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 283,
+ "id": 282,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 284,
+ "id": 283,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9510,7 +9657,7 @@
],
"type": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -9519,7 +9666,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [284]
+ "children": [283]
}
],
"sources": [
@@ -9533,7 +9680,7 @@
}
},
{
- "id": 285,
+ "id": 284,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9555,7 +9702,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [282, 285]
+ "children": [281, 284]
}
],
"sources": [
@@ -9570,14 +9717,14 @@
{
"type": "reflection",
"declaration": {
- "id": 286,
+ "id": 285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 287,
+ "id": 286,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9592,14 +9739,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 288,
+ "id": 287,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 289,
+ "id": 288,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9621,7 +9768,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [289]
+ "children": [288]
}
],
"sources": [
@@ -9635,7 +9782,7 @@
}
},
{
- "id": 290,
+ "id": 289,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9649,7 +9796,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -9658,7 +9805,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [287, 290]
+ "children": [286, 289]
}
],
"sources": [
@@ -9674,7 +9821,7 @@
}
},
{
- "id": 414,
+ "id": 417,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9682,7 +9829,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 331,
+ "line": 367,
"character": 12
}
],
@@ -9691,19 +9838,19 @@
"types": [
{
"type": "reference",
- "id": 415,
+ "id": 418,
"name": "VerifyMobileOtpParams"
},
{
"type": "reference",
- "id": 423,
+ "id": 426,
"name": "VerifyEmailOtpParams"
}
]
}
},
{
- "id": 491,
+ "id": 494,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -9717,14 +9864,14 @@
],
"signatures": [
{
- "id": 492,
+ "id": 495,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 493,
+ "id": 496,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -9741,7 +9888,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -9753,25 +9900,25 @@
{
"title": "Classes",
"kind": 128,
- "children": [499, 494, 559, 546, 584, 534, 512, 519, 1, 66]
+ "children": [502, 497, 562, 549, 587, 537, 515, 522, 1, 66]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [343, 455, 291, 352, 310, 338, 299, 423, 415]
+ "children": [343, 458, 290, 353, 317, 310, 338, 299, 314, 426, 418]
},
{
"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
+ 239, 253, 487, 435, 452, 442, 461, 475, 462, 482, 447, 436, 240, 484, 434, 266, 238, 406,
+ 377, 390, 361, 483, 279, 417
]
},
{
"title": "Functions",
"kind": 64,
- "children": [491]
+ "children": [494]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
index 70a93ae1503..a05525ab227 100644
--- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
@@ -7,14 +7,14 @@
"originalName": "",
"children": [
{
- "id": 499,
+ "id": 502,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 500,
+ "id": 503,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -28,14 +28,14 @@
],
"signatures": [
{
- "id": 501,
+ "id": 504,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 502,
+ "id": 505,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -46,7 +46,7 @@
}
},
{
- "id": 503,
+ "id": 506,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -59,24 +59,24 @@
],
"type": {
"type": "reference",
- "id": 499,
+ "id": 502,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 496,
+ "id": 499,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 495,
+ "id": 498,
"name": "AuthError.constructor"
}
},
{
- "id": 504,
+ "id": 507,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -94,7 +94,7 @@
}
},
{
- "id": 505,
+ "id": 508,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -108,7 +108,7 @@
],
"signatures": [
{
- "id": 506,
+ "id": 509,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -116,14 +116,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 507,
+ "id": 510,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 509,
+ "id": 512,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -142,7 +142,7 @@
"defaultValue": "..."
},
{
- "id": 508,
+ "id": 511,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -161,7 +161,7 @@
"defaultValue": "..."
},
{
- "id": 510,
+ "id": 513,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -184,7 +184,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [509, 508, 510]
+ "children": [512, 511, 513]
}
]
}
@@ -197,17 +197,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [500]
+ "children": [503]
},
{
"title": "Properties",
"kind": 1024,
- "children": [504]
+ "children": [507]
},
{
"title": "Methods",
"kind": 2048,
- "children": [505]
+ "children": [508]
}
],
"sources": [
@@ -220,20 +220,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
},
{
- "id": 494,
+ "id": 497,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 495,
+ "id": 498,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -247,14 +247,14 @@
],
"signatures": [
{
- "id": 496,
+ "id": 499,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 497,
+ "id": 500,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -267,7 +267,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
},
"overwrites": {
@@ -286,7 +286,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [495]
+ "children": [498]
}
],
"sources": [
@@ -307,30 +307,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 499,
+ "id": 502,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 512,
+ "id": 515,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 559,
+ "id": 562,
"name": "AuthImplicitGrantRedirectError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 560,
+ "id": 563,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -344,14 +344,14 @@
],
"signatures": [
{
- "id": 561,
+ "id": 564,
"name": "new AuthImplicitGrantRedirectError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 562,
+ "id": 565,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -362,7 +362,7 @@
}
},
{
- "id": 563,
+ "id": 566,
"name": "details",
"kind": 32768,
"kindString": "Parameter",
@@ -377,14 +377,14 @@
{
"type": "reflection",
"declaration": {
- "id": 564,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 566,
+ "id": 569,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -402,7 +402,7 @@
}
},
{
- "id": 565,
+ "id": 568,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -424,7 +424,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [566, 565]
+ "children": [569, 568]
}
]
}
@@ -436,24 +436,24 @@
],
"type": {
"type": "reference",
- "id": 559,
+ "id": 562,
"name": "AuthImplicitGrantRedirectError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 567,
+ "id": 570,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -475,14 +475,14 @@
{
"type": "reflection",
"declaration": {
- "id": 568,
+ "id": 571,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 570,
+ "id": 573,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -500,7 +500,7 @@
}
},
{
- "id": 569,
+ "id": 572,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -522,7 +522,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [570, 569]
+ "children": [573, 572]
}
]
}
@@ -532,7 +532,7 @@
"defaultValue": "null"
},
{
- "id": 581,
+ "id": 584,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -550,12 +550,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 582,
+ "id": 585,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -573,12 +573,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 571,
+ "id": 574,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -592,7 +592,7 @@
],
"signatures": [
{
- "id": 572,
+ "id": 575,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -600,14 +600,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 573,
+ "id": 576,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 577,
+ "id": 580,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -629,14 +629,14 @@
{
"type": "reflection",
"declaration": {
- "id": 578,
+ "id": 581,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 580,
+ "id": 583,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -654,7 +654,7 @@
}
},
{
- "id": 579,
+ "id": 582,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -676,7 +676,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [580, 579]
+ "children": [583, 582]
}
]
}
@@ -686,7 +686,7 @@
"defaultValue": "..."
},
{
- "id": 575,
+ "id": 578,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -705,7 +705,7 @@
"defaultValue": "..."
},
{
- "id": 574,
+ "id": 577,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -724,7 +724,7 @@
"defaultValue": "..."
},
{
- "id": 576,
+ "id": 579,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -747,21 +747,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [577, 575, 574, 576]
+ "children": [580, 578, 577, 579]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -770,17 +770,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [560]
+ "children": [563]
},
{
"title": "Properties",
"kind": 1024,
- "children": [567, 581, 582]
+ "children": [570, 584, 585]
},
{
"title": "Methods",
"kind": 2048,
- "children": [571]
+ "children": [574]
}
],
"sources": [
@@ -793,20 +793,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 546,
+ "id": 549,
"name": "AuthInvalidCredentialsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 547,
+ "id": 550,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -820,14 +820,14 @@
],
"signatures": [
{
- "id": 548,
+ "id": 551,
"name": "new AuthInvalidCredentialsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 549,
+ "id": 552,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -840,24 +840,24 @@
],
"type": {
"type": "reference",
- "id": 546,
+ "id": 549,
"name": "AuthInvalidCredentialsError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 550,
+ "id": 553,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -875,12 +875,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 551,
+ "id": 554,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -898,12 +898,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 552,
+ "id": 555,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -917,7 +917,7 @@
],
"signatures": [
{
- "id": 553,
+ "id": 556,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -925,14 +925,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 554,
+ "id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 556,
+ "id": 559,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -951,7 +951,7 @@
"defaultValue": "..."
},
{
- "id": 555,
+ "id": 558,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -970,7 +970,7 @@
"defaultValue": "..."
},
{
- "id": 557,
+ "id": 560,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -993,21 +993,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [556, 555, 557]
+ "children": [559, 558, 560]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -1016,17 +1016,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [547]
+ "children": [550]
},
{
"title": "Properties",
"kind": 1024,
- "children": [550, 551]
+ "children": [553, 554]
},
{
"title": "Methods",
"kind": 2048,
- "children": [552]
+ "children": [555]
}
],
"sources": [
@@ -1039,20 +1039,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 584,
+ "id": 587,
"name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 585,
+ "id": 588,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1066,14 +1066,14 @@
],
"signatures": [
{
- "id": 586,
+ "id": 589,
"name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 587,
+ "id": 590,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1084,7 +1084,7 @@
}
},
{
- "id": 588,
+ "id": 591,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -1097,24 +1097,24 @@
],
"type": {
"type": "reference",
- "id": 584,
+ "id": 587,
"name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 589,
+ "id": 592,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1132,12 +1132,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 590,
+ "id": 593,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1155,12 +1155,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 591,
+ "id": 594,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1174,7 +1174,7 @@
],
"signatures": [
{
- "id": 592,
+ "id": 595,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1182,14 +1182,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 593,
+ "id": 596,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 595,
+ "id": 598,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1208,7 +1208,7 @@
"defaultValue": "..."
},
{
- "id": 594,
+ "id": 597,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1227,7 +1227,7 @@
"defaultValue": "..."
},
{
- "id": 596,
+ "id": 599,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1250,21 +1250,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [595, 594, 596]
+ "children": [598, 597, 599]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -1273,17 +1273,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [585]
+ "children": [588]
},
{
"title": "Properties",
"kind": 1024,
- "children": [589, 590]
+ "children": [592, 593]
},
{
"title": "Methods",
"kind": 2048,
- "children": [591]
+ "children": [594]
}
],
"sources": [
@@ -1296,20 +1296,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 534,
+ "id": 537,
"name": "AuthSessionMissingError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 535,
+ "id": 538,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1323,31 +1323,31 @@
],
"signatures": [
{
- "id": 536,
+ "id": 539,
"name": "new AuthSessionMissingError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 534,
+ "id": 537,
"name": "AuthSessionMissingError"
},
"overwrites": {
"type": "reference",
- "id": 521,
+ "id": 524,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 520,
+ "id": 523,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 537,
+ "id": 540,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1365,12 +1365,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 525,
+ "id": 528,
"name": "CustomAuthError.name"
}
},
{
- "id": 538,
+ "id": 541,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1388,12 +1388,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 526,
+ "id": 529,
"name": "CustomAuthError.status"
}
},
{
- "id": 539,
+ "id": 542,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1407,7 +1407,7 @@
],
"signatures": [
{
- "id": 540,
+ "id": 543,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1415,14 +1415,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 541,
+ "id": 544,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 543,
+ "id": 546,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1441,7 +1441,7 @@
"defaultValue": "..."
},
{
- "id": 542,
+ "id": 545,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1460,7 +1460,7 @@
"defaultValue": "..."
},
{
- "id": 544,
+ "id": 547,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1483,21 +1483,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [543, 542, 544]
+ "children": [546, 545, 547]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 528,
+ "id": 531,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 527,
+ "id": 530,
"name": "CustomAuthError.toJSON"
}
}
@@ -1506,17 +1506,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [535]
+ "children": [538]
},
{
"title": "Properties",
"kind": 1024,
- "children": [537, 538]
+ "children": [540, 541]
},
{
"title": "Methods",
"kind": 2048,
- "children": [539]
+ "children": [542]
}
],
"sources": [
@@ -1529,20 +1529,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
}
]
},
{
- "id": 512,
+ "id": 515,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 513,
+ "id": 516,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1556,14 +1556,14 @@
],
"signatures": [
{
- "id": 514,
+ "id": 517,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 515,
+ "id": 518,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1574,7 +1574,7 @@
}
},
{
- "id": 516,
+ "id": 519,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -1587,24 +1587,24 @@
],
"type": {
"type": "reference",
- "id": 512,
+ "id": 515,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 496,
+ "id": 499,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 495,
+ "id": 498,
"name": "AuthError.constructor"
}
},
{
- "id": 517,
+ "id": 520,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -1626,12 +1626,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [513]
+ "children": [516]
},
{
"title": "Properties",
"kind": 1024,
- "children": [517]
+ "children": [520]
}
],
"sources": [
@@ -1644,20 +1644,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
},
{
- "id": 519,
+ "id": 522,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 520,
+ "id": 523,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1671,14 +1671,14 @@
],
"signatures": [
{
- "id": 521,
+ "id": 524,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 522,
+ "id": 525,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1689,7 +1689,7 @@
}
},
{
- "id": 523,
+ "id": 526,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -1700,7 +1700,7 @@
}
},
{
- "id": 524,
+ "id": 527,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -1713,24 +1713,24 @@
],
"type": {
"type": "reference",
- "id": 519,
+ "id": 522,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 496,
+ "id": 499,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 495,
+ "id": 498,
"name": "AuthError.constructor"
}
},
{
- "id": 525,
+ "id": 528,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1752,7 +1752,7 @@
}
},
{
- "id": 526,
+ "id": 529,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1770,7 +1770,7 @@
}
},
{
- "id": 527,
+ "id": 530,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1784,7 +1784,7 @@
],
"signatures": [
{
- "id": 528,
+ "id": 531,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1792,14 +1792,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 531,
+ "id": 534,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1818,7 +1818,7 @@
"defaultValue": "..."
},
{
- "id": 530,
+ "id": 533,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1837,7 +1837,7 @@
"defaultValue": "..."
},
{
- "id": 532,
+ "id": 535,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1860,7 +1860,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [531, 530, 532]
+ "children": [534, 533, 535]
}
]
}
@@ -1873,17 +1873,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [520]
+ "children": [523]
},
{
"title": "Properties",
"kind": 1024,
- "children": [525, 526]
+ "children": [528, 529]
},
{
"title": "Methods",
"kind": 2048,
- "children": [527]
+ "children": [530]
}
],
"sources": [
@@ -1896,29 +1896,29 @@
"extendedTypes": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 534,
+ "id": 537,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 546,
+ "id": 549,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 559,
+ "id": 562,
"name": "AuthImplicitGrantRedirectError"
},
{
"type": "reference",
- "id": 584,
+ "id": 587,
"name": "AuthRetryableFetchError"
}
]
@@ -2199,7 +2199,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 217,
"character": 2
}
],
@@ -2209,7 +2209,31 @@
}
},
{
- "id": 351,
+ "id": 348,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -2223,7 +2247,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -2238,7 +2262,7 @@
}
},
{
- "id": 348,
+ "id": 349,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -2251,7 +2275,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -2280,7 +2304,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 224,
"character": 2
}
],
@@ -2290,7 +2314,7 @@
}
},
{
- "id": 350,
+ "id": 351,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -2303,7 +2327,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -2318,7 +2342,7 @@
}
},
{
- "id": 349,
+ "id": 350,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -2331,7 +2355,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -2360,7 +2384,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 231,
"character": 2
}
],
@@ -2384,7 +2408,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 195,
+ "line": 207,
"character": 2
}
],
@@ -2398,13 +2422,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [345, 351, 348, 346, 350, 349, 347, 344]
+ "children": [345, 348, 352, 349, 346, 351, 350, 347, 344]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 183,
+ "line": 195,
"character": 17
}
],
@@ -2424,7 +2448,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -2479,7 +2503,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -2522,10 +2546,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 458,
+ "id": 461,
"name": "GenerateLinkParams",
"dereferenced": {
- "id": 458,
+ "id": 461,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -2533,7 +2557,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 407,
+ "line": 443,
"character": 12
}
],
@@ -2542,22 +2566,22 @@
"types": [
{
"type": "reference",
- "id": 433,
+ "id": 436,
"name": "GenerateSignupLinkParams"
},
{
"type": "reference",
- "id": 439,
+ "id": 442,
"name": "GenerateInviteOrMagiclinkParams"
},
{
"type": "reference",
- "id": 444,
+ "id": 447,
"name": "GenerateRecoveryLinkParams"
},
{
"type": "reference",
- "id": 449,
+ "id": 452,
"name": "GenerateEmailChangeLinkParams"
}
]
@@ -2571,7 +2595,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 459,
+ "id": 462,
"name": "GenerateLinkResponse"
}
],
@@ -2626,7 +2650,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -2754,7 +2778,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -2843,7 +2867,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -2961,7 +2985,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -3058,7 +3082,7 @@
},
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
@@ -3152,7 +3176,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 217,
"character": 2
}
],
@@ -3162,7 +3186,31 @@
}
},
{
- "id": 351,
+ "id": 348,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3176,7 +3224,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -3191,7 +3239,7 @@
}
},
{
- "id": 348,
+ "id": 349,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -3204,7 +3252,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -3233,7 +3281,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 224,
"character": 2
}
],
@@ -3243,7 +3291,7 @@
}
},
{
- "id": 350,
+ "id": 351,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -3256,7 +3304,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -3271,7 +3319,7 @@
}
},
{
- "id": 349,
+ "id": 350,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -3284,7 +3332,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -3313,7 +3361,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 231,
"character": 2
}
],
@@ -3337,7 +3385,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 195,
+ "line": 207,
"character": 2
}
],
@@ -3351,13 +3399,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [345, 351, 348, 346, 350, 349, 347, 344]
+ "children": [345, 348, 352, 349, 346, 351, 350, 347, 344]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 183,
+ "line": 195,
"character": 17
}
],
@@ -3377,7 +3425,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -3425,7 +3473,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 104,
+ "line": 105,
"character": 2
}
],
@@ -3448,10 +3496,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 241,
+ "id": 240,
"name": "GoTrueClientOptions",
"dereferenced": {
- "id": 241,
+ "id": 240,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -3466,14 +3514,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 250,
+ "id": 249,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -3493,7 +3541,7 @@
}
},
{
- "id": 249,
+ "id": 248,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -3513,7 +3561,7 @@
}
},
{
- "id": 253,
+ "id": 252,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -3533,7 +3581,7 @@
}
},
{
- "id": 244,
+ "id": 243,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -3550,7 +3598,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 245,
+ "id": 244,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3563,14 +3611,14 @@
}
],
"indexSignature": {
- "id": 246,
+ "id": 245,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 246,
"name": "key",
"kind": 32768,
"flags": {},
@@ -3589,7 +3637,7 @@
}
},
{
- "id": 251,
+ "id": 250,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -3609,7 +3657,7 @@
}
},
{
- "id": 252,
+ "id": 251,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -3625,12 +3673,12 @@
],
"type": {
"type": "reference",
- "id": 480,
+ "id": 483,
"name": "SupportedStorage"
}
},
{
- "id": 248,
+ "id": 247,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -3650,7 +3698,7 @@
}
},
{
- "id": 243,
+ "id": 242,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -3674,7 +3722,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [250, 249, 253, 244, 251, 252, 248, 243]
+ "children": [249, 248, 252, 243, 250, 251, 247, 242]
}
],
"sources": [
@@ -3710,7 +3758,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 68,
+ "line": 69,
"character": 2
}
],
@@ -3729,7 +3777,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 407,
+ "line": 410,
"character": 8
}
],
@@ -3767,7 +3815,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 409,
+ "line": 412,
"character": 8
}
],
@@ -3789,13 +3837,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 410,
+ "line": 413,
"character": 10
}
],
"type": {
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
}
}
@@ -3819,7 +3867,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 412,
+ "line": 415,
"character": 8
}
],
@@ -3856,7 +3904,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 415,
+ "line": 418,
"character": 8
}
],
@@ -3878,7 +3926,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 416,
+ "line": 419,
"character": 10
}
],
@@ -3907,13 +3955,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 418,
+ "line": 421,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -3945,7 +3993,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 421,
+ "line": 424,
"character": 8
}
],
@@ -3967,7 +4015,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 422,
+ "line": 425,
"character": 10
}
],
@@ -3996,7 +4044,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 424,
+ "line": 427,
"character": 8
}
],
@@ -4034,7 +4082,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 470,
+ "line": 473,
"character": 8
}
],
@@ -4071,7 +4119,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -4091,7 +4139,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 130,
+ "line": 131,
"character": 2
}
],
@@ -4110,7 +4158,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 481,
+ "id": 484,
"name": "InitializeResult"
}
],
@@ -4130,7 +4178,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 665,
+ "line": 701,
"character": 2
}
],
@@ -4178,7 +4226,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent"
}
},
@@ -4197,7 +4245,7 @@
},
{
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
}
]
@@ -4232,7 +4280,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 666,
+ "line": 702,
"character": 4
}
],
@@ -4254,13 +4302,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 666,
+ "line": 702,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 352,
+ "id": 353,
"name": "Subscription"
}
}
@@ -4297,7 +4345,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 688,
+ "line": 724,
"character": 8
}
],
@@ -4355,7 +4403,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 692,
+ "line": 728,
"character": 6
}
],
@@ -4378,7 +4426,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 691,
+ "line": 727,
"character": 6
}
],
@@ -4424,7 +4472,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 696,
+ "line": 732,
"character": 8
}
],
@@ -4448,7 +4496,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 697,
+ "line": 733,
"character": 8
}
],
@@ -4485,7 +4533,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 699,
+ "line": 735,
"character": 8
}
],
@@ -4503,13 +4551,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 699,
+ "line": 735,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -4542,7 +4590,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 534,
+ "line": 539,
"character": 8
}
],
@@ -4554,21 +4602,43 @@
"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."
+ "shortText": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token in the current session is invalid and the current session has expired, an error will be thrown.\nIf the current session does not contain at expires_at field, setSession will use the exp claim defined in the access token."
},
"parameters": [
{
"id": 136,
- "name": "refresh_token",
+ "name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A refresh token returned by supabase auth.\n"
+ "shortText": "The current session that minimally contains an access token, refresh token and a user.\n"
},
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 290,
+ "name": "Session"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "access_token"
+ },
+ {
+ "type": "literal",
+ "value": "refresh_token"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
}
}
],
@@ -4577,7 +4647,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -4597,7 +4667,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 306,
+ "line": 307,
"character": 8
}
],
@@ -4620,10 +4690,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 403,
+ "id": 406,
"name": "SignInWithOAuthCredentials",
"dereferenced": {
- "id": 403,
+ "id": 406,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -4631,21 +4701,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 354,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 404,
+ "id": 407,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 406,
+ "id": 409,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -4655,21 +4725,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 357,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 410,
+ "id": 413,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -4682,14 +4752,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 363,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 411,
+ "id": 414,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4697,19 +4767,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 363,
"character": 18
}
],
"indexSignature": {
- "id": 412,
+ "id": 415,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 413,
+ "id": 416,
"name": "key",
"kind": 32768,
"flags": {},
@@ -4728,7 +4798,7 @@
}
},
{
- "id": 408,
+ "id": 411,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -4741,7 +4811,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 323,
+ "line": 359,
"character": 4
}
],
@@ -4751,7 +4821,7 @@
}
},
{
- "id": 409,
+ "id": 412,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -4764,7 +4834,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 361,
"character": 4
}
],
@@ -4778,13 +4848,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [410, 408, 409]
+ "children": [413, 411, 412]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 357,
"character": 12
}
]
@@ -4792,7 +4862,7 @@
}
},
{
- "id": 405,
+ "id": 408,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -4803,13 +4873,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 320,
+ "line": 356,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
}
@@ -4818,13 +4888,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [406, 405]
+ "children": [409, 408]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 354,
"character": 41
}
]
@@ -4839,7 +4909,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 267,
+ "id": 266,
"name": "OAuthResponse"
}
],
@@ -4859,7 +4929,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 321,
+ "line": 322,
"character": 8
}
],
@@ -4882,10 +4952,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 389,
+ "id": 390,
"name": "SignInWithPasswordlessCredentials",
"dereferenced": {
- "id": 389,
+ "id": 390,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -4893,7 +4963,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 294,
+ "line": 318,
"character": 12
}
],
@@ -4903,14 +4973,14 @@
{
"type": "reflection",
"declaration": {
- "id": 390,
+ "id": 391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 391,
+ "id": 392,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -4921,7 +4991,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 297,
+ "line": 321,
"character": 6
}
],
@@ -4931,7 +5001,7 @@
}
},
{
- "id": 392,
+ "id": 393,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -4941,21 +5011,434 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 322,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 393,
+ "id": 394,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
+ {
+ "id": 398,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 334,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 397,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 332,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 395,
+ "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": 324,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
{
"id": 396,
+ "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": 326,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [398, 397, 395, 396]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 322,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [392, 393]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 319,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 399,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 401,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 340,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 402,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 405,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 350,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 404,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 348,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 403,
+ "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": 342,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [405, 404, 403]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 340,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 400,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 339,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [401, 400]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 337,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 253,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 99,
+ "name": "signInWithPassword",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 257,
+ "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": 377,
+ "name": "SignInWithPasswordCredentials",
+ "dereferenced": {
+ "id": 377,
+ "name": "SignInWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 296,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 379,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 299,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 381,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 302,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 382,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 383,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -4976,83 +5459,58 @@
"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]
+ "children": [383]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 302,
"character": 16
}
]
}
}
+ },
+ {
+ "id": 380,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [391, 392]
+ "children": [379, 381, 380]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 295,
+ "line": 297,
"character": 4
}
]
@@ -5061,14 +5519,14 @@
{
"type": "reflection",
"declaration": {
- "id": 397,
+ "id": 384,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 399,
+ "id": 387,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -5078,21 +5536,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 312,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 400,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 402,
+ "id": 389,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -5113,42 +5571,19 @@
"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]
+ "children": [389]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 312,
"character": 16
}
]
@@ -5156,7 +5591,28 @@
}
},
{
- "id": 398,
+ "id": 386,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 311,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 385,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -5181,7 +5637,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [399, 398]
+ "children": [387, 386, 385]
}
],
"sources": [
@@ -5204,345 +5660,7 @@
"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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- ]
- }
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -5562,7 +5680,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 646,
+ "line": 682,
"character": 8
}
],
@@ -5598,7 +5716,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 646,
+ "line": 682,
"character": 29
}
],
@@ -5611,7 +5729,7 @@
},
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
]
@@ -5644,7 +5762,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 193,
+ "line": 194,
"character": 8
}
],
@@ -5668,10 +5786,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 360,
+ "id": 361,
"name": "SignUpWithPasswordCredentials",
"dereferenced": {
- "id": 360,
+ "id": 361,
"name": "SignUpWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -5679,7 +5797,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 261,
"character": 12
}
],
@@ -5689,14 +5807,14 @@
{
"type": "reflection",
"declaration": {
- "id": 361,
+ "id": 362,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 363,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -5707,7 +5825,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 264,
"character": 6
}
],
@@ -5717,7 +5835,7 @@
}
},
{
- "id": 364,
+ "id": 365,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -5727,21 +5845,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 267,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 365,
+ "id": 366,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 368,
+ "id": 369,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -5754,7 +5872,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 253,
+ "line": 277,
"character": 8
}
],
@@ -5764,7 +5882,7 @@
}
},
{
- "id": 367,
+ "id": 368,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5778,7 +5896,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
+ "line": 275,
"character": 8
}
],
@@ -5788,7 +5906,7 @@
}
},
{
- "id": 366,
+ "id": 367,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -5801,7 +5919,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 245,
+ "line": 269,
"character": 8
}
],
@@ -5815,13 +5933,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [368, 367, 366]
+ "children": [369, 368, 367]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 267,
"character": 16
}
]
@@ -5829,7 +5947,7 @@
}
},
{
- "id": 363,
+ "id": 364,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -5840,7 +5958,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 266,
"character": 6
}
],
@@ -5854,13 +5972,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [362, 364, 363]
+ "children": [363, 365, 364]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 262,
"character": 4
}
]
@@ -5869,14 +5987,14 @@
{
"type": "reflection",
"declaration": {
- "id": 369,
+ "id": 370,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 372,
+ "id": 373,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -5886,21 +6004,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 285,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 373,
+ "id": 374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 376,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -5913,7 +6031,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 269,
+ "line": 293,
"character": 8
}
],
@@ -5923,7 +6041,7 @@
}
},
{
- "id": 374,
+ "id": 375,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5937,7 +6055,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 267,
+ "line": 291,
"character": 8
}
],
@@ -5951,13 +6069,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [375, 374]
+ "children": [376, 375]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 285,
"character": 16
}
]
@@ -5965,7 +6083,7 @@
}
},
{
- "id": 371,
+ "id": 372,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -5976,7 +6094,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 260,
+ "line": 284,
"character": 6
}
],
@@ -5986,7 +6104,7 @@
}
},
{
- "id": 370,
+ "id": 371,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -5997,7 +6115,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 258,
+ "line": 282,
"character": 6
}
],
@@ -6011,13 +6129,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [372, 371, 370]
+ "children": [373, 372, 371]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 256,
+ "line": 280,
"character": 4
}
]
@@ -6034,7 +6152,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -6054,7 +6172,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 499,
+ "line": 502,
"character": 8
}
],
@@ -6101,7 +6219,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -6124,7 +6242,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -6147,7 +6265,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -6170,7 +6288,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -6190,7 +6308,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 158,
+ "line": 170,
"character": 17
}
],
@@ -6210,7 +6328,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 280,
+ "id": 279,
"name": "UserResponse"
}
],
@@ -6230,7 +6348,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 363,
+ "line": 366,
"character": 8
}
],
@@ -6253,10 +6371,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 414,
+ "id": 417,
"name": "VerifyOtpParams",
"dereferenced": {
- "id": 414,
+ "id": 417,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6264,7 +6382,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 331,
+ "line": 367,
"character": 12
}
],
@@ -6273,12 +6391,12 @@
"types": [
{
"type": "reference",
- "id": 415,
+ "id": 418,
"name": "VerifyMobileOtpParams"
},
{
"type": "reference",
- "id": 423,
+ "id": 426,
"name": "VerifyEmailOtpParams"
}
]
@@ -6292,7 +6410,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 254,
+ "id": 253,
"name": "AuthResponse"
}
],
@@ -6324,7 +6442,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 63,
+ "line": 64,
"character": 21
}
]
@@ -6351,7 +6469,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 217,
"character": 2
}
],
@@ -6361,7 +6479,31 @@
}
},
{
- "id": 351,
+ "id": 348,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 243,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6375,7 +6517,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -6390,7 +6532,7 @@
}
},
{
- "id": 348,
+ "id": 349,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6403,7 +6545,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -6432,7 +6574,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 224,
"character": 2
}
],
@@ -6442,7 +6584,7 @@
}
},
{
- "id": 350,
+ "id": 351,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -6455,7 +6597,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -6470,7 +6612,7 @@
}
},
{
- "id": 349,
+ "id": 350,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -6483,7 +6625,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -6512,7 +6654,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 231,
"character": 2
}
],
@@ -6536,7 +6678,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 195,
+ "line": 207,
"character": 2
}
],
@@ -6550,13 +6692,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [345, 351, 348, 346, 350, 349, 347, 344]
+ "children": [345, 348, 352, 349, 346, 351, 350, 347, 344]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 183,
+ "line": 195,
"character": 17
}
],
@@ -6569,14 +6711,14 @@
]
},
{
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 459,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6590,7 +6732,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 402,
+ "line": 438,
"character": 2
}
],
@@ -6600,7 +6742,7 @@
}
},
{
- "id": 457,
+ "id": 460,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -6613,7 +6755,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 404,
+ "line": 440,
"character": 2
}
],
@@ -6627,19 +6769,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [456, 457]
+ "children": [459, 460]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 396,
+ "line": 432,
"character": 17
}
]
},
{
- "id": 291,
+ "id": 290,
"name": "Session",
"kind": 256,
"kindString": "Interface",
@@ -6657,7 +6799,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 101,
+ "line": 109,
"character": 2
}
],
@@ -6680,7 +6822,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 113,
+ "line": 121,
"character": 2
}
],
@@ -6701,7 +6843,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 109,
+ "line": 117,
"character": 2
}
],
@@ -6712,16 +6854,51 @@
},
{
"id": 292,
+ "name": "provider_refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 105,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 291,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 97,
+ "line": 100,
"character": 2
}
],
@@ -6751,7 +6928,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 105,
+ "line": 113,
"character": 2
}
],
@@ -6769,7 +6946,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 114,
+ "line": 122,
"character": 2
}
],
@@ -6787,13 +6964,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 115,
+ "line": 123,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -6802,7 +6979,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [293, 296, 295, 292, 294, 297, 298]
+ "children": [293, 296, 295, 292, 291, 294, 297, 298]
}
],
"sources": [
@@ -6814,14 +6991,14 @@
]
},
{
- "id": 352,
+ "id": 353,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 353,
+ "id": 354,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -6832,7 +7009,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 226,
+ "line": 250,
"character": 2
}
],
@@ -6842,7 +7019,7 @@
}
},
{
- "id": 354,
+ "id": 355,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -6850,13 +7027,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 254,
"character": 2
}
],
"signatures": [
{
- "id": 355,
+ "id": 356,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -6866,17 +7043,17 @@
},
"parameters": [
{
- "id": 356,
+ "id": 357,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent",
"dereferenced": {
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -6921,7 +7098,7 @@
}
},
{
- "id": 357,
+ "id": 358,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -6935,7 +7112,7 @@
},
{
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
}
]
@@ -6950,7 +7127,7 @@
]
},
{
- "id": 358,
+ "id": 359,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -6958,13 +7135,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 234,
+ "line": 258,
"character": 2
}
],
"signatures": [
{
- "id": 359,
+ "id": 360,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -6984,24 +7161,24 @@
{
"title": "Properties",
"kind": 1024,
- "children": [353]
+ "children": [354]
},
{
"title": "Methods",
"kind": 2048,
- "children": [354, 358]
+ "children": [355, 359]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 222,
+ "line": 246,
"character": 17
}
]
},
{
- "id": 310,
+ "id": 317,
"name": "User",
"kind": 256,
"kindString": "Interface",
@@ -7018,7 +7195,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 145,
+ "line": 157,
"character": 2
}
],
@@ -7028,7 +7205,7 @@
}
},
{
- "id": 312,
+ "id": 319,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -7036,71 +7213,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 132,
+ "line": 149,
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 310,
+ "name": "UserAppMetadata"
}
},
{
@@ -7112,7 +7232,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 139,
+ "line": 151,
"character": 2
}
],
@@ -7132,7 +7252,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 140,
+ "line": 152,
"character": 2
}
],
@@ -7152,7 +7272,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 149,
+ "line": 161,
"character": 2
}
],
@@ -7170,7 +7290,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 148,
+ "line": 160,
"character": 2
}
],
@@ -7190,7 +7310,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 146,
+ "line": 158,
"character": 2
}
],
@@ -7210,7 +7330,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 142,
+ "line": 154,
"character": 2
}
],
@@ -7230,7 +7350,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 150,
+ "line": 162,
"character": 2
}
],
@@ -7240,7 +7360,7 @@
}
},
{
- "id": 311,
+ "id": 318,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -7248,7 +7368,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 131,
+ "line": 148,
"character": 2
}
],
@@ -7268,7 +7388,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 155,
+ "line": 167,
"character": 2
}
],
@@ -7292,7 +7412,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 144,
+ "line": 156,
"character": 2
}
],
@@ -7312,7 +7432,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 152,
+ "line": 164,
"character": 2
}
],
@@ -7332,7 +7452,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 143,
+ "line": 155,
"character": 2
}
],
@@ -7352,7 +7472,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 147,
+ "line": 159,
"character": 2
}
],
@@ -7372,7 +7492,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 151,
+ "line": 163,
"character": 2
}
],
@@ -7392,7 +7512,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 141,
+ "line": 153,
"character": 2
}
],
@@ -7412,7 +7532,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 153,
+ "line": 165,
"character": 2
}
],
@@ -7432,7 +7552,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 154,
+ "line": 166,
"character": 2
}
],
@@ -7442,7 +7562,7 @@
}
},
{
- "id": 317,
+ "id": 320,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -7450,42 +7570,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 136,
+ "line": 150,
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 314,
+ "name": "UserMetadata"
}
}
],
@@ -7494,19 +7586,85 @@
"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, 319, 321, 322, 331, 330, 328, 324, 332, 318, 337, 326, 334, 325, 329, 333, 323,
+ 335, 336, 320
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 130,
+ "line": 147,
"character": 17
}
]
},
+ {
+ "id": 310,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 311,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 139,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [311]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 138,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 312,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 313,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
{
"id": 338,
"name": "UserAttributes",
@@ -7529,7 +7687,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 180,
+ "line": 192,
"character": 2
}
],
@@ -7552,7 +7710,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 174,
"character": 2
}
],
@@ -7575,7 +7733,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 184,
"character": 2
}
],
@@ -7598,7 +7756,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 179,
"character": 2
}
],
@@ -7618,7 +7776,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 158,
+ "line": 170,
"character": 17
}
],
@@ -7646,7 +7804,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 125,
+ "line": 133,
"character": 2
}
],
@@ -7664,7 +7822,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 119,
+ "line": 127,
"character": 2
}
],
@@ -7682,7 +7840,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 121,
+ "line": 129,
"character": 2
}
],
@@ -7729,7 +7887,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 126,
+ "line": 134,
"character": 2
}
],
@@ -7747,7 +7905,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 124,
+ "line": 132,
"character": 2
}
],
@@ -7767,7 +7925,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 127,
+ "line": 135,
"character": 2
}
],
@@ -7785,7 +7943,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 120,
+ "line": 128,
"character": 2
}
],
@@ -7805,20 +7963,57 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 118,
+ "line": 126,
"character": 17
}
]
},
{
- "id": 423,
+ "id": 314,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 143,
+ "character": 17
+ }
+ ],
+ "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": 426,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 424,
+ "id": 427,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -7829,7 +8024,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 348,
+ "line": 384,
"character": 2
}
],
@@ -7839,7 +8034,7 @@
}
},
{
- "id": 427,
+ "id": 430,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -7849,21 +8044,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 353,
+ "line": 389,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 428,
+ "id": 431,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 430,
+ "id": 433,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -7876,7 +8071,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 357,
+ "line": 393,
"character": 4
}
],
@@ -7886,7 +8081,7 @@
}
},
{
- "id": 429,
+ "id": 432,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -7899,7 +8094,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 355,
+ "line": 391,
"character": 4
}
],
@@ -7913,14 +8108,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [430, 429]
+ "children": [433, 432]
}
]
}
}
},
{
- "id": 425,
+ "id": 428,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -7931,7 +8126,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 386,
"character": 2
}
],
@@ -7941,7 +8136,7 @@
}
},
{
- "id": 426,
+ "id": 429,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7952,13 +8147,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 388,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 432,
+ "id": 435,
"name": "EmailOtpType"
}
}
@@ -7967,26 +8162,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [424, 427, 425, 426]
+ "children": [427, 430, 428, 429]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 346,
+ "line": 382,
"character": 17
}
]
},
{
- "id": 415,
+ "id": 418,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 419,
+ "id": 422,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -7996,21 +8191,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 339,
+ "line": 375,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 420,
+ "id": 423,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 422,
+ "id": 425,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -8023,7 +8218,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 343,
+ "line": 379,
"character": 4
}
],
@@ -8033,7 +8228,7 @@
}
},
{
- "id": 421,
+ "id": 424,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -8046,7 +8241,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 341,
+ "line": 377,
"character": 4
}
],
@@ -8060,14 +8255,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [422, 421]
+ "children": [425, 424]
}
]
}
}
},
{
- "id": 416,
+ "id": 419,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -8078,7 +8273,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 370,
"character": 2
}
],
@@ -8088,7 +8283,7 @@
}
},
{
- "id": 417,
+ "id": 420,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -8099,7 +8294,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 336,
+ "line": 372,
"character": 2
}
],
@@ -8109,7 +8304,7 @@
}
},
{
- "id": 418,
+ "id": 421,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -8120,13 +8315,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 338,
+ "line": 374,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 431,
+ "id": 434,
"name": "MobileOtpType"
}
}
@@ -8135,19 +8330,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [419, 416, 417, 418]
+ "children": [422, 419, 420, 421]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 332,
+ "line": 368,
"character": 17
}
]
},
{
- "id": 240,
+ "id": 239,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -8190,7 +8385,7 @@
}
},
{
- "id": 254,
+ "id": 253,
"name": "AuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -8208,14 +8403,14 @@
{
"type": "reflection",
"declaration": {
- "id": 255,
+ "id": 254,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 256,
+ "id": 255,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8230,14 +8425,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 257,
+ "id": 256,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 259,
+ "id": 258,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -8254,7 +8449,7 @@
"types": [
{
"type": "reference",
- "id": 291,
+ "id": 290,
"name": "Session"
},
{
@@ -8265,7 +8460,7 @@
}
},
{
- "id": 258,
+ "id": 257,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -8282,7 +8477,7 @@
"types": [
{
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
},
{
@@ -8297,7 +8492,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [259, 258]
+ "children": [258, 257]
}
],
"sources": [
@@ -8311,7 +8506,7 @@
}
},
{
- "id": 260,
+ "id": 259,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8333,7 +8528,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [256, 260]
+ "children": [255, 259]
}
],
"sources": [
@@ -8348,14 +8543,14 @@
{
"type": "reflection",
"declaration": {
- "id": 261,
+ "id": 260,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 262,
+ "id": 261,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8370,14 +8565,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 263,
+ "id": 262,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 265,
+ "id": 264,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -8395,7 +8590,7 @@
}
},
{
- "id": 264,
+ "id": 263,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -8417,7 +8612,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [265, 264]
+ "children": [264, 263]
}
],
"sources": [
@@ -8431,7 +8626,7 @@
}
},
{
- "id": 266,
+ "id": 265,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8445,7 +8640,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -8454,7 +8649,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [262, 266]
+ "children": [261, 265]
}
],
"sources": [
@@ -8470,7 +8665,7 @@
}
},
{
- "id": 484,
+ "id": 487,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -8478,76 +8673,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 508,
"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": {
@@ -8566,14 +8698,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 511,
"character": 6
}
],
"type": {
- "type": "reference",
- "id": 494,
- "name": "AuthError"
+ "type": "literal",
+ "value": null
}
},
{
@@ -8585,13 +8716,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 478,
+ "line": 510,
"character": 6
}
],
"type": {
- "type": "literal",
- "value": null
+ "type": "reference",
+ "id": 290,
+ "name": "Session"
}
}
],
@@ -8605,7 +8737,70 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 477,
+ "line": 509,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 491,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 493,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 515,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 497,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 492,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 514,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [493, 492]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 513,
"character": 4
}
]
@@ -8615,7 +8810,7 @@
}
},
{
- "id": 432,
+ "id": 435,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -8623,7 +8818,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 362,
+ "line": 398,
"character": 12
}
],
@@ -8654,7 +8849,7 @@
}
},
{
- "id": 449,
+ "id": 452,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8662,21 +8857,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 421,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 450,
+ "id": 453,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 452,
+ "id": 455,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -8687,7 +8882,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 388,
+ "line": 424,
"character": 2
}
],
@@ -8697,7 +8892,7 @@
}
},
{
- "id": 453,
+ "id": 456,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -8708,7 +8903,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 428,
"character": 2
}
],
@@ -8718,7 +8913,7 @@
}
},
{
- "id": 454,
+ "id": 457,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -8728,7 +8923,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 393,
+ "line": 429,
"character": 2
}
],
@@ -8737,7 +8932,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -8751,7 +8946,7 @@
}
},
{
- "id": 451,
+ "id": 454,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -8759,7 +8954,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 422,
"character": 2
}
],
@@ -8782,13 +8977,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [452, 453, 454, 451]
+ "children": [455, 456, 457, 454]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 421,
"character": 44
}
]
@@ -8796,7 +8991,7 @@
}
},
{
- "id": 439,
+ "id": 442,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8804,21 +8999,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 407,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 440,
+ "id": 443,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 442,
+ "id": 445,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -8829,7 +9024,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 374,
+ "line": 410,
"character": 2
}
],
@@ -8839,7 +9034,7 @@
}
},
{
- "id": 443,
+ "id": 446,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -8849,7 +9044,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 375,
+ "line": 411,
"character": 2
}
],
@@ -8858,7 +9053,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -8881,7 +9076,7 @@
}
},
{
- "id": 441,
+ "id": 444,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -8889,7 +9084,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 372,
+ "line": 408,
"character": 2
}
],
@@ -8912,13 +9107,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [442, 443, 441]
+ "children": [445, 446, 444]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 407,
"character": 46
}
]
@@ -8926,7 +9121,7 @@
}
},
{
- "id": 458,
+ "id": 461,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8934,7 +9129,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 407,
+ "line": 443,
"character": 12
}
],
@@ -8943,29 +9138,29 @@
"types": [
{
"type": "reference",
- "id": 433,
+ "id": 436,
"name": "GenerateSignupLinkParams"
},
{
"type": "reference",
- "id": 439,
+ "id": 442,
"name": "GenerateInviteOrMagiclinkParams"
},
{
"type": "reference",
- "id": 444,
+ "id": 447,
"name": "GenerateRecoveryLinkParams"
},
{
"type": "reference",
- "id": 449,
+ "id": 452,
"name": "GenerateEmailChangeLinkParams"
}
]
}
},
{
- "id": 472,
+ "id": 475,
"name": "GenerateLinkProperties",
"kind": 4194304,
"kindString": "Type alias",
@@ -8976,21 +9171,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 430,
+ "line": 466,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 473,
+ "id": 476,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 474,
+ "id": 477,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -9001,70 +9196,7 @@
"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,
+ "line": 471,
"character": 2
}
],
@@ -9075,6 +9207,69 @@
},
{
"id": 478,
+ "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": 476,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 479,
+ "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": 480,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 480,
+ "name": "redirect_to",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The URL appended to the action link."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 482,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 481,
"name": "verification_type",
"kind": 1024,
"kindString": "Property",
@@ -9085,13 +9280,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 484,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 479,
+ "id": 482,
"name": "GenerateLinkType"
}
}
@@ -9100,13 +9295,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [474, 475, 476, 477, 478]
+ "children": [477, 478, 479, 480, 481]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 430,
+ "line": 466,
"character": 37
}
]
@@ -9114,7 +9309,7 @@
}
},
{
- "id": 459,
+ "id": 462,
"name": "GenerateLinkResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -9122,7 +9317,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 449,
"character": 12
}
],
@@ -9132,14 +9327,14 @@
{
"type": "reflection",
"declaration": {
- "id": 460,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 461,
+ "id": 464,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9147,21 +9342,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 415,
+ "line": 451,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 462,
+ "id": 465,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 463,
+ "id": 466,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -9169,18 +9364,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 416,
+ "line": 452,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 472,
+ "id": 475,
"name": "GenerateLinkProperties"
}
},
{
- "id": 464,
+ "id": 467,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9188,13 +9383,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 417,
+ "line": 453,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -9203,13 +9398,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [463, 464]
+ "children": [466, 467]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 415,
+ "line": 451,
"character": 12
}
]
@@ -9217,7 +9412,7 @@
}
},
{
- "id": 465,
+ "id": 468,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9225,7 +9420,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 419,
+ "line": 455,
"character": 6
}
],
@@ -9239,13 +9434,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [461, 465]
+ "children": [464, 468]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 414,
+ "line": 450,
"character": 4
}
]
@@ -9254,14 +9449,14 @@
{
"type": "reflection",
"declaration": {
- "id": 466,
+ "id": 469,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 467,
+ "id": 470,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9269,21 +9464,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 422,
+ "line": 458,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 468,
+ "id": 471,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 469,
+ "id": 472,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -9291,7 +9486,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 423,
+ "line": 459,
"character": 8
}
],
@@ -9301,7 +9496,7 @@
}
},
{
- "id": 470,
+ "id": 473,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9309,7 +9504,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 424,
+ "line": 460,
"character": 8
}
],
@@ -9323,13 +9518,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [469, 470]
+ "children": [472, 473]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 422,
+ "line": 458,
"character": 12
}
]
@@ -9337,7 +9532,7 @@
}
},
{
- "id": 471,
+ "id": 474,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9345,13 +9540,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 426,
+ "line": 462,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -9360,13 +9555,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [467, 471]
+ "children": [470, 474]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 421,
+ "line": 457,
"character": 4
}
]
@@ -9376,7 +9571,7 @@
}
},
{
- "id": 479,
+ "id": 482,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -9384,7 +9579,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 487,
"character": 12
}
],
@@ -9419,7 +9614,7 @@
}
},
{
- "id": 444,
+ "id": 447,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9427,21 +9622,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 414,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 445,
+ "id": 448,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 447,
+ "id": 450,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9452,7 +9647,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 417,
"character": 2
}
],
@@ -9462,7 +9657,7 @@
}
},
{
- "id": 448,
+ "id": 451,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9472,7 +9667,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 382,
+ "line": 418,
"character": 2
}
],
@@ -9481,7 +9676,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -9495,7 +9690,7 @@
}
},
{
- "id": 446,
+ "id": 449,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9503,7 +9698,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 379,
+ "line": 415,
"character": 2
}
],
@@ -9517,13 +9712,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [447, 448, 446]
+ "children": [450, 451, 449]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 414,
"character": 41
}
]
@@ -9531,7 +9726,7 @@
}
},
{
- "id": 433,
+ "id": 436,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9539,21 +9734,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 364,
+ "line": 400,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 434,
+ "id": 437,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 436,
+ "id": 439,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9561,7 +9756,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 366,
+ "line": 402,
"character": 2
}
],
@@ -9571,7 +9766,7 @@
}
},
{
- "id": 438,
+ "id": 441,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9581,7 +9776,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 404,
"character": 2
}
],
@@ -9590,7 +9785,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 455,
+ "id": 458,
"name": "GenerateLinkOptions"
},
{
@@ -9613,7 +9808,7 @@
}
},
{
- "id": 437,
+ "id": 440,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -9621,7 +9816,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 367,
+ "line": 403,
"character": 2
}
],
@@ -9631,7 +9826,7 @@
}
},
{
- "id": 435,
+ "id": 438,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9639,7 +9834,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 365,
+ "line": 401,
"character": 2
}
],
@@ -9653,13 +9848,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [436, 438, 437, 435]
+ "children": [439, 441, 440, 438]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 364,
+ "line": 400,
"character": 39
}
]
@@ -9667,7 +9862,7 @@
}
},
{
- "id": 241,
+ "id": 240,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -9682,14 +9877,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 250,
+ "id": 249,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -9709,7 +9904,7 @@
}
},
{
- "id": 249,
+ "id": 248,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -9729,7 +9924,7 @@
}
},
{
- "id": 253,
+ "id": 252,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -9749,7 +9944,7 @@
}
},
{
- "id": 244,
+ "id": 243,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -9766,7 +9961,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 245,
+ "id": 244,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9779,14 +9974,14 @@
}
],
"indexSignature": {
- "id": 246,
+ "id": 245,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 246,
"name": "key",
"kind": 32768,
"flags": {},
@@ -9805,7 +10000,7 @@
}
},
{
- "id": 251,
+ "id": 250,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -9825,7 +10020,7 @@
}
},
{
- "id": 252,
+ "id": 251,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -9841,12 +10036,12 @@
],
"type": {
"type": "reference",
- "id": 480,
+ "id": 483,
"name": "SupportedStorage"
}
},
{
- "id": 248,
+ "id": 247,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -9866,7 +10061,7 @@
}
},
{
- "id": 243,
+ "id": 242,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -9890,7 +10085,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [250, 249, 253, 244, 251, 252, 248, 243]
+ "children": [249, 248, 252, 243, 250, 251, 247, 242]
}
],
"sources": [
@@ -9904,7 +10099,7 @@
}
},
{
- "id": 481,
+ "id": 484,
"name": "InitializeResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -9912,21 +10107,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 506,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 482,
+ "id": 485,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 483,
+ "id": 486,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9934,7 +10129,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 506,
"character": 33
}
],
@@ -9943,7 +10138,7 @@
"types": [
{
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
},
{
@@ -9958,13 +10153,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [483]
+ "children": [486]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 506,
"character": 31
}
]
@@ -9972,7 +10167,7 @@
}
},
{
- "id": 431,
+ "id": 434,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -9980,7 +10175,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 361,
+ "line": 397,
"character": 12
}
],
@@ -9999,7 +10194,7 @@
}
},
{
- "id": 267,
+ "id": 266,
"name": "OAuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -10017,14 +10212,14 @@
{
"type": "reflection",
"declaration": {
- "id": 268,
+ "id": 267,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 269,
+ "id": 268,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10039,14 +10234,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 270,
+ "id": 269,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 271,
+ "id": 270,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -10060,12 +10255,12 @@
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
},
{
- "id": 272,
+ "id": 271,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -10087,7 +10282,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [271, 272]
+ "children": [270, 271]
}
],
"sources": [
@@ -10101,7 +10296,7 @@
}
},
{
- "id": 273,
+ "id": 272,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -10123,7 +10318,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [269, 273]
+ "children": [268, 272]
}
],
"sources": [
@@ -10138,14 +10333,14 @@
{
"type": "reflection",
"declaration": {
- "id": 274,
+ "id": 273,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 275,
+ "id": 274,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10160,14 +10355,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 276,
+ "id": 275,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 277,
+ "id": 276,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -10181,12 +10376,12 @@
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
},
{
- "id": 278,
+ "id": 277,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -10208,7 +10403,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [277, 278]
+ "children": [276, 277]
}
],
"sources": [
@@ -10222,7 +10417,7 @@
}
},
{
- "id": 279,
+ "id": 278,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -10236,7 +10431,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -10245,7 +10440,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [275, 279]
+ "children": [274, 278]
}
],
"sources": [
@@ -10261,7 +10456,7 @@
}
},
{
- "id": 239,
+ "id": 238,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -10347,7 +10542,7 @@
}
},
{
- "id": 403,
+ "id": 406,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -10355,21 +10550,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 354,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 404,
+ "id": 407,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 406,
+ "id": 409,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10379,21 +10574,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 357,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 407,
+ "id": 410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 410,
+ "id": 413,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -10406,14 +10601,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 363,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 411,
+ "id": 414,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10421,19 +10616,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 327,
+ "line": 363,
"character": 18
}
],
"indexSignature": {
- "id": 412,
+ "id": 415,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 413,
+ "id": 416,
"name": "key",
"kind": 32768,
"flags": {},
@@ -10452,7 +10647,7 @@
}
},
{
- "id": 408,
+ "id": 411,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -10465,7 +10660,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 323,
+ "line": 359,
"character": 4
}
],
@@ -10475,7 +10670,7 @@
}
},
{
- "id": 409,
+ "id": 412,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -10488,7 +10683,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 361,
"character": 4
}
],
@@ -10502,13 +10697,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [410, 408, 409]
+ "children": [413, 411, 412]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 357,
"character": 12
}
]
@@ -10516,7 +10711,7 @@
}
},
{
- "id": 405,
+ "id": 408,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -10527,13 +10722,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 320,
+ "line": 356,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 239,
+ "id": 238,
"name": "Provider"
}
}
@@ -10542,13 +10737,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [406, 405]
+ "children": [409, 408]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 318,
+ "line": 354,
"character": 41
}
]
@@ -10556,7 +10751,7 @@
}
},
{
- "id": 376,
+ "id": 377,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -10564,7 +10759,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 272,
+ "line": 296,
"character": 12
}
],
@@ -10574,299 +10769,14 @@
{
"type": "reflection",
"declaration": {
- "id": 377,
+ "id": 378,
"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",
@@ -10877,7 +10787,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 297,
+ "line": 299,
"character": 6
}
],
@@ -10887,7 +10797,7 @@
}
},
{
- "id": 392,
+ "id": 381,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10897,21 +10807,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 302,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 393,
+ "id": 382,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 396,
+ "id": 383,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -10932,83 +10842,58 @@
"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]
+ "children": [383]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 298,
+ "line": 302,
"character": 16
}
]
}
}
+ },
+ {
+ "id": 380,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [391, 392]
+ "children": [379, 381, 380]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 295,
+ "line": 297,
"character": 4
}
]
@@ -11017,14 +10902,14 @@
{
"type": "reflection",
"declaration": {
- "id": 397,
+ "id": 384,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 399,
+ "id": 387,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -11034,21 +10919,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 312,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 400,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 402,
+ "id": 389,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -11069,42 +10954,19 @@
"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]
+ "children": [389]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 312,
"character": 16
}
]
@@ -11112,7 +10974,28 @@
}
},
{
- "id": 398,
+ "id": 386,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 311,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 385,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -11137,7 +11020,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [399, 398]
+ "children": [387, 386, 385]
}
],
"sources": [
@@ -11153,15 +11036,15 @@
}
},
{
- "id": 360,
- "name": "SignUpWithPasswordCredentials",
+ "id": 390,
+ "name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 318,
"character": 12
}
],
@@ -11171,14 +11054,14 @@
{
"type": "reflection",
"declaration": {
- "id": 361,
+ "id": 391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 362,
+ "id": 392,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -11189,7 +11072,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 321,
"character": 6
}
],
@@ -11199,7 +11082,7 @@
}
},
{
- "id": 364,
+ "id": 393,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -11209,21 +11092,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 322,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 365,
+ "id": 394,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 368,
+ "id": 398,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -11236,7 +11119,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 253,
+ "line": 334,
"character": 8
}
],
@@ -11246,7 +11129,7 @@
}
},
{
- "id": 367,
+ "id": 397,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11260,7 +11143,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 251,
+ "line": 332,
"character": 8
}
],
@@ -11270,7 +11153,7 @@
}
},
{
- "id": 366,
+ "id": 395,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -11283,7 +11166,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 245,
+ "line": 324,
"character": 8
}
],
@@ -11291,58 +11174,60 @@
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 396,
+ "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": 326,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [368, 367, 366]
+ "children": [398, 397, 395, 396]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 322,
"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]
+ "children": [392, 393]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 319,
"character": 4
}
]
@@ -11351,14 +11236,14 @@
{
"type": "reflection",
"declaration": {
- "id": 369,
+ "id": 399,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 372,
+ "id": 401,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -11368,21 +11253,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 340,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 373,
+ "id": 402,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 405,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -11395,7 +11280,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 269,
+ "line": 350,
"character": 8
}
],
@@ -11405,7 +11290,7 @@
}
},
{
- "id": 374,
+ "id": 404,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11419,7 +11304,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 267,
+ "line": 348,
"character": 8
}
],
@@ -11427,19 +11312,42 @@
"type": "intrinsic",
"name": "object"
}
+ },
+ {
+ "id": 403,
+ "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": 342,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [375, 374]
+ "children": [405, 404, 403]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 261,
+ "line": 340,
"character": 16
}
]
@@ -11447,28 +11355,7 @@
}
},
{
- "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,
+ "id": 400,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -11479,7 +11366,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 258,
+ "line": 339,
"character": 6
}
],
@@ -11493,13 +11380,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [372, 371, 370]
+ "children": [401, 400]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 256,
+ "line": 337,
"character": 4
}
]
@@ -11509,7 +11396,363 @@
}
},
{
- "id": 480,
+ "id": 361,
+ "name": "SignUpWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 261,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 362,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 363,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 264,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 365,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 267,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 366,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 369,
+ "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": 277,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 368,
+ "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": 275,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 367,
+ "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": 269,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [369, 368, 367]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 267,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 364,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 266,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [363, 365, 364]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 262,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 370,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 373,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 285,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 374,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 376,
+ "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": 293,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 375,
+ "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": 291,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [376, 375]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 285,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 372,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 371,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 282,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [373, 372, 371]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 280,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 483,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -11517,7 +11760,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 468,
+ "line": 504,
"character": 12
}
],
@@ -11560,7 +11803,7 @@
}
},
{
- "id": 280,
+ "id": 279,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -11578,14 +11821,14 @@
{
"type": "reflection",
"declaration": {
- "id": 281,
+ "id": 280,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 282,
+ "id": 281,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11600,14 +11843,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 283,
+ "id": 282,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 284,
+ "id": 283,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -11621,7 +11864,7 @@
],
"type": {
"type": "reference",
- "id": 310,
+ "id": 317,
"name": "User"
}
}
@@ -11630,7 +11873,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [284]
+ "children": [283]
}
],
"sources": [
@@ -11644,7 +11887,7 @@
}
},
{
- "id": 285,
+ "id": 284,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -11666,7 +11909,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [282, 285]
+ "children": [281, 284]
}
],
"sources": [
@@ -11681,14 +11924,14 @@
{
"type": "reflection",
"declaration": {
- "id": 286,
+ "id": 285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 287,
+ "id": 286,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11703,14 +11946,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 288,
+ "id": 287,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 289,
+ "id": 288,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -11732,7 +11975,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [289]
+ "children": [288]
}
],
"sources": [
@@ -11746,7 +11989,7 @@
}
},
{
- "id": 290,
+ "id": 289,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -11760,7 +12003,7 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -11769,7 +12012,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [287, 290]
+ "children": [286, 289]
}
],
"sources": [
@@ -11785,7 +12028,7 @@
}
},
{
- "id": 414,
+ "id": 417,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11793,7 +12036,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 331,
+ "line": 367,
"character": 12
}
],
@@ -11802,19 +12045,19 @@
"types": [
{
"type": "reference",
- "id": 415,
+ "id": 418,
"name": "VerifyMobileOtpParams"
},
{
"type": "reference",
- "id": 423,
+ "id": 426,
"name": "VerifyEmailOtpParams"
}
]
}
},
{
- "id": 491,
+ "id": 494,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -11828,14 +12071,14 @@
],
"signatures": [
{
- "id": 492,
+ "id": 495,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 493,
+ "id": 496,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -11852,7 +12095,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 494,
+ "id": 497,
"name": "AuthError"
}
}
@@ -11864,25 +12107,25 @@
{
"title": "Classes",
"kind": 128,
- "children": [499, 494, 559, 546, 584, 534, 512, 519, 1, 66]
+ "children": [502, 497, 562, 549, 587, 537, 515, 522, 1, 66]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [343, 455, 291, 352, 310, 338, 299, 423, 415]
+ "children": [343, 458, 290, 353, 317, 310, 338, 299, 314, 426, 418]
},
{
"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
+ 239, 253, 487, 435, 452, 442, 461, 475, 462, 482, 447, 436, 240, 484, 434, 266, 238, 406,
+ 377, 390, 361, 483, 279, 417
]
},
{
"title": "Functions",
"kind": 64,
- "children": [491]
+ "children": [494]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v2/postgrest.json b/spec/enrichments/tsdoc_v2/postgrest.json
index 9f28fa4b0c1..dd02fdd3c9b 100644
--- a/spec/enrichments/tsdoc_v2/postgrest.json
+++ b/spec/enrichments/tsdoc_v2/postgrest.json
@@ -7,7 +7,7 @@
"originalName": "",
"children": [
{
- "id": 486,
+ "id": 498,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -16,7 +16,7 @@
},
"children": [
{
- "id": 487,
+ "id": 499,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -25,19 +25,20 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 18,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
}
],
"signatures": [
{
- "id": 488,
+ "id": 500,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 489,
+ "id": 501,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -46,18 +47,18 @@
],
"parameters": [
{
- "id": 490,
+ "id": 502,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -67,11 +68,11 @@
],
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -81,7 +82,7 @@
]
},
{
- "id": 503,
+ "id": 515,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -92,7 +93,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -101,7 +103,7 @@
}
},
{
- "id": 495,
+ "id": 507,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -113,7 +115,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -122,7 +125,7 @@
}
},
{
- "id": 498,
+ "id": 510,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -133,27 +136,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 500,
+ "id": 512,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 501,
+ "id": 513,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -163,21 +174,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 502,
+ "id": 514,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -186,9 +197,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -197,14 +208,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -212,7 +223,7 @@
}
},
{
- "id": 493,
+ "id": 505,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -223,7 +234,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -238,13 +250,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 491,
+ "id": 503,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -255,7 +267,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -285,7 +298,7 @@
}
},
{
- "id": 494,
+ "id": 506,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -297,7 +310,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -306,7 +320,7 @@
}
},
{
- "id": 496,
+ "id": 508,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -317,7 +331,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -327,7 +342,7 @@
"defaultValue": "false"
},
{
- "id": 497,
+ "id": 509,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -339,18 +354,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
},
{
- "id": 492,
+ "id": 504,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -361,18 +377,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 506,
+ "id": 518,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -381,30 +398,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 507,
+ "id": 519,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 508,
+ "id": 520,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -412,7 +430,7 @@
}
},
{
- "id": 509,
+ "id": 521,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -425,7 +443,7 @@
],
"parameters": [
{
- "id": 510,
+ "id": 522,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -442,32 +460,40 @@
{
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 523,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 512,
+ "id": 524,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 513,
+ "id": 525,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -480,7 +506,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -488,13 +514,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -506,7 +532,7 @@
}
},
{
- "id": 514,
+ "id": 526,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -523,21 +549,29 @@
{
"type": "reflection",
"declaration": {
- "id": 515,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 516,
+ "id": 528,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 517,
+ "id": 529,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -553,7 +587,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -561,13 +595,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -587,20 +621,20 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"implementationOf": {
"type": "reference",
@@ -614,7 +648,7 @@
}
},
{
- "id": 504,
+ "id": 516,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -623,27 +657,38 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 505,
+ "id": 517,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -656,30 +701,28 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [487]
+ "children": [499]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [503, 495, 498, 493, 491, 494, 496, 497, 492]
+ "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [506, 504]
+ "children": [518, 516]
}
],
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
"line": 5,
- "character": 30
+ "character": 30,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L5"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 518,
+ "id": 530,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -689,7 +732,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder"
}
],
@@ -699,20 +742,20 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
},
@@ -723,7 +766,12 @@
"kindString": "Class",
"flags": {},
"comment": {
- "shortText": "PostgREST client."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "PostgREST client."
+ }
+ ]
},
"children": [
{
@@ -736,7 +784,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 41,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L41"
}
],
"signatures": [
@@ -747,7 +796,12 @@
"kindString": "Constructor signature",
"flags": {},
"comment": {
- "shortText": "Creates a PostgREST client."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates a PostgREST client."
+ }
+ ]
},
"typeParameter": [
{
@@ -865,7 +919,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "URL of the PostgREST endpoint"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URL of the PostgREST endpoint"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -879,7 +938,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
@@ -903,7 +967,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 50,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L50"
}
],
"type": {
@@ -914,6 +979,13 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
"id": 14,
@@ -922,7 +994,12 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Custom fetch\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Custom fetch"
+ }
+ ]
},
"parameters": [
{
@@ -936,15 +1013,15 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
@@ -959,9 +1036,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -970,14 +1047,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -993,13 +1070,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Custom headers"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Custom headers"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 48,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L48"
}
],
"type": {
@@ -1014,9 +1097,9 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
@@ -1028,13 +1111,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Postgres schema to switch to"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Postgres schema to switch to"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 49,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L49"
}
],
"type": {
@@ -1047,9 +1136,16 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
"children": [12, 10, 11]
}
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 47,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L47"
+ }
]
}
},
@@ -1093,7 +1189,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 29,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L29"
}
],
"type": {
@@ -1104,6 +1201,13 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
"id": 22,
@@ -1123,15 +1227,15 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
@@ -1146,9 +1250,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -1157,14 +1261,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -1181,7 +1285,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 27,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L27"
}
],
"type": {
@@ -1196,9 +1301,9 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
@@ -1213,7 +1318,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 28,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L28"
}
],
"type": {
@@ -1232,7 +1338,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 26,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L26"
}
],
"type": {
@@ -1250,7 +1357,26 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 64,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L64"
+ },
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 68,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L68"
+ },
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 71,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L71"
+ },
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 72,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L72"
}
],
"signatures": [
@@ -1261,7 +1387,12 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a query on a table or a view."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a query on a table or a view."
+ }
+ ]
},
"typeParameter": [
{
@@ -1295,7 +1426,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The table or view name to query\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The table or view name to query"
+ }
+ ]
},
"type": {
"type": "reference",
@@ -1308,6 +1444,11 @@
"type": "reference",
"id": 49,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "reference",
"id": 28,
@@ -1365,6 +1506,11 @@
"type": "reference",
"id": 49,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "reference",
"id": 32,
@@ -1397,6 +1543,11 @@
"type": "reference",
"id": 49,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "intrinsic",
"name": "any"
@@ -1417,7 +1568,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 102,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L102"
}
],
"signatures": [
@@ -1428,7 +1580,12 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a function call."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a function call."
+ }
+ ]
},
"typeParameter": [
{
@@ -1462,7 +1619,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The function name to call"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The function name to call"
+ }
+ ]
},
"type": {
"type": "reference",
@@ -1477,7 +1639,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The arguments to pass to the function call"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The arguments to pass to the function call"
+ }
+ ]
},
"type": {
"type": "indexedAccess",
@@ -1500,7 +1667,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
@@ -1521,13 +1693,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 113,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L113"
}
],
"type": {
@@ -1557,13 +1767,35 @@
"isOptional": true
},
"comment": {
- "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "When set to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will not be returned.\nUseful if you only need the count."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 112,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L112"
}
],
"type": {
@@ -1575,9 +1807,16 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
"children": [45, 44]
}
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 111,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L111"
+ }
]
}
},
@@ -1586,8 +1825,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "conditional",
"checkType": {
@@ -1641,9 +1885,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
"trueType": {
"type": "indexedAccess",
@@ -1688,17 +1932,14 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
"children": [2]
},
{
"title": "Properties",
- "kind": 1024,
"children": [20, 18, 19, 17]
},
{
"title": "Methods",
- "kind": 2048,
"children": [25, 36]
}
],
@@ -1706,10 +1947,11 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 17,
- "character": 21
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L17"
}
],
- "typeParameter": [
+ "typeParameters": [
{
"id": 46,
"name": "Database",
@@ -1717,7 +1959,12 @@
"kindString": "Type parameter",
"flags": {},
"comment": {
- "shortText": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/typescript-support)\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/next/typescript-support)"
+ }
+ ]
},
"default": {
"type": "intrinsic",
@@ -1731,7 +1978,20 @@
"kindString": "Type parameter",
"flags": {},
"comment": {
- "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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Postgres schema to switch to. Must be a string\nliteral, the same one passed to the constructor. If the schema is not\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"public\"`"
+ },
+ {
+ "kind": "text",
+ "text": ", this must be supplied manually."
+ }
+ ]
},
"type": {
"type": "intersection",
@@ -1841,28 +2101,47 @@
]
},
{
- "id": 110,
+ "id": 112,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 111,
+ "id": 113,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 18,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
+ }
+ ],
"signatures": [
{
- "id": 112,
+ "id": 114,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 113,
+ "id": 115,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 116,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -1879,13 +2158,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 114,
+ "id": 117,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -1894,18 +2173,18 @@
],
"parameters": [
{
- "id": 115,
+ "id": 118,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -1915,16 +2194,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -1932,19 +2216,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 396,
+ "id": 403,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 395,
+ "id": 402,
"name": "default.constructor"
}
},
{
- "id": 377,
+ "id": 383,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -1955,7 +2239,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -1964,12 +2249,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 469,
+ "id": 480,
"name": "default.allowEmpty"
}
},
{
- "id": 369,
+ "id": 375,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -1981,7 +2266,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -1990,12 +2276,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 461,
+ "id": 472,
"name": "default.body"
}
},
{
- "id": 372,
+ "id": 378,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -2006,27 +2292,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 373,
+ "id": 379,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 374,
+ "id": 380,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 375,
+ "id": 381,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -2036,21 +2330,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 376,
+ "id": 382,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -2059,9 +2353,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -2070,14 +2364,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -2085,12 +2379,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 464,
+ "id": 475,
"name": "default.fetch"
}
},
{
- "id": 367,
+ "id": 373,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -2101,7 +2395,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -2116,18 +2411,18 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 459,
+ "id": 470,
"name": "default.headers"
}
},
{
- "id": 365,
+ "id": 371,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -2138,7 +2433,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -2168,12 +2464,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 457,
+ "id": 468,
"name": "default.method"
}
},
{
- "id": 368,
+ "id": 374,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -2185,7 +2481,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -2194,12 +2491,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 460,
+ "id": 471,
"name": "default.schema"
}
},
{
- "id": 370,
+ "id": 376,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -2210,7 +2507,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -2220,12 +2518,12 @@
"defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 462,
+ "id": 473,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 371,
+ "id": 377,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -2237,23 +2535,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 463,
+ "id": 474,
"name": "default.signal"
}
},
{
- "id": 366,
+ "id": 372,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -2264,23 +2563,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 458,
+ "id": 469,
"name": "default.url"
}
},
{
- "id": 342,
+ "id": 345,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -2288,50 +2588,66 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 124,
- "character": 2
+ "line": 130,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L130"
}
],
"signatures": [
{
- "id": 343,
+ "id": 346,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Set the AbortSignal for the fetch request."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set the AbortSignal for the fetch request."
+ }
+ ]
},
"parameters": [
{
- "id": 344,
+ "id": 347,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The AbortSignal to use for the fetch request\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The AbortSignal to use for the fetch request"
+ }
+ ]
},
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -2339,19 +2655,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 435,
+ "id": 443,
"name": "default.abortSignal"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 434,
+ "id": 442,
"name": "default.abortSignal"
}
},
{
- "id": 204,
+ "id": 207,
"name": "containedBy",
"kind": 2048,
"kindString": "Method",
@@ -2359,23 +2675,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 214,
- "character": 2
+ "line": 216,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L216"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 220,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L220"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 221,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L221"
}
],
"signatures": [
{
- "id": 205,
+ "id": 208,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is contained by "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 206,
+ "id": 209,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -2386,98 +2736,6 @@
}
}
],
- "parameters": [
- {
- "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"
- }
- }
- }
- ]
- }
- }
- ],
- "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": [
{
"id": 210,
@@ -2485,9 +2743,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 209,
+ "name": "ColumnName"
}
},
{
@@ -2496,6 +2763,104 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record",
+ "qualifiedName": "Record",
+ "package": "typescript"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 209,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 212,
+ "name": "containedBy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 213,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 214,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "union",
"types": [
@@ -2522,9 +2887,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
]
}
@@ -2532,16 +2897,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -2551,7 +2921,7 @@
]
},
{
- "id": 196,
+ "id": 199,
"name": "contains",
"kind": 2048,
"kindString": "Method",
@@ -2559,23 +2929,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 187,
- "character": 2
+ "line": 189,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L189"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 193,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L193"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 194,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L194"
}
],
"signatures": [
{
- "id": 197,
+ "id": 200,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for jsonb, array, and range columns. Match only rows where\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " contains every element appearing in "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 198,
+ "id": 201,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -2588,28 +2992,38 @@
],
"parameters": [
{
- "id": 199,
+ "id": 202,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The jsonb, array, or range column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 198,
+ "id": 201,
"name": "ColumnName"
}
},
{
- "id": 200,
+ "id": 203,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The jsonb, array, or range value to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range value to filter with"
+ }
+ ]
},
"type": {
"type": "union",
@@ -2630,9 +3044,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
{
"type": "array",
@@ -2640,12 +3054,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 198,
+ "id": 201,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -2656,16 +3070,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -2673,14 +3092,14 @@
}
},
{
- "id": 201,
+ "id": 204,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 202,
+ "id": 205,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2691,7 +3110,7 @@
}
},
{
- "id": 203,
+ "id": 206,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -2722,9 +3141,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
]
}
@@ -2732,16 +3151,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -2751,7 +3175,7 @@
]
},
{
- "id": 349,
+ "id": 352,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -2759,26 +3183,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 155,
- "character": 2
+ "line": 161,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L161"
}
],
"signatures": [
{
- "id": 350,
+ "id": 353,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as a string in CSV format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a string in CSV format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -2788,25 +3226,25 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "default.csv"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 441,
+ "id": 449,
"name": "default.csv"
}
},
{
- "id": 116,
+ "id": 119,
"name": "eq",
"kind": 2048,
"kindString": "Method",
@@ -2814,24 +3252,73 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 39,
- "character": 2
+ "line": 41,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L41"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 42,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L42"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 43,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 117,
+ "id": 120,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nTo check if the value of "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is NULL, you should use "
+ },
+ {
+ "kind": "code",
+ "text": "`.is()`"
+ },
+ {
+ "kind": "text",
+ "text": " instead."
+ }
+ ]
},
"typeParameter": [
{
- "id": 118,
+ "id": 121,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -2844,39 +3331,49 @@
],
"parameters": [
{
- "id": 119,
+ "id": 122,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 118,
+ "id": 121,
"name": "ColumnName"
}
},
{
- "id": 120,
+ "id": 123,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 118,
+ "id": 121,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -2884,16 +3381,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -2901,14 +3403,14 @@
}
},
{
- "id": 121,
+ "id": 124,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 122,
+ "id": 125,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2919,7 +3421,7 @@
}
},
{
- "id": 123,
+ "id": 126,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -2932,16 +3434,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -2951,7 +3458,7 @@
]
},
{
- "id": 353,
+ "id": 356,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -2959,42 +3466,61 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 189,
- "character": 2
+ "line": 195,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L195"
}
],
"signatures": [
{
- "id": 354,
+ "id": 357,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as the EXPLAIN plan for the query."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as the EXPLAIN plan for the query."
+ }
+ ]
},
"parameters": [
{
- "id": 355,
+ "id": 358,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 356,
+ "id": 359,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 360,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -3002,13 +3528,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query will be executed and the\nactual run time will be returned"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 197,
- "character": 4
+ "line": 203,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L203"
}
],
"type": {
@@ -3017,7 +3557,7 @@
}
},
{
- "id": 360,
+ "id": 363,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -3025,13 +3565,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on buffer usage\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on buffer usage"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
- "character": 4
+ "line": 206,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L206"
}
],
"type": {
@@ -3040,7 +3594,7 @@
}
},
{
- "id": 362,
+ "id": 365,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -3048,13 +3602,31 @@
"isOptional": true
},
"comment": {
- "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The format of the output, can be "
+ },
+ {
+ "kind": "code",
+ "text": "`\"text\"`"
+ },
+ {
+ "kind": "text",
+ "text": " (default)\nor "
+ },
+ {
+ "kind": "code",
+ "text": "`\"json\"`"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 202,
- "character": 4
+ "line": 208,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L208"
}
],
"type": {
@@ -3072,7 +3644,7 @@
}
},
{
- "id": 359,
+ "id": 362,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -3080,36 +3652,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on configuration\nparameters that affect query planning"
+ }
+ ]
},
"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
+ "line": 205,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L205"
}
],
"type": {
@@ -3119,6 +3682,51 @@
},
{
"id": 361,
+ "name": "verbose",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query identifier will be returned\nand "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will include the output columns of the query"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 204,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L204"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 364,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -3126,13 +3734,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on WAL record generation\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on WAL record generation"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 201,
- "character": 4
+ "line": 207,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L207"
}
],
"type": {
@@ -3144,8 +3766,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [357, 360, 362, 359, 358, 361]
+ "children": [360, 363, 365, 362, 361, 364]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 202,
+ "character": 5,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L202"
}
]
}
@@ -3161,7 +3790,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -3171,16 +3800,16 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
@@ -3194,35 +3823,35 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
},
"inheritedFrom": {
"type": "reference",
- "id": 446,
+ "id": 454,
"name": "default.explain"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 445,
+ "id": 453,
"name": "default.explain"
}
},
{
- "id": 298,
+ "id": 301,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -3230,24 +3859,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 439,
- "character": 2
+ "line": 441,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L441"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 446,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L446"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 447,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L447"
}
],
"signatures": [
{
- "id": 299,
+ "id": 302,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.\n\nUnlike most filters, "
+ },
+ {
+ "kind": "code",
+ "text": "`opearator`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized."
+ }
+ ]
},
"typeParameter": [
{
- "id": 300,
+ "id": 303,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3260,28 +3922,38 @@
],
"parameters": [
{
- "id": 301,
+ "id": 304,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 300,
+ "id": 303,
"name": "ColumnName"
}
},
{
- "id": 302,
+ "id": 305,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The operator to filter with, following PostgREST syntax"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The operator to filter with, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "union",
@@ -3382,13 +4054,18 @@
}
},
{
- "id": 303,
+ "id": 306,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with, following PostgREST syntax\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -3398,16 +4075,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -3415,14 +4097,14 @@
}
},
{
- "id": 304,
+ "id": 307,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 305,
+ "id": 308,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3433,7 +4115,7 @@
}
},
{
- "id": 306,
+ "id": 309,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -3444,7 +4126,7 @@
}
},
{
- "id": 307,
+ "id": 310,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3457,16 +4139,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -3476,7 +4163,7 @@
]
},
{
- "id": 351,
+ "id": 354,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -3484,26 +4171,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 163,
- "character": 2
+ "line": 169,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L169"
}
],
"signatures": [
{
- "id": 352,
+ "id": 355,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as an object in [GeoJSON](https://geojson.org) format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
@@ -3517,33 +4218,33 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "default.geojson"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "default.geojson"
}
},
{
- "id": 132,
+ "id": 135,
"name": "gt",
"kind": 2048,
"kindString": "Method",
@@ -3551,23 +4252,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 65,
- "character": 2
+ "line": 67,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L67"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 68,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L68"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 69,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L69"
}
],
"signatures": [
{
- "id": 133,
+ "id": 136,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is greater than `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is greater than "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 134,
+ "id": 137,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3578,70 +4313,6 @@
}
}
],
- "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,
@@ -3649,9 +4320,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 137,
+ "name": "ColumnName"
}
},
{
@@ -3660,6 +4340,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 137,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 140,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 141,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 142,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -3668,16 +4418,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -3687,7 +4442,7 @@
]
},
{
- "id": 140,
+ "id": 143,
"name": "gte",
"kind": 2048,
"kindString": "Method",
@@ -3695,23 +4450,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 78,
- "character": 2
+ "line": 80,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L80"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 81,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L81"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 82,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L82"
}
],
"signatures": [
{
- "id": 141,
+ "id": 144,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is greater than or equal to `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is greater than or equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 142,
+ "id": 145,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3722,70 +4511,6 @@
}
}
],
- "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,
@@ -3793,9 +4518,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 145,
+ "name": "ColumnName"
}
},
{
@@ -3804,6 +4538,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 145,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 148,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 149,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 150,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -3812,16 +4616,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -3831,7 +4640,7 @@
]
},
{
- "id": 172,
+ "id": 175,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
@@ -3839,23 +4648,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 130,
- "character": 2
+ "line": 132,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L132"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 133,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L133"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 134,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L134"
}
],
"signatures": [
{
- "id": 173,
+ "id": 176,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " matches "
+ },
+ {
+ "kind": "code",
+ "text": "`pattern`"
+ },
+ {
+ "kind": "text",
+ "text": " case-insensitively."
+ }
+ ]
},
"typeParameter": [
{
- "id": 174,
+ "id": 177,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3866,61 +4709,6 @@
}
}
],
- "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,
@@ -3928,9 +4716,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 177,
+ "name": "ColumnName"
}
},
{
@@ -3939,6 +4736,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The pattern to match with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -3947,16 +4752,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 180,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 182,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -3966,7 +4829,7 @@
]
},
{
- "id": 188,
+ "id": 191,
"name": "in",
"kind": 2048,
"kindString": "Method",
@@ -3974,23 +4837,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 165,
- "character": 2
+ "line": 167,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L167"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 168,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L168"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 169,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L169"
}
],
"signatures": [
{
- "id": 189,
+ "id": 192,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is included in the "
+ },
+ {
+ "kind": "code",
+ "text": "`values`"
+ },
+ {
+ "kind": "text",
+ "text": " array."
+ }
+ ]
},
"typeParameter": [
{
- "id": 190,
+ "id": 193,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4003,28 +4900,38 @@
],
"parameters": [
{
- "id": 191,
+ "id": 194,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 190,
+ "id": 193,
"name": "ColumnName"
}
},
{
- "id": 192,
+ "id": 195,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The values array to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values array to filter with"
+ }
+ ]
},
"type": {
"type": "array",
@@ -4032,12 +4939,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 190,
+ "id": 193,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -4046,16 +4953,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4063,14 +4975,14 @@
}
},
{
- "id": 193,
+ "id": 196,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 194,
+ "id": 197,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4081,7 +4993,7 @@
}
},
{
- "id": 195,
+ "id": 198,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -4097,16 +5009,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4116,7 +5033,7 @@
]
},
{
- "id": 180,
+ "id": 183,
"name": "is",
"kind": 2048,
"kindString": "Method",
@@ -4124,24 +5041,113 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 149,
- "character": 2
+ "line": 151,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L151"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 155,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L155"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 156,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L156"
}
],
"signatures": [
{
- "id": 181,
+ "id": 184,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " IS "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nFor non-boolean columns, this is only relevant for checking if the value of\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is NULL by setting "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " to "
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nFor boolean columns, you can also set "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": " or "
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": " and it\nwill behave the same way as "
+ },
+ {
+ "kind": "code",
+ "text": "`.eq()`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 182,
+ "id": 185,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4154,114 +5160,62 @@
],
"parameters": [
{
- "id": 183,
+ "id": 186,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 182,
+ "id": 185,
"name": "ColumnName"
}
},
{
- "id": 184,
+ "id": 187,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intersection",
- "types": [
+ "summary": [
{
- "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
- }
- ]
+ "kind": "text",
+ "text": "The value to filter with"
}
]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "Object"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4269,14 +5223,14 @@
}
},
{
- "id": 185,
+ "id": 188,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 186,
+ "id": 189,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4287,7 +5241,7 @@
}
},
{
- "id": 187,
+ "id": 190,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -4309,16 +5263,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4328,7 +5287,7 @@
]
},
{
- "id": 164,
+ "id": 167,
"name": "like",
"kind": 2048,
"kindString": "Method",
@@ -4336,23 +5295,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 117,
- "character": 2
+ "line": 119,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L119"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 120,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L120"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 121,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L121"
}
],
"signatures": [
{
- "id": 165,
+ "id": 168,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " matches "
+ },
+ {
+ "kind": "code",
+ "text": "`pattern`"
+ },
+ {
+ "kind": "text",
+ "text": " case-sensitively."
+ }
+ ]
},
"typeParameter": [
{
- "id": 166,
+ "id": 169,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4363,61 +5356,6 @@
}
}
],
- "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,
@@ -4425,9 +5363,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 169,
+ "name": "ColumnName"
}
},
{
@@ -4436,6 +5383,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The pattern to match with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -4444,16 +5399,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 172,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 173,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 174,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -4463,7 +5476,7 @@
]
},
{
- "id": 329,
+ "id": 332,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -4471,29 +5484,48 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 2
+ "line": 101,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"signatures": [
{
- "id": 330,
+ "id": 333,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `count`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`count`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"parameters": [
{
- "id": 331,
+ "id": 334,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The maximum number of rows to return"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The maximum number of rows to return"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -4501,26 +5533,31 @@
}
},
{
- "id": 332,
+ "id": 335,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 334,
+ "id": 337,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -4528,13 +5565,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 43
+ "line": 101,
+ "character": 43,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"type": {
@@ -4546,8 +5589,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [334]
+ "children": [337]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 101,
+ "character": 41,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
]
}
@@ -4557,16 +5607,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4574,19 +5629,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 422,
+ "id": 430,
"name": "default.limit"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 421,
+ "id": 429,
"name": "default.limit"
}
},
{
- "id": 148,
+ "id": 151,
"name": "lt",
"kind": 2048,
"kindString": "Method",
@@ -4594,23 +5649,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 91,
- "character": 2
+ "line": 93,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L93"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 94,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L94"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 95,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L95"
}
],
"signatures": [
{
- "id": 149,
+ "id": 152,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is less than `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is less than "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 150,
+ "id": 153,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4621,70 +5710,6 @@
}
}
],
- "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,
@@ -4692,9 +5717,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 153,
+ "name": "ColumnName"
}
},
{
@@ -4703,6 +5737,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 153,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 156,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 157,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -4711,16 +5815,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4730,7 +5839,7 @@
]
},
{
- "id": 156,
+ "id": 159,
"name": "lte",
"kind": 2048,
"kindString": "Method",
@@ -4738,23 +5847,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 104,
- "character": 2
+ "line": 106,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L106"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 107,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L107"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 108,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L108"
}
],
"signatures": [
{
- "id": 157,
+ "id": 160,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is less than or equal to `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is less than or equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 158,
+ "id": 161,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4765,70 +5908,6 @@
}
}
],
- "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,
@@ -4836,9 +5915,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 161,
+ "name": "ColumnName"
}
},
{
@@ -4847,6 +5935,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 161,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 164,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 165,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 166,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -4855,16 +6013,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4874,7 +6037,7 @@
]
},
{
- "id": 276,
+ "id": 279,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -4882,23 +6045,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 374,
- "character": 2
+ "line": 376,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L376"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 377,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L377"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 378,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L378"
}
],
"signatures": [
{
- "id": 277,
+ "id": 280,
"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."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where each column in "
+ },
+ {
+ "kind": "code",
+ "text": "`query`"
+ },
+ {
+ "kind": "text",
+ "text": " keys is equal to its\nassociated value. Shorthand for multiple "
+ },
+ {
+ "kind": "code",
+ "text": "`.eq()`"
+ },
+ {
+ "kind": "text",
+ "text": "s."
+ }
+ ]
},
"typeParameter": [
{
- "id": 278,
+ "id": 281,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4911,54 +6108,64 @@
],
"parameters": [
{
- "id": 279,
+ "id": 282,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The object to filter with, with column names as keys mapped\nto their filter values"
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 278,
+ "id": 281,
"name": "ColumnName"
},
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 278,
+ "id": 281,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4966,14 +6173,14 @@
}
},
{
- "id": 280,
+ "id": 283,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 281,
+ "id": 284,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -4990,24 +6197,29 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5017,7 +6229,7 @@
]
},
{
- "id": 347,
+ "id": 350,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -5025,56 +6237,77 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 146,
- "character": 2
+ "line": 152,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L152"
}
],
"signatures": [
{
- "id": 348,
+ "id": 351,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be zero or one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise\nthis returns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 523,
+ "id": 535,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
"name": "PostgrestMaybeSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 440,
+ "id": 448,
"name": "default.maybeSingle"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 439,
+ "id": 447,
"name": "default.maybeSingle"
}
},
{
- "id": 124,
+ "id": 127,
"name": "neq",
"kind": 2048,
"kindString": "Method",
@@ -5082,23 +6315,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 52,
- "character": 2
+ "line": 54,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L54"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 55,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L55"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 56,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L56"
}
],
"signatures": [
{
- "id": 125,
+ "id": 128,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is not equal to `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is not equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 126,
+ "id": 129,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5109,70 +6376,6 @@
}
}
],
- "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,
@@ -5180,9 +6383,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 129,
+ "name": "ColumnName"
}
},
{
@@ -5191,6 +6403,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 129,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 132,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 134,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -5199,16 +6481,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5218,7 +6505,7 @@
]
},
{
- "id": 282,
+ "id": 285,
"name": "not",
"kind": 2048,
"kindString": "Method",
@@ -5226,24 +6513,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 396,
- "character": 2
+ "line": 398,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L398"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 403,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L403"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 404,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L404"
}
],
"signatures": [
{
- "id": 283,
+ "id": 286,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows which doesn't satisfy the filter.\n\nUnlike most filters, "
+ },
+ {
+ "kind": "code",
+ "text": "`opearator`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized."
+ }
+ ]
},
"typeParameter": [
{
- "id": 284,
+ "id": 287,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5256,28 +6576,38 @@
],
"parameters": [
{
- "id": 285,
+ "id": 288,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 284,
+ "id": 287,
"name": "ColumnName"
}
},
{
- "id": 286,
+ "id": 289,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The operator to be negated to filter with, following\nPostgREST syntax"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The operator to be negated to filter with, following\nPostgREST syntax"
+ }
+ ]
},
"type": {
"type": "reference",
@@ -5285,24 +6615,29 @@
}
},
{
- "id": 287,
+ "id": 290,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with, following PostgREST syntax\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 284,
+ "id": 287,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -5310,16 +6645,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5327,14 +6667,14 @@
}
},
{
- "id": 288,
+ "id": 291,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 289,
+ "id": 292,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -5345,7 +6685,7 @@
}
},
{
- "id": 290,
+ "id": 293,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -5356,7 +6696,7 @@
}
},
{
- "id": 291,
+ "id": 294,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5369,16 +6709,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5388,7 +6733,7 @@
]
},
{
- "id": 292,
+ "id": 295,
"name": "or",
"kind": 2048,
"kindString": "Method",
@@ -5396,30 +6741,56 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 420,
- "character": 2
+ "line": 422,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L422"
}
],
"signatures": [
{
- "id": 293,
+ "id": 296,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows which satisfy at least one of the filters.\n\nUnlike most filters, "
+ },
+ {
+ "kind": "code",
+ "text": "`filters`"
+ },
+ {
+ "kind": "text",
+ "text": " 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 "
+ },
+ {
+ "kind": "code",
+ "text": "`.or()`"
+ },
+ {
+ "kind": "text",
+ "text": " filter across multiple tables."
+ }
+ ]
},
"parameters": [
{
- "id": 294,
+ "id": 297,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The filters to use, following PostgREST syntax"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The filters to use, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -5427,26 +6798,31 @@
}
},
{
- "id": 295,
+ "id": 298,
"name": "foreignTable",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Set this to filter on foreign tables instead of the\ncurrent table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to filter on foreign tables instead of the\ncurrent table"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 296,
+ "id": 299,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 297,
+ "id": 300,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -5456,8 +6832,9 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 420,
- "character": 42
+ "line": 422,
+ "character": 42,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L422"
}
],
"type": {
@@ -5469,8 +6846,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [297]
+ "children": [300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 422,
+ "character": 40,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L422"
}
]
}
@@ -5480,16 +6864,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5499,7 +6888,7 @@
]
},
{
- "id": 313,
+ "id": 316,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -5507,24 +6896,49 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 59,
- "character": 2
+ "line": 65,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L65"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 69,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L69"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 73,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L73"
}
],
"signatures": [
{
- "id": 314,
+ "id": 317,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Order the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table."
+ }
+ ]
},
"typeParameter": [
{
- "id": 315,
+ "id": 318,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5537,22 +6951,27 @@
],
"parameters": [
{
- "id": 316,
+ "id": 319,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to order by"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to order by"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 315,
+ "id": 318,
"name": "ColumnName"
}
},
{
- "id": 317,
+ "id": 320,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5560,19 +6979,24 @@
"isOptional": true
},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 319,
+ "id": 322,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -5580,13 +7004,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the result will be in ascending order"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the result will be in ascending order"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 16
+ "line": 67,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -5595,7 +7033,7 @@
}
},
{
- "id": 321,
+ "id": 324,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -5603,13 +7041,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to order a foreign table by foreign\ncolumns"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 59
+ "line": 67,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -5618,7 +7062,7 @@
}
},
{
- "id": 320,
+ "id": 323,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -5626,13 +7070,51 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear first. If "
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": ",\n"
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear last."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 37
+ "line": 67,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -5644,136 +7126,15 @@
"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"
- }
+ "children": [322, 324, 323]
}
],
- "groups": [
+ "sources": [
{
- "title": "Properties",
- "kind": 1024,
- "children": [326, 328, 327]
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 67,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
]
}
@@ -5782,16 +7143,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5802,16 +7168,159 @@
"id": 414,
"name": "default.order"
}
+ },
+ {
+ "id": 325,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 326,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 327,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 328,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 329,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 331,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 330,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [329, 331, 330]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 422,
+ "name": "default.order"
+ }
}
],
"inheritedFrom": {
"type": "reference",
- "id": 405,
+ "id": 413,
"name": "default.order"
}
},
{
- "id": 252,
+ "id": 255,
"name": "overlaps",
"kind": 2048,
"kindString": "Method",
@@ -5819,23 +7328,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 313,
- "character": 2
+ "line": 315,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L315"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 319,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L319"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 320,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L320"
}
],
"signatures": [
{
- "id": 253,
+ "id": 256,
"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."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for array and range columns. Match only rows where\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " have an element in common."
+ }
+ ]
},
"typeParameter": [
{
- "id": 254,
+ "id": 257,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5848,28 +7391,38 @@
],
"parameters": [
{
- "id": 255,
+ "id": 258,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The array or range column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The array or range column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 254,
+ "id": 257,
"name": "ColumnName"
}
},
{
- "id": 256,
+ "id": 259,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The array or range value to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The array or range value to filter with"
+ }
+ ]
},
"type": {
"type": "union",
@@ -5884,12 +7437,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 254,
+ "id": 257,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -5900,16 +7453,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5917,14 +7475,14 @@
}
},
{
- "id": 257,
+ "id": 260,
"name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 258,
+ "id": 261,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -5935,7 +7493,7 @@
}
},
{
- "id": 259,
+ "id": 262,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5960,16 +7518,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5979,7 +7542,7 @@
]
},
{
- "id": 335,
+ "id": 338,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -5987,29 +7550,56 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 2
+ "line": 116,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"signatures": [
{
- "id": 336,
+ "id": 339,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`from`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`to`"
+ },
+ {
+ "kind": "text",
+ "text": " inclusively."
+ }
+ ]
},
"parameters": [
{
- "id": 337,
+ "id": 340,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The starting index from which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The starting index from which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -6017,13 +7607,18 @@
}
},
{
- "id": 338,
+ "id": 341,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The last index to which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The last index to which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -6031,26 +7626,31 @@
}
},
{
- "id": 339,
+ "id": 342,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 343,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 341,
+ "id": 344,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -6058,13 +7658,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 54
+ "line": 116,
+ "character": 54,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"type": {
@@ -6076,8 +7682,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [341]
+ "children": [344]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 52,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
]
}
@@ -6087,16 +7700,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -6104,19 +7722,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 428,
+ "id": 436,
"name": "default.range"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 427,
+ "id": 435,
"name": "default.range"
}
},
{
- "id": 244,
+ "id": 247,
"name": "rangeAdjacent",
"kind": 2048,
"kindString": "Method",
@@ -6124,23 +7742,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 299,
- "character": 2
+ "line": 301,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L301"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 302,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L302"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 303,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L303"
}
],
"signatures": [
{
- "id": 245,
+ "id": 248,
"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."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is\nmutually exclusive to "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": " and there can be no element between the two\nranges."
+ }
+ ]
},
"typeParameter": [
{
- "id": 246,
+ "id": 249,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6151,61 +7803,6 @@
}
}
],
- "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,
@@ -6213,9 +7810,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 249,
+ "name": "ColumnName"
}
},
{
@@ -6224,6 +7830,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -6232,16 +7846,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 252,
+ "name": "rangeAdjacent",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 253,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 254,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -6251,7 +7923,7 @@
]
},
{
- "id": 212,
+ "id": 215,
"name": "rangeGt",
"kind": 2048,
"kindString": "Method",
@@ -6259,23 +7931,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 240,
- "character": 2
+ "line": 242,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L242"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 243,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L243"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 244,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L244"
}
],
"signatures": [
{
- "id": 213,
+ "id": 216,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is greater than any element in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 214,
+ "id": 217,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6286,61 +7992,6 @@
}
}
],
- "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,
@@ -6348,9 +7999,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 217,
+ "name": "ColumnName"
}
},
{
@@ -6359,6 +8019,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -6367,16 +8035,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 220,
+ "name": "rangeGt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 221,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 222,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -6386,7 +8112,7 @@
]
},
{
- "id": 220,
+ "id": 223,
"name": "rangeGte",
"kind": 2048,
"kindString": "Method",
@@ -6394,23 +8120,65 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 255,
- "character": 2
+ "line": 257,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L257"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 258,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L258"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 259,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L259"
}
],
"signatures": [
{
- "id": 221,
+ "id": 224,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is either contained in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": " or greater than any element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 222,
+ "id": 225,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6421,61 +8189,6 @@
}
}
],
- "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,
@@ -6483,9 +8196,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 225,
+ "name": "ColumnName"
}
},
{
@@ -6494,6 +8216,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -6502,16 +8232,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 228,
+ "name": "rangeGte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 229,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 230,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -6521,7 +8309,7 @@
]
},
{
- "id": 228,
+ "id": 231,
"name": "rangeLt",
"kind": 2048,
"kindString": "Method",
@@ -6529,23 +8317,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 269,
- "character": 2
+ "line": 271,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L271"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 272,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L272"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 273,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L273"
}
],
"signatures": [
{
- "id": 229,
+ "id": 232,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is less than any element in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 230,
+ "id": 233,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6556,61 +8378,6 @@
}
}
],
- "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,
@@ -6618,9 +8385,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 233,
+ "name": "ColumnName"
}
},
{
@@ -6629,6 +8405,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -6637,16 +8421,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 236,
+ "name": "rangeLt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 237,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 238,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -6656,7 +8498,7 @@
]
},
{
- "id": 236,
+ "id": 239,
"name": "rangeLte",
"kind": 2048,
"kindString": "Method",
@@ -6664,23 +8506,65 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 284,
- "character": 2
+ "line": 286,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L286"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 287,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L287"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 288,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L288"
}
],
"signatures": [
{
- "id": 237,
+ "id": 240,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is either contained in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": " or less than any element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 238,
+ "id": 241,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6691,61 +8575,6 @@
}
}
],
- "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,
@@ -6753,9 +8582,18 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 241,
+ "name": "ColumnName"
}
},
{
@@ -6764,6 +8602,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -6772,16 +8618,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 244,
+ "name": "rangeLte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 245,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 246,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -6791,7 +8695,96 @@
]
},
{
- "id": 363,
+ "id": 368,
+ "name": "returns",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 249,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L249"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 369,
+ "name": "returns",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Override the type of the returned "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 370,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The new result type to override with"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 370,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 466,
+ "name": "default.returns"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 465,
+ "name": "default.returns"
+ }
+ },
+ {
+ "id": 366,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -6799,33 +8792,51 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 229,
- "character": 2
+ "line": 235,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L235"
}
],
"signatures": [
{
- "id": 364,
+ "id": 367,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Rollback the query.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will still be returned, but the query is not committed."
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -6833,19 +8844,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 456,
+ "id": 464,
"name": "default.rollback"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 455,
+ "id": 463,
"name": "default.rollback"
}
},
{
- "id": 308,
+ "id": 311,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -6853,24 +8864,69 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 18,
- "character": 2
+ "line": 24,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L24"
}
],
"signatures": [
{
- "id": 309,
+ "id": 312,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a SELECT on the query result.\n\nBy default, "
+ },
+ {
+ "kind": "code",
+ "text": "`.insert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.update()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.upsert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", and "
+ },
+ {
+ "kind": "code",
+ "text": "`.delete()`"
+ },
+ {
+ "kind": "text",
+ "text": " do not\nreturn modified rows. By calling this method, modified rows are returned in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 310,
+ "id": 313,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -6885,7 +8941,7 @@
}
},
{
- "id": 311,
+ "id": 314,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -6895,29 +8951,18 @@
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"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"
- }
+ "type": "reference",
+ "id": 313,
+ "name": "Query"
}
],
"name": "GetResult"
@@ -6926,7 +8971,7 @@
],
"parameters": [
{
- "id": 312,
+ "id": 315,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -6934,27 +8979,37 @@
"isOptional": true
},
"comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The columns to retrieve, separated by commas"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 310,
+ "id": 313,
"name": "Query"
}
}
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 311,
+ "id": 314,
"name": "NewResult"
}
],
@@ -6962,19 +9017,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 401,
+ "id": 409,
"name": "default.select"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 400,
+ "id": 408,
"name": "default.select"
}
},
{
- "id": 345,
+ "id": 348,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -6982,56 +9037,77 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 135,
- "character": 2
+ "line": 141,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L141"
}
],
"signatures": [
{
- "id": 346,
+ "id": 349,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise this\nreturns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 438,
+ "id": 446,
"name": "default.single"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 437,
+ "id": 445,
"name": "default.single"
}
},
{
- "id": 260,
+ "id": 263,
"name": "textSearch",
"kind": 2048,
"kindString": "Method",
@@ -7039,23 +9115,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 339,
- "character": 2
+ "line": 341,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L341"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 346,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L346"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 351,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L351"
}
],
"signatures": [
{
- "id": 261,
+ "id": 264,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for text and tsvector columns. Match only rows where\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " matches the query string in "
+ },
+ {
+ "kind": "code",
+ "text": "`query`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 262,
+ "id": 265,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -7068,28 +9178,38 @@
],
"parameters": [
{
- "id": 263,
+ "id": 266,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The text or tsvector column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The text or tsvector column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 262,
+ "id": 265,
"name": "ColumnName"
}
},
{
- "id": 264,
+ "id": 267,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The query text to match with"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The query text to match with"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -7097,7 +9217,7 @@
}
},
{
- "id": 265,
+ "id": 268,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7105,19 +9225,24 @@
"isOptional": true
},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 266,
+ "id": 269,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 267,
+ "id": 270,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -7125,13 +9250,19 @@
"isOptional": true
},
"comment": {
- "shortText": "The text search configuration to use"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The text search configuration to use"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 342,
- "character": 16
+ "line": 344,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L344"
}
],
"type": {
@@ -7140,7 +9271,7 @@
}
},
{
- "id": 268,
+ "id": 271,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7148,13 +9279,27 @@
"isOptional": true
},
"comment": {
- "shortText": "Change how the `query` text is interpreted\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Change how the "
+ },
+ {
+ "kind": "code",
+ "text": "`query`"
+ },
+ {
+ "kind": "text",
+ "text": " text is interpreted"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 342,
- "character": 33
+ "line": 344,
+ "character": 33,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L344"
}
],
"type": {
@@ -7179,8 +9324,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [267, 268]
+ "children": [270, 271]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 344,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L344"
}
]
}
@@ -7189,16 +9341,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -7206,14 +9363,14 @@
}
},
{
- "id": 269,
+ "id": 272,
"name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 270,
+ "id": 273,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -7224,7 +9381,7 @@
}
},
{
- "id": 271,
+ "id": 274,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -7235,7 +9392,7 @@
}
},
{
- "id": 272,
+ "id": 275,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7245,14 +9402,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 276,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 274,
+ "id": 277,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -7262,8 +9419,9 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 347,
- "character": 16
+ "line": 349,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L349"
}
],
"type": {
@@ -7272,7 +9430,7 @@
}
},
{
- "id": 275,
+ "id": 278,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7282,8 +9440,9 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 347,
- "character": 33
+ "line": 349,
+ "character": 33,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L349"
}
],
"type": {
@@ -7308,8 +9467,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [274, 275]
+ "children": [277, 278]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 349,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L349"
}
]
}
@@ -7318,16 +9484,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -7337,7 +9508,7 @@
]
},
{
- "id": 380,
+ "id": 386,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -7346,30 +9517,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 381,
+ "id": 387,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 382,
+ "id": 388,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -7377,7 +9549,7 @@
}
},
{
- "id": 383,
+ "id": 389,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -7390,7 +9562,7 @@
],
"parameters": [
{
- "id": 384,
+ "id": 390,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -7407,32 +9579,40 @@
{
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 386,
+ "id": 392,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 387,
+ "id": 393,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -7445,7 +9625,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -7453,13 +9633,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -7471,7 +9651,7 @@
}
},
{
- "id": 388,
+ "id": 394,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -7488,21 +9668,29 @@
{
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 395,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 390,
+ "id": 396,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 391,
+ "id": 397,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -7518,7 +9706,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -7526,13 +9714,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -7552,36 +9740,36 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 484,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 472,
+ "id": 483,
"name": "default.then"
}
},
{
- "id": 378,
+ "id": 384,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -7590,32 +9778,48 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 379,
+ "id": 385,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -7623,14 +9827,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 471,
+ "id": 482,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 470,
+ "id": 481,
"name": "default.throwOnError"
}
}
@@ -7638,34 +9842,43 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [111]
+ "children": [113]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [377, 369, 372, 367, 365, 368, 370, 371, 366]
+ "children": [383, 375, 378, 373, 371, 374, 376, 377, 372]
},
{
"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
+ 345, 207, 199, 352, 119, 356, 301, 354, 135, 143, 175, 191, 183, 167, 332, 151, 159,
+ 279, 350, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 368, 366, 311, 348,
+ 263, 386, 384
]
}
],
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 27,
- "character": 21
+ "line": 28,
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L28"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 392,
+ "id": 398,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 399,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -7682,13 +9895,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 393,
+ "id": 400,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -7698,16 +9911,21 @@
"extendedTypes": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -7731,8 +9949,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 13,
- "character": 2
+ "line": 16,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L16"
}
],
"signatures": [
@@ -7745,6 +9964,17 @@
"typeParameter": [
{
"id": 52,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 53,
"name": "Relation",
"kind": 131072,
"kindString": "Type parameter",
@@ -7766,20 +9996,20 @@
],
"parameters": [
{
- "id": 53,
+ "id": 54,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 54,
+ "id": 55,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -7787,14 +10017,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 56,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 58,
+ "id": 59,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -7804,28 +10034,36 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 22,
- "character": 6
+ "line": 25,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L25"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 59,
+ "id": 60,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 60,
+ "id": 61,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 61,
+ "id": 62,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -7835,21 +10073,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 62,
+ "id": 63,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -7858,9 +10096,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -7869,14 +10107,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -7884,7 +10122,7 @@
}
},
{
- "id": 56,
+ "id": 57,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -7894,8 +10132,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 20,
- "character": 6
+ "line": 23,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L23"
}
],
"type": {
@@ -7910,13 +10149,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 57,
+ "id": 58,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -7926,8 +10165,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 21,
- "character": 6
+ "line": 24,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L24"
}
],
"type": {
@@ -7939,8 +10179,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [58, 56, 57]
+ "children": [59, 57, 58]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 22,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L22"
}
]
}
@@ -7954,6 +10201,11 @@
{
"type": "reference",
"id": 52,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 53,
"name": "Relation"
}
],
@@ -7963,7 +10215,7 @@
]
},
{
- "id": 67,
+ "id": 68,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -7973,28 +10225,36 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 11,
- "character": 2
+ "line": 14,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L14"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 68,
+ "id": 69,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 69,
+ "id": 70,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 70,
+ "id": 71,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -8004,21 +10264,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 71,
+ "id": 72,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -8027,9 +10287,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -8038,14 +10298,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -8053,7 +10313,7 @@
}
},
{
- "id": 64,
+ "id": 65,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -8061,8 +10321,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 8,
- "character": 2
+ "line": 11,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L11"
}
],
"type": {
@@ -8077,13 +10338,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 65,
+ "id": 66,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -8093,8 +10354,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 9,
- "character": 2
+ "line": 12,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L12"
}
],
"type": {
@@ -8103,7 +10365,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -8113,19 +10375,20 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 10,
- "character": 2
+ "line": 13,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L13"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
},
{
- "id": 63,
+ "id": 64,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -8133,19 +10396,20 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 7,
- "character": 2
+ "line": 10,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L10"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 104,
+ "id": 105,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -8153,43 +10417,61 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 296,
- "character": 2
+ "line": 299,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L299"
}
],
"signatures": [
{
- "id": 105,
+ "id": 106,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a DELETE on the table or view.\n\nBy default, deleted rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": " after filters."
+ }
+ ]
},
"parameters": [
{
- "id": 106,
+ "id": 107,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 107,
+ "id": 108,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 108,
+ "id": 109,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -8197,13 +10479,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count deleted rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 299,
- "character": 4
+ "line": 302,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L302"
}
],
"type": {
@@ -8228,8 +10548,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [108]
+ "children": [109]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 301,
+ "character": 5,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L301"
}
]
}
@@ -8239,8 +10566,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -8249,7 +10581,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -8264,7 +10596,7 @@
]
},
{
- "id": 81,
+ "id": 82,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -8272,24 +10604,37 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 117,
- "character": 2
+ "line": 120,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L120"
}
],
"signatures": [
{
- "id": 82,
+ "id": 83,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform an INSERT into the table or view.\n\nBy default, inserted rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 83,
+ "id": 84,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -8306,35 +10651,40 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"parameters": [
{
- "id": 84,
+ "id": 85,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows."
+ }
+ ]
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
- "id": 83,
+ "id": 84,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 83,
+ "id": 84,
"name": "Row"
}
}
@@ -8342,26 +10692,31 @@
}
},
{
- "id": 85,
+ "id": 86,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 86,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 87,
+ "id": 88,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -8369,13 +10724,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count inserted rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 122,
- "character": 6
+ "line": 125,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L125"
}
],
"type": {
@@ -8400,8 +10793,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [87]
+ "children": [88]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 124,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L124"
}
]
}
@@ -8411,8 +10811,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -8421,7 +10826,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -8436,7 +10841,7 @@
]
},
{
- "id": 72,
+ "id": 73,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -8444,23 +10849,29 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 52,
- "character": 2
+ "line": 55,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L55"
}
],
"signatures": [
{
- "id": 73,
+ "id": 74,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a SELECT query on the table or view."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a SELECT query on the table or view."
+ }
+ ]
},
"typeParameter": [
{
- "id": 74,
+ "id": 75,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -8475,7 +10886,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -8483,6 +10894,11 @@
"default": {
"type": "reference",
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -8491,30 +10907,14 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"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"
- }
+ "type": "reference",
+ "id": 75,
+ "name": "Query"
}
],
"name": "GetResult"
@@ -8523,7 +10923,7 @@
],
"parameters": [
{
- "id": 76,
+ "id": 77,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -8531,35 +10931,45 @@
"isOptional": true
},
"comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The columns to retrieve, separated by commas"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 74,
+ "id": 75,
"name": "Query"
}
},
{
- "id": 77,
+ "id": 78,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 78,
+ "id": 79,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 80,
+ "id": 81,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -8567,13 +10977,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count rows in the table or view.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 62,
- "character": 6
+ "line": 65,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L65"
}
],
"type": {
@@ -8595,7 +11043,7 @@
}
},
{
- "id": 79,
+ "id": 80,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -8603,13 +11051,35 @@
"isOptional": true
},
"comment": {
- "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "When set to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will not be returned.\nUseful if you only need the count."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 61,
- "character": 6
+ "line": 64,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L64"
}
],
"type": {
@@ -8621,8 +11091,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [80, 79]
+ "children": [81, 80]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 63,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L63"
}
]
}
@@ -8632,8 +11109,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -8642,13 +11124,13 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
{
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "Result"
}
],
@@ -8658,7 +11140,7 @@
]
},
{
- "id": 97,
+ "id": 98,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -8666,24 +11148,37 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 247,
- "character": 2
+ "line": 250,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L250"
}
],
"signatures": [
{
- "id": 98,
+ "id": 99,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform an UPDATE on the table or view.\n\nBy default, updated rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": " after filters."
+ }
+ ]
},
"typeParameter": [
{
- "id": 99,
+ "id": 100,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -8700,49 +11195,59 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"parameters": [
{
- "id": 100,
+ "id": 101,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The values to update with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values to update with"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 99,
+ "id": 100,
"name": "Row"
}
},
{
- "id": 101,
+ "id": 102,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 102,
+ "id": 103,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 103,
+ "id": 104,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -8750,13 +11255,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count updated rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 252,
- "character": 6
+ "line": 255,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L255"
}
],
"type": {
@@ -8781,8 +11324,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [103]
+ "children": [104]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 254,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L254"
}
]
}
@@ -8792,8 +11342,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -8802,7 +11357,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -8817,7 +11372,7 @@
]
},
{
- "id": 88,
+ "id": 89,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
@@ -8825,24 +11380,77 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 189,
- "character": 2
+ "line": 192,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L192"
}
],
"signatures": [
{
- "id": 89,
+ "id": 90,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto "
+ },
+ {
+ "kind": "code",
+ "text": "`onConflict`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.upsert()`"
+ },
+ {
+ "kind": "text",
+ "text": " allows you to perform the equivalent of\n"
+ },
+ {
+ "kind": "code",
+ "text": "`.insert()`"
+ },
+ {
+ "kind": "text",
+ "text": " if a row with the corresponding "
+ },
+ {
+ "kind": "code",
+ "text": "`onConflict`"
+ },
+ {
+ "kind": "text",
+ "text": " columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n"
+ },
+ {
+ "kind": "code",
+ "text": "`ignoreDuplicates`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nBy default, upserted rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 90,
+ "id": 91,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -8859,35 +11467,40 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"parameters": [
{
- "id": 91,
+ "id": 92,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows."
+ }
+ ]
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
- "id": 90,
+ "id": 91,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 90,
+ "id": 91,
"name": "Row"
}
}
@@ -8895,26 +11508,31 @@
}
},
{
- "id": 92,
+ "id": 93,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 93,
+ "id": 94,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 96,
+ "id": 97,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -8922,13 +11540,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count upserted rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 198,
- "character": 6
+ "line": 201,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L201"
}
],
"type": {
@@ -8950,7 +11606,7 @@
}
},
{
- "id": 95,
+ "id": 96,
"name": "ignoreDuplicates",
"kind": 1024,
"kindString": "Property",
@@ -8958,13 +11614,35 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", duplicate rows are ignored. If\n"
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": ", duplicate rows are merged with existing rows."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 197,
- "character": 6
+ "line": 200,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L200"
}
],
"type": {
@@ -8973,7 +11651,7 @@
}
},
{
- "id": 94,
+ "id": 95,
"name": "onConflict",
"kind": 1024,
"kindString": "Property",
@@ -8981,13 +11659,27 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n"
+ },
+ {
+ "kind": "code",
+ "text": "`onConflict`"
+ },
+ {
+ "kind": "text",
+ "text": " columns are equal."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 196,
- "character": 6
+ "line": 199,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L199"
}
],
"type": {
@@ -8999,8 +11691,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [96, 95, 94]
+ "children": [97, 96, 95]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 198,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L198"
}
]
}
@@ -9010,8 +11709,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -9020,7 +11724,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -9038,30 +11742,39 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
"children": [50]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [67, 64, 65, 66, 63]
+ "children": [68, 65, 66, 67, 64]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [104, 81, 72, 97, 88]
+ "children": [105, 82, 73, 98, 89]
}
],
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
"line": 6,
- "character": 21
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L6"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 109,
+ "id": 110,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 111,
"name": "Relation",
"kind": 131072,
"kindString": "Type parameter",
@@ -9083,28 +11796,47 @@
]
},
{
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 402,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 18,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
+ }
+ ],
"signatures": [
{
- "id": 396,
+ "id": 403,
"name": "new PostgrestTransformBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 397,
+ "id": 404,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 405,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -9121,13 +11853,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 398,
+ "id": 406,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -9136,18 +11868,18 @@
],
"parameters": [
{
- "id": 399,
+ "id": 407,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -9157,16 +11889,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -9174,19 +11911,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 488,
+ "id": 500,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 487,
+ "id": 499,
"name": "default.constructor"
}
},
{
- "id": 469,
+ "id": 480,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -9197,7 +11934,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -9206,12 +11944,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 503,
+ "id": 515,
"name": "default.allowEmpty"
}
},
{
- "id": 461,
+ "id": 472,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -9223,7 +11961,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -9232,12 +11971,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 495,
+ "id": 507,
"name": "default.body"
}
},
{
- "id": 464,
+ "id": 475,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -9248,27 +11987,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 476,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 466,
+ "id": 477,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 467,
+ "id": 478,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -9278,21 +12025,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 468,
+ "id": 479,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -9301,9 +12048,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -9312,14 +12059,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -9327,12 +12074,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 498,
+ "id": 510,
"name": "default.fetch"
}
},
{
- "id": 459,
+ "id": 470,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -9343,7 +12090,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -9358,18 +12106,18 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 493,
+ "id": 505,
"name": "default.headers"
}
},
{
- "id": 457,
+ "id": 468,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -9380,7 +12128,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -9410,12 +12159,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 491,
+ "id": 503,
"name": "default.method"
}
},
{
- "id": 460,
+ "id": 471,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -9427,7 +12176,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -9436,12 +12186,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 494,
+ "id": 506,
"name": "default.schema"
}
},
{
- "id": 462,
+ "id": 473,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -9452,7 +12202,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -9462,12 +12213,12 @@
"defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 496,
+ "id": 508,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 463,
+ "id": 474,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -9479,23 +12230,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 497,
+ "id": 509,
"name": "default.signal"
}
},
{
- "id": 458,
+ "id": 469,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -9506,23 +12258,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 492,
+ "id": 504,
"name": "default.url"
}
},
{
- "id": 434,
+ "id": 442,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -9530,50 +12283,66 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 124,
- "character": 2
+ "line": 130,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L130"
}
],
"signatures": [
{
- "id": 435,
+ "id": 443,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Set the AbortSignal for the fetch request."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set the AbortSignal for the fetch request."
+ }
+ ]
},
"parameters": [
{
- "id": 436,
+ "id": 444,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The AbortSignal to use for the fetch request\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The AbortSignal to use for the fetch request"
+ }
+ ]
},
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -9583,7 +12352,7 @@
]
},
{
- "id": 441,
+ "id": 449,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -9591,26 +12360,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 155,
- "character": 2
+ "line": 161,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L161"
}
],
"signatures": [
{
- "id": 442,
+ "id": 450,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as a string in CSV format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a string in CSV format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -9620,15 +12403,15 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 445,
+ "id": 453,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -9636,42 +12419,61 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 189,
- "character": 2
+ "line": 195,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L195"
}
],
"signatures": [
{
- "id": 446,
+ "id": 454,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as the EXPLAIN plan for the query."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as the EXPLAIN plan for the query."
+ }
+ ]
},
"parameters": [
{
- "id": 447,
+ "id": 455,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 448,
+ "id": 456,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 449,
+ "id": 457,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -9679,13 +12481,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query will be executed and the\nactual run time will be returned"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 197,
- "character": 4
+ "line": 203,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L203"
}
],
"type": {
@@ -9694,7 +12510,7 @@
}
},
{
- "id": 452,
+ "id": 460,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -9702,13 +12518,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on buffer usage\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on buffer usage"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
- "character": 4
+ "line": 206,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L206"
}
],
"type": {
@@ -9717,7 +12547,7 @@
}
},
{
- "id": 454,
+ "id": 462,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -9725,13 +12555,31 @@
"isOptional": true
},
"comment": {
- "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The format of the output, can be "
+ },
+ {
+ "kind": "code",
+ "text": "`\"text\"`"
+ },
+ {
+ "kind": "text",
+ "text": " (default)\nor "
+ },
+ {
+ "kind": "code",
+ "text": "`\"json\"`"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 202,
- "character": 4
+ "line": 208,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L208"
}
],
"type": {
@@ -9749,7 +12597,7 @@
}
},
{
- "id": 451,
+ "id": 459,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -9757,13 +12605,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on configuration\nparameters that affect query planning"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 199,
- "character": 4
+ "line": 205,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L205"
}
],
"type": {
@@ -9772,7 +12634,7 @@
}
},
{
- "id": 450,
+ "id": 458,
"name": "verbose",
"kind": 1024,
"kindString": "Property",
@@ -9780,13 +12642,35 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query identifier will be returned\nand "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will include the output columns of the query"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 198,
- "character": 4
+ "line": 204,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L204"
}
],
"type": {
@@ -9795,7 +12679,7 @@
}
},
{
- "id": 453,
+ "id": 461,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -9803,13 +12687,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on WAL record generation\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on WAL record generation"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 201,
- "character": 4
+ "line": 207,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L207"
}
],
"type": {
@@ -9821,8 +12719,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [449, 452, 454, 451, 450, 453]
+ "children": [457, 460, 462, 459, 458, 461]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 202,
+ "character": 5,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L202"
}
]
}
@@ -9838,7 +12743,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -9848,16 +12753,16 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
@@ -9871,17 +12776,17 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -9889,7 +12794,7 @@
]
},
{
- "id": 443,
+ "id": 451,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -9897,26 +12802,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 163,
- "character": 2
+ "line": 169,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L169"
}
],
"signatures": [
{
- "id": 444,
+ "id": 452,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as an object in [GeoJSON](https://geojson.org) format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
@@ -9930,23 +12849,23 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 421,
+ "id": 429,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -9954,29 +12873,48 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 2
+ "line": 101,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"signatures": [
{
- "id": 422,
+ "id": 430,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `count`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`count`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"parameters": [
{
- "id": 423,
+ "id": 431,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The maximum number of rows to return"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The maximum number of rows to return"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -9984,26 +12922,31 @@
}
},
{
- "id": 424,
+ "id": 432,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 425,
+ "id": 433,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 426,
+ "id": 434,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -10011,13 +12954,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 43
+ "line": 101,
+ "character": 43,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"type": {
@@ -10029,8 +12978,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [426]
+ "children": [434]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 101,
+ "character": 41,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
]
}
@@ -10040,16 +12996,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -10059,7 +13020,7 @@
]
},
{
- "id": 439,
+ "id": 447,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -10067,46 +13028,67 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 146,
- "character": 2
+ "line": 152,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L152"
}
],
"signatures": [
{
- "id": 440,
+ "id": 448,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be zero or one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise\nthis returns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 523,
+ "id": 535,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
"name": "PostgrestMaybeSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 405,
+ "id": 413,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -10114,24 +13096,49 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 59,
- "character": 2
+ "line": 65,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L65"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 69,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L69"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 73,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L73"
}
],
"signatures": [
{
- "id": 406,
+ "id": 414,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Order the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table."
+ }
+ ]
},
"typeParameter": [
{
- "id": 407,
+ "id": 415,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -10144,22 +13151,27 @@
],
"parameters": [
{
- "id": 408,
+ "id": 416,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to order by"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to order by"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 315,
+ "id": 318,
"name": "ColumnName"
}
},
{
- "id": 409,
+ "id": 417,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10167,19 +13179,24 @@
"isOptional": true
},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 410,
+ "id": 418,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 411,
+ "id": 419,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -10187,13 +13204,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the result will be in ascending order"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the result will be in ascending order"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 16
+ "line": 67,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -10202,7 +13233,7 @@
}
},
{
- "id": 413,
+ "id": 421,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -10210,13 +13241,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to order a foreign table by foreign\ncolumns"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 59
+ "line": 67,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -10225,7 +13262,7 @@
}
},
{
- "id": 412,
+ "id": 420,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -10233,13 +13270,51 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear first. If "
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": ",\n"
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear last."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 37
+ "line": 67,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -10251,8 +13326,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [411, 413, 412]
+ "children": [419, 421, 420]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 67,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
]
}
@@ -10261,16 +13343,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -10278,14 +13365,14 @@
}
},
{
- "id": 414,
+ "id": 422,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 415,
+ "id": 423,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -10296,7 +13383,7 @@
}
},
{
- "id": 416,
+ "id": 424,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10306,14 +13393,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 417,
+ "id": 425,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 418,
+ "id": 426,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -10323,8 +13410,9 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 65,
- "character": 16
+ "line": 71,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
],
"type": {
@@ -10333,7 +13421,7 @@
}
},
{
- "id": 420,
+ "id": 428,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -10341,8 +13429,9 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 65,
- "character": 59
+ "line": 71,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
],
"type": {
@@ -10351,7 +13440,7 @@
}
},
{
- "id": 419,
+ "id": 427,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -10361,8 +13450,9 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 65,
- "character": 37
+ "line": 71,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
],
"type": {
@@ -10374,8 +13464,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [418, 420, 419]
+ "children": [426, 428, 427]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
]
}
@@ -10384,16 +13481,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -10403,7 +13505,7 @@
]
},
{
- "id": 427,
+ "id": 435,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -10411,29 +13513,56 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 2
+ "line": 116,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"signatures": [
{
- "id": 428,
+ "id": 436,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`from`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`to`"
+ },
+ {
+ "kind": "text",
+ "text": " inclusively."
+ }
+ ]
},
"parameters": [
{
- "id": 429,
+ "id": 437,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The starting index from which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The starting index from which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -10441,13 +13570,18 @@
}
},
{
- "id": 430,
+ "id": 438,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The last index to which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The last index to which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -10455,26 +13589,31 @@
}
},
{
- "id": 431,
+ "id": 439,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 432,
+ "id": 440,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 433,
+ "id": 441,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -10482,13 +13621,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 54
+ "line": 116,
+ "character": 54,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"type": {
@@ -10500,8 +13645,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [433]
+ "children": [441]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 52,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
]
}
@@ -10511,16 +13663,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -10530,7 +13687,86 @@
]
},
{
- "id": 455,
+ "id": 465,
+ "name": "returns",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 249,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L249"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 466,
+ "name": "returns",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Override the type of the returned "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 467,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The new result type to override with"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 370,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 463,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -10538,33 +13774,51 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 229,
- "character": 2
+ "line": 235,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L235"
}
],
"signatures": [
{
- "id": 456,
+ "id": 464,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Rollback the query.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will still be returned, but the query is not committed."
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -10574,7 +13828,7 @@
]
},
{
- "id": 400,
+ "id": 408,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -10582,24 +13836,69 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 18,
- "character": 2
+ "line": 24,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L24"
}
],
"signatures": [
{
- "id": 401,
+ "id": 409,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a SELECT on the query result.\n\nBy default, "
+ },
+ {
+ "kind": "code",
+ "text": "`.insert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.update()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.upsert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", and "
+ },
+ {
+ "kind": "code",
+ "text": "`.delete()`"
+ },
+ {
+ "kind": "text",
+ "text": " do not\nreturn modified rows. By calling this method, modified rows are returned in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 402,
+ "id": 410,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -10614,7 +13913,7 @@
}
},
{
- "id": 403,
+ "id": 411,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -10624,29 +13923,18 @@
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"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"
- }
+ "type": "reference",
+ "id": 313,
+ "name": "Query"
}
],
"name": "GetResult"
@@ -10655,7 +13943,7 @@
],
"parameters": [
{
- "id": 404,
+ "id": 412,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -10663,27 +13951,37 @@
"isOptional": true
},
"comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The columns to retrieve, separated by commas"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 310,
+ "id": 313,
"name": "Query"
}
}
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 311,
+ "id": 314,
"name": "NewResult"
}
],
@@ -10693,7 +13991,7 @@
]
},
{
- "id": 437,
+ "id": 445,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -10701,46 +13999,67 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 135,
- "character": 2
+ "line": 141,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L141"
}
],
"signatures": [
{
- "id": 438,
+ "id": 446,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise this\nreturns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 472,
+ "id": 483,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -10749,30 +14068,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 473,
+ "id": 484,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 474,
+ "id": 485,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -10780,7 +14100,7 @@
}
},
{
- "id": 475,
+ "id": 486,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -10793,7 +14113,7 @@
],
"parameters": [
{
- "id": 476,
+ "id": 487,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -10810,32 +14130,40 @@
{
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 478,
+ "id": 489,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 479,
+ "id": 490,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -10848,7 +14176,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -10856,13 +14184,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -10874,7 +14202,7 @@
}
},
{
- "id": 480,
+ "id": 491,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -10891,21 +14219,29 @@
{
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 482,
+ "id": 493,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 483,
+ "id": 494,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -10921,7 +14257,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -10929,13 +14265,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -10955,36 +14291,36 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 507,
+ "id": 519,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 506,
+ "id": 518,
"name": "default.then"
}
},
{
- "id": 470,
+ "id": 481,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -10993,32 +14329,48 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 471,
+ "id": 482,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -11026,14 +14378,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 505,
+ "id": 517,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 504,
+ "id": 516,
"name": "default.throwOnError"
}
}
@@ -11041,30 +14393,39 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [395]
+ "children": [402]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [469, 461, 464, 459, 457, 460, 462, 463, 458]
+ "children": [480, 472, 475, 470, 468, 471, 473, 474, 469]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [434, 441, 445, 443, 421, 439, 405, 427, 455, 400, 437, 472, 470]
+ "children": [442, 449, 453, 451, 429, 447, 413, 435, 465, 463, 408, 445, 483, 481]
}
],
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 5,
- "character": 21
+ "line": 10,
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L10"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 484,
+ "id": 495,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 496,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -11081,13 +14442,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 485,
+ "id": 497,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -11097,11 +14458,11 @@
"extendedTypes": [
{
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -11111,39 +14472,50 @@
"extendedBy": [
{
"type": "reference",
- "id": 110,
+ "id": 112,
"name": "PostgrestFilterBuilder"
}
]
},
{
- "id": 525,
+ "id": 537,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error format\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes",
+ "target": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes"
+ }
+ ]
},
"sources": [
{
"fileName": "src/types.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L8"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 538,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 542,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -11152,7 +14524,8 @@
{
"fileName": "src/types.ts",
"line": 12,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L12"
}
],
"type": {
@@ -11161,7 +14534,7 @@
}
},
{
- "id": 528,
+ "id": 540,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -11170,7 +14543,8 @@
{
"fileName": "src/types.ts",
"line": 10,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L10"
}
],
"type": {
@@ -11179,7 +14553,7 @@
}
},
{
- "id": 529,
+ "id": 541,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -11188,7 +14562,8 @@
{
"fileName": "src/types.ts",
"line": 11,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L11"
}
],
"type": {
@@ -11197,7 +14572,7 @@
}
},
{
- "id": 527,
+ "id": 539,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -11206,7 +14581,8 @@
{
"fileName": "src/types.ts",
"line": 9,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L9"
}
],
"type": {
@@ -11218,22 +14594,22 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [530, 528, 529, 527]
+ "children": [542, 540, 541, 539]
}
],
"sources": [
{
"fileName": "src/types.ts",
"line": 8,
- "character": 29
+ "character": 29,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L8"
}
]
}
}
},
{
- "id": 523,
+ "id": 535,
"name": "PostgrestMaybeSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -11242,12 +14618,13 @@
{
"fileName": "src/types.ts",
"line": 45,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L45"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 524,
+ "id": 536,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -11256,19 +14633,19 @@
],
"type": {
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
- "id": 524,
+ "id": 536,
"name": "T"
},
{
- "type": "intrinsic",
- "name": "undefined"
+ "type": "literal",
+ "value": null
}
]
}
@@ -11277,7 +14654,7 @@
}
},
{
- "id": 519,
+ "id": 531,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -11286,12 +14663,13 @@
{
"fileName": "src/types.ts",
"line": 35,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L35"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 520,
+ "id": 532,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -11306,7 +14684,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 520,
+ "id": 532,
"name": "T"
}
],
@@ -11320,7 +14698,7 @@
}
},
{
- "id": 521,
+ "id": 533,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -11329,12 +14707,13 @@
{
"fileName": "src/types.ts",
"line": 42,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L42"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 522,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -11349,7 +14728,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 522,
+ "id": 534,
"name": "T"
}
],
@@ -11366,20 +14745,19 @@
"groups": [
{
"title": "Classes",
- "kind": 128,
- "children": [486, 1, 110, 49, 394]
+ "children": [498, 1, 112, 49, 401]
},
{
"title": "Type Aliases",
- "kind": 4194304,
- "children": [525, 523, 519, 521]
+ "children": [537, 535, 531, 533]
}
],
"sources": [
{
"fileName": "src/index.ts",
"line": 1,
- "character": 0
+ "character": 0,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/index.ts#L1"
}
]
}
diff --git a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
index be2e4eb6e32..da51bd27592 100644
--- a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
@@ -7,7 +7,7 @@
"originalName": "",
"children": [
{
- "id": 486,
+ "id": 498,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -16,7 +16,7 @@
},
"children": [
{
- "id": 487,
+ "id": 499,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -25,19 +25,20 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 18,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
}
],
"signatures": [
{
- "id": 488,
+ "id": 500,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 489,
+ "id": 501,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -46,24 +47,24 @@
],
"parameters": [
{
- "id": 490,
+ "id": 502,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 486,
+ "id": 498,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -74,30 +75,28 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [487]
+ "children": [499]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [503, 495, 498, 493, 491, 494, 496, 497, 492]
+ "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [506, 504]
+ "children": [518, 516]
}
],
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
"line": 5,
- "character": 30
+ "character": 30,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L5"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 518,
+ "id": 530,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -107,7 +106,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder"
}
],
@@ -117,20 +116,20 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -139,11 +138,11 @@
],
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -153,7 +152,7 @@
]
},
{
- "id": 503,
+ "id": 515,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -164,7 +163,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -173,7 +173,7 @@
}
},
{
- "id": 495,
+ "id": 507,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -185,7 +185,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -194,7 +195,7 @@
}
},
{
- "id": 498,
+ "id": 510,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -205,27 +206,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 500,
+ "id": 512,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 501,
+ "id": 513,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -235,21 +244,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 502,
+ "id": 514,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -258,9 +267,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -269,14 +278,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -284,7 +293,7 @@
}
},
{
- "id": 493,
+ "id": 505,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -295,7 +304,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -310,13 +320,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 491,
+ "id": 503,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -327,7 +337,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -357,7 +368,7 @@
}
},
{
- "id": 494,
+ "id": 506,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -369,7 +380,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -378,7 +390,7 @@
}
},
{
- "id": 496,
+ "id": 508,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -389,7 +401,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -399,7 +412,7 @@
"defaultValue": "false"
},
{
- "id": 497,
+ "id": 509,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -411,18 +424,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
},
{
- "id": 492,
+ "id": 504,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -433,18 +447,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 506,
+ "id": 518,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -453,30 +468,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 507,
+ "id": 519,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 508,
+ "id": 520,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -484,7 +500,7 @@
}
},
{
- "id": 509,
+ "id": 521,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -497,7 +513,7 @@
],
"parameters": [
{
- "id": 510,
+ "id": 522,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -514,32 +530,40 @@
{
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 523,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 512,
+ "id": 524,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 513,
+ "id": 525,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -552,7 +576,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -560,13 +584,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -578,7 +602,7 @@
}
},
{
- "id": 514,
+ "id": 526,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -595,21 +619,29 @@
{
"type": "reflection",
"declaration": {
- "id": 515,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 516,
+ "id": 528,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 517,
+ "id": 529,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -625,7 +657,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -633,13 +665,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -659,20 +691,20 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"implementationOf": {
"type": "reference",
@@ -686,7 +718,7 @@
}
},
{
- "id": 504,
+ "id": 516,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -695,27 +727,38 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 505,
+ "id": 517,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -728,30 +771,28 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [487]
+ "children": [499]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [503, 495, 498, 493, 491, 494, 496, 497, 492]
+ "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [506, 504]
+ "children": [518, 516]
}
],
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
"line": 5,
- "character": 30
+ "character": 30,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L5"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 518,
+ "id": 530,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -761,7 +802,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder"
}
],
@@ -771,20 +812,20 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
},
@@ -795,7 +836,12 @@
"kindString": "Class",
"flags": {},
"comment": {
- "shortText": "PostgREST client."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "PostgREST client."
+ }
+ ]
},
"children": [
{
@@ -808,7 +854,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 41,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L41"
}
],
"signatures": [
@@ -819,7 +866,12 @@
"kindString": "Constructor signature",
"flags": {},
"comment": {
- "shortText": "Creates a PostgREST client."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates a PostgREST client."
+ }
+ ]
},
"typeParameter": [
{
@@ -937,7 +989,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "URL of the PostgREST endpoint"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URL of the PostgREST endpoint"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -951,7 +1008,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
@@ -975,7 +1037,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 50,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L50"
}
],
"type": {
@@ -986,6 +1049,13 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
"id": 14,
@@ -994,7 +1064,12 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Custom fetch\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Custom fetch"
+ }
+ ]
},
"parameters": [
{
@@ -1008,15 +1083,15 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
@@ -1031,9 +1106,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -1042,14 +1117,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -1065,13 +1140,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Custom headers"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Custom headers"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 48,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L48"
}
],
"type": {
@@ -1086,9 +1167,9 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
@@ -1100,13 +1181,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Postgres schema to switch to"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Postgres schema to switch to"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 49,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L49"
}
],
"type": {
@@ -1119,9 +1206,16 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
"children": [12, 10, 11]
}
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 47,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L47"
+ }
]
}
},
@@ -1165,7 +1259,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 29,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L29"
}
],
"type": {
@@ -1176,6 +1271,13 @@
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
"id": 22,
@@ -1195,15 +1297,15 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
@@ -1218,9 +1320,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -1229,14 +1331,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -1253,7 +1355,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 27,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L27"
}
],
"type": {
@@ -1268,9 +1371,9 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
@@ -1285,7 +1388,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 28,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L28"
}
],
"type": {
@@ -1304,7 +1408,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 26,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L26"
}
],
"type": {
@@ -1322,7 +1427,26 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 64,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L64"
+ },
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 68,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L68"
+ },
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 71,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L71"
+ },
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 72,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L72"
}
],
"signatures": [
@@ -1333,7 +1457,12 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a query on a table or a view."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a query on a table or a view."
+ }
+ ]
},
"typeParameter": [
{
@@ -1367,7 +1496,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The table or view name to query\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The table or view name to query"
+ }
+ ]
},
"type": {
"type": "reference",
@@ -1381,6 +1515,11 @@
"type": "reference",
"id": 49,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "reference",
"id": 28,
@@ -1439,6 +1578,11 @@
"type": "reference",
"id": 49,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "reference",
"id": 32,
@@ -1471,6 +1615,11 @@
"type": "reference",
"id": 49,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "intrinsic",
"name": "any"
@@ -1491,7 +1640,8 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 102,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L102"
}
],
"signatures": [
@@ -1502,7 +1652,12 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a function call."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a function call."
+ }
+ ]
},
"typeParameter": [
{
@@ -1536,7 +1691,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The function name to call"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The function name to call"
+ }
+ ]
},
"type": {
"type": "reference",
@@ -1552,7 +1712,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The arguments to pass to the function call"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The arguments to pass to the function call"
+ }
+ ]
},
"type": {
"type": "indexedAccess",
@@ -1575,7 +1740,12 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
@@ -1596,13 +1766,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 113,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L113"
}
],
"type": {
@@ -1632,13 +1840,35 @@
"isOptional": true
},
"comment": {
- "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "When set to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will not be returned.\nUseful if you only need the count."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestClient.ts",
"line": 112,
- "character": 6
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L112"
}
],
"type": {
@@ -1650,9 +1880,16 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
"children": [45, 44]
}
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 111,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L111"
+ }
]
}
},
@@ -1661,8 +1898,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
{
"type": "conditional",
"checkType": {
@@ -1716,9 +1958,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
"trueType": {
"type": "indexedAccess",
@@ -1763,17 +2005,14 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
"children": [2]
},
{
"title": "Properties",
- "kind": 1024,
"children": [20, 18, 19, 17]
},
{
"title": "Methods",
- "kind": 2048,
"children": [25, 36]
}
],
@@ -1781,10 +2020,11 @@
{
"fileName": "src/PostgrestClient.ts",
"line": 17,
- "character": 21
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestClient.ts#L17"
}
],
- "typeParameter": [
+ "typeParameters": [
{
"id": 46,
"name": "Database",
@@ -1792,7 +2032,12 @@
"kindString": "Type parameter",
"flags": {},
"comment": {
- "shortText": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/typescript-support)\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/next/typescript-support)"
+ }
+ ]
},
"default": {
"type": "intrinsic",
@@ -1806,7 +2051,20 @@
"kindString": "Type parameter",
"flags": {},
"comment": {
- "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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Postgres schema to switch to. Must be a string\nliteral, the same one passed to the constructor. If the schema is not\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"public\"`"
+ },
+ {
+ "kind": "text",
+ "text": ", this must be supplied manually."
+ }
+ ]
},
"type": {
"type": "intersection",
@@ -1916,28 +2174,47 @@
]
},
{
- "id": 110,
+ "id": 112,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 111,
+ "id": 113,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 18,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
+ }
+ ],
"signatures": [
{
- "id": 112,
+ "id": 114,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 113,
+ "id": 115,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 116,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -1954,13 +2231,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 114,
+ "id": 117,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -1969,24 +2246,24 @@
],
"parameters": [
{
- "id": 115,
+ "id": 118,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 486,
+ "id": 498,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -1995,7 +2272,7 @@
},
"children": [
{
- "id": 487,
+ "id": 499,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2004,19 +2281,20 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 18,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
}
],
"signatures": [
{
- "id": 488,
+ "id": 500,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 489,
+ "id": 501,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -2025,18 +2303,18 @@
],
"parameters": [
{
- "id": 490,
+ "id": 502,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -2047,11 +2325,11 @@
],
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -2061,7 +2339,7 @@
]
},
{
- "id": 503,
+ "id": 515,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -2072,7 +2350,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -2081,7 +2360,7 @@
}
},
{
- "id": 495,
+ "id": 507,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -2093,7 +2372,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -2102,7 +2382,7 @@
}
},
{
- "id": 498,
+ "id": 510,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -2113,27 +2393,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 500,
+ "id": 512,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 501,
+ "id": 513,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -2143,21 +2431,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 502,
+ "id": 514,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -2166,9 +2454,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -2177,14 +2465,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -2192,7 +2480,7 @@
}
},
{
- "id": 493,
+ "id": 505,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -2203,7 +2491,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -2218,13 +2507,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 491,
+ "id": 503,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -2235,7 +2524,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -2265,7 +2555,7 @@
}
},
{
- "id": 494,
+ "id": 506,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -2277,7 +2567,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -2286,7 +2577,7 @@
}
},
{
- "id": 496,
+ "id": 508,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -2297,7 +2588,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -2307,7 +2599,7 @@
"defaultValue": "false"
},
{
- "id": 497,
+ "id": 509,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -2319,18 +2611,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
},
{
- "id": 492,
+ "id": 504,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -2341,18 +2634,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 506,
+ "id": 518,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -2361,30 +2655,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 507,
+ "id": 519,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 508,
+ "id": 520,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -2392,7 +2687,7 @@
}
},
{
- "id": 509,
+ "id": 521,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -2405,7 +2700,7 @@
],
"parameters": [
{
- "id": 510,
+ "id": 522,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -2422,32 +2717,40 @@
{
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 523,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 512,
+ "id": 524,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 513,
+ "id": 525,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -2460,7 +2763,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -2468,13 +2771,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -2486,7 +2789,7 @@
}
},
{
- "id": 514,
+ "id": 526,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -2503,21 +2806,29 @@
{
"type": "reflection",
"declaration": {
- "id": 515,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 516,
+ "id": 528,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 517,
+ "id": 529,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -2533,7 +2844,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -2541,13 +2852,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -2567,20 +2878,20 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"implementationOf": {
"type": "reference",
@@ -2594,7 +2905,7 @@
}
},
{
- "id": 504,
+ "id": 516,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -2603,27 +2914,38 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 505,
+ "id": 517,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -2636,30 +2958,28 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [487]
+ "children": [499]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [503, 495, 498, 493, 491, 494, 496, 497, 492]
+ "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [506, 504]
+ "children": [518, 516]
}
],
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
"line": 5,
- "character": 30
+ "character": 30,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L5"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 518,
+ "id": 530,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -2669,7 +2989,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder"
}
],
@@ -2679,20 +2999,20 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -2701,16 +3021,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -2718,19 +3043,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 396,
+ "id": 403,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 395,
+ "id": 402,
"name": "default.constructor"
}
},
{
- "id": 377,
+ "id": 383,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -2741,7 +3066,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -2750,12 +3076,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 469,
+ "id": 480,
"name": "default.allowEmpty"
}
},
{
- "id": 369,
+ "id": 375,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -2767,7 +3093,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -2776,12 +3103,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 461,
+ "id": 472,
"name": "default.body"
}
},
{
- "id": 372,
+ "id": 378,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -2792,27 +3119,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 373,
+ "id": 379,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 374,
+ "id": 380,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 375,
+ "id": 381,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -2822,21 +3157,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 376,
+ "id": 382,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -2845,9 +3180,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -2856,14 +3191,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -2871,12 +3206,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 464,
+ "id": 475,
"name": "default.fetch"
}
},
{
- "id": 367,
+ "id": 373,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -2887,7 +3222,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -2902,18 +3238,18 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 459,
+ "id": 470,
"name": "default.headers"
}
},
{
- "id": 365,
+ "id": 371,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -2924,7 +3260,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -2954,12 +3291,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 457,
+ "id": 468,
"name": "default.method"
}
},
{
- "id": 368,
+ "id": 374,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -2971,7 +3308,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -2980,12 +3318,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 460,
+ "id": 471,
"name": "default.schema"
}
},
{
- "id": 370,
+ "id": 376,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -2996,7 +3334,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -3006,12 +3345,12 @@
"defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 462,
+ "id": 473,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 371,
+ "id": 377,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -3023,23 +3362,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 463,
+ "id": 474,
"name": "default.signal"
}
},
{
- "id": 366,
+ "id": 372,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -3050,23 +3390,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 458,
+ "id": 469,
"name": "default.url"
}
},
{
- "id": 342,
+ "id": 345,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -3074,50 +3415,66 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 124,
- "character": 2
+ "line": 130,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L130"
}
],
"signatures": [
{
- "id": 343,
+ "id": 346,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Set the AbortSignal for the fetch request."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set the AbortSignal for the fetch request."
+ }
+ ]
},
"parameters": [
{
- "id": 344,
+ "id": 347,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The AbortSignal to use for the fetch request\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The AbortSignal to use for the fetch request"
+ }
+ ]
},
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -3125,19 +3482,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 435,
+ "id": 443,
"name": "default.abortSignal"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 434,
+ "id": 442,
"name": "default.abortSignal"
}
},
{
- "id": 204,
+ "id": 207,
"name": "containedBy",
"kind": 2048,
"kindString": "Method",
@@ -3145,23 +3502,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 214,
- "character": 2
+ "line": 216,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L216"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 220,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L220"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 221,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L221"
}
],
"signatures": [
{
- "id": 205,
+ "id": 208,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is contained by "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 206,
+ "id": 209,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3172,99 +3563,6 @@
}
}
],
- "parameters": [
- {
- "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",
- "dereferenced": {}
- }
- },
- {
- "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"
- }
- }
- }
- ]
- }
- }
- ],
- "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": [
{
"id": 210,
@@ -3272,9 +3570,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 209,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -3283,6 +3591,104 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record",
+ "qualifiedName": "Record",
+ "package": "typescript"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 209,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 212,
+ "name": "containedBy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 213,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 214,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "union",
"types": [
@@ -3309,9 +3715,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
]
}
@@ -3319,16 +3725,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -3338,7 +3749,7 @@
]
},
{
- "id": 196,
+ "id": 199,
"name": "contains",
"kind": 2048,
"kindString": "Method",
@@ -3346,23 +3757,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 187,
- "character": 2
+ "line": 189,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L189"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 193,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L193"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 194,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L194"
}
],
"signatures": [
{
- "id": 197,
+ "id": 200,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for jsonb, array, and range columns. Match only rows where\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " contains every element appearing in "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 198,
+ "id": 201,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3375,29 +3820,39 @@
],
"parameters": [
{
- "id": 199,
+ "id": 202,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The jsonb, array, or range column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 198,
+ "id": 201,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 200,
+ "id": 203,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The jsonb, array, or range value to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The jsonb, array, or range value to filter with"
+ }
+ ]
},
"type": {
"type": "union",
@@ -3418,9 +3873,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
{
"type": "array",
@@ -3428,12 +3883,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 198,
+ "id": 201,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -3444,16 +3899,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -3461,14 +3921,14 @@
}
},
{
- "id": 201,
+ "id": 204,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 202,
+ "id": 205,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3479,7 +3939,7 @@
}
},
{
- "id": 203,
+ "id": 206,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3510,9 +3970,9 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
]
}
@@ -3520,16 +3980,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -3539,7 +4004,7 @@
]
},
{
- "id": 349,
+ "id": 352,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -3547,26 +4012,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 155,
- "character": 2
+ "line": 161,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L161"
}
],
"signatures": [
{
- "id": 350,
+ "id": 353,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as a string in CSV format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a string in CSV format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -3576,25 +4055,25 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 442,
+ "id": 450,
"name": "default.csv"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 441,
+ "id": 449,
"name": "default.csv"
}
},
{
- "id": 116,
+ "id": 119,
"name": "eq",
"kind": 2048,
"kindString": "Method",
@@ -3602,24 +4081,73 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 39,
- "character": 2
+ "line": 41,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L41"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 42,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L42"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 43,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 117,
+ "id": 120,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nTo check if the value of "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is NULL, you should use "
+ },
+ {
+ "kind": "code",
+ "text": "`.is()`"
+ },
+ {
+ "kind": "text",
+ "text": " instead."
+ }
+ ]
},
"typeParameter": [
{
- "id": 118,
+ "id": 121,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3632,40 +4160,50 @@
],
"parameters": [
{
- "id": 119,
+ "id": 122,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 118,
+ "id": 121,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 120,
+ "id": 123,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 118,
+ "id": 121,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -3673,16 +4211,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -3690,14 +4233,14 @@
}
},
{
- "id": 121,
+ "id": 124,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 122,
+ "id": 125,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3708,7 +4251,7 @@
}
},
{
- "id": 123,
+ "id": 126,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3721,16 +4264,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -3740,7 +4288,7 @@
]
},
{
- "id": 353,
+ "id": 356,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -3748,42 +4296,61 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 189,
- "character": 2
+ "line": 195,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L195"
}
],
"signatures": [
{
- "id": 354,
+ "id": 357,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as the EXPLAIN plan for the query."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as the EXPLAIN plan for the query."
+ }
+ ]
},
"parameters": [
{
- "id": 355,
+ "id": 358,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 356,
+ "id": 359,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 360,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -3791,13 +4358,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query will be executed and the\nactual run time will be returned"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 197,
- "character": 4
+ "line": 203,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L203"
}
],
"type": {
@@ -3806,7 +4387,7 @@
}
},
{
- "id": 360,
+ "id": 363,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -3814,13 +4395,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on buffer usage\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on buffer usage"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
- "character": 4
+ "line": 206,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L206"
}
],
"type": {
@@ -3829,7 +4424,7 @@
}
},
{
- "id": 362,
+ "id": 365,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -3837,13 +4432,31 @@
"isOptional": true
},
"comment": {
- "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The format of the output, can be "
+ },
+ {
+ "kind": "code",
+ "text": "`\"text\"`"
+ },
+ {
+ "kind": "text",
+ "text": " (default)\nor "
+ },
+ {
+ "kind": "code",
+ "text": "`\"json\"`"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 202,
- "character": 4
+ "line": 208,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L208"
}
],
"type": {
@@ -3861,7 +4474,7 @@
}
},
{
- "id": 359,
+ "id": 362,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -3869,36 +4482,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on configuration\nparameters that affect query planning"
+ }
+ ]
},
"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
+ "line": 205,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L205"
}
],
"type": {
@@ -3908,6 +4512,51 @@
},
{
"id": 361,
+ "name": "verbose",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query identifier will be returned\nand "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will include the output columns of the query"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 204,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L204"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 364,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -3915,13 +4564,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on WAL record generation\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on WAL record generation"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 201,
- "character": 4
+ "line": 207,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L207"
}
],
"type": {
@@ -3933,8 +4596,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [357, 360, 362, 359, 358, 361]
+ "children": [360, 363, 365, 362, 361, 364]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 202,
+ "character": 5,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L202"
}
]
}
@@ -3950,7 +4620,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -3960,16 +4630,16 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
@@ -3983,35 +4653,35 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
},
"inheritedFrom": {
"type": "reference",
- "id": 446,
+ "id": 454,
"name": "default.explain"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 445,
+ "id": 453,
"name": "default.explain"
}
},
{
- "id": 298,
+ "id": 301,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -4019,24 +4689,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 439,
- "character": 2
+ "line": 441,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L441"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 446,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L446"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 447,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L447"
}
],
"signatures": [
{
- "id": 299,
+ "id": 302,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.\n\nUnlike most filters, "
+ },
+ {
+ "kind": "code",
+ "text": "`opearator`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized."
+ }
+ ]
},
"typeParameter": [
{
- "id": 300,
+ "id": 303,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4049,29 +4752,39 @@
],
"parameters": [
{
- "id": 301,
+ "id": 304,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 300,
+ "id": 303,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 302,
+ "id": 305,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The operator to filter with, following PostgREST syntax"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The operator to filter with, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "union",
@@ -4172,13 +4885,18 @@
}
},
{
- "id": 303,
+ "id": 306,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with, following PostgREST syntax\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -4188,16 +4906,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4205,14 +4928,14 @@
}
},
{
- "id": 304,
+ "id": 307,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 305,
+ "id": 308,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4223,7 +4946,7 @@
}
},
{
- "id": 306,
+ "id": 309,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -4234,7 +4957,7 @@
}
},
{
- "id": 307,
+ "id": 310,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -4247,16 +4970,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4266,7 +4994,7 @@
]
},
{
- "id": 351,
+ "id": 354,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -4274,26 +5002,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 163,
- "character": 2
+ "line": 169,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L169"
}
],
"signatures": [
{
- "id": 352,
+ "id": 355,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as an object in [GeoJSON](https://geojson.org) format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
@@ -4307,33 +5049,33 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 444,
+ "id": 452,
"name": "default.geojson"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 443,
+ "id": 451,
"name": "default.geojson"
}
},
{
- "id": 132,
+ "id": 135,
"name": "gt",
"kind": 2048,
"kindString": "Method",
@@ -4341,23 +5083,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 65,
- "character": 2
+ "line": 67,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L67"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 68,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L68"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 69,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L69"
}
],
"signatures": [
{
- "id": 133,
+ "id": 136,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is greater than `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is greater than "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 134,
+ "id": 137,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4368,71 +5144,6 @@
}
}
],
- "parameters": [
- {
- "id": 135,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 134,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -4440,9 +5151,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 137,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -4451,6 +5172,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 137,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 140,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 141,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 142,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -4459,16 +5250,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4478,7 +5274,7 @@
]
},
{
- "id": 140,
+ "id": 143,
"name": "gte",
"kind": 2048,
"kindString": "Method",
@@ -4486,23 +5282,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 78,
- "character": 2
+ "line": 80,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L80"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 81,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L81"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 82,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L82"
}
],
"signatures": [
{
- "id": 141,
+ "id": 144,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is greater than or equal to `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is greater than or equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 142,
+ "id": 145,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4513,71 +5343,6 @@
}
}
],
- "parameters": [
- {
- "id": 143,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 142,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -4585,9 +5350,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 145,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -4596,6 +5371,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 145,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 148,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 149,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 150,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -4604,16 +5449,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4623,7 +5473,7 @@
]
},
{
- "id": 172,
+ "id": 175,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
@@ -4631,23 +5481,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 130,
- "character": 2
+ "line": 132,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L132"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 133,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L133"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 134,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L134"
}
],
"signatures": [
{
- "id": 173,
+ "id": 176,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " matches "
+ },
+ {
+ "kind": "code",
+ "text": "`pattern`"
+ },
+ {
+ "kind": "text",
+ "text": " case-insensitively."
+ }
+ ]
},
"typeParameter": [
{
- "id": 174,
+ "id": 177,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4658,62 +5542,6 @@
}
}
],
- "parameters": [
- {
- "id": 175,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 174,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -4721,9 +5549,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 177,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -4732,6 +5570,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The pattern to match with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -4740,16 +5586,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 180,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 182,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -4759,7 +5663,7 @@
]
},
{
- "id": 188,
+ "id": 191,
"name": "in",
"kind": 2048,
"kindString": "Method",
@@ -4767,23 +5671,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 165,
- "character": 2
+ "line": 167,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L167"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 168,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L168"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 169,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L169"
}
],
"signatures": [
{
- "id": 189,
+ "id": 192,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is included in the "
+ },
+ {
+ "kind": "code",
+ "text": "`values`"
+ },
+ {
+ "kind": "text",
+ "text": " array."
+ }
+ ]
},
"typeParameter": [
{
- "id": 190,
+ "id": 193,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4796,29 +5734,39 @@
],
"parameters": [
{
- "id": 191,
+ "id": 194,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 190,
+ "id": 193,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 192,
+ "id": 195,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The values array to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values array to filter with"
+ }
+ ]
},
"type": {
"type": "array",
@@ -4826,12 +5774,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 190,
+ "id": 193,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -4840,16 +5788,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4857,14 +5810,14 @@
}
},
{
- "id": 193,
+ "id": 196,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 194,
+ "id": 197,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4875,7 +5828,7 @@
}
},
{
- "id": 195,
+ "id": 198,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -4891,16 +5844,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -4910,7 +5868,7 @@
]
},
{
- "id": 180,
+ "id": 183,
"name": "is",
"kind": 2048,
"kindString": "Method",
@@ -4918,24 +5876,113 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 149,
- "character": 2
+ "line": 151,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L151"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 155,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L155"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 156,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L156"
}
],
"signatures": [
{
- "id": 181,
+ "id": 184,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " IS "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nFor non-boolean columns, this is only relevant for checking if the value of\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is NULL by setting "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " to "
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nFor boolean columns, you can also set "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": " or "
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": " and it\nwill behave the same way as "
+ },
+ {
+ "kind": "code",
+ "text": "`.eq()`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 182,
+ "id": 185,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4948,115 +5995,63 @@
],
"parameters": [
{
- "id": 183,
+ "id": 186,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 182,
+ "id": 185,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 184,
+ "id": 187,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intersection",
- "types": [
+ "summary": [
{
- "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
- }
- ]
+ "kind": "text",
+ "text": "The value to filter with"
}
]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "Object"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5064,14 +6059,14 @@
}
},
{
- "id": 185,
+ "id": 188,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 186,
+ "id": 189,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -5082,7 +6077,7 @@
}
},
{
- "id": 187,
+ "id": 190,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5104,16 +6099,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5123,7 +6123,7 @@
]
},
{
- "id": 164,
+ "id": 167,
"name": "like",
"kind": 2048,
"kindString": "Method",
@@ -5131,23 +6131,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 117,
- "character": 2
+ "line": 119,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L119"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 120,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L120"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 121,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L121"
}
],
"signatures": [
{
- "id": 165,
+ "id": 168,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " matches "
+ },
+ {
+ "kind": "code",
+ "text": "`pattern`"
+ },
+ {
+ "kind": "text",
+ "text": " case-sensitively."
+ }
+ ]
},
"typeParameter": [
{
- "id": 166,
+ "id": 169,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5158,62 +6192,6 @@
}
}
],
- "parameters": [
- {
- "id": 167,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 166,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -5221,9 +6199,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 169,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -5232,6 +6220,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The pattern to match with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -5240,16 +6236,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 172,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 173,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 174,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -5259,7 +6313,7 @@
]
},
{
- "id": 329,
+ "id": 332,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -5267,29 +6321,48 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 2
+ "line": 101,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"signatures": [
{
- "id": 330,
+ "id": 333,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `count`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`count`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"parameters": [
{
- "id": 331,
+ "id": 334,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The maximum number of rows to return"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The maximum number of rows to return"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -5297,26 +6370,31 @@
}
},
{
- "id": 332,
+ "id": 335,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 334,
+ "id": 337,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -5324,13 +6402,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 43
+ "line": 101,
+ "character": 43,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"type": {
@@ -5342,8 +6426,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [334]
+ "children": [337]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 101,
+ "character": 41,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
]
}
@@ -5353,16 +6444,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5370,19 +6466,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 422,
+ "id": 430,
"name": "default.limit"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 421,
+ "id": 429,
"name": "default.limit"
}
},
{
- "id": 148,
+ "id": 151,
"name": "lt",
"kind": 2048,
"kindString": "Method",
@@ -5390,23 +6486,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 91,
- "character": 2
+ "line": 93,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L93"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 94,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L94"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 95,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L95"
}
],
"signatures": [
{
- "id": 149,
+ "id": 152,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is less than `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is less than "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 150,
+ "id": 153,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5417,71 +6547,6 @@
}
}
],
- "parameters": [
- {
- "id": 151,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 150,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -5489,9 +6554,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 153,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -5500,6 +6575,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 153,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 156,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 157,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -5508,16 +6653,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5527,7 +6677,7 @@
]
},
{
- "id": 156,
+ "id": 159,
"name": "lte",
"kind": 2048,
"kindString": "Method",
@@ -5535,23 +6685,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 104,
- "character": 2
+ "line": 106,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L106"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 107,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L107"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 108,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L108"
}
],
"signatures": [
{
- "id": 157,
+ "id": 160,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is less than or equal to `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is less than or equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 158,
+ "id": 161,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5562,71 +6746,6 @@
}
}
],
- "parameters": [
- {
- "id": 159,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 158,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -5634,9 +6753,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 161,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -5645,6 +6774,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 161,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 164,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 165,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 166,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -5653,16 +6852,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5672,7 +6876,7 @@
]
},
{
- "id": 276,
+ "id": 279,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -5680,23 +6884,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 374,
- "character": 2
+ "line": 376,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L376"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 377,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L377"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 378,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L378"
}
],
"signatures": [
{
- "id": 277,
+ "id": 280,
"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."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where each column in "
+ },
+ {
+ "kind": "code",
+ "text": "`query`"
+ },
+ {
+ "kind": "text",
+ "text": " keys is equal to its\nassociated value. Shorthand for multiple "
+ },
+ {
+ "kind": "code",
+ "text": "`.eq()`"
+ },
+ {
+ "kind": "text",
+ "text": "s."
+ }
+ ]
},
"typeParameter": [
{
- "id": 278,
+ "id": 281,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5709,54 +6947,64 @@
],
"parameters": [
{
- "id": 279,
+ "id": 282,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The object to filter with, with column names as keys mapped\nto their filter values"
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 278,
+ "id": 281,
"name": "ColumnName"
},
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 278,
+ "id": 281,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5764,14 +7012,14 @@
}
},
{
- "id": 280,
+ "id": 283,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 281,
+ "id": 284,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -5788,24 +7036,29 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -5815,7 +7068,7 @@
]
},
{
- "id": 347,
+ "id": 350,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -5823,56 +7076,77 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 146,
- "character": 2
+ "line": 152,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L152"
}
],
"signatures": [
{
- "id": 348,
+ "id": 351,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be zero or one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise\nthis returns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 523,
+ "id": 535,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
"name": "PostgrestMaybeSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 440,
+ "id": 448,
"name": "default.maybeSingle"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 439,
+ "id": 447,
"name": "default.maybeSingle"
}
},
{
- "id": 124,
+ "id": 127,
"name": "neq",
"kind": 2048,
"kindString": "Method",
@@ -5880,23 +7154,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 52,
- "character": 2
+ "line": 54,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L54"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 55,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L55"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 56,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L56"
}
],
"signatures": [
{
- "id": 125,
+ "id": 128,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Match only rows where `column` is not equal to `value`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is not equal to "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 126,
+ "id": 129,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5907,71 +7215,6 @@
}
}
],
- "parameters": [
- {
- "id": 127,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 126,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -5979,9 +7222,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 129,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -5990,6 +7243,76 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with"
+ }
+ ]
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 129,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 132,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 134,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
@@ -5998,16 +7321,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -6017,7 +7345,7 @@
]
},
{
- "id": 282,
+ "id": 285,
"name": "not",
"kind": 2048,
"kindString": "Method",
@@ -6025,24 +7353,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 396,
- "character": 2
+ "line": 398,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L398"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 403,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L403"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 404,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L404"
}
],
"signatures": [
{
- "id": 283,
+ "id": 286,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows which doesn't satisfy the filter.\n\nUnlike most filters, "
+ },
+ {
+ "kind": "code",
+ "text": "`opearator`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized."
+ }
+ ]
},
"typeParameter": [
{
- "id": 284,
+ "id": 287,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6055,29 +7416,39 @@
],
"parameters": [
{
- "id": 285,
+ "id": 288,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 284,
+ "id": 287,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 286,
+ "id": 289,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The operator to be negated to filter with, following\nPostgREST syntax"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The operator to be negated to filter with, following\nPostgREST syntax"
+ }
+ ]
},
"type": {
"type": "reference",
@@ -6085,24 +7456,29 @@
}
},
{
- "id": 287,
+ "id": 290,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The value to filter with, following PostgREST syntax\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The value to filter with, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 284,
+ "id": 287,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -6110,16 +7486,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -6127,14 +7508,14 @@
}
},
{
- "id": 288,
+ "id": 291,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 289,
+ "id": 292,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6145,7 +7526,7 @@
}
},
{
- "id": 290,
+ "id": 293,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -6156,7 +7537,7 @@
}
},
{
- "id": 291,
+ "id": 294,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -6169,16 +7550,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -6188,7 +7574,7 @@
]
},
{
- "id": 292,
+ "id": 295,
"name": "or",
"kind": 2048,
"kindString": "Method",
@@ -6196,30 +7582,56 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 420,
- "character": 2
+ "line": 422,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L422"
}
],
"signatures": [
{
- "id": 293,
+ "id": 296,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Match only rows which satisfy at least one of the filters.\n\nUnlike most filters, "
+ },
+ {
+ "kind": "code",
+ "text": "`filters`"
+ },
+ {
+ "kind": "text",
+ "text": " 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 "
+ },
+ {
+ "kind": "code",
+ "text": "`.or()`"
+ },
+ {
+ "kind": "text",
+ "text": " filter across multiple tables."
+ }
+ ]
},
"parameters": [
{
- "id": 294,
+ "id": 297,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The filters to use, following PostgREST syntax"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The filters to use, following PostgREST syntax"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -6227,26 +7639,31 @@
}
},
{
- "id": 295,
+ "id": 298,
"name": "foreignTable",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Set this to filter on foreign tables instead of the\ncurrent table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to filter on foreign tables instead of the\ncurrent table"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 296,
+ "id": 299,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 297,
+ "id": 300,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -6256,8 +7673,9 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 420,
- "character": 42
+ "line": 422,
+ "character": 42,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L422"
}
],
"type": {
@@ -6269,8 +7687,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [297]
+ "children": [300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 422,
+ "character": 40,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L422"
}
]
}
@@ -6280,16 +7705,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -6299,7 +7729,7 @@
]
},
{
- "id": 313,
+ "id": 316,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -6307,24 +7737,49 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 59,
- "character": 2
+ "line": 65,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L65"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 69,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L69"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 73,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L73"
}
],
"signatures": [
{
- "id": 314,
+ "id": 317,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Order the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table."
+ }
+ ]
},
"typeParameter": [
{
- "id": 315,
+ "id": 318,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6337,23 +7792,28 @@
],
"parameters": [
{
- "id": 316,
+ "id": 319,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to order by"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to order by"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 315,
+ "id": 318,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 317,
+ "id": 320,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -6361,19 +7821,24 @@
"isOptional": true
},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 319,
+ "id": 322,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -6381,13 +7846,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the result will be in ascending order"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the result will be in ascending order"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 16
+ "line": 67,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -6396,7 +7875,7 @@
}
},
{
- "id": 321,
+ "id": 324,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -6404,13 +7883,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to order a foreign table by foreign\ncolumns"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 59
+ "line": 67,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -6419,7 +7904,7 @@
}
},
{
- "id": 320,
+ "id": 323,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -6427,13 +7912,51 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear first. If "
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": ",\n"
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear last."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 37
+ "line": 67,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -6445,136 +7968,15 @@
"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"
- }
+ "children": [322, 324, 323]
}
],
- "groups": [
+ "sources": [
{
- "title": "Properties",
- "kind": 1024,
- "children": [326, 328, 327]
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 67,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
]
}
@@ -6583,16 +7985,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -6603,16 +8010,159 @@
"id": 414,
"name": "default.order"
}
+ },
+ {
+ "id": 325,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 326,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 327,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 328,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 329,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 331,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 330,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [329, 331, 330]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 422,
+ "name": "default.order"
+ }
}
],
"inheritedFrom": {
"type": "reference",
- "id": 405,
+ "id": 413,
"name": "default.order"
}
},
{
- "id": 252,
+ "id": 255,
"name": "overlaps",
"kind": 2048,
"kindString": "Method",
@@ -6620,23 +8170,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 313,
- "character": 2
+ "line": 315,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L315"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 319,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L319"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 320,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L320"
}
],
"signatures": [
{
- "id": 253,
+ "id": 256,
"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."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for array and range columns. Match only rows where\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`value`"
+ },
+ {
+ "kind": "text",
+ "text": " have an element in common."
+ }
+ ]
},
"typeParameter": [
{
- "id": 254,
+ "id": 257,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6649,29 +8233,39 @@
],
"parameters": [
{
- "id": 255,
+ "id": 258,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The array or range column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The array or range column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 254,
+ "id": 257,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 256,
+ "id": 259,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The array or range value to filter with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The array or range value to filter with"
+ }
+ ]
},
"type": {
"type": "union",
@@ -6686,12 +8280,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 254,
+ "id": 257,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 113,
+ "id": 116,
"name": "Row"
}
}
@@ -6702,16 +8296,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -6719,14 +8318,14 @@
}
},
{
- "id": 257,
+ "id": 260,
"name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 258,
+ "id": 261,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6737,7 +8336,7 @@
}
},
{
- "id": 259,
+ "id": 262,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -6762,16 +8361,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -6781,7 +8385,7 @@
]
},
{
- "id": 335,
+ "id": 338,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -6789,29 +8393,56 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 2
+ "line": 116,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"signatures": [
{
- "id": 336,
+ "id": 339,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`from`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`to`"
+ },
+ {
+ "kind": "text",
+ "text": " inclusively."
+ }
+ ]
},
"parameters": [
{
- "id": 337,
+ "id": 340,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The starting index from which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The starting index from which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -6819,13 +8450,18 @@
}
},
{
- "id": 338,
+ "id": 341,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The last index to which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The last index to which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -6833,26 +8469,31 @@
}
},
{
- "id": 339,
+ "id": 342,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 343,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 341,
+ "id": 344,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -6860,13 +8501,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 54
+ "line": 116,
+ "character": 54,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"type": {
@@ -6878,8 +8525,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [341]
+ "children": [344]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 52,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
]
}
@@ -6889,16 +8543,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -6906,19 +8565,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 428,
+ "id": 436,
"name": "default.range"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 427,
+ "id": 435,
"name": "default.range"
}
},
{
- "id": 244,
+ "id": 247,
"name": "rangeAdjacent",
"kind": 2048,
"kindString": "Method",
@@ -6926,23 +8585,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 299,
- "character": 2
+ "line": 301,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L301"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 302,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L302"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 303,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L303"
}
],
"signatures": [
{
- "id": 245,
+ "id": 248,
"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."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is\nmutually exclusive to "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": " and there can be no element between the two\nranges."
+ }
+ ]
},
"typeParameter": [
{
- "id": 246,
+ "id": 249,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6953,62 +8646,6 @@
}
}
],
- "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",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -7016,9 +8653,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 249,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -7027,6 +8674,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -7035,16 +8690,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 252,
+ "name": "rangeAdjacent",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 253,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 254,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -7054,7 +8767,7 @@
]
},
{
- "id": 212,
+ "id": 215,
"name": "rangeGt",
"kind": 2048,
"kindString": "Method",
@@ -7062,23 +8775,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 240,
- "character": 2
+ "line": 242,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L242"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 243,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L243"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 244,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L244"
}
],
"signatures": [
{
- "id": 213,
+ "id": 216,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is greater than any element in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 214,
+ "id": 217,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -7089,62 +8836,6 @@
}
}
],
- "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",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -7152,9 +8843,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 217,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -7163,6 +8864,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -7171,16 +8880,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 220,
+ "name": "rangeGt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 221,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 222,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -7190,7 +8957,7 @@
]
},
{
- "id": 220,
+ "id": 223,
"name": "rangeGte",
"kind": 2048,
"kindString": "Method",
@@ -7198,23 +8965,65 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 255,
- "character": 2
+ "line": 257,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L257"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 258,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L258"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 259,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L259"
}
],
"signatures": [
{
- "id": 221,
+ "id": 224,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is either contained in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": " or greater than any element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 222,
+ "id": 225,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -7225,62 +9034,6 @@
}
}
],
- "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",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -7288,9 +9041,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 225,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -7299,6 +9062,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -7307,16 +9078,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 228,
+ "name": "rangeGte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 229,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 230,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -7326,7 +9155,7 @@
]
},
{
- "id": 228,
+ "id": 231,
"name": "rangeLt",
"kind": 2048,
"kindString": "Method",
@@ -7334,23 +9163,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 269,
- "character": 2
+ "line": 271,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L271"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 272,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L272"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 273,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L273"
}
],
"signatures": [
{
- "id": 229,
+ "id": 232,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is less than any element in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 230,
+ "id": 233,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -7361,62 +9224,6 @@
}
}
],
- "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",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -7424,9 +9231,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 233,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -7435,6 +9252,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -7443,16 +9268,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 236,
+ "name": "rangeLt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 237,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 238,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -7462,7 +9345,7 @@
]
},
{
- "id": 236,
+ "id": 239,
"name": "rangeLte",
"kind": 2048,
"kindString": "Method",
@@ -7470,23 +9353,65 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 284,
- "character": 2
+ "line": 286,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L286"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 287,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L287"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 288,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L288"
}
],
"signatures": [
{
- "id": 237,
+ "id": 240,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for range columns. Match only rows where every element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " is either contained in "
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": " or less than any element in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`range`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 238,
+ "id": 241,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -7497,62 +9422,6 @@
}
}
],
- "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",
- "dereferenced": {}
- }
- },
- {
- "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,
@@ -7560,9 +9429,19 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range column to filter on"
+ }
+ ]
+ },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reference",
+ "id": 241,
+ "name": "ColumnName",
+ "dereferenced": {}
}
},
{
@@ -7571,6 +9450,14 @@
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The range to filter with"
+ }
+ ]
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -7579,16 +9466,74 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 244,
+ "name": "rangeLte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 245,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 246,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
"name": "Result"
}
],
@@ -7598,7 +9543,96 @@
]
},
{
- "id": 363,
+ "id": 368,
+ "name": "returns",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 249,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L249"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 369,
+ "name": "returns",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Override the type of the returned "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 370,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The new result type to override with"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 370,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 466,
+ "name": "default.returns"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 465,
+ "name": "default.returns"
+ }
+ },
+ {
+ "id": 366,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -7606,33 +9640,51 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 229,
- "character": 2
+ "line": 235,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L235"
}
],
"signatures": [
{
- "id": 364,
+ "id": 367,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Rollback the query.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will still be returned, but the query is not committed."
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -7640,19 +9692,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 456,
+ "id": 464,
"name": "default.rollback"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 455,
+ "id": 463,
"name": "default.rollback"
}
},
{
- "id": 308,
+ "id": 311,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -7660,24 +9712,69 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 18,
- "character": 2
+ "line": 24,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L24"
}
],
"signatures": [
{
- "id": 309,
+ "id": 312,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a SELECT on the query result.\n\nBy default, "
+ },
+ {
+ "kind": "code",
+ "text": "`.insert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.update()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.upsert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", and "
+ },
+ {
+ "kind": "code",
+ "text": "`.delete()`"
+ },
+ {
+ "kind": "text",
+ "text": " do not\nreturn modified rows. By calling this method, modified rows are returned in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 310,
+ "id": 313,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -7692,7 +9789,7 @@
}
},
{
- "id": 311,
+ "id": 314,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -7702,29 +9799,18 @@
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"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"
- }
+ "type": "reference",
+ "id": 313,
+ "name": "Query"
}
],
"name": "GetResult"
@@ -7733,7 +9819,7 @@
],
"parameters": [
{
- "id": 312,
+ "id": 315,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -7741,11 +9827,16 @@
"isOptional": true
},
"comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The columns to retrieve, separated by commas"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 310,
+ "id": 313,
"name": "Query",
"dereferenced": {}
}
@@ -7753,16 +9844,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 311,
+ "id": 314,
"name": "NewResult"
}
],
@@ -7770,19 +9866,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 401,
+ "id": 409,
"name": "default.select"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 400,
+ "id": 408,
"name": "default.select"
}
},
{
- "id": 345,
+ "id": 348,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -7790,56 +9886,77 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 135,
- "character": 2
+ "line": 141,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L141"
}
],
"signatures": [
{
- "id": 346,
+ "id": 349,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise this\nreturns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 438,
+ "id": 446,
"name": "default.single"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 437,
+ "id": 445,
"name": "default.single"
}
},
{
- "id": 260,
+ "id": 263,
"name": "textSearch",
"kind": 2048,
"kindString": "Method",
@@ -7847,23 +9964,57 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 339,
- "character": 2
+ "line": 341,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L341"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 346,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L346"
+ },
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 351,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L351"
}
],
"signatures": [
{
- "id": 261,
+ "id": 264,
"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`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Only relevant for text and tsvector columns. Match only rows where\n"
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": " matches the query string in "
+ },
+ {
+ "kind": "code",
+ "text": "`query`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 262,
+ "id": 265,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -7876,29 +10027,39 @@
],
"parameters": [
{
- "id": 263,
+ "id": 266,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The text or tsvector column to filter on"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The text or tsvector column to filter on"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 262,
+ "id": 265,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 264,
+ "id": 267,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The query text to match with"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The query text to match with"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -7906,7 +10067,7 @@
}
},
{
- "id": 265,
+ "id": 268,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7914,19 +10075,24 @@
"isOptional": true
},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 266,
+ "id": 269,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 267,
+ "id": 270,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -7934,13 +10100,19 @@
"isOptional": true
},
"comment": {
- "shortText": "The text search configuration to use"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The text search configuration to use"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 342,
- "character": 16
+ "line": 344,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L344"
}
],
"type": {
@@ -7949,7 +10121,7 @@
}
},
{
- "id": 268,
+ "id": 271,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7957,13 +10129,27 @@
"isOptional": true
},
"comment": {
- "shortText": "Change how the `query` text is interpreted\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Change how the "
+ },
+ {
+ "kind": "code",
+ "text": "`query`"
+ },
+ {
+ "kind": "text",
+ "text": " text is interpreted"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 342,
- "character": 33
+ "line": 344,
+ "character": 33,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L344"
}
],
"type": {
@@ -7988,8 +10174,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [267, 268]
+ "children": [270, 271]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 344,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L344"
}
]
}
@@ -7998,16 +10191,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -8015,14 +10213,14 @@
}
},
{
- "id": 269,
+ "id": 272,
"name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 270,
+ "id": 273,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -8033,7 +10231,7 @@
}
},
{
- "id": 271,
+ "id": 274,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -8044,7 +10242,7 @@
}
},
{
- "id": 272,
+ "id": 275,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -8054,14 +10252,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 276,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 274,
+ "id": 277,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -8071,8 +10269,9 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 347,
- "character": 16
+ "line": 349,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L349"
}
],
"type": {
@@ -8081,7 +10280,7 @@
}
},
{
- "id": 275,
+ "id": 278,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -8091,8 +10290,9 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 347,
- "character": 33
+ "line": 349,
+ "character": 33,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L349"
}
],
"type": {
@@ -8117,8 +10317,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [274, 275]
+ "children": [277, 278]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 349,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L349"
}
]
}
@@ -8127,16 +10334,21 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -8146,7 +10358,7 @@
]
},
{
- "id": 380,
+ "id": 386,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -8155,30 +10367,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 381,
+ "id": 387,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 382,
+ "id": 388,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -8186,7 +10399,7 @@
}
},
{
- "id": 383,
+ "id": 389,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -8199,7 +10412,7 @@
],
"parameters": [
{
- "id": 384,
+ "id": 390,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -8216,32 +10429,40 @@
{
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 386,
+ "id": 392,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 387,
+ "id": 393,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -8254,7 +10475,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -8262,13 +10483,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -8280,7 +10501,7 @@
}
},
{
- "id": 388,
+ "id": 394,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -8297,21 +10518,29 @@
{
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 395,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 390,
+ "id": 396,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 391,
+ "id": 397,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -8327,7 +10556,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -8335,13 +10564,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -8361,36 +10590,36 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 473,
+ "id": 484,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 472,
+ "id": 483,
"name": "default.then"
}
},
{
- "id": 378,
+ "id": 384,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -8399,32 +10628,48 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 379,
+ "id": 385,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -8432,14 +10677,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 471,
+ "id": 482,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 470,
+ "id": 481,
"name": "default.throwOnError"
}
}
@@ -8447,34 +10692,43 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [111]
+ "children": [113]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [377, 369, 372, 367, 365, 368, 370, 371, 366]
+ "children": [383, 375, 378, 373, 371, 374, 376, 377, 372]
},
{
"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
+ 345, 207, 199, 352, 119, 356, 301, 354, 135, 143, 175, 191, 183, 167, 332, 151, 159,
+ 279, 350, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 368, 366, 311, 348,
+ 263, 386, 384
]
}
],
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 27,
- "character": 21
+ "line": 28,
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestFilterBuilder.ts#L28"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 392,
+ "id": 398,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 399,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -8491,13 +10745,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 393,
+ "id": 400,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -8507,16 +10761,21 @@
"extendedTypes": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 113,
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
"name": "Row"
},
{
"type": "reference",
- "id": 114,
+ "id": 117,
"name": "Result"
}
],
@@ -8540,8 +10799,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 13,
- "character": 2
+ "line": 16,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L16"
}
],
"signatures": [
@@ -8554,6 +10814,17 @@
"typeParameter": [
{
"id": 52,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 53,
"name": "Relation",
"kind": 131072,
"kindString": "Type parameter",
@@ -8575,20 +10846,20 @@
],
"parameters": [
{
- "id": 53,
+ "id": 54,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 54,
+ "id": 55,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -8596,14 +10867,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 56,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 58,
+ "id": 59,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -8613,28 +10884,36 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 22,
- "character": 6
+ "line": 25,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L25"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 59,
+ "id": 60,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 60,
+ "id": 61,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 61,
+ "id": 62,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -8644,21 +10923,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 62,
+ "id": 63,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -8667,9 +10946,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -8678,14 +10957,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -8693,7 +10972,7 @@
}
},
{
- "id": 56,
+ "id": 57,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -8703,8 +10982,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 20,
- "character": 6
+ "line": 23,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L23"
}
],
"type": {
@@ -8719,13 +10999,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 57,
+ "id": 58,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -8735,8 +11015,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 21,
- "character": 6
+ "line": 24,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L24"
}
],
"type": {
@@ -8748,8 +11029,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [58, 56, 57]
+ "children": [59, 57, 58]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 22,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L22"
}
]
}
@@ -8763,6 +11051,11 @@
{
"type": "reference",
"id": 52,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 53,
"name": "Relation"
}
],
@@ -8772,7 +11065,7 @@
]
},
{
- "id": 67,
+ "id": 68,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -8782,28 +11075,36 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 11,
- "character": 2
+ "line": 14,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L14"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 68,
+ "id": 69,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 69,
+ "id": 70,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 70,
+ "id": 71,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -8813,21 +11114,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 71,
+ "id": 72,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -8836,9 +11137,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -8847,14 +11148,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -8862,7 +11163,7 @@
}
},
{
- "id": 64,
+ "id": 65,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -8870,8 +11171,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 8,
- "character": 2
+ "line": 11,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L11"
}
],
"type": {
@@ -8886,13 +11188,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 65,
+ "id": 66,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -8902,8 +11204,9 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 9,
- "character": 2
+ "line": 12,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L12"
}
],
"type": {
@@ -8912,7 +11215,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -8922,19 +11225,20 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 10,
- "character": 2
+ "line": 13,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L13"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
},
{
- "id": 63,
+ "id": 64,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -8942,19 +11246,20 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 7,
- "character": 2
+ "line": 10,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L10"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 104,
+ "id": 105,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -8962,43 +11267,61 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 296,
- "character": 2
+ "line": 299,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L299"
}
],
"signatures": [
{
- "id": 105,
+ "id": 106,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a DELETE on the table or view.\n\nBy default, deleted rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": " after filters."
+ }
+ ]
},
"parameters": [
{
- "id": 106,
+ "id": 107,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 107,
+ "id": 108,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 108,
+ "id": 109,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -9006,13 +11329,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count deleted rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 299,
- "character": 4
+ "line": 302,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L302"
}
],
"type": {
@@ -9037,8 +11398,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [108]
+ "children": [109]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 301,
+ "character": 5,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L301"
}
]
}
@@ -9048,8 +11416,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -9058,7 +11431,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -9073,7 +11446,7 @@
]
},
{
- "id": 81,
+ "id": 82,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -9081,24 +11454,37 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 117,
- "character": 2
+ "line": 120,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L120"
}
],
"signatures": [
{
- "id": 82,
+ "id": 83,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform an INSERT into the table or view.\n\nBy default, inserted rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 83,
+ "id": 84,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -9115,35 +11501,40 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"parameters": [
{
- "id": 84,
+ "id": 85,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows."
+ }
+ ]
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
- "id": 83,
+ "id": 84,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 83,
+ "id": 84,
"name": "Row"
}
}
@@ -9151,26 +11542,31 @@
}
},
{
- "id": 85,
+ "id": 86,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 86,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 87,
+ "id": 88,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -9178,13 +11574,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count inserted rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 122,
- "character": 6
+ "line": 125,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L125"
}
],
"type": {
@@ -9209,8 +11643,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [87]
+ "children": [88]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 124,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L124"
}
]
}
@@ -9220,8 +11661,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -9230,7 +11676,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -9245,7 +11691,7 @@
]
},
{
- "id": 72,
+ "id": 73,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -9253,23 +11699,29 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 52,
- "character": 2
+ "line": 55,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L55"
}
],
"signatures": [
{
- "id": 73,
+ "id": 74,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a SELECT query on the table or view."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a SELECT query on the table or view."
+ }
+ ]
},
"typeParameter": [
{
- "id": 74,
+ "id": 75,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -9284,7 +11736,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -9292,6 +11744,11 @@
"default": {
"type": "reference",
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -9300,30 +11757,14 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"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"
- }
+ "type": "reference",
+ "id": 75,
+ "name": "Query"
}
],
"name": "GetResult"
@@ -9332,7 +11773,7 @@
],
"parameters": [
{
- "id": 76,
+ "id": 77,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -9340,36 +11781,46 @@
"isOptional": true
},
"comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The columns to retrieve, separated by commas"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 74,
+ "id": 75,
"name": "Query",
"dereferenced": {}
}
},
{
- "id": 77,
+ "id": 78,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 78,
+ "id": 79,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 80,
+ "id": 81,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -9377,13 +11828,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count rows in the table or view.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 62,
- "character": 6
+ "line": 65,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L65"
}
],
"type": {
@@ -9405,7 +11894,7 @@
}
},
{
- "id": 79,
+ "id": 80,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -9413,13 +11902,35 @@
"isOptional": true
},
"comment": {
- "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "When set to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will not be returned.\nUseful if you only need the count."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 61,
- "character": 6
+ "line": 64,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L64"
}
],
"type": {
@@ -9431,8 +11942,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [80, 79]
+ "children": [81, 80]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 63,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L63"
}
]
}
@@ -9442,8 +11960,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -9452,13 +11975,13 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
{
"type": "reference",
- "id": 75,
+ "id": 76,
"name": "Result"
}
],
@@ -9468,7 +11991,7 @@
]
},
{
- "id": 97,
+ "id": 98,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -9476,24 +11999,37 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 247,
- "character": 2
+ "line": 250,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L250"
}
],
"signatures": [
{
- "id": 98,
+ "id": 99,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform an UPDATE on the table or view.\n\nBy default, updated rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": " after filters."
+ }
+ ]
},
"typeParameter": [
{
- "id": 99,
+ "id": 100,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -9510,50 +12046,60 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"parameters": [
{
- "id": 100,
+ "id": 101,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The values to update with\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values to update with"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 99,
+ "id": 100,
"name": "Row",
"dereferenced": {}
}
},
{
- "id": 101,
+ "id": 102,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 102,
+ "id": 103,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 103,
+ "id": 104,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -9561,13 +12107,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count updated rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 252,
- "character": 6
+ "line": 255,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L255"
}
],
"type": {
@@ -9592,8 +12176,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [103]
+ "children": [104]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 254,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L254"
}
]
}
@@ -9603,8 +12194,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -9613,7 +12209,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -9628,7 +12224,7 @@
]
},
{
- "id": 88,
+ "id": 89,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
@@ -9636,24 +12232,77 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 189,
- "character": 2
+ "line": 192,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L192"
}
],
"signatures": [
{
- "id": 89,
+ "id": 90,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto "
+ },
+ {
+ "kind": "code",
+ "text": "`onConflict`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.upsert()`"
+ },
+ {
+ "kind": "text",
+ "text": " allows you to perform the equivalent of\n"
+ },
+ {
+ "kind": "code",
+ "text": "`.insert()`"
+ },
+ {
+ "kind": "text",
+ "text": " if a row with the corresponding "
+ },
+ {
+ "kind": "code",
+ "text": "`onConflict`"
+ },
+ {
+ "kind": "text",
+ "text": " columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n"
+ },
+ {
+ "kind": "code",
+ "text": "`ignoreDuplicates`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nBy default, upserted rows are not returned. To return it, chain the call\nwith "
+ },
+ {
+ "kind": "code",
+ "text": "`.select()`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 90,
+ "id": 91,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -9670,35 +12319,40 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
}
],
"parameters": [
{
- "id": 91,
+ "id": 92,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows."
+ }
+ ]
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
- "id": 90,
+ "id": 91,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 90,
+ "id": 91,
"name": "Row"
}
}
@@ -9706,26 +12360,31 @@
}
},
{
- "id": 92,
+ "id": 93,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 93,
+ "id": 94,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 96,
+ "id": 97,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -9733,13 +12392,51 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Count algorithm to use to count upserted rows.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"exact\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Exact but slow count algorithm. Performs a "
+ },
+ {
+ "kind": "code",
+ "text": "`COUNT(*)`"
+ },
+ {
+ "kind": "text",
+ "text": " under the\nhood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"planned\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`\"estimated\"`"
+ },
+ {
+ "kind": "text",
+ "text": ": Uses exact count for low numbers and planned count for high\nnumbers."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 198,
- "character": 6
+ "line": 201,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L201"
}
],
"type": {
@@ -9761,7 +12458,7 @@
}
},
{
- "id": 95,
+ "id": 96,
"name": "ignoreDuplicates",
"kind": 1024,
"kindString": "Property",
@@ -9769,13 +12466,35 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", duplicate rows are ignored. If\n"
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": ", duplicate rows are merged with existing rows."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 197,
- "character": 6
+ "line": 200,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L200"
}
],
"type": {
@@ -9784,7 +12503,7 @@
}
},
{
- "id": 94,
+ "id": 95,
"name": "onConflict",
"kind": 1024,
"kindString": "Property",
@@ -9792,13 +12511,27 @@
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n"
+ },
+ {
+ "kind": "code",
+ "text": "`onConflict`"
+ },
+ {
+ "kind": "text",
+ "text": " columns are equal."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 196,
- "character": 6
+ "line": 199,
+ "character": 6,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L199"
}
],
"type": {
@@ -9810,8 +12543,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [96, 95, 94]
+ "children": [97, 96, 95]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 198,
+ "character": 7,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L198"
}
]
}
@@ -9821,8 +12561,13 @@
],
"type": {
"type": "reference",
- "id": 110,
+ "id": 112,
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
{
"type": "indexedAccess",
"indexType": {
@@ -9831,7 +12576,7 @@
},
"objectType": {
"type": "reference",
- "id": 52,
+ "id": 53,
"name": "Relation"
}
},
@@ -9849,30 +12594,39 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
"children": [50]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [67, 64, 65, 66, 63]
+ "children": [68, 65, 66, 67, 64]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [104, 81, 72, 97, 88]
+ "children": [105, 82, 73, 98, 89]
}
],
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
"line": 6,
- "character": 21
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestQueryBuilder.ts#L6"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 109,
+ "id": 110,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 111,
"name": "Relation",
"kind": 131072,
"kindString": "Type parameter",
@@ -9894,28 +12648,47 @@
]
},
{
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 402,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 18,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
+ }
+ ],
"signatures": [
{
- "id": 396,
+ "id": 403,
"name": "new PostgrestTransformBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 397,
+ "id": 404,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 405,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -9932,13 +12705,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 398,
+ "id": 406,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -9947,24 +12720,24 @@
],
"parameters": [
{
- "id": 399,
+ "id": 407,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 486,
+ "id": 498,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -9973,7 +12746,7 @@
},
"children": [
{
- "id": 487,
+ "id": 499,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -9982,19 +12755,20 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 18,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L18"
}
],
"signatures": [
{
- "id": 488,
+ "id": 500,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 489,
+ "id": 501,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -10003,18 +12777,18 @@
],
"parameters": [
{
- "id": 490,
+ "id": 502,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -10025,11 +12799,11 @@
],
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -10039,7 +12813,7 @@
]
},
{
- "id": 503,
+ "id": 515,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -10050,7 +12824,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -10059,7 +12834,7 @@
}
},
{
- "id": 495,
+ "id": 507,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -10071,7 +12846,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -10080,7 +12856,7 @@
}
},
{
- "id": 498,
+ "id": 510,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -10091,27 +12867,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 500,
+ "id": 512,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 501,
+ "id": 513,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -10121,21 +12905,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 502,
+ "id": 514,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -10144,9 +12928,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -10155,14 +12939,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -10170,7 +12954,7 @@
}
},
{
- "id": 493,
+ "id": 505,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -10181,7 +12965,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -10196,13 +12981,13 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 491,
+ "id": 503,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -10213,7 +12998,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -10243,7 +13029,7 @@
}
},
{
- "id": 494,
+ "id": 506,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -10255,7 +13041,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -10264,7 +13051,7 @@
}
},
{
- "id": 496,
+ "id": 508,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -10275,7 +13062,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -10285,7 +13073,7 @@
"defaultValue": "false"
},
{
- "id": 497,
+ "id": 509,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -10297,18 +13085,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
},
{
- "id": 492,
+ "id": 504,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -10319,18 +13108,19 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
},
{
- "id": 506,
+ "id": 518,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -10339,30 +13129,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 507,
+ "id": 519,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 508,
+ "id": 520,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -10370,7 +13161,7 @@
}
},
{
- "id": 509,
+ "id": 521,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -10383,7 +13174,7 @@
],
"parameters": [
{
- "id": 510,
+ "id": 522,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -10400,32 +13191,40 @@
{
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 523,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 512,
+ "id": 524,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 513,
+ "id": 525,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -10438,7 +13237,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -10446,13 +13245,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -10464,7 +13263,7 @@
}
},
{
- "id": 514,
+ "id": 526,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -10481,21 +13280,29 @@
{
"type": "reflection",
"declaration": {
- "id": 515,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 516,
+ "id": 528,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 517,
+ "id": 529,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -10511,7 +13318,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -10519,13 +13326,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -10545,20 +13352,20 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"implementationOf": {
"type": "reference",
@@ -10572,7 +13379,7 @@
}
},
{
- "id": 504,
+ "id": 516,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -10581,27 +13388,38 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 505,
+ "id": 517,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
@@ -10614,30 +13432,28 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [487]
+ "children": [499]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [503, 495, 498, 493, 491, 494, 496, 497, 492]
+ "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [506, 504]
+ "children": [518, 516]
}
],
"sources": [
{
"fileName": "src/PostgrestBuilder.ts",
"line": 5,
- "character": 30
+ "character": 30,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L5"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 518,
+ "id": 530,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -10647,7 +13463,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 394,
+ "id": 401,
"name": "PostgrestTransformBuilder"
}
],
@@ -10657,20 +13473,20 @@
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 489,
+ "id": 501,
"name": "Result"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -10679,16 +13495,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -10696,19 +13517,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 488,
+ "id": 500,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 487,
+ "id": 499,
"name": "default.constructor"
}
},
{
- "id": 469,
+ "id": 480,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -10719,7 +13540,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 16,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L16"
}
],
"type": {
@@ -10728,12 +13550,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 503,
+ "id": 515,
"name": "default.allowEmpty"
}
},
{
- "id": 461,
+ "id": 472,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -10745,7 +13567,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 12,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L12"
}
],
"type": {
@@ -10754,12 +13577,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 495,
+ "id": 507,
"name": "default.body"
}
},
{
- "id": 464,
+ "id": 475,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -10770,27 +13593,35 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 15,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L15"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 476,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 18044,
+ "character": 17
+ }
+ ],
"signatures": [
{
- "id": 466,
+ "id": 477,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 467,
+ "id": 478,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -10800,21 +13631,21 @@
"types": [
{
"type": "reference",
+ "name": "RequestInfo",
"qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "package": "typescript"
},
{
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
}
]
}
},
{
- "id": 468,
+ "id": 479,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -10823,9 +13654,9 @@
},
"type": {
"type": "reference",
+ "name": "RequestInit",
"qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "package": "typescript"
}
}
],
@@ -10834,14 +13665,14 @@
"typeArguments": [
{
"type": "reference",
+ "name": "Response",
"qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "package": "typescript"
}
],
+ "name": "Promise",
"qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "package": "typescript"
}
}
]
@@ -10849,12 +13680,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 498,
+ "id": 510,
"name": "default.fetch"
}
},
{
- "id": 459,
+ "id": 470,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -10865,7 +13696,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 10,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L10"
}
],
"type": {
@@ -10880,18 +13712,18 @@
"name": "string"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 493,
+ "id": 505,
"name": "default.headers"
}
},
{
- "id": 457,
+ "id": 468,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -10902,7 +13734,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L8"
}
],
"type": {
@@ -10932,12 +13765,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 491,
+ "id": 503,
"name": "default.method"
}
},
{
- "id": 460,
+ "id": 471,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -10949,7 +13782,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 11,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L11"
}
],
"type": {
@@ -10958,12 +13792,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 494,
+ "id": 506,
"name": "default.schema"
}
},
{
- "id": 462,
+ "id": 473,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -10974,7 +13808,8 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 13,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L13"
}
],
"type": {
@@ -10984,12 +13819,12 @@
"defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 496,
+ "id": 508,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 463,
+ "id": 474,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -11001,23 +13836,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 14,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L14"
}
],
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 497,
+ "id": 509,
"name": "default.signal"
}
},
{
- "id": 458,
+ "id": 469,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -11028,23 +13864,24 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 9,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L9"
}
],
"type": {
"type": "reference",
+ "name": "URL",
"qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 492,
+ "id": 504,
"name": "default.url"
}
},
{
- "id": 434,
+ "id": 442,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -11052,50 +13889,66 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 124,
- "character": 2
+ "line": 130,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L130"
}
],
"signatures": [
{
- "id": 435,
+ "id": 443,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Set the AbortSignal for the fetch request."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set the AbortSignal for the fetch request."
+ }
+ ]
},
"parameters": [
{
- "id": 436,
+ "id": 444,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The AbortSignal to use for the fetch request\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The AbortSignal to use for the fetch request"
+ }
+ ]
},
"type": {
"type": "reference",
+ "name": "AbortSignal",
"qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -11105,7 +13958,7 @@
]
},
{
- "id": 441,
+ "id": 449,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -11113,26 +13966,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 155,
- "character": 2
+ "line": 161,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L161"
}
],
"signatures": [
{
- "id": 442,
+ "id": 450,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as a string in CSV format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a string in CSV format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -11142,15 +14009,15 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 445,
+ "id": 453,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -11158,42 +14025,61 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 189,
- "character": 2
+ "line": 195,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L195"
}
],
"signatures": [
{
- "id": 446,
+ "id": 454,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as the EXPLAIN plan for the query."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as the EXPLAIN plan for the query."
+ }
+ ]
},
"parameters": [
{
- "id": 447,
+ "id": 455,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 448,
+ "id": 456,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 449,
+ "id": 457,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -11201,13 +14087,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query will be executed and the\nactual run time will be returned"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 197,
- "character": 4
+ "line": 203,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L203"
}
],
"type": {
@@ -11216,7 +14116,7 @@
}
},
{
- "id": 452,
+ "id": 460,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -11224,13 +14124,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on buffer usage\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on buffer usage"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
- "character": 4
+ "line": 206,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L206"
}
],
"type": {
@@ -11239,7 +14153,7 @@
}
},
{
- "id": 454,
+ "id": 462,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -11247,13 +14161,31 @@
"isOptional": true
},
"comment": {
- "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The format of the output, can be "
+ },
+ {
+ "kind": "code",
+ "text": "`\"text\"`"
+ },
+ {
+ "kind": "text",
+ "text": " (default)\nor "
+ },
+ {
+ "kind": "code",
+ "text": "`\"json\"`"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 202,
- "character": 4
+ "line": 208,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L208"
}
],
"type": {
@@ -11271,7 +14203,7 @@
}
},
{
- "id": 451,
+ "id": 459,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -11279,13 +14211,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on configuration\nparameters that affect query planning"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 199,
- "character": 4
+ "line": 205,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L205"
}
],
"type": {
@@ -11294,7 +14240,7 @@
}
},
{
- "id": 450,
+ "id": 458,
"name": "verbose",
"kind": 1024,
"kindString": "Property",
@@ -11302,13 +14248,35 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the query identifier will be returned\nand "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will include the output columns of the query"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 198,
- "character": 4
+ "line": 204,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L204"
}
],
"type": {
@@ -11317,7 +14285,7 @@
}
},
{
- "id": 453,
+ "id": 461,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -11325,13 +14293,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, include information on WAL record generation\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", include information on WAL record generation"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 201,
- "character": 4
+ "line": 207,
+ "character": 4,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L207"
}
],
"type": {
@@ -11343,8 +14325,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [449, 452, 454, 451, 450, 453]
+ "children": [457, 460, 462, 459, 458, 461]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 202,
+ "character": 5,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L202"
}
]
}
@@ -11360,7 +14349,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "intrinsic",
@@ -11370,16 +14359,16 @@
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
@@ -11393,17 +14382,17 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -11411,7 +14400,7 @@
]
},
{
- "id": 443,
+ "id": 451,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -11419,26 +14408,40 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 163,
- "character": 2
+ "line": 169,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L169"
}
],
"signatures": [
{
- "id": 444,
+ "id": 452,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as an object in [GeoJSON](https://geojson.org) format."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
@@ -11452,23 +14455,23 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 421,
+ "id": 429,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -11476,29 +14479,48 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 2
+ "line": 101,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"signatures": [
{
- "id": 422,
+ "id": 430,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `count`."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`count`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"parameters": [
{
- "id": 423,
+ "id": 431,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The maximum number of rows to return"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The maximum number of rows to return"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -11506,26 +14528,31 @@
}
},
{
- "id": 424,
+ "id": 432,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 425,
+ "id": 433,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 426,
+ "id": 434,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -11533,13 +14560,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 95,
- "character": 43
+ "line": 101,
+ "character": 43,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
],
"type": {
@@ -11551,8 +14584,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [426]
+ "children": [434]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 101,
+ "character": 41,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L101"
}
]
}
@@ -11562,16 +14602,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -11581,7 +14626,7 @@
]
},
{
- "id": 439,
+ "id": 447,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -11589,46 +14634,67 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 146,
- "character": 2
+ "line": 152,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L152"
}
],
"signatures": [
{
- "id": 440,
+ "id": 448,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be zero or one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise\nthis returns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 523,
+ "id": 535,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
"name": "PostgrestMaybeSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 405,
+ "id": 413,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -11636,24 +14702,49 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 59,
- "character": 2
+ "line": 65,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L65"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 69,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L69"
+ },
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 73,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L73"
}
],
"signatures": [
{
- "id": 406,
+ "id": 414,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Order the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`column`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table."
+ }
+ ]
},
"typeParameter": [
{
- "id": 407,
+ "id": 415,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -11666,23 +14757,28 @@
],
"parameters": [
{
- "id": 408,
+ "id": 416,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The column to order by"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The column to order by"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 315,
+ "id": 318,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 409,
+ "id": 417,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -11690,19 +14786,24 @@
"isOptional": true
},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 410,
+ "id": 418,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 411,
+ "id": 419,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -11710,13 +14811,27 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, the result will be in ascending order"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the result will be in ascending order"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 16
+ "line": 67,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -11725,7 +14840,7 @@
}
},
{
- "id": 413,
+ "id": 421,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -11733,13 +14848,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to order a foreign table by foreign\ncolumns"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 59
+ "line": 67,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -11748,7 +14869,7 @@
}
},
{
- "id": 412,
+ "id": 420,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -11756,13 +14877,51 @@
"isOptional": true
},
"comment": {
- "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear first. If "
+ },
+ {
+ "kind": "code",
+ "text": "`false`"
+ },
+ {
+ "kind": "text",
+ "text": ",\n"
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": "s appear last."
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 61,
- "character": 37
+ "line": 67,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
],
"type": {
@@ -11774,8 +14933,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [411, 413, 412]
+ "children": [419, 421, 420]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 67,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L67"
}
]
}
@@ -11784,16 +14950,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -11801,14 +14972,14 @@
}
},
{
- "id": 414,
+ "id": 422,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 415,
+ "id": 423,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -11819,7 +14990,7 @@
}
},
{
- "id": 416,
+ "id": 424,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -11829,14 +15000,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 417,
+ "id": 425,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 418,
+ "id": 426,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -11846,8 +15017,9 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 65,
- "character": 16
+ "line": 71,
+ "character": 16,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
],
"type": {
@@ -11856,7 +15028,7 @@
}
},
{
- "id": 420,
+ "id": 428,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -11864,8 +15036,9 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 65,
- "character": 59
+ "line": 71,
+ "character": 59,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
],
"type": {
@@ -11874,7 +15047,7 @@
}
},
{
- "id": 419,
+ "id": 427,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -11884,8 +15057,9 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 65,
- "character": 37
+ "line": 71,
+ "character": 37,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
],
"type": {
@@ -11897,8 +15071,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [418, 420, 419]
+ "children": [426, 428, 427]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 14,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L71"
}
]
}
@@ -11907,16 +15088,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -11926,7 +15112,7 @@
]
},
{
- "id": 427,
+ "id": 435,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -11934,29 +15120,56 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 2
+ "line": 116,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"signatures": [
{
- "id": 428,
+ "id": 436,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Limit the query result by "
+ },
+ {
+ "kind": "code",
+ "text": "`from`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`to`"
+ },
+ {
+ "kind": "text",
+ "text": " inclusively."
+ }
+ ]
},
"parameters": [
{
- "id": 429,
+ "id": 437,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The starting index from which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The starting index from which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -11964,13 +15177,18 @@
}
},
{
- "id": 430,
+ "id": 438,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The last index to which to limit the result"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The last index to which to limit the result"
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -11978,26 +15196,31 @@
}
},
{
- "id": 431,
+ "id": 439,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "Named parameters"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Named parameters"
+ }
+ ]
},
"originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 432,
+ "id": 440,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 433,
+ "id": 441,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -12005,13 +15228,19 @@
"isOptional": true
},
"comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set this to limit rows of foreign tables\ninstead of the current table"
+ }
+ ]
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 110,
- "character": 54
+ "line": 116,
+ "character": 54,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
],
"type": {
@@ -12023,8 +15252,15 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [433]
+ "children": [441]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 52,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L116"
}
]
}
@@ -12034,16 +15270,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -12053,7 +15294,86 @@
]
},
{
- "id": 455,
+ "id": 465,
+ "name": "returns",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 249,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L249"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 466,
+ "name": "returns",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Override the type of the returned "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 467,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The new result type to override with"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 370,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 463,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -12061,33 +15381,51 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 229,
- "character": 2
+ "line": 235,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L235"
}
],
"signatures": [
{
- "id": 456,
+ "id": 464,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Rollback the query.\n\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " will still be returned, but the query is not committed."
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -12097,7 +15435,7 @@
]
},
{
- "id": 400,
+ "id": 408,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -12105,24 +15443,69 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 18,
- "character": 2
+ "line": 24,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L24"
}
],
"signatures": [
{
- "id": 401,
+ "id": 409,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a SELECT on the query result.\n\nBy default, "
+ },
+ {
+ "kind": "code",
+ "text": "`.insert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.update()`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`.upsert()`"
+ },
+ {
+ "kind": "text",
+ "text": ", and "
+ },
+ {
+ "kind": "code",
+ "text": "`.delete()`"
+ },
+ {
+ "kind": "text",
+ "text": " do not\nreturn modified rows. By calling this method, modified rows are returned in\n"
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
},
"typeParameter": [
{
- "id": 402,
+ "id": 410,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -12137,7 +15520,7 @@
}
},
{
- "id": 403,
+ "id": 411,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -12147,29 +15530,18 @@
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"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"
- }
+ "type": "reference",
+ "id": 313,
+ "name": "Query"
}
],
"name": "GetResult"
@@ -12178,7 +15550,7 @@
],
"parameters": [
{
- "id": 404,
+ "id": 412,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -12186,11 +15558,16 @@
"isOptional": true
},
"comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The columns to retrieve, separated by commas"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 310,
+ "id": 313,
"name": "Query",
"dereferenced": {}
}
@@ -12198,16 +15575,21 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 311,
+ "id": 314,
"name": "NewResult"
}
],
@@ -12217,7 +15599,7 @@
]
},
{
- "id": 437,
+ "id": 445,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -12225,46 +15607,67 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 135,
- "character": 2
+ "line": 141,
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L141"
}
],
"signatures": [
{
- "id": 438,
+ "id": 446,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Return "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " as a single object instead of an array of objects.\n\nQuery result must be one row (e.g. using "
+ },
+ {
+ "kind": "code",
+ "text": "`.limit(1)`"
+ },
+ {
+ "kind": "text",
+ "text": "), otherwise this\nreturns an error."
+ }
+ ]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
"name": "PostgrestSingleResponse"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
}
]
},
{
- "id": 472,
+ "id": 483,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -12273,30 +15676,31 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 48,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L48"
}
],
"signatures": [
{
- "id": 473,
+ "id": 484,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 474,
+ "id": 485,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -12304,7 +15708,7 @@
}
},
{
- "id": 475,
+ "id": 486,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -12317,7 +15721,7 @@
],
"parameters": [
{
- "id": 476,
+ "id": 487,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -12334,32 +15738,40 @@
{
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 50,
+ "character": 9,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L50"
+ }
+ ],
"signatures": [
{
- "id": 478,
+ "id": 489,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 479,
+ "id": 490,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 519,
+ "id": 531,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -12372,7 +15784,7 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
@@ -12380,13 +15792,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -12398,7 +15810,7 @@
}
},
{
- "id": 480,
+ "id": 491,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -12415,21 +15827,29 @@
{
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 53,
+ "character": 18,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L53"
+ }
+ ],
"signatures": [
{
- "id": 482,
+ "id": 493,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 483,
+ "id": 494,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -12445,7 +15865,7 @@
"types": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
},
{
@@ -12453,13 +15873,13 @@
"typeArguments": [
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
}
]
}
@@ -12479,36 +15899,36 @@
"types": [
{
"type": "reference",
- "id": 382,
+ "id": 388,
"name": "TResult1"
},
{
"type": "reference",
- "id": 383,
+ "id": 389,
"name": "TResult2"
}
]
}
],
+ "name": "PromiseLike",
"qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
+ "package": "typescript"
},
"inheritedFrom": {
"type": "reference",
- "id": 507,
+ "id": 519,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 506,
+ "id": 518,
"name": "default.then"
}
},
{
- "id": 470,
+ "id": 481,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -12517,32 +15937,48 @@
{
"fileName": "src/PostgrestBuilder.ts",
"line": 43,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestBuilder.ts#L43"
}
],
"signatures": [
{
- "id": 471,
+ "id": 482,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://github.com/supabase/supabase-js/issues/92",
+ "target": "https://github.com/supabase/supabase-js/issues/92"
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 394,
+ "id": 401,
"typeArguments": [
{
"type": "reference",
- "id": 397,
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
"name": "Row"
},
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -12550,14 +15986,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 505,
+ "id": 517,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 504,
+ "id": 516,
"name": "default.throwOnError"
}
}
@@ -12565,30 +16001,39 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [395]
+ "children": [402]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [469, 461, 464, 459, 457, 460, 462, 463, 458]
+ "children": [480, 472, 475, 470, 468, 471, 473, 474, 469]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [434, 441, 445, 443, 421, 439, 405, 427, 455, 400, 437, 472, 470]
+ "children": [442, 449, 453, 451, 429, 447, 413, 435, 465, 463, 408, 445, 483, 481]
}
],
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 5,
- "character": 21
+ "line": 10,
+ "character": 21,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/PostgrestTransformBuilder.ts#L10"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 484,
+ "id": 495,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 496,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -12605,13 +16050,13 @@
"name": "unknown"
}
],
+ "name": "Record",
"qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
+ "package": "typescript"
}
},
{
- "id": 485,
+ "id": 497,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -12621,11 +16066,11 @@
"extendedTypes": [
{
"type": "reference",
- "id": 486,
+ "id": 498,
"typeArguments": [
{
"type": "reference",
- "id": 398,
+ "id": 406,
"name": "Result"
}
],
@@ -12635,39 +16080,50 @@
"extendedBy": [
{
"type": "reference",
- "id": 110,
+ "id": 112,
"name": "PostgrestFilterBuilder"
}
]
},
{
- "id": 525,
+ "id": 537,
"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"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error format\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes",
+ "target": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes"
+ }
+ ]
},
"sources": [
{
"fileName": "src/types.ts",
"line": 8,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L8"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 538,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 542,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -12676,7 +16132,8 @@
{
"fileName": "src/types.ts",
"line": 12,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L12"
}
],
"type": {
@@ -12685,7 +16142,7 @@
}
},
{
- "id": 528,
+ "id": 540,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -12694,7 +16151,8 @@
{
"fileName": "src/types.ts",
"line": 10,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L10"
}
],
"type": {
@@ -12703,7 +16161,7 @@
}
},
{
- "id": 529,
+ "id": 541,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -12712,7 +16170,8 @@
{
"fileName": "src/types.ts",
"line": 11,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L11"
}
],
"type": {
@@ -12721,7 +16180,7 @@
}
},
{
- "id": 527,
+ "id": 539,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -12730,7 +16189,8 @@
{
"fileName": "src/types.ts",
"line": 9,
- "character": 2
+ "character": 2,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L9"
}
],
"type": {
@@ -12742,22 +16202,22 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [530, 528, 529, 527]
+ "children": [542, 540, 541, 539]
}
],
"sources": [
{
"fileName": "src/types.ts",
"line": 8,
- "character": 29
+ "character": 29,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L8"
}
]
}
}
},
{
- "id": 523,
+ "id": 535,
"name": "PostgrestMaybeSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -12766,12 +16226,13 @@
{
"fileName": "src/types.ts",
"line": 45,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L45"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 524,
+ "id": 536,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -12780,19 +16241,19 @@
],
"type": {
"type": "reference",
- "id": 521,
+ "id": 533,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
- "id": 524,
+ "id": 536,
"name": "T"
},
{
- "type": "intrinsic",
- "name": "undefined"
+ "type": "literal",
+ "value": null
}
]
}
@@ -12801,7 +16262,7 @@
}
},
{
- "id": 519,
+ "id": 531,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -12810,12 +16271,13 @@
{
"fileName": "src/types.ts",
"line": 35,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L35"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 520,
+ "id": 532,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -12830,7 +16292,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 520,
+ "id": 532,
"name": "T"
}
],
@@ -12844,7 +16306,7 @@
}
},
{
- "id": 521,
+ "id": 533,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -12853,12 +16315,13 @@
{
"fileName": "src/types.ts",
"line": 42,
- "character": 12
+ "character": 12,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/types.ts#L42"
}
],
- "typeParameter": [
+ "typeParameters": [
{
- "id": 522,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -12873,7 +16336,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 522,
+ "id": 534,
"name": "T"
}
],
@@ -12890,20 +16353,19 @@
"groups": [
{
"title": "Classes",
- "kind": 128,
- "children": [486, 1, 110, 49, 394]
+ "children": [498, 1, 112, 49, 401]
},
{
"title": "Type Aliases",
- "kind": 4194304,
- "children": [525, 523, 519, 521]
+ "children": [537, 535, 531, 533]
}
],
"sources": [
{
"fileName": "src/index.ts",
"line": 1,
- "character": 0
+ "character": 0,
+ "url": "https://github.com/supabase/postgrest-js/blob/709f245/src/index.ts#L1"
}
]
}
diff --git a/spec/enrichments/tsdoc_v2/realtime.json b/spec/enrichments/tsdoc_v2/realtime.json
index 6d01dbffa80..25defebb2ae 100644
--- a/spec/enrichments/tsdoc_v2/realtime.json
+++ b/spec/enrichments/tsdoc_v2/realtime.json
@@ -7,1051 +7,375 @@
"originalName": "",
"children": [
{
- "id": 363,
- "name": "Transformers",
- "kind": 4,
- "kindString": "Namespace",
+ "id": 500,
+ "name": "REALTIME_LISTEN_TYPES",
+ "kind": 8,
+ "kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 364,
- "name": "PostgresTypes",
- "kind": 8,
- "kindString": "Enumeration",
+ "id": 501,
+ "name": "BROADCAST",
+ "kind": 16,
+ "kindString": "Enumeration Member",
"flags": {},
- "comment": {
- "shortText": "Helpers to convert the change Payload into native JS types."
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 77,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
},
- "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
- }
- ]
+ "defaultValue": "\"broadcast\""
},
{
- "id": 402,
- "name": "convertCell",
- "kind": 64,
- "kindString": "Function",
+ "id": 503,
+ "name": "POSTGRES_CHANGES",
+ "kind": 16,
+ "kindString": "Enumeration Member",
"flags": {},
"sources": [
{
- "fileName": "lib/transformers.ts",
- "line": 118,
- "character": 13
+ "fileName": "RealtimeChannel.ts",
+ "line": 79,
+ "character": 2
}
],
- "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"
- }
- }
- ]
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ },
+ "defaultValue": "\"postgres_changes\""
},
{
- "id": 389,
- "name": "convertChangeData",
- "kind": 64,
- "kindString": "Function",
+ "id": 502,
+ "name": "PRESENCE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
"flags": {},
"sources": [
{
- "fileName": "lib/transformers.ts",
- "line": 61,
- "character": 13
+ "fileName": "RealtimeChannel.ts",
+ "line": 78,
+ "character": 2
}
],
- "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"
- }
- }
- ]
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ },
+ "defaultValue": "\"presence\""
}
],
"groups": [
{
- "title": "Enumerations",
- "kind": 8,
- "children": [364]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [402, 389, 396, 415, 406, 412, 409, 419]
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [501, 503, 502]
}
],
"sources": [
{
- "fileName": "lib/transformers.ts",
- "line": 8,
- "character": 0
+ "fileName": "RealtimeChannel.ts",
+ "line": 76,
+ "character": 12
}
]
},
{
- "id": 142,
+ "id": 504,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 505,
+ "name": "ALL",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 70,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "*"
+ },
+ "defaultValue": "\"*\""
+ },
+ {
+ "id": 508,
+ "name": "DELETE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "DELETE"
+ },
+ "defaultValue": "\"DELETE\""
+ },
+ {
+ "id": 506,
+ "name": "INSERT",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ "defaultValue": "\"INSERT\""
+ },
+ {
+ "id": 507,
+ "name": "UPDATE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ "defaultValue": "\"UPDATE\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [505, 508, 506, 507]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 69,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 509,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 511,
+ "name": "JOIN",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ },
+ "defaultValue": "\"join\""
+ },
+ {
+ "id": 512,
+ "name": "LEAVE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 37,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ },
+ "defaultValue": "\"leave\""
+ },
+ {
+ "id": 510,
+ "name": "SYNC",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ },
+ "defaultValue": "\"sync\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [511, 512, 510]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 34,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 513,
+ "name": "REALTIME_SUBSCRIBE_STATES",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 517,
+ "name": "CHANNEL_ERROR",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 86,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ },
+ "defaultValue": "\"CHANNEL_ERROR\""
+ },
+ {
+ "id": 516,
+ "name": "CLOSED",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ "defaultValue": "\"CLOSED\""
+ },
+ {
+ "id": 514,
+ "name": "SUBSCRIBED",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ "defaultValue": "\"SUBSCRIBED\""
+ },
+ {
+ "id": 515,
+ "name": "TIMED_OUT",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ "defaultValue": "\"TIMED_OUT\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [517, 516, 514, 515]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 82,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 55,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
"flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
"children": [
{
- "id": 153,
+ "id": 66,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1059,20 +383,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 25,
+ "line": 111,
"character": 2
}
],
"signatures": [
{
- "id": 154,
+ "id": 67,
"name": "new RealtimeChannel",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 155,
+ "id": 68,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -1083,69 +407,41 @@
}
},
{
- "id": 156,
+ "id": 69,
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 160,
+ "id": 70,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 161,
+ "id": 71,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -1153,27 +449,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 9,
+ "line": 95,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 162,
+ "id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 163,
+ "id": 73,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 164,
+ "id": 74,
"name": "key",
"kind": 32768,
"flags": {},
@@ -1188,14 +484,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 171,
+ "id": 81,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -1203,7 +499,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 99,
"character": 6
}
],
@@ -1215,7 +511,7 @@
}
},
{
- "id": 167,
+ "id": 77,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -1223,14 +519,14 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 168,
+ "id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1238,19 +534,19 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 14
}
],
"indexSignature": {
- "id": 169,
+ "id": 79,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 170,
+ "id": 80,
"name": "key",
"kind": 32768,
"flags": {},
@@ -1269,7 +565,7 @@
}
},
{
- "id": 172,
+ "id": 82,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -1279,7 +575,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 100,
"character": 6
}
],
@@ -1289,7 +585,7 @@
}
},
{
- "id": 166,
+ "id": 76,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -1297,7 +593,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 11,
+ "line": 97,
"character": 6
}
],
@@ -1311,13 +607,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [171, 167, 172, 166]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 10,
+ "line": 96,
"character": 19
}
]
@@ -1330,7 +626,7 @@
"defaultValue": "{}"
},
{
- "id": 176,
+ "id": 86,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -1338,7 +634,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 20,
+ "line": 106,
"character": 2
}
],
@@ -1348,7 +644,7 @@
}
},
{
- "id": 175,
+ "id": 85,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -1356,7 +652,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 105,
"character": 2
}
],
@@ -1367,7 +663,7 @@
"defaultValue": "false"
},
{
- "id": 181,
+ "id": 91,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -1375,42 +671,14 @@
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 179,
+ "id": 89,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -1418,18 +686,18 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 109,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 300,
+ "id": 1,
"name": "default"
}
},
{
- "id": 178,
+ "id": 88,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -1437,7 +705,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 22,
+ "line": 108,
"character": 2
}
],
@@ -1451,7 +719,7 @@
"defaultValue": "[]"
},
{
- "id": 177,
+ "id": 87,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -1459,7 +727,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 21,
+ "line": 107,
"character": 2
}
],
@@ -1469,7 +737,7 @@
}
},
{
- "id": 185,
+ "id": 92,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -1478,12 +746,12 @@
},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
},
{
- "id": 174,
+ "id": 84,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -1491,7 +759,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 18,
+ "line": 104,
"character": 2
}
],
@@ -1502,7 +770,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 173,
+ "id": 83,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -1510,7 +778,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 17,
+ "line": 103,
"character": 2
}
],
@@ -1520,7 +788,7 @@
}
},
{
- "id": 180,
+ "id": 90,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -1533,320 +801,7 @@
}
},
{
- "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,
+ "id": 119,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -1854,61 +809,555 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 249,
+ "line": 315,
"character": 2
}
],
"signatures": [
{
- "id": 217,
+ "id": 120,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "returns": "\n"
+ "shortText": "Listen to messages."
},
"parameters": [
{
- "id": 218,
+ "id": 121,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "comment": {
- "shortText": "\"postgres_changes\" is the only type supported at this time"
- },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "literal",
+ "value": "broadcast"
}
},
{
- "id": 219,
+ "id": 122,
"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,
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 317,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [124]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 127,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 128,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 320,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 130,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 319,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [131, 130]
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 135,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 136,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 326,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [138]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 139,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 140,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 141,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 143,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 144,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 331,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [146]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 149,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 151,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 152,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 153,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 336,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 158,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 159,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 221,
+ "id": 162,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 222,
+ "id": 163,
"name": "key",
"kind": 32768,
"flags": {},
@@ -1925,192 +1374,508 @@
}
}
}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 165,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
},
{
- "id": 223,
+ "id": 166,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 167,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "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": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 169,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 170,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 175,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 176,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 177,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 178,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 175,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 182,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 184,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 188,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 189,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 191,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 192,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 186,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 193,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 197,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 195,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 199,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 200,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 202,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 203,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 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,
+ "id": 101,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -2118,226 +1883,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 198,
+ "line": 284,
"character": 2
}
],
"signatures": [
{
- "id": 193,
+ "id": 102,
"name": "presenceState",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
- "name": "PresenceState"
+ "id": 495,
+ "name": "RealtimePresenceState"
}
}
]
},
{
- "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,
+ "id": 204,
"name": "send",
"kind": 2048,
"kindString": "Method",
@@ -2345,20 +1911,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 301,
+ "line": 367,
"character": 2
}
],
"signatures": [
{
- "id": 242,
+ "id": 205,
"name": "send",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 243,
+ "id": 206,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -2366,14 +1932,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 207,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 245,
+ "id": 208,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -2381,7 +1947,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 302,
+ "line": 368,
"character": 15
}
],
@@ -2395,18 +1961,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [245]
+ "children": [208]
}
],
"indexSignature": {
- "id": 246,
+ "id": 209,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 210,
"name": "key",
"kind": 32768,
"flags": {},
@@ -2425,7 +1991,7 @@
}
},
{
- "id": 248,
+ "id": 211,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -2433,20 +1999,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 249,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 250,
+ "id": 213,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 251,
+ "id": 214,
"name": "key",
"kind": 32768,
"flags": {},
@@ -2470,21 +2036,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -2495,7 +2049,7 @@
]
},
{
- "id": 188,
+ "id": 93,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -2503,20 +2057,23 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 90,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 189,
+ "id": 94,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
"parameters": [
{
- "id": 190,
+ "id": 95,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -2524,14 +2081,76 @@
"isOptional": true
},
"type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 97,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 98,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ }
+ ]
+ }
+ },
+ {
+ "id": 99,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
},
{
- "id": 191,
+ "id": 100,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -2544,14 +2163,15 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "void"
+ "type": "reference",
+ "id": 55,
+ "name": "default"
}
}
]
},
{
- "id": 194,
+ "id": 103,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -2559,20 +2179,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 202,
+ "line": 288,
"character": 8
}
],
"signatures": [
{
- "id": 195,
+ "id": 104,
"name": "track",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 196,
+ "id": 105,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -2580,20 +2200,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 198,
+ "id": 107,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 199,
+ "id": 108,
"name": "key",
"kind": 32768,
"flags": {},
@@ -2612,7 +2232,7 @@
}
},
{
- "id": 200,
+ "id": 109,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -2620,20 +2240,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 110,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 202,
+ "id": 111,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 203,
+ "id": 112,
"name": "key",
"kind": 32768,
"flags": {},
@@ -2657,21 +2277,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -2682,73 +2290,7 @@
]
},
{
- "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,
+ "id": 221,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -2756,13 +2298,13 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 341,
+ "line": 407,
"character": 2
}
],
"signatures": [
{
- "id": 259,
+ "id": 222,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -2773,7 +2315,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 223,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -2814,7 +2356,7 @@
]
},
{
- "id": 204,
+ "id": 113,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -2822,20 +2364,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 216,
+ "line": 302,
"character": 8
}
],
"signatures": [
{
- "id": 205,
+ "id": 114,
"name": "untrack",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 206,
+ "id": 115,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -2843,20 +2385,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 207,
+ "id": 116,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 208,
+ "id": 117,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 209,
+ "id": 118,
"name": "key",
"kind": 32768,
"flags": {},
@@ -2880,21 +2422,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -2905,7 +2435,7 @@
]
},
{
- "id": 252,
+ "id": 215,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -2913,20 +2443,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 328,
+ "line": 394,
"character": 2
}
],
"signatures": [
{
- "id": 253,
+ "id": 216,
"name": "updateJoinPayload",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 254,
+ "id": 217,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -2934,20 +2464,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 255,
+ "id": 218,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 256,
+ "id": 219,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 257,
+ "id": 220,
"name": "key",
"kind": 32768,
"flags": {},
@@ -2978,39 +2508,36 @@
{
"title": "Constructors",
"kind": 512,
- "children": [153]
+ "children": [66]
},
{
"title": "Properties",
"kind": 1024,
- "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180]
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
},
{
"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
- ]
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 8,
+ "line": 94,
"character": 21
}
]
},
{
- "id": 1,
+ "id": 306,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 2,
+ "id": 307,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -3018,13 +2545,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 88,
"character": 2
}
],
"signatures": [
{
- "id": 3,
+ "id": 308,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -3034,7 +2561,7 @@
},
"parameters": [
{
- "id": 4,
+ "id": 309,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -3048,7 +2575,7 @@
}
},
{
- "id": 5,
+ "id": 310,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3057,21 +2584,21 @@
},
"type": {
"type": "reference",
- "id": 125,
- "name": "Options"
+ "id": 418,
+ "name": "RealtimeClientOptions"
}
}
],
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
}
]
},
{
- "id": 6,
+ "id": 311,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -3079,7 +2606,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 41,
"character": 2
}
],
@@ -3099,7 +2626,7 @@
"defaultValue": "null"
},
{
- "id": 7,
+ "id": 312,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -3107,7 +2634,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 2
}
],
@@ -3115,14 +2642,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
"defaultValue": "[]"
},
{
- "id": 28,
+ "id": 333,
"name": "conn",
"kind": 1024,
"kindString": "Property",
@@ -3130,7 +2657,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 57,
"character": 2
}
],
@@ -3152,31 +2679,11 @@
"defaultValue": "null"
},
{
- "id": 26,
+ "id": 331,
"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",
@@ -3192,7 +2699,27 @@
}
},
{
- "id": 8,
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
"name": "endPoint",
"kind": 1024,
"kindString": "Property",
@@ -3200,7 +2727,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 2
}
],
@@ -3211,7 +2738,7 @@
"defaultValue": "''"
},
{
- "id": 37,
+ "id": 342,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -3219,7 +2746,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 71,
"character": 2
}
],
@@ -3230,7 +2757,7 @@
"defaultValue": "100"
},
{
- "id": 9,
+ "id": 314,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -3240,27 +2767,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 10,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 11,
+ "id": 316,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 12,
+ "id": 317,
"name": "key",
"kind": 32768,
"flags": {},
@@ -3280,7 +2807,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 19,
+ "id": 324,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -3288,7 +2815,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 2
}
],
@@ -3299,7 +2826,7 @@
"defaultValue": "30000"
},
{
- "id": 20,
+ "id": 325,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -3307,7 +2834,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 2
}
],
@@ -3329,7 +2856,7 @@
"defaultValue": "undefined"
},
{
- "id": 38,
+ "id": 343,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -3337,7 +2864,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 72,
"character": 2
}
],
@@ -3348,7 +2875,7 @@
"defaultValue": "false"
},
{
- "id": 24,
+ "id": 329,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -3356,7 +2883,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 2
}
],
@@ -3369,7 +2896,7 @@
"defaultValue": "noop"
},
{
- "id": 13,
+ "id": 318,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -3379,27 +2906,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 14,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 15,
+ "id": 320,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 16,
+ "id": 321,
"name": "key",
"kind": 32768,
"flags": {},
@@ -3419,7 +2946,7 @@
"defaultValue": "{}"
},
{
- "id": 21,
+ "id": 326,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -3427,7 +2954,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 2
}
],
@@ -3447,7 +2974,7 @@
"defaultValue": "null"
},
{
- "id": 27,
+ "id": 332,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -3455,7 +2982,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 56,
"character": 2
}
],
@@ -3467,29 +2994,11 @@
}
},
{
- "id": 23,
+ "id": 328,
"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",
@@ -3497,6 +3006,24 @@
"character": 2
}
],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
"type": {
"type": "intrinsic",
"name": "number"
@@ -3504,7 +3031,7 @@
"defaultValue": "0"
},
{
- "id": 29,
+ "id": 334,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -3512,7 +3039,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 58,
"character": 2
}
],
@@ -3528,11 +3055,30 @@
"defaultValue": "[]"
},
{
- "id": 30,
+ "id": 335,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -3540,40 +3086,44 @@
"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,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 34,
+ "id": 339,
"name": "close",
"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"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -3592,8 +3142,8 @@
}
},
{
- "id": 35,
- "name": "error",
+ "id": 341,
+ "name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -3615,30 +3165,7 @@
}
},
{
- "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,
+ "id": 338,
"name": "open",
"kind": 1024,
"kindString": "Property",
@@ -3646,7 +3173,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 4
}
],
@@ -3665,7 +3192,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [34, 35, 36, 33]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -3673,11 +3200,30 @@
"defaultValue": "..."
},
{
- "id": 17,
+ "id": 322,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -3685,25 +3231,6 @@
"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"
@@ -3711,7 +3238,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 76,
+ "id": 366,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -3719,20 +3246,20 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 278,
+ "line": 218,
"character": 2
}
],
"signatures": [
{
- "id": 77,
+ "id": 367,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 78,
+ "id": 368,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -3743,28 +3270,29 @@
}
},
{
- "id": 79,
+ "id": 369,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "ChannelParams"
+ "id": 294,
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 39,
+ "id": 344,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -3772,13 +3300,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 125,
"character": 2
}
],
"signatures": [
{
- "id": 40,
+ "id": 345,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
@@ -3794,7 +3322,7 @@
]
},
{
- "id": 69,
+ "id": 362,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -3802,13 +3330,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 247,
+ "line": 198,
"character": 2
}
],
"signatures": [
{
- "id": 70,
+ "id": 363,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
@@ -3824,7 +3352,7 @@
]
},
{
- "id": 41,
+ "id": 346,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -3832,13 +3360,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 147,
"character": 2
}
],
"signatures": [
{
- "id": 42,
+ "id": 347,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
@@ -3848,7 +3376,7 @@
},
"parameters": [
{
- "id": 43,
+ "id": 348,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -3864,7 +3392,7 @@
}
},
{
- "id": 44,
+ "id": 349,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -3888,37 +3416,7 @@
]
},
{
- "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,
+ "id": 350,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -3926,13 +3424,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 163,
+ "line": 162,
"character": 2
}
],
"signatures": [
{
- "id": 46,
+ "id": 351,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -3941,7 +3439,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
@@ -3949,7 +3447,7 @@
]
},
{
- "id": 71,
+ "id": 364,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -3957,13 +3455,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 263,
+ "line": 214,
"character": 2
}
],
"signatures": [
{
- "id": 72,
+ "id": 365,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -3979,50 +3477,7 @@
]
},
{
- "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,
+ "id": 357,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -4030,13 +3485,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 192,
+ "line": 191,
"character": 2
}
],
"signatures": [
{
- "id": 53,
+ "id": 358,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
@@ -4047,7 +3502,7 @@
},
"parameters": [
{
- "id": 54,
+ "id": 359,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -4058,7 +3513,7 @@
}
},
{
- "id": 55,
+ "id": 360,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -4069,7 +3524,7 @@
}
},
{
- "id": 56,
+ "id": 361,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -4090,326 +3545,7 @@
]
},
{
- "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,
+ "id": 370,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -4417,13 +3553,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 293,
+ "line": 236,
"character": 2
}
],
"signatures": [
{
- "id": 81,
+ "id": 371,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -4434,14 +3570,15 @@
},
"parameters": [
{
- "id": 82,
+ "id": 372,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "Message"
+ "id": 435,
+ "name": "RealtimeMessage"
}
}
],
@@ -4462,54 +3599,7 @@
]
},
{
- "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,
+ "id": 355,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -4517,13 +3607,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 178,
+ "line": 177,
"character": 2
}
],
"signatures": [
{
- "id": 51,
+ "id": 356,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -4534,21 +3624,9 @@
{
"type": "array",
"elementType": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
}
],
@@ -4560,7 +3638,7 @@
]
},
{
- "id": 47,
+ "id": 352,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -4568,27 +3646,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 167,
+ "line": 166,
"character": 2
}
],
"signatures": [
{
- "id": 48,
+ "id": 353,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 49,
+ "id": 354,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
@@ -4597,21 +3675,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
],
"qualifiedName": "Promise",
@@ -4622,7 +3688,7 @@
]
},
{
- "id": 92,
+ "id": 373,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -4630,13 +3696,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 371,
+ "line": 263,
"character": 2
}
],
"signatures": [
{
- "id": 93,
+ "id": 374,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -4646,7 +3712,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 375,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -4681,40 +3747,39 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [307]
},
{
"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
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326, 332, 328, 327,
+ 334, 335, 336, 322, 323
]
},
{
"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
- ]
+ "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 21
}
]
},
{
- "id": 300,
+ "id": 1,
"name": "RealtimePresence",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 332,
+ "id": 28,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -4722,13 +3787,13 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 64,
+ "line": 83,
"character": 2
}
],
"signatures": [
{
- "id": 333,
+ "id": 29,
"name": "new RealtimePresence",
"kind": 16384,
"kindString": "Constructor signature",
@@ -4738,7 +3803,7 @@
},
"parameters": [
{
- "id": 334,
+ "id": 30,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -4748,12 +3813,12 @@
},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
{
- "id": 335,
+ "id": 31,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -4773,14 +3838,14 @@
],
"type": {
"type": "reference",
- "id": 300,
+ "id": 1,
"name": "default"
}
}
]
},
{
- "id": 339,
+ "id": 35,
"name": "caller",
"kind": 1024,
"kindString": "Property",
@@ -4788,21 +3853,21 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 47,
+ "line": 66,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 36,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 341,
+ "id": 37,
"name": "onJoin",
"kind": 1024,
"kindString": "Property",
@@ -4810,7 +3875,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 48,
+ "line": 67,
"character": 4
}
],
@@ -4822,7 +3887,7 @@
}
},
{
- "id": 342,
+ "id": 38,
"name": "onLeave",
"kind": 1024,
"kindString": "Property",
@@ -4830,7 +3895,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 49,
+ "line": 68,
"character": 4
}
],
@@ -4842,7 +3907,7 @@
}
},
{
- "id": 343,
+ "id": 39,
"name": "onSync",
"kind": 2048,
"kindString": "Method",
@@ -4850,13 +3915,13 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 50,
+ "line": 69,
"character": 4
}
],
"signatures": [
{
- "id": 344,
+ "id": 40,
"name": "onSync",
"kind": 4096,
"kindString": "Call signature",
@@ -4873,12 +3938,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [341, 342]
+ "children": [37, 38]
},
{
"title": "Methods",
"kind": 2048,
- "children": [343]
+ "children": [39]
}
]
}
@@ -4886,7 +3951,7 @@
"defaultValue": "..."
},
{
- "id": 345,
+ "id": 41,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -4895,12 +3960,12 @@
},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
{
- "id": 338,
+ "id": 34,
"name": "joinRef",
"kind": 1024,
"kindString": "Property",
@@ -4908,7 +3973,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 46,
+ "line": 65,
"character": 2
}
],
@@ -4928,7 +3993,7 @@
"defaultValue": "null"
},
{
- "id": 337,
+ "id": 33,
"name": "pendingDiffs",
"kind": 1024,
"kindString": "Property",
@@ -4936,7 +4001,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 45,
+ "line": 64,
"character": 2
}
],
@@ -4950,7 +4015,7 @@
"defaultValue": "[]"
},
{
- "id": 336,
+ "id": 32,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -4958,526 +4023,301 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 44,
+ "line": 63,
"character": 2
}
],
"type": {
"type": "reference",
- "name": "PresenceState"
+ "id": 495,
+ "name": "RealtimePresenceState"
},
"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]
+ "children": [28]
},
{
"title": "Properties",
"kind": 1024,
- "children": [339, 345, 338, 337, 336]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [357, 346, 349, 352, 313, 307, 301]
+ "children": [35, 41, 34, 33, 32]
}
],
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 43,
+ "line": 62,
"character": 21
}
]
},
{
- "id": 125,
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 305,
+ "name": "RealtimeChannelSendResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 67,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ },
+ {
+ "id": 418,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -5492,14 +4332,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 419,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 132,
+ "id": 425,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -5521,7 +4361,7 @@
}
},
{
- "id": 131,
+ "id": 424,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -5543,7 +4383,7 @@
}
},
{
- "id": 134,
+ "id": 427,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -5560,7 +4400,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5573,14 +4413,14 @@
}
],
"indexSignature": {
- "id": 136,
+ "id": 429,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 137,
+ "id": 430,
"name": "key",
"kind": 32768,
"flags": {},
@@ -5599,7 +4439,7 @@
}
},
{
- "id": 129,
+ "id": 422,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -5619,7 +4459,7 @@
}
},
{
- "id": 130,
+ "id": 423,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -5641,7 +4481,7 @@
}
},
{
- "id": 138,
+ "id": 431,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -5658,7 +4498,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5671,14 +4511,14 @@
}
],
"indexSignature": {
- "id": 140,
+ "id": 433,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 141,
+ "id": 434,
"name": "key",
"kind": 32768,
"flags": {},
@@ -5697,7 +4537,7 @@
}
},
{
- "id": 133,
+ "id": 426,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -5719,7 +4559,7 @@
}
},
{
- "id": 128,
+ "id": 421,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -5739,7 +4579,7 @@
}
},
{
- "id": 127,
+ "id": 420,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -5765,35 +4605,1277 @@
{
"title": "Properties",
"kind": 1024,
- "children": [132, 131, 134, 129, 130, 138, 133, 128, 127]
+ "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
"line": 16,
- "character": 22
+ "character": 36
}
]
}
}
+ },
+ {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 449,
+ "name": "RealtimePostgresChangesPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 55,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 453,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 450,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 55,
+ "character": 53
+ }
+ ],
+ "indexSignature": {
+ "id": 451,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 452,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ },
+ {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ ]
+ }
+ },
+ {
+ "id": 473,
+ "name": "RealtimePostgresDeletePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 48,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 482,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 479,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 48,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 480,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 481,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "name": "RealtimePostgresChangesPayloadBase"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 474,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 475,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 508,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 476,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 477,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 478,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 482,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "Partial",
+ "package": "typescript",
+ "name": "Partial"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [475, 476, 478]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 49,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 454,
+ "name": "RealtimePostgresInsertPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 34,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 463,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 460,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 34,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 461,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 462,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "name": "RealtimePostgresChangesPayloadBase"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 456,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 506,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 457,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 37,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 463,
+ "name": "T"
+ }
+ },
+ {
+ "id": 458,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 459,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 38,
+ "character": 9
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [456, 457, 458]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 35,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 464,
+ "name": "RealtimePostgresUpdatePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 41,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 472,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 469,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 41,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 470,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 471,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "name": "RealtimePostgresChangesPayloadBase"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 465,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 466,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 43,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 507,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 467,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 44,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 472,
+ "name": "T"
+ }
+ },
+ {
+ "id": 468,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 45,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "Partial",
+ "package": "typescript",
+ "name": "Partial"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [466, 467, 468]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 42,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 20,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 484,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 487,
+ "name": "currentPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ },
+ {
+ "id": 485,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 511,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 486,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 488,
+ "name": "newPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [487, 485, 486, 488]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 20,
+ "character": 42
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 27,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 490,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 493,
+ "name": "currentPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ },
+ {
+ "id": 491,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 512,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 492,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 494,
+ "name": "leftPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [493, 491, 492, 494]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 27,
+ "character": 43
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 36
+ }
+ ],
+ "indexSignature": {
+ "id": 497,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 498,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
}
],
"groups": [
{
- "title": "Namespaces",
- "kind": 4,
- "children": [363]
+ "title": "Enumerations",
+ "kind": 8,
+ "children": [500, 504, 509, 513]
},
{
"title": "Classes",
"kind": 128,
- "children": [142, 1, 300]
+ "children": [55, 306, 1]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [125]
+ "children": [294, 305, 418, 435, 442, 449, 473, 454, 464, 483, 489, 495, 499]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
index db0f0d4dbb5..ee25ae65f33 100644
--- a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
@@ -7,1051 +7,375 @@
"originalName": "",
"children": [
{
- "id": 363,
- "name": "Transformers",
- "kind": 4,
- "kindString": "Namespace",
+ "id": 500,
+ "name": "REALTIME_LISTEN_TYPES",
+ "kind": 8,
+ "kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 364,
- "name": "PostgresTypes",
- "kind": 8,
- "kindString": "Enumeration",
+ "id": 501,
+ "name": "BROADCAST",
+ "kind": 16,
+ "kindString": "Enumeration Member",
"flags": {},
- "comment": {
- "shortText": "Helpers to convert the change Payload into native JS types."
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 77,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
},
- "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
- }
- ]
+ "defaultValue": "\"broadcast\""
},
{
- "id": 402,
- "name": "convertCell",
- "kind": 64,
- "kindString": "Function",
+ "id": 503,
+ "name": "POSTGRES_CHANGES",
+ "kind": 16,
+ "kindString": "Enumeration Member",
"flags": {},
"sources": [
{
- "fileName": "lib/transformers.ts",
- "line": 118,
- "character": 13
+ "fileName": "RealtimeChannel.ts",
+ "line": 79,
+ "character": 2
}
],
- "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"
- }
- }
- ]
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ },
+ "defaultValue": "\"postgres_changes\""
},
{
- "id": 389,
- "name": "convertChangeData",
- "kind": 64,
- "kindString": "Function",
+ "id": 502,
+ "name": "PRESENCE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
"flags": {},
"sources": [
{
- "fileName": "lib/transformers.ts",
- "line": 61,
- "character": 13
+ "fileName": "RealtimeChannel.ts",
+ "line": 78,
+ "character": 2
}
],
- "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"
- }
- }
- ]
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ },
+ "defaultValue": "\"presence\""
}
],
"groups": [
{
- "title": "Enumerations",
- "kind": 8,
- "children": [364]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [402, 389, 396, 415, 406, 412, 409, 419]
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [501, 503, 502]
}
],
"sources": [
{
- "fileName": "lib/transformers.ts",
- "line": 8,
- "character": 0
+ "fileName": "RealtimeChannel.ts",
+ "line": 76,
+ "character": 12
}
]
},
{
- "id": 142,
+ "id": 504,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 505,
+ "name": "ALL",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 70,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "*"
+ },
+ "defaultValue": "\"*\""
+ },
+ {
+ "id": 508,
+ "name": "DELETE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "DELETE"
+ },
+ "defaultValue": "\"DELETE\""
+ },
+ {
+ "id": 506,
+ "name": "INSERT",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ "defaultValue": "\"INSERT\""
+ },
+ {
+ "id": 507,
+ "name": "UPDATE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ "defaultValue": "\"UPDATE\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [505, 508, 506, 507]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 69,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 509,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 511,
+ "name": "JOIN",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ },
+ "defaultValue": "\"join\""
+ },
+ {
+ "id": 512,
+ "name": "LEAVE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 37,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ },
+ "defaultValue": "\"leave\""
+ },
+ {
+ "id": 510,
+ "name": "SYNC",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ },
+ "defaultValue": "\"sync\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [511, 512, 510]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 34,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 513,
+ "name": "REALTIME_SUBSCRIBE_STATES",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 517,
+ "name": "CHANNEL_ERROR",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 86,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ },
+ "defaultValue": "\"CHANNEL_ERROR\""
+ },
+ {
+ "id": 516,
+ "name": "CLOSED",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ "defaultValue": "\"CLOSED\""
+ },
+ {
+ "id": 514,
+ "name": "SUBSCRIBED",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ "defaultValue": "\"SUBSCRIBED\""
+ },
+ {
+ "id": 515,
+ "name": "TIMED_OUT",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ "defaultValue": "\"TIMED_OUT\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [517, 516, 514, 515]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 82,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 55,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
"flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
"children": [
{
- "id": 153,
+ "id": 66,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1059,20 +383,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 25,
+ "line": 111,
"character": 2
}
],
"signatures": [
{
- "id": 154,
+ "id": 67,
"name": "new RealtimeChannel",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 155,
+ "id": 68,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -1083,65 +407,267 @@
}
},
{
- "id": 156,
+ "id": 69,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 157,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
"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"
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
}
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
}
}
}
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 160,
+ "id": 70,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default",
"dereferenced": {
- "id": 1,
+ "id": 306,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 2,
+ "id": 307,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1149,13 +675,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 88,
"character": 2
}
],
"signatures": [
{
- "id": 3,
+ "id": 308,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -1165,7 +691,7 @@
},
"parameters": [
{
- "id": 4,
+ "id": 309,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -1179,7 +705,7 @@
}
},
{
- "id": 5,
+ "id": 310,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1188,10 +714,10 @@
},
"type": {
"type": "reference",
- "id": 125,
- "name": "Options",
+ "id": 418,
+ "name": "RealtimeClientOptions",
"dereferenced": {
- "id": 125,
+ "id": 418,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -1206,14 +732,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 419,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 132,
+ "id": 425,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -1235,7 +761,7 @@
}
},
{
- "id": 131,
+ "id": 424,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -1257,7 +783,7 @@
}
},
{
- "id": 134,
+ "id": 427,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -1274,7 +800,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1287,14 +813,14 @@
}
],
"indexSignature": {
- "id": 136,
+ "id": 429,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 137,
+ "id": 430,
"name": "key",
"kind": 32768,
"flags": {},
@@ -1313,7 +839,7 @@
}
},
{
- "id": 129,
+ "id": 422,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -1333,7 +859,7 @@
}
},
{
- "id": 130,
+ "id": 423,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -1355,7 +881,7 @@
}
},
{
- "id": 138,
+ "id": 431,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -1372,7 +898,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1385,14 +911,14 @@
}
],
"indexSignature": {
- "id": 140,
+ "id": 433,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 141,
+ "id": 434,
"name": "key",
"kind": 32768,
"flags": {},
@@ -1411,7 +937,7 @@
}
},
{
- "id": 133,
+ "id": 426,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -1433,7 +959,7 @@
}
},
{
- "id": 128,
+ "id": 421,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -1453,7 +979,7 @@
}
},
{
- "id": 127,
+ "id": 420,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -1480,7 +1006,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 132, 131, 134, 129, 130, 138, 133, 128, 127
+ 425, 424, 427, 422, 423, 431, 426, 421, 420
]
}
],
@@ -1488,7 +1014,7 @@
{
"fileName": "RealtimeClient.ts",
"line": 16,
- "character": 22
+ "character": 36
}
]
}
@@ -1499,14 +1025,14 @@
],
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
}
]
},
{
- "id": 6,
+ "id": 311,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -1514,7 +1040,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 41,
"character": 2
}
],
@@ -1534,7 +1060,7 @@
"defaultValue": "null"
},
{
- "id": 7,
+ "id": 312,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -1542,7 +1068,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 2
}
],
@@ -1550,14 +1076,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
"defaultValue": "[]"
},
{
- "id": 28,
+ "id": 333,
"name": "conn",
"kind": 1024,
"kindString": "Property",
@@ -1565,7 +1091,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 57,
"character": 2
}
],
@@ -1587,31 +1113,11 @@
"defaultValue": "null"
},
{
- "id": 26,
+ "id": 331,
"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",
@@ -1627,7 +1133,27 @@
}
},
{
- "id": 8,
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
"name": "endPoint",
"kind": 1024,
"kindString": "Property",
@@ -1635,7 +1161,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 2
}
],
@@ -1646,7 +1172,7 @@
"defaultValue": "''"
},
{
- "id": 37,
+ "id": 342,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -1654,7 +1180,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 71,
"character": 2
}
],
@@ -1665,7 +1191,7 @@
"defaultValue": "100"
},
{
- "id": 9,
+ "id": 314,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -1675,27 +1201,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 10,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 11,
+ "id": 316,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 12,
+ "id": 317,
"name": "key",
"kind": 32768,
"flags": {},
@@ -1715,7 +1241,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 19,
+ "id": 324,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -1723,7 +1249,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 2
}
],
@@ -1734,7 +1260,7 @@
"defaultValue": "30000"
},
{
- "id": 20,
+ "id": 325,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -1742,7 +1268,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 2
}
],
@@ -1764,7 +1290,7 @@
"defaultValue": "undefined"
},
{
- "id": 38,
+ "id": 343,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -1772,7 +1298,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 72,
"character": 2
}
],
@@ -1783,7 +1309,7 @@
"defaultValue": "false"
},
{
- "id": 24,
+ "id": 329,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -1791,7 +1317,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 2
}
],
@@ -1804,7 +1330,7 @@
"defaultValue": "noop"
},
{
- "id": 13,
+ "id": 318,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -1814,27 +1340,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 14,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 15,
+ "id": 320,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 16,
+ "id": 321,
"name": "key",
"kind": 32768,
"flags": {},
@@ -1854,7 +1380,7 @@
"defaultValue": "{}"
},
{
- "id": 21,
+ "id": 326,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -1862,7 +1388,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 2
}
],
@@ -1882,7 +1408,7 @@
"defaultValue": "null"
},
{
- "id": 27,
+ "id": 332,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -1890,7 +1416,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 56,
"character": 2
}
],
@@ -1902,29 +1428,11 @@
}
},
{
- "id": 23,
+ "id": 328,
"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",
@@ -1932,6 +1440,24 @@
"character": 2
}
],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
"type": {
"type": "intrinsic",
"name": "number"
@@ -1939,7 +1465,7 @@
"defaultValue": "0"
},
{
- "id": 29,
+ "id": 334,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -1947,7 +1473,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 58,
"character": 2
}
],
@@ -1963,11 +1489,30 @@
"defaultValue": "[]"
},
{
- "id": 30,
+ "id": 335,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -1975,40 +1520,44 @@
"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,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 34,
+ "id": 339,
"name": "close",
"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"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -2027,8 +1576,8 @@
}
},
{
- "id": 35,
- "name": "error",
+ "id": 341,
+ "name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -2050,30 +1599,7 @@
}
},
{
- "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,
+ "id": 338,
"name": "open",
"kind": 1024,
"kindString": "Property",
@@ -2081,7 +1607,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 4
}
],
@@ -2100,7 +1626,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [34, 35, 36, 33]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -2108,11 +1634,30 @@
"defaultValue": "..."
},
{
- "id": 17,
+ "id": 322,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -2120,25 +1665,6 @@
"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"
@@ -2146,7 +1672,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 76,
+ "id": 366,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -2154,20 +1680,20 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 278,
+ "line": 218,
"character": 2
}
],
"signatures": [
{
- "id": 77,
+ "id": 367,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 78,
+ "id": 368,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -2178,28 +1704,259 @@
}
},
{
- "id": 79,
+ "id": 369,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "ChannelParams"
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
- "defaultValue": "{}"
+ "defaultValue": "..."
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 39,
+ "id": 344,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -2207,13 +1964,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 125,
"character": 2
}
],
"signatures": [
{
- "id": 40,
+ "id": 345,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
@@ -2229,7 +1986,7 @@
]
},
{
- "id": 69,
+ "id": 362,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -2237,13 +1994,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 247,
+ "line": 198,
"character": 2
}
],
"signatures": [
{
- "id": 70,
+ "id": 363,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
@@ -2259,7 +2016,7 @@
]
},
{
- "id": 41,
+ "id": 346,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -2267,13 +2024,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 147,
"character": 2
}
],
"signatures": [
{
- "id": 42,
+ "id": 347,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
@@ -2283,7 +2040,7 @@
},
"parameters": [
{
- "id": 43,
+ "id": 348,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -2299,7 +2056,7 @@
}
},
{
- "id": 44,
+ "id": 349,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -2323,37 +2080,7 @@
]
},
{
- "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,
+ "id": 350,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -2361,13 +2088,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 163,
+ "line": 162,
"character": 2
}
],
"signatures": [
{
- "id": 46,
+ "id": 351,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -2376,7 +2103,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
@@ -2384,7 +2111,7 @@
]
},
{
- "id": 71,
+ "id": 364,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -2392,13 +2119,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 263,
+ "line": 214,
"character": 2
}
],
"signatures": [
{
- "id": 72,
+ "id": 365,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -2414,50 +2141,7 @@
]
},
{
- "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,
+ "id": 357,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -2465,13 +2149,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 192,
+ "line": 191,
"character": 2
}
],
"signatures": [
{
- "id": 53,
+ "id": 358,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
@@ -2482,7 +2166,7 @@
},
"parameters": [
{
- "id": 54,
+ "id": 359,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -2493,7 +2177,7 @@
}
},
{
- "id": 55,
+ "id": 360,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -2504,7 +2188,7 @@
}
},
{
- "id": 56,
+ "id": 361,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -2525,326 +2209,7 @@
]
},
{
- "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,
+ "id": 370,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -2852,13 +2217,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 293,
+ "line": 236,
"character": 2
}
],
"signatures": [
{
- "id": 81,
+ "id": 371,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -2869,14 +2234,147 @@
},
"parameters": [
{
- "id": 82,
+ "id": 372,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "Message"
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -2897,92 +2395,7 @@
]
},
{
- "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",
- "dereferenced": {
- "id": 142,
- "name": "RealtimeChannel",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": "[Circular ~.children.1.children]",
- "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
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 50,
+ "id": 355,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -2990,13 +2403,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 178,
+ "line": 177,
"character": 2
}
],
"signatures": [
{
- "id": 51,
+ "id": 356,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -3007,21 +2420,9 @@
{
"type": "array",
"elementType": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
}
],
@@ -3033,7 +2434,7 @@
]
},
{
- "id": 47,
+ "id": 352,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -3041,62 +2442,59 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 167,
+ "line": 166,
"character": 2
}
],
"signatures": [
{
- "id": 48,
+ "id": 353,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 49,
+ "id": 354,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default",
"dereferenced": {
- "id": 142,
+ "id": 55,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
"flags": {},
- "children": "[Circular ~.children.1.children]",
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
+ "children": "[Circular ~.children.4.children]",
"groups": [
{
"title": "Constructors",
"kind": 512,
- "children": [153]
+ "children": [66]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180
- ]
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
},
{
"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
- ]
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 8,
+ "line": 94,
"character": 21
}
]
@@ -3108,21 +2506,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
],
"qualifiedName": "Promise",
@@ -3133,7 +2519,7 @@
]
},
{
- "id": 92,
+ "id": 373,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -3141,13 +2527,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 371,
+ "line": 263,
"character": 2
}
],
"signatures": [
{
- "id": 93,
+ "id": 374,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -3157,7 +2543,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 375,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -3192,29 +2578,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [307]
},
{
"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
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326,
+ 332, 328, 327, 334, 335, 336, 322, 323
]
},
{
"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
- ]
+ "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 21
}
]
@@ -3224,14 +2607,14 @@
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 161,
+ "id": 71,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -3239,27 +2622,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 9,
+ "line": 95,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 162,
+ "id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 163,
+ "id": 73,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 164,
+ "id": 74,
"name": "key",
"kind": 32768,
"flags": {},
@@ -3274,14 +2657,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 171,
+ "id": 81,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -3289,7 +2672,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 99,
"character": 6
}
],
@@ -3301,7 +2684,7 @@
}
},
{
- "id": 167,
+ "id": 77,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -3309,14 +2692,14 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 168,
+ "id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3324,19 +2707,19 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 14
}
],
"indexSignature": {
- "id": 169,
+ "id": 79,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 170,
+ "id": 80,
"name": "key",
"kind": 32768,
"flags": {},
@@ -3355,7 +2738,7 @@
}
},
{
- "id": 172,
+ "id": 82,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -3365,7 +2748,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 100,
"character": 6
}
],
@@ -3375,7 +2758,7 @@
}
},
{
- "id": 166,
+ "id": 76,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -3383,7 +2766,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 11,
+ "line": 97,
"character": 6
}
],
@@ -3397,13 +2780,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [171, 167, 172, 166]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 10,
+ "line": 96,
"character": 19
}
]
@@ -3416,7 +2799,7 @@
"defaultValue": "{}"
},
{
- "id": 176,
+ "id": 86,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -3424,7 +2807,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 20,
+ "line": 106,
"character": 2
}
],
@@ -3434,7 +2817,7 @@
}
},
{
- "id": 175,
+ "id": 85,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -3442,7 +2825,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 105,
"character": 2
}
],
@@ -3453,7 +2836,7 @@
"defaultValue": "false"
},
{
- "id": 181,
+ "id": 91,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -3461,42 +2844,14 @@
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 179,
+ "id": 89,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -3504,18 +2859,18 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 109,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 300,
+ "id": 1,
"name": "default"
}
},
{
- "id": 178,
+ "id": 88,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -3523,7 +2878,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 22,
+ "line": 108,
"character": 2
}
],
@@ -3537,7 +2892,7 @@
"defaultValue": "[]"
},
{
- "id": 177,
+ "id": 87,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -3545,7 +2900,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 21,
+ "line": 107,
"character": 2
}
],
@@ -3555,7 +2910,7 @@
}
},
{
- "id": 185,
+ "id": 92,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -3564,12 +2919,12 @@
},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
},
{
- "id": 174,
+ "id": 84,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -3577,7 +2932,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 18,
+ "line": 104,
"character": 2
}
],
@@ -3588,7 +2943,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 173,
+ "id": 83,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -3596,7 +2951,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 17,
+ "line": 103,
"character": 2
}
],
@@ -3606,7 +2961,7 @@
}
},
{
- "id": 180,
+ "id": 90,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -3619,320 +2974,7 @@
}
},
{
- "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,
+ "id": 119,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -3940,61 +2982,555 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 249,
+ "line": 315,
"character": 2
}
],
"signatures": [
{
- "id": 217,
+ "id": 120,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "returns": "\n"
+ "shortText": "Listen to messages."
},
"parameters": [
{
- "id": 218,
+ "id": 121,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "comment": {
- "shortText": "\"postgres_changes\" is the only type supported at this time"
- },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "literal",
+ "value": "broadcast"
}
},
{
- "id": 219,
+ "id": 122,
"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,
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 317,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [124]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 127,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 128,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 320,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 130,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 319,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [131, 130]
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 135,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 136,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 326,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [138]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 139,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 140,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 141,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 143,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 144,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 331,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [146]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 149,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 151,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 152,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 153,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 336,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 158,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 159,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 221,
+ "id": 162,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 222,
+ "id": 163,
"name": "key",
"kind": 32768,
"flags": {},
@@ -4011,192 +3547,1028 @@
}
}
}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 165,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
},
{
- "id": 223,
+ "id": 166,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 167,
"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": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 169,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 170,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 175,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 176,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 177,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 178,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 175,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 182,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 184,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 188,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 189,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 191,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 192,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 186,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 193,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 197,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 195,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 199,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 200,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 202,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 203,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 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,
+ "id": 101,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -4204,226 +4576,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 198,
+ "line": 284,
"character": 2
}
],
"signatures": [
{
- "id": 193,
+ "id": 102,
"name": "presenceState",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
- "name": "PresenceState"
+ "id": 495,
+ "name": "RealtimePresenceState"
}
}
]
},
{
- "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,
+ "id": 204,
"name": "send",
"kind": 2048,
"kindString": "Method",
@@ -4431,20 +4604,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 301,
+ "line": 367,
"character": 2
}
],
"signatures": [
{
- "id": 242,
+ "id": 205,
"name": "send",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 243,
+ "id": 206,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -4452,14 +4625,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 207,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 245,
+ "id": 208,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -4467,7 +4640,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 302,
+ "line": 368,
"character": 15
}
],
@@ -4481,18 +4654,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [245]
+ "children": [208]
}
],
"indexSignature": {
- "id": 246,
+ "id": 209,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 210,
"name": "key",
"kind": 32768,
"flags": {},
@@ -4511,7 +4684,7 @@
}
},
{
- "id": 248,
+ "id": 211,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -4519,20 +4692,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 249,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 250,
+ "id": 213,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 251,
+ "id": 214,
"name": "key",
"kind": 32768,
"flags": {},
@@ -4556,21 +4729,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -4581,7 +4742,7 @@
]
},
{
- "id": 188,
+ "id": 93,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -4589,20 +4750,23 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 90,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 189,
+ "id": 94,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
"parameters": [
{
- "id": 190,
+ "id": 95,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -4610,14 +4774,76 @@
"isOptional": true
},
"type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 97,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 98,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ }
+ ]
+ }
+ },
+ {
+ "id": 99,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
},
{
- "id": 191,
+ "id": 100,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -4630,14 +4856,15 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "void"
+ "type": "reference",
+ "id": 55,
+ "name": "default"
}
}
]
},
{
- "id": 194,
+ "id": 103,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -4645,20 +4872,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 202,
+ "line": 288,
"character": 8
}
],
"signatures": [
{
- "id": 195,
+ "id": 104,
"name": "track",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 196,
+ "id": 105,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -4666,20 +4893,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 198,
+ "id": 107,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 199,
+ "id": 108,
"name": "key",
"kind": 32768,
"flags": {},
@@ -4698,7 +4925,7 @@
}
},
{
- "id": 200,
+ "id": 109,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -4706,20 +4933,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 110,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 202,
+ "id": 111,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 203,
+ "id": 112,
"name": "key",
"kind": 32768,
"flags": {},
@@ -4743,21 +4970,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -4768,73 +4983,7 @@
]
},
{
- "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,
+ "id": 221,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -4842,13 +4991,13 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 341,
+ "line": 407,
"character": 2
}
],
"signatures": [
{
- "id": 259,
+ "id": 222,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -4859,7 +5008,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 223,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -4900,7 +5049,7 @@
]
},
{
- "id": 204,
+ "id": 113,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -4908,20 +5057,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 216,
+ "line": 302,
"character": 8
}
],
"signatures": [
{
- "id": 205,
+ "id": 114,
"name": "untrack",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 206,
+ "id": 115,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -4929,20 +5078,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 207,
+ "id": 116,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 208,
+ "id": 117,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 209,
+ "id": 118,
"name": "key",
"kind": 32768,
"flags": {},
@@ -4966,21 +5115,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -4991,7 +5128,7 @@
]
},
{
- "id": 252,
+ "id": 215,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -4999,20 +5136,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 328,
+ "line": 394,
"character": 2
}
],
"signatures": [
{
- "id": 253,
+ "id": 216,
"name": "updateJoinPayload",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 254,
+ "id": 217,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -5020,20 +5157,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 255,
+ "id": 218,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 256,
+ "id": 219,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 257,
+ "id": 220,
"name": "key",
"kind": 32768,
"flags": {},
@@ -5064,39 +5201,36 @@
{
"title": "Constructors",
"kind": 512,
- "children": [153]
+ "children": [66]
},
{
"title": "Properties",
"kind": 1024,
- "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180]
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
},
{
"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
- ]
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 8,
+ "line": 94,
"character": 21
}
]
},
{
- "id": 1,
+ "id": 306,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 2,
+ "id": 307,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -5104,13 +5238,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 88,
"character": 2
}
],
"signatures": [
{
- "id": 3,
+ "id": 308,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -5120,7 +5254,7 @@
},
"parameters": [
{
- "id": 4,
+ "id": 309,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -5134,7 +5268,7 @@
}
},
{
- "id": 5,
+ "id": 310,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5143,10 +5277,10 @@
},
"type": {
"type": "reference",
- "id": 125,
- "name": "Options",
+ "id": 418,
+ "name": "RealtimeClientOptions",
"dereferenced": {
- "id": 125,
+ "id": 418,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -5161,14 +5295,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 419,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 132,
+ "id": 425,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -5190,7 +5324,7 @@
}
},
{
- "id": 131,
+ "id": 424,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -5212,7 +5346,7 @@
}
},
{
- "id": 134,
+ "id": 427,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -5229,7 +5363,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5242,14 +5376,14 @@
}
],
"indexSignature": {
- "id": 136,
+ "id": 429,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 137,
+ "id": 430,
"name": "key",
"kind": 32768,
"flags": {},
@@ -5268,7 +5402,7 @@
}
},
{
- "id": 129,
+ "id": 422,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -5288,7 +5422,7 @@
}
},
{
- "id": 130,
+ "id": 423,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -5310,7 +5444,7 @@
}
},
{
- "id": 138,
+ "id": 431,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -5327,7 +5461,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5340,14 +5474,14 @@
}
],
"indexSignature": {
- "id": 140,
+ "id": 433,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 141,
+ "id": 434,
"name": "key",
"kind": 32768,
"flags": {},
@@ -5366,7 +5500,7 @@
}
},
{
- "id": 133,
+ "id": 426,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -5388,7 +5522,7 @@
}
},
{
- "id": 128,
+ "id": 421,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -5408,7 +5542,7 @@
}
},
{
- "id": 127,
+ "id": 420,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -5434,14 +5568,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [132, 131, 134, 129, 130, 138, 133, 128, 127]
+ "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
"line": 16,
- "character": 22
+ "character": 36
}
]
}
@@ -5452,14 +5586,14 @@
],
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
}
]
},
{
- "id": 6,
+ "id": 311,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -5467,7 +5601,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 41,
"character": 2
}
],
@@ -5487,7 +5621,7 @@
"defaultValue": "null"
},
{
- "id": 7,
+ "id": 312,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -5495,7 +5629,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 2
}
],
@@ -5503,14 +5637,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
"defaultValue": "[]"
},
{
- "id": 28,
+ "id": 333,
"name": "conn",
"kind": 1024,
"kindString": "Property",
@@ -5518,7 +5652,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 57,
"character": 2
}
],
@@ -5540,31 +5674,11 @@
"defaultValue": "null"
},
{
- "id": 26,
+ "id": 331,
"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",
@@ -5580,7 +5694,27 @@
}
},
{
- "id": 8,
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
"name": "endPoint",
"kind": 1024,
"kindString": "Property",
@@ -5588,7 +5722,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 2
}
],
@@ -5599,7 +5733,7 @@
"defaultValue": "''"
},
{
- "id": 37,
+ "id": 342,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -5607,7 +5741,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 71,
"character": 2
}
],
@@ -5618,7 +5752,7 @@
"defaultValue": "100"
},
{
- "id": 9,
+ "id": 314,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -5628,27 +5762,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 10,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 11,
+ "id": 316,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 12,
+ "id": 317,
"name": "key",
"kind": 32768,
"flags": {},
@@ -5668,7 +5802,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 19,
+ "id": 324,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -5676,7 +5810,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 2
}
],
@@ -5687,7 +5821,7 @@
"defaultValue": "30000"
},
{
- "id": 20,
+ "id": 325,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -5695,7 +5829,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 2
}
],
@@ -5717,7 +5851,7 @@
"defaultValue": "undefined"
},
{
- "id": 38,
+ "id": 343,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -5725,7 +5859,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 72,
"character": 2
}
],
@@ -5736,7 +5870,7 @@
"defaultValue": "false"
},
{
- "id": 24,
+ "id": 329,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -5744,7 +5878,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 2
}
],
@@ -5757,7 +5891,7 @@
"defaultValue": "noop"
},
{
- "id": 13,
+ "id": 318,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -5767,27 +5901,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 14,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 15,
+ "id": 320,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 16,
+ "id": 321,
"name": "key",
"kind": 32768,
"flags": {},
@@ -5807,7 +5941,7 @@
"defaultValue": "{}"
},
{
- "id": 21,
+ "id": 326,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -5815,7 +5949,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 2
}
],
@@ -5835,7 +5969,7 @@
"defaultValue": "null"
},
{
- "id": 27,
+ "id": 332,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -5843,7 +5977,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 56,
"character": 2
}
],
@@ -5855,29 +5989,11 @@
}
},
{
- "id": 23,
+ "id": 328,
"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",
@@ -5885,6 +6001,24 @@
"character": 2
}
],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
"type": {
"type": "intrinsic",
"name": "number"
@@ -5892,7 +6026,7 @@
"defaultValue": "0"
},
{
- "id": 29,
+ "id": 334,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -5900,7 +6034,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 58,
"character": 2
}
],
@@ -5916,11 +6050,30 @@
"defaultValue": "[]"
},
{
- "id": 30,
+ "id": 335,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -5928,40 +6081,44 @@
"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,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 34,
+ "id": 339,
"name": "close",
"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"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -5980,8 +6137,8 @@
}
},
{
- "id": 35,
- "name": "error",
+ "id": 341,
+ "name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -6003,30 +6160,7 @@
}
},
{
- "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,
+ "id": 338,
"name": "open",
"kind": 1024,
"kindString": "Property",
@@ -6034,7 +6168,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 4
}
],
@@ -6053,7 +6187,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [34, 35, 36, 33]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -6061,11 +6195,30 @@
"defaultValue": "..."
},
{
- "id": 17,
+ "id": 322,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -6073,25 +6226,6 @@
"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"
@@ -6099,7 +6233,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 76,
+ "id": 366,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -6107,20 +6241,20 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 278,
+ "line": 218,
"character": 2
}
],
"signatures": [
{
- "id": 77,
+ "id": 367,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 78,
+ "id": 368,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -6131,28 +6265,259 @@
}
},
{
- "id": 79,
+ "id": 369,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "ChannelParams"
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
- "defaultValue": "{}"
+ "defaultValue": "..."
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 39,
+ "id": 344,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -6160,13 +6525,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 125,
"character": 2
}
],
"signatures": [
{
- "id": 40,
+ "id": 345,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
@@ -6182,7 +6547,7 @@
]
},
{
- "id": 69,
+ "id": 362,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -6190,13 +6555,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 247,
+ "line": 198,
"character": 2
}
],
"signatures": [
{
- "id": 70,
+ "id": 363,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
@@ -6212,7 +6577,7 @@
]
},
{
- "id": 41,
+ "id": 346,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -6220,13 +6585,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 147,
"character": 2
}
],
"signatures": [
{
- "id": 42,
+ "id": 347,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
@@ -6236,7 +6601,7 @@
},
"parameters": [
{
- "id": 43,
+ "id": 348,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -6252,7 +6617,7 @@
}
},
{
- "id": 44,
+ "id": 349,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -6276,37 +6641,7 @@
]
},
{
- "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,
+ "id": 350,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -6314,13 +6649,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 163,
+ "line": 162,
"character": 2
}
],
"signatures": [
{
- "id": 46,
+ "id": 351,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -6329,7 +6664,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
@@ -6337,7 +6672,7 @@
]
},
{
- "id": 71,
+ "id": 364,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -6345,13 +6680,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 263,
+ "line": 214,
"character": 2
}
],
"signatures": [
{
- "id": 72,
+ "id": 365,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -6367,50 +6702,7 @@
]
},
{
- "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,
+ "id": 357,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -6418,13 +6710,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 192,
+ "line": 191,
"character": 2
}
],
"signatures": [
{
- "id": 53,
+ "id": 358,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
@@ -6435,7 +6727,7 @@
},
"parameters": [
{
- "id": 54,
+ "id": 359,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -6446,7 +6738,7 @@
}
},
{
- "id": 55,
+ "id": 360,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -6457,7 +6749,7 @@
}
},
{
- "id": 56,
+ "id": 361,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -6478,326 +6770,7 @@
]
},
{
- "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,
+ "id": 370,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -6805,13 +6778,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 293,
+ "line": 236,
"character": 2
}
],
"signatures": [
{
- "id": 81,
+ "id": 371,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -6822,14 +6795,147 @@
},
"parameters": [
{
- "id": 82,
+ "id": 372,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "Message"
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -6850,2051 +6956,7 @@
]
},
{
- "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",
- "dereferenced": {
- "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",
- "dereferenced": {
- "id": 1,
- "name": "RealtimeClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": "[Circular ~.children.2.children]",
- "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
- }
- ]
- }
- }
- }
- ],
- "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
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 50,
+ "id": 355,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -8902,13 +6964,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 178,
+ "line": 177,
"character": 2
}
],
"signatures": [
{
- "id": 51,
+ "id": 356,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -8919,21 +6981,9 @@
{
"type": "array",
"elementType": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
}
],
@@ -8945,7 +6995,7 @@
]
},
{
- "id": 47,
+ "id": 352,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -8953,37 +7003,40 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 167,
+ "line": 166,
"character": 2
}
],
"signatures": [
{
- "id": 48,
+ "id": 353,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 49,
+ "id": 354,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default",
"dereferenced": {
- "id": 142,
+ "id": 55,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
"flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
"children": [
{
- "id": 153,
+ "id": 66,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -8991,20 +7044,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 25,
+ "line": 111,
"character": 2
}
],
"signatures": [
{
- "id": 154,
+ "id": 67,
"name": "new RealtimeChannel",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 155,
+ "id": 68,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -9015,90 +7068,291 @@
}
},
{
- "id": 156,
+ "id": 69,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 157,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
"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"
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
}
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
}
}
}
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 160,
+ "id": 70,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default",
"dereferenced": {
- "id": 1,
+ "id": 306,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {},
- "children": "[Circular ~.children.2.children]",
+ "children": "[Circular ~.children.5.children]",
"groups": [
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [307]
},
{
"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
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343,
+ 329, 318, 326, 332, 328, 327, 334, 335, 336, 322, 323
]
},
{
"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
+ 366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 21
}
]
@@ -9108,14 +7362,14 @@
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 161,
+ "id": 71,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -9123,27 +7377,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 9,
+ "line": 95,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 162,
+ "id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 163,
+ "id": 73,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 164,
+ "id": 74,
"name": "key",
"kind": 32768,
"flags": {},
@@ -9158,14 +7412,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 171,
+ "id": 81,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -9173,7 +7427,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 99,
"character": 6
}
],
@@ -9185,7 +7439,7 @@
}
},
{
- "id": 167,
+ "id": 77,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -9193,14 +7447,14 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 168,
+ "id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9208,19 +7462,19 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 14
}
],
"indexSignature": {
- "id": 169,
+ "id": 79,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 170,
+ "id": 80,
"name": "key",
"kind": 32768,
"flags": {},
@@ -9239,7 +7493,7 @@
}
},
{
- "id": 172,
+ "id": 82,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -9249,7 +7503,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 100,
"character": 6
}
],
@@ -9259,7 +7513,7 @@
}
},
{
- "id": 166,
+ "id": 76,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9267,7 +7521,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 11,
+ "line": 97,
"character": 6
}
],
@@ -9281,13 +7535,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [171, 167, 172, 166]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 10,
+ "line": 96,
"character": 19
}
]
@@ -9300,7 +7554,7 @@
"defaultValue": "{}"
},
{
- "id": 176,
+ "id": 86,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -9308,7 +7562,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 20,
+ "line": 106,
"character": 2
}
],
@@ -9318,7 +7572,7 @@
}
},
{
- "id": 175,
+ "id": 85,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -9326,7 +7580,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 105,
"character": 2
}
],
@@ -9337,7 +7591,7 @@
"defaultValue": "false"
},
{
- "id": 181,
+ "id": 91,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -9345,42 +7599,14 @@
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 179,
+ "id": 89,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -9388,18 +7614,18 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 109,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 300,
+ "id": 1,
"name": "default"
}
},
{
- "id": 178,
+ "id": 88,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -9407,7 +7633,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 22,
+ "line": 108,
"character": 2
}
],
@@ -9421,7 +7647,7 @@
"defaultValue": "[]"
},
{
- "id": 177,
+ "id": 87,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -9429,7 +7655,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 21,
+ "line": 107,
"character": 2
}
],
@@ -9439,7 +7665,7 @@
}
},
{
- "id": 185,
+ "id": 92,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -9448,12 +7674,12 @@
},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
},
{
- "id": 174,
+ "id": 84,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -9461,7 +7687,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 18,
+ "line": 104,
"character": 2
}
],
@@ -9472,7 +7698,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 173,
+ "id": 83,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -9480,7 +7706,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 17,
+ "line": 103,
"character": 2
}
],
@@ -9490,7 +7716,7 @@
}
},
{
- "id": 180,
+ "id": 90,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -9503,320 +7729,7 @@
}
},
{
- "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,
+ "id": 119,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -9824,61 +7737,555 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 249,
+ "line": 315,
"character": 2
}
],
"signatures": [
{
- "id": 217,
+ "id": 120,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "returns": "\n"
+ "shortText": "Listen to messages."
},
"parameters": [
{
- "id": 218,
+ "id": 121,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "comment": {
- "shortText": "\"postgres_changes\" is the only type supported at this time"
- },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "literal",
+ "value": "broadcast"
}
},
{
- "id": 219,
+ "id": 122,
"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,
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 317,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [124]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 127,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 128,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 320,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 130,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 319,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [131, 130]
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 135,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 136,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 326,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [138]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 139,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 140,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 141,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 143,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 144,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 331,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [146]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 149,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 151,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 152,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 153,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 336,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 158,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 159,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 221,
+ "id": 162,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 222,
+ "id": 163,
"name": "key",
"kind": 32768,
"flags": {},
@@ -9895,192 +8302,1028 @@
}
}
}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 165,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
},
{
- "id": 223,
+ "id": 166,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 167,
"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": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 169,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 170,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 175,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 176,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 177,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 178,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 175,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 182,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 184,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 188,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 189,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 191,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 192,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 186,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 193,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 197,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 195,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 199,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 200,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 202,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 203,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 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,
+ "id": 101,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -10088,226 +9331,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 198,
+ "line": 284,
"character": 2
}
],
"signatures": [
{
- "id": 193,
+ "id": 102,
"name": "presenceState",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
- "name": "PresenceState"
+ "id": 495,
+ "name": "RealtimePresenceState"
}
}
]
},
{
- "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,
+ "id": 204,
"name": "send",
"kind": 2048,
"kindString": "Method",
@@ -10315,20 +9359,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 301,
+ "line": 367,
"character": 2
}
],
"signatures": [
{
- "id": 242,
+ "id": 205,
"name": "send",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 243,
+ "id": 206,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -10336,14 +9380,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 207,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 245,
+ "id": 208,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10351,7 +9395,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 302,
+ "line": 368,
"character": 15
}
],
@@ -10365,18 +9409,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [245]
+ "children": [208]
}
],
"indexSignature": {
- "id": 246,
+ "id": 209,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 210,
"name": "key",
"kind": 32768,
"flags": {},
@@ -10395,7 +9439,7 @@
}
},
{
- "id": 248,
+ "id": 211,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -10403,20 +9447,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 249,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 250,
+ "id": 213,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 251,
+ "id": 214,
"name": "key",
"kind": 32768,
"flags": {},
@@ -10440,21 +9484,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -10465,7 +9497,7 @@
]
},
{
- "id": 188,
+ "id": 93,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -10473,20 +9505,23 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 90,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 189,
+ "id": 94,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
"parameters": [
{
- "id": 190,
+ "id": 95,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -10494,14 +9529,76 @@
"isOptional": true
},
"type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 97,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 98,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ }
+ ]
+ }
+ },
+ {
+ "id": 99,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
},
{
- "id": 191,
+ "id": 100,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -10514,14 +9611,15 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "void"
+ "type": "reference",
+ "id": 55,
+ "name": "default"
}
}
]
},
{
- "id": 194,
+ "id": 103,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -10529,20 +9627,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 202,
+ "line": 288,
"character": 8
}
],
"signatures": [
{
- "id": 195,
+ "id": 104,
"name": "track",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 196,
+ "id": 105,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -10550,20 +9648,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 198,
+ "id": 107,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 199,
+ "id": 108,
"name": "key",
"kind": 32768,
"flags": {},
@@ -10582,7 +9680,7 @@
}
},
{
- "id": 200,
+ "id": 109,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -10590,20 +9688,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 110,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 202,
+ "id": 111,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 203,
+ "id": 112,
"name": "key",
"kind": 32768,
"flags": {},
@@ -10627,21 +9725,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -10652,73 +9738,7 @@
]
},
{
- "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,
+ "id": 221,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -10726,13 +9746,13 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 341,
+ "line": 407,
"character": 2
}
],
"signatures": [
{
- "id": 259,
+ "id": 222,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -10743,7 +9763,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 223,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -10784,7 +9804,7 @@
]
},
{
- "id": 204,
+ "id": 113,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -10792,20 +9812,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 216,
+ "line": 302,
"character": 8
}
],
"signatures": [
{
- "id": 205,
+ "id": 114,
"name": "untrack",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 206,
+ "id": 115,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -10813,20 +9833,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 207,
+ "id": 116,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 208,
+ "id": 117,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 209,
+ "id": 118,
"name": "key",
"kind": 32768,
"flags": {},
@@ -10850,21 +9870,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -10875,7 +9883,7 @@
]
},
{
- "id": 252,
+ "id": 215,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -10883,20 +9891,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 328,
+ "line": 394,
"character": 2
}
],
"signatures": [
{
- "id": 253,
+ "id": 216,
"name": "updateJoinPayload",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 254,
+ "id": 217,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -10904,20 +9912,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 255,
+ "id": 218,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 256,
+ "id": 219,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 257,
+ "id": 220,
"name": "key",
"kind": 32768,
"flags": {},
@@ -10948,26 +9956,23 @@
{
"title": "Constructors",
"kind": 512,
- "children": [153]
+ "children": [66]
},
{
"title": "Properties",
"kind": 1024,
- "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180]
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
},
{
"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
- ]
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 8,
+ "line": 94,
"character": 21
}
]
@@ -10979,21 +9984,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
],
"qualifiedName": "Promise",
@@ -11004,7 +9997,7 @@
]
},
{
- "id": 92,
+ "id": 373,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -11012,13 +10005,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 371,
+ "line": 263,
"character": 2
}
],
"signatures": [
{
- "id": 93,
+ "id": 374,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -11028,7 +10021,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 375,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -11063,40 +10056,39 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [307]
},
{
"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
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326, 332, 328, 327,
+ 334, 335, 336, 322, 323
]
},
{
"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
- ]
+ "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 21
}
]
},
{
- "id": 300,
+ "id": 1,
"name": "RealtimePresence",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 332,
+ "id": 28,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -11104,13 +10096,13 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 64,
+ "line": 83,
"character": 2
}
],
"signatures": [
{
- "id": 333,
+ "id": 29,
"name": "new RealtimePresence",
"kind": 16384,
"kindString": "Constructor signature",
@@ -11120,7 +10112,7 @@
},
"parameters": [
{
- "id": 334,
+ "id": 30,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -11130,17 +10122,20 @@
},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default",
"dereferenced": {
- "id": 142,
+ "id": 55,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
"flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
"children": [
{
- "id": 153,
+ "id": 66,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -11148,20 +10143,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 25,
+ "line": 111,
"character": 2
}
],
"signatures": [
{
- "id": 154,
+ "id": 67,
"name": "new RealtimeChannel",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 155,
+ "id": 68,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -11172,65 +10167,267 @@
}
},
{
- "id": 156,
+ "id": 69,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 157,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
"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"
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
}
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
}
}
}
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 160,
+ "id": 70,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default",
"dereferenced": {
- "id": 1,
+ "id": 306,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 2,
+ "id": 307,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -11238,13 +10435,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 88,
"character": 2
}
],
"signatures": [
{
- "id": 3,
+ "id": 308,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -11254,7 +10451,7 @@
},
"parameters": [
{
- "id": 4,
+ "id": 309,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -11268,7 +10465,7 @@
}
},
{
- "id": 5,
+ "id": 310,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -11277,10 +10474,10 @@
},
"type": {
"type": "reference",
- "id": 125,
- "name": "Options",
+ "id": 418,
+ "name": "RealtimeClientOptions",
"dereferenced": {
- "id": 125,
+ "id": 418,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -11295,14 +10492,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 419,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 132,
+ "id": 425,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -11324,7 +10521,7 @@
}
},
{
- "id": 131,
+ "id": 424,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -11346,7 +10543,7 @@
}
},
{
- "id": 134,
+ "id": 427,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -11363,7 +10560,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11376,14 +10573,14 @@
}
],
"indexSignature": {
- "id": 136,
+ "id": 429,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 137,
+ "id": 430,
"name": "key",
"kind": 32768,
"flags": {},
@@ -11402,7 +10599,7 @@
}
},
{
- "id": 129,
+ "id": 422,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -11422,7 +10619,7 @@
}
},
{
- "id": 130,
+ "id": 423,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -11444,7 +10641,7 @@
}
},
{
- "id": 138,
+ "id": 431,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -11461,7 +10658,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11474,14 +10671,14 @@
}
],
"indexSignature": {
- "id": 140,
+ "id": 433,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 141,
+ "id": 434,
"name": "key",
"kind": 32768,
"flags": {},
@@ -11500,7 +10697,7 @@
}
},
{
- "id": 133,
+ "id": 426,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -11522,7 +10719,7 @@
}
},
{
- "id": 128,
+ "id": 421,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -11542,7 +10739,7 @@
}
},
{
- "id": 127,
+ "id": 420,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -11569,8 +10766,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 132, 131, 134, 129, 130, 138, 133,
- 128, 127
+ 425, 424, 427, 422, 423, 431, 426,
+ 421, 420
]
}
],
@@ -11578,7 +10775,7 @@
{
"fileName": "RealtimeClient.ts",
"line": 16,
- "character": 22
+ "character": 36
}
]
}
@@ -11589,14 +10786,14 @@
],
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
}
]
},
{
- "id": 6,
+ "id": 311,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -11604,7 +10801,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 41,
"character": 2
}
],
@@ -11624,7 +10821,7 @@
"defaultValue": "null"
},
{
- "id": 7,
+ "id": 312,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -11632,7 +10829,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 42,
"character": 2
}
],
@@ -11640,14 +10837,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
"defaultValue": "[]"
},
{
- "id": 28,
+ "id": 333,
"name": "conn",
"kind": 1024,
"kindString": "Property",
@@ -11655,7 +10852,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 57,
"character": 2
}
],
@@ -11677,31 +10874,11 @@
"defaultValue": "null"
},
{
- "id": 26,
+ "id": 331,
"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",
@@ -11717,7 +10894,27 @@
}
},
{
- "id": 8,
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
"name": "endPoint",
"kind": 1024,
"kindString": "Property",
@@ -11725,7 +10922,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 43,
"character": 2
}
],
@@ -11736,7 +10933,7 @@
"defaultValue": "''"
},
{
- "id": 37,
+ "id": 342,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -11744,7 +10941,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 71,
"character": 2
}
],
@@ -11755,7 +10952,7 @@
"defaultValue": "100"
},
{
- "id": 9,
+ "id": 314,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -11765,27 +10962,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 10,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 11,
+ "id": 316,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 12,
+ "id": 317,
"name": "key",
"kind": 32768,
"flags": {},
@@ -11805,7 +11002,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 19,
+ "id": 324,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -11813,7 +11010,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 48,
"character": 2
}
],
@@ -11824,7 +11021,7 @@
"defaultValue": "30000"
},
{
- "id": 20,
+ "id": 325,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -11832,7 +11029,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 49,
"character": 2
}
],
@@ -11854,7 +11051,7 @@
"defaultValue": "undefined"
},
{
- "id": 38,
+ "id": 343,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -11862,7 +11059,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 72,
"character": 2
}
],
@@ -11873,7 +11070,7 @@
"defaultValue": "false"
},
{
- "id": 24,
+ "id": 329,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -11881,7 +11078,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 53,
"character": 2
}
],
@@ -11894,7 +11091,7 @@
"defaultValue": "noop"
},
{
- "id": 13,
+ "id": 318,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -11904,27 +11101,27 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 45,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 14,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 15,
+ "id": 320,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 16,
+ "id": 321,
"name": "key",
"kind": 32768,
"flags": {},
@@ -11944,7 +11141,7 @@
"defaultValue": "{}"
},
{
- "id": 21,
+ "id": 326,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -11952,7 +11149,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 50,
"character": 2
}
],
@@ -11972,7 +11169,7 @@
"defaultValue": "null"
},
{
- "id": 27,
+ "id": 332,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -11980,7 +11177,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 56,
"character": 2
}
],
@@ -11992,29 +11189,11 @@
}
},
{
- "id": 23,
+ "id": 328,
"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",
@@ -12022,6 +11201,24 @@
"character": 2
}
],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
"type": {
"type": "intrinsic",
"name": "number"
@@ -12029,7 +11226,7 @@
"defaultValue": "0"
},
{
- "id": 29,
+ "id": 334,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -12037,7 +11234,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 58,
"character": 2
}
],
@@ -12053,11 +11250,30 @@
"defaultValue": "[]"
},
{
- "id": 30,
+ "id": 335,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -12065,40 +11281,44 @@
"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,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 34,
+ "id": 339,
"name": "close",
"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"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -12117,8 +11337,8 @@
}
},
{
- "id": 35,
- "name": "error",
+ "id": 341,
+ "name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -12140,30 +11360,7 @@
}
},
{
- "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,
+ "id": 338,
"name": "open",
"kind": 1024,
"kindString": "Property",
@@ -12171,7 +11368,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 61,
"character": 4
}
],
@@ -12190,7 +11387,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [34, 35, 36, 33]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -12198,11 +11395,30 @@
"defaultValue": "..."
},
{
- "id": 17,
+ "id": 322,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -12210,25 +11426,6 @@
"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"
@@ -12236,7 +11433,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 76,
+ "id": 366,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -12244,20 +11441,20 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 278,
+ "line": 218,
"character": 2
}
],
"signatures": [
{
- "id": 77,
+ "id": 367,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 78,
+ "id": 368,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -12268,28 +11465,259 @@
}
},
{
- "id": 79,
+ "id": 369,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "ChannelParams"
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
- "defaultValue": "{}"
+ "defaultValue": "..."
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 39,
+ "id": 344,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -12297,13 +11725,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 125,
"character": 2
}
],
"signatures": [
{
- "id": 40,
+ "id": 345,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
@@ -12319,7 +11747,7 @@
]
},
{
- "id": 69,
+ "id": 362,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -12327,13 +11755,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 247,
+ "line": 198,
"character": 2
}
],
"signatures": [
{
- "id": 70,
+ "id": 363,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
@@ -12349,7 +11777,7 @@
]
},
{
- "id": 41,
+ "id": 346,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -12357,13 +11785,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 147,
"character": 2
}
],
"signatures": [
{
- "id": 42,
+ "id": 347,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
@@ -12373,7 +11801,7 @@
},
"parameters": [
{
- "id": 43,
+ "id": 348,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -12389,7 +11817,7 @@
}
},
{
- "id": 44,
+ "id": 349,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -12413,37 +11841,7 @@
]
},
{
- "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,
+ "id": 350,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -12451,13 +11849,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 163,
+ "line": 162,
"character": 2
}
],
"signatures": [
{
- "id": 46,
+ "id": 351,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -12466,7 +11864,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
@@ -12474,7 +11872,7 @@
]
},
{
- "id": 71,
+ "id": 364,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -12482,13 +11880,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 263,
+ "line": 214,
"character": 2
}
],
"signatures": [
{
- "id": 72,
+ "id": 365,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -12504,50 +11902,7 @@
]
},
{
- "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,
+ "id": 357,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -12555,13 +11910,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 192,
+ "line": 191,
"character": 2
}
],
"signatures": [
{
- "id": 53,
+ "id": 358,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
@@ -12572,7 +11927,7 @@
},
"parameters": [
{
- "id": 54,
+ "id": 359,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -12583,7 +11938,7 @@
}
},
{
- "id": 55,
+ "id": 360,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -12594,7 +11949,7 @@
}
},
{
- "id": 56,
+ "id": 361,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -12615,326 +11970,7 @@
]
},
{
- "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,
+ "id": 370,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -12942,13 +11978,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 293,
+ "line": 236,
"character": 2
}
],
"signatures": [
{
- "id": 81,
+ "id": 371,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -12959,14 +11995,147 @@
},
"parameters": [
{
- "id": 82,
+ "id": 372,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "Message"
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
}
}
],
@@ -12987,55 +12156,7 @@
]
},
{
- "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",
- "dereferenced": "[Circular ~.children.3.children.0.signatures.0.parameters.0.type.dereferenced]"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 50,
+ "id": 355,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -13043,13 +12164,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 178,
+ "line": 177,
"character": 2
}
],
"signatures": [
{
- "id": 51,
+ "id": 356,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -13060,21 +12181,9 @@
{
"type": "array",
"elementType": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
}
],
@@ -13086,7 +12195,7 @@
]
},
{
- "id": 47,
+ "id": 352,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -13094,29 +12203,29 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 167,
+ "line": 166,
"character": 2
}
],
"signatures": [
{
- "id": 48,
+ "id": 353,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 49,
+ "id": 354,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default",
- "dereferenced": "[Circular ~.children.3.children.0.signatures.0.parameters.0.type.dereferenced]"
+ "dereferenced": "[Circular ~.children.6.children.0.signatures.0.parameters.0.type.dereferenced]"
}
}
],
@@ -13124,21 +12233,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
}
],
"qualifiedName": "Promise",
@@ -13149,7 +12246,7 @@
]
},
{
- "id": 92,
+ "id": 373,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -13157,13 +12254,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 371,
+ "line": 263,
"character": 2
}
],
"signatures": [
{
- "id": 93,
+ "id": 374,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -13173,7 +12270,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 375,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -13208,29 +12305,28 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [307]
},
{
"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
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343,
+ 329, 318, 326, 332, 328, 327, 334, 335, 336, 322, 323
]
},
{
"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
+ 366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 40,
"character": 21
}
]
@@ -13240,14 +12336,14 @@
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 161,
+ "id": 71,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -13255,27 +12351,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 9,
+ "line": 95,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 162,
+ "id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 163,
+ "id": 73,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 164,
+ "id": 74,
"name": "key",
"kind": 32768,
"flags": {},
@@ -13290,14 +12386,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 171,
+ "id": 81,
"name": "callback",
"kind": 1024,
"kindString": "Property",
@@ -13305,7 +12401,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 99,
"character": 6
}
],
@@ -13317,7 +12413,7 @@
}
},
{
- "id": 167,
+ "id": 77,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -13325,14 +12421,14 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 168,
+ "id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -13340,19 +12436,19 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 12,
+ "line": 98,
"character": 14
}
],
"indexSignature": {
- "id": 169,
+ "id": 79,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 170,
+ "id": 80,
"name": "key",
"kind": 32768,
"flags": {},
@@ -13371,7 +12467,7 @@
}
},
{
- "id": 172,
+ "id": 82,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -13381,7 +12477,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 100,
"character": 6
}
],
@@ -13391,7 +12487,7 @@
}
},
{
- "id": 166,
+ "id": 76,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -13399,7 +12495,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 11,
+ "line": 97,
"character": 6
}
],
@@ -13413,13 +12509,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [171, 167, 172, 166]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 10,
+ "line": 96,
"character": 19
}
]
@@ -13432,7 +12528,7 @@
"defaultValue": "{}"
},
{
- "id": 176,
+ "id": 86,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -13440,7 +12536,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 20,
+ "line": 106,
"character": 2
}
],
@@ -13450,7 +12546,7 @@
}
},
{
- "id": 175,
+ "id": 85,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -13458,7 +12554,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 105,
"character": 2
}
],
@@ -13469,7 +12565,7 @@
"defaultValue": "false"
},
{
- "id": 181,
+ "id": 91,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -13477,42 +12573,14 @@
"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"
- }
- }
- }
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 179,
+ "id": 89,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -13520,18 +12588,18 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 109,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 300,
+ "id": 1,
"name": "default"
}
},
{
- "id": 178,
+ "id": 88,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -13539,7 +12607,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 22,
+ "line": 108,
"character": 2
}
],
@@ -13553,7 +12621,7 @@
"defaultValue": "[]"
},
{
- "id": 177,
+ "id": 87,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -13561,7 +12629,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 21,
+ "line": 107,
"character": 2
}
],
@@ -13571,7 +12639,7 @@
}
},
{
- "id": 185,
+ "id": 92,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -13580,12 +12648,12 @@
},
"type": {
"type": "reference",
- "id": 1,
+ "id": 306,
"name": "default"
}
},
{
- "id": 174,
+ "id": 84,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -13593,7 +12661,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 18,
+ "line": 104,
"character": 2
}
],
@@ -13604,7 +12672,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 173,
+ "id": 83,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -13612,7 +12680,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 17,
+ "line": 103,
"character": 2
}
],
@@ -13622,7 +12690,7 @@
}
},
{
- "id": 180,
+ "id": 90,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -13635,320 +12703,7 @@
}
},
{
- "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,
+ "id": 119,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -13956,61 +12711,555 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 249,
+ "line": 315,
"character": 2
}
],
"signatures": [
{
- "id": 217,
+ "id": 120,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "returns": "\n"
+ "shortText": "Listen to messages."
},
"parameters": [
{
- "id": 218,
+ "id": 121,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "comment": {
- "shortText": "\"postgres_changes\" is the only type supported at this time"
- },
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "literal",
+ "value": "broadcast"
}
},
{
- "id": 219,
+ "id": 122,
"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,
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 317,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [124]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 127,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 128,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 320,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 130,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 319,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [131, 130]
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 135,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 136,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 326,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [138]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 139,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 140,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 141,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 143,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 144,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 331,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [146]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 149,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 151,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 152,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 153,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 336,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 158,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 159,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 221,
+ "id": 162,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 222,
+ "id": 163,
"name": "key",
"kind": 32768,
"flags": {},
@@ -14027,192 +13276,1028 @@
}
}
}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 165,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
},
{
- "id": 223,
+ "id": 166,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 167,
"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": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 169,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 170,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 175,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 176,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 177,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 178,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 175,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 182,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 184,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 188,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 189,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 191,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 192,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 186,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 193,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 197,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 195,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 199,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 200,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 202,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 203,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 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,
+ "id": 101,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -14220,226 +14305,27 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 198,
+ "line": 284,
"character": 2
}
],
"signatures": [
{
- "id": 193,
+ "id": 102,
"name": "presenceState",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
- "name": "PresenceState"
+ "id": 495,
+ "name": "RealtimePresenceState"
}
}
]
},
{
- "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,
+ "id": 204,
"name": "send",
"kind": 2048,
"kindString": "Method",
@@ -14447,20 +14333,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 301,
+ "line": 367,
"character": 2
}
],
"signatures": [
{
- "id": 242,
+ "id": 205,
"name": "send",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 243,
+ "id": 206,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -14468,14 +14354,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 207,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 245,
+ "id": 208,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -14483,7 +14369,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 302,
+ "line": 368,
"character": 15
}
],
@@ -14497,18 +14383,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [245]
+ "children": [208]
}
],
"indexSignature": {
- "id": 246,
+ "id": 209,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 247,
+ "id": 210,
"name": "key",
"kind": 32768,
"flags": {},
@@ -14527,7 +14413,7 @@
}
},
{
- "id": 248,
+ "id": 211,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -14535,20 +14421,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 249,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 250,
+ "id": 213,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 251,
+ "id": 214,
"name": "key",
"kind": 32768,
"flags": {},
@@ -14572,21 +14458,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -14597,7 +14471,7 @@
]
},
{
- "id": 188,
+ "id": 93,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -14605,20 +14479,23 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 90,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 189,
+ "id": 94,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
"parameters": [
{
- "id": 190,
+ "id": 95,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -14626,14 +14503,76 @@
"isOptional": true
},
"type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 97,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 98,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ }
+ ]
+ }
+ },
+ {
+ "id": 99,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
}
},
{
- "id": 191,
+ "id": 100,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -14646,14 +14585,15 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "void"
+ "type": "reference",
+ "id": 55,
+ "name": "default"
}
}
]
},
{
- "id": 194,
+ "id": 103,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -14661,20 +14601,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 202,
+ "line": 288,
"character": 8
}
],
"signatures": [
{
- "id": 195,
+ "id": 104,
"name": "track",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 196,
+ "id": 105,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -14682,20 +14622,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 198,
+ "id": 107,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 199,
+ "id": 108,
"name": "key",
"kind": 32768,
"flags": {},
@@ -14714,7 +14654,7 @@
}
},
{
- "id": 200,
+ "id": 109,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -14722,20 +14662,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 110,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 202,
+ "id": 111,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 203,
+ "id": 112,
"name": "key",
"kind": 32768,
"flags": {},
@@ -14759,21 +14699,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -14784,73 +14712,7 @@
]
},
{
- "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,
+ "id": 221,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -14858,13 +14720,13 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 341,
+ "line": 407,
"character": 2
}
],
"signatures": [
{
- "id": 259,
+ "id": 222,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -14875,7 +14737,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 223,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -14916,7 +14778,7 @@
]
},
{
- "id": 204,
+ "id": 113,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -14924,20 +14786,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 216,
+ "line": 302,
"character": 8
}
],
"signatures": [
{
- "id": 205,
+ "id": 114,
"name": "untrack",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 206,
+ "id": 115,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -14945,20 +14807,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 207,
+ "id": 116,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 208,
+ "id": 117,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 209,
+ "id": 118,
"name": "key",
"kind": 32768,
"flags": {},
@@ -14982,21 +14844,9 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "rate limited"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
}
],
"qualifiedName": "Promise",
@@ -15007,7 +14857,7 @@
]
},
{
- "id": 252,
+ "id": 215,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -15015,20 +14865,20 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 328,
+ "line": 394,
"character": 2
}
],
"signatures": [
{
- "id": 253,
+ "id": 216,
"name": "updateJoinPayload",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 254,
+ "id": 217,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -15036,20 +14886,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 255,
+ "id": 218,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 256,
+ "id": 219,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 257,
+ "id": 220,
"name": "key",
"kind": 32768,
"flags": {},
@@ -15080,26 +14930,23 @@
{
"title": "Constructors",
"kind": 512,
- "children": [153]
+ "children": [66]
},
{
"title": "Properties",
"kind": 1024,
- "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180]
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
},
{
"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
- ]
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 8,
+ "line": 94,
"character": 21
}
]
@@ -15107,7 +14954,7 @@
}
},
{
- "id": 335,
+ "id": 31,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -15127,14 +14974,14 @@
],
"type": {
"type": "reference",
- "id": 300,
+ "id": 1,
"name": "default"
}
}
]
},
{
- "id": 339,
+ "id": 35,
"name": "caller",
"kind": 1024,
"kindString": "Property",
@@ -15142,21 +14989,21 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 47,
+ "line": 66,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 36,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 341,
+ "id": 37,
"name": "onJoin",
"kind": 1024,
"kindString": "Property",
@@ -15164,7 +15011,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 48,
+ "line": 67,
"character": 4
}
],
@@ -15176,7 +15023,7 @@
}
},
{
- "id": 342,
+ "id": 38,
"name": "onLeave",
"kind": 1024,
"kindString": "Property",
@@ -15184,7 +15031,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 49,
+ "line": 68,
"character": 4
}
],
@@ -15196,7 +15043,7 @@
}
},
{
- "id": 343,
+ "id": 39,
"name": "onSync",
"kind": 2048,
"kindString": "Method",
@@ -15204,13 +15051,13 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 50,
+ "line": 69,
"character": 4
}
],
"signatures": [
{
- "id": 344,
+ "id": 40,
"name": "onSync",
"kind": 4096,
"kindString": "Call signature",
@@ -15227,12 +15074,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [341, 342]
+ "children": [37, 38]
},
{
"title": "Methods",
"kind": 2048,
- "children": [343]
+ "children": [39]
}
]
}
@@ -15240,7 +15087,7 @@
"defaultValue": "..."
},
{
- "id": 345,
+ "id": 41,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -15249,12 +15096,12 @@
},
"type": {
"type": "reference",
- "id": 142,
+ "id": 55,
"name": "default"
}
},
{
- "id": 338,
+ "id": 34,
"name": "joinRef",
"kind": 1024,
"kindString": "Property",
@@ -15262,7 +15109,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 46,
+ "line": 65,
"character": 2
}
],
@@ -15282,7 +15129,7 @@
"defaultValue": "null"
},
{
- "id": 337,
+ "id": 33,
"name": "pendingDiffs",
"kind": 1024,
"kindString": "Property",
@@ -15290,7 +15137,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 45,
+ "line": 64,
"character": 2
}
],
@@ -15304,7 +15151,7 @@
"defaultValue": "[]"
},
{
- "id": 336,
+ "id": 32,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -15312,526 +15159,301 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 44,
+ "line": 63,
"character": 2
}
],
"type": {
"type": "reference",
- "name": "PresenceState"
+ "id": 495,
+ "name": "RealtimePresenceState"
},
"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]
+ "children": [28]
},
{
"title": "Properties",
"kind": 1024,
- "children": [339, 345, 338, 337, 336]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [357, 346, 349, 352, 313, 307, 301]
+ "children": [35, 41, 34, 33, 32]
}
],
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 43,
+ "line": 62,
"character": 21
}
]
},
{
- "id": 125,
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowlege that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 305,
+ "name": "RealtimeChannelSendResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 67,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ },
+ {
+ "id": 418,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -15846,14 +15468,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 419,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 132,
+ "id": 425,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -15875,7 +15497,7 @@
}
},
{
- "id": 131,
+ "id": 424,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -15897,7 +15519,7 @@
}
},
{
- "id": 134,
+ "id": 427,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -15914,7 +15536,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 428,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15927,14 +15549,14 @@
}
],
"indexSignature": {
- "id": 136,
+ "id": 429,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 137,
+ "id": 430,
"name": "key",
"kind": 32768,
"flags": {},
@@ -15953,7 +15575,7 @@
}
},
{
- "id": 129,
+ "id": 422,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -15973,7 +15595,7 @@
}
},
{
- "id": 130,
+ "id": 423,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -15995,7 +15617,7 @@
}
},
{
- "id": 138,
+ "id": 431,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -16012,7 +15634,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16025,14 +15647,14 @@
}
],
"indexSignature": {
- "id": 140,
+ "id": 433,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 141,
+ "id": 434,
"name": "key",
"kind": 32768,
"flags": {},
@@ -16051,7 +15673,7 @@
}
},
{
- "id": 133,
+ "id": 426,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -16073,7 +15695,7 @@
}
},
{
- "id": 128,
+ "id": 421,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -16093,7 +15715,7 @@
}
},
{
- "id": 127,
+ "id": 420,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -16119,35 +15741,1277 @@
{
"title": "Properties",
"kind": 1024,
- "children": [132, 131, 134, 129, 130, 138, 133, 128, 127]
+ "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
"line": 16,
- "character": 22
+ "character": 36
}
]
}
}
+ },
+ {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 449,
+ "name": "RealtimePostgresChangesPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 55,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 453,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 450,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 55,
+ "character": 53
+ }
+ ],
+ "indexSignature": {
+ "id": 451,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 452,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ },
+ {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ ]
+ }
+ },
+ {
+ "id": 473,
+ "name": "RealtimePostgresDeletePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 48,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 482,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 479,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 48,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 480,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 481,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "name": "RealtimePostgresChangesPayloadBase"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 474,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 475,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 508,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 476,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 477,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 478,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 482,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "Partial",
+ "package": "typescript",
+ "name": "Partial"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [475, 476, 478]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 49,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 454,
+ "name": "RealtimePostgresInsertPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 34,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 463,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 460,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 34,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 461,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 462,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "name": "RealtimePostgresChangesPayloadBase"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 456,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 506,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 457,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 37,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 463,
+ "name": "T"
+ }
+ },
+ {
+ "id": 458,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 459,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 38,
+ "character": 9
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [456, 457, 458]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 35,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 464,
+ "name": "RealtimePostgresUpdatePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 41,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 472,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 469,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 41,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 470,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 471,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "name": "RealtimePostgresChangesPayloadBase"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 465,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 466,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 43,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 507,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 467,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 44,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 472,
+ "name": "T"
+ }
+ },
+ {
+ "id": 468,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 45,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "Partial",
+ "package": "typescript",
+ "name": "Partial"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [466, 467, 468]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 42,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 20,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 484,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 487,
+ "name": "currentPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ },
+ {
+ "id": 485,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 511,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 486,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 488,
+ "name": "newPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [487, 485, 486, 488]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 20,
+ "character": 42
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 27,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 490,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 493,
+ "name": "currentPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ },
+ {
+ "id": 491,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 512,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 492,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 494,
+ "name": "leftPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [493, 491, 492, 494]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 27,
+ "character": 43
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 36
+ }
+ ],
+ "indexSignature": {
+ "id": 497,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 498,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
}
],
"groups": [
{
- "title": "Namespaces",
- "kind": 4,
- "children": [363]
+ "title": "Enumerations",
+ "kind": 8,
+ "children": [500, 504, 509, 513]
},
{
"title": "Classes",
"kind": 128,
- "children": [142, 1, 300]
+ "children": [55, 306, 1]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [125]
+ "children": [294, 305, 418, 435, 442, 449, 473, 454, 464, 483, 489, 495, 499]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v2/storage.json b/spec/enrichments/tsdoc_v2/storage.json
index acaa89a09ab..989b1a8b754 100644
--- a/spec/enrichments/tsdoc_v2/storage.json
+++ b/spec/enrichments/tsdoc_v2/storage.json
@@ -13,14 +13,14 @@
"flags": {},
"children": [
{
- "id": 381,
+ "id": 390,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 382,
+ "id": 391,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34,14 +34,14 @@
],
"signatures": [
{
- "id": 383,
+ "id": 392,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 384,
+ "id": 393,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -52,7 +52,7 @@
}
},
{
- "id": 385,
+ "id": 394,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -65,24 +65,24 @@
],
"type": {
"type": "reference",
- "id": 381,
+ "id": 390,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 378,
+ "id": 387,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 377,
+ "id": 386,
"name": "StorageError.constructor"
}
},
{
- "id": 386,
+ "id": 395,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -100,7 +100,7 @@
}
},
{
- "id": 387,
+ "id": 396,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -114,7 +114,7 @@
],
"signatures": [
{
- "id": 388,
+ "id": 397,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -122,14 +122,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 391,
+ "id": 400,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -148,7 +148,7 @@
"defaultValue": "..."
},
{
- "id": 390,
+ "id": 399,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -167,7 +167,7 @@
"defaultValue": "..."
},
{
- "id": 392,
+ "id": 401,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -190,7 +190,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [391, 390, 392]
+ "children": [400, 399, 401]
}
]
}
@@ -203,17 +203,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [382]
+ "children": [391]
},
{
"title": "Properties",
"kind": 1024,
- "children": [386]
+ "children": [395]
},
{
"title": "Methods",
"kind": 2048,
- "children": [387]
+ "children": [396]
}
],
"sources": [
@@ -226,20 +226,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
]
},
{
- "id": 249,
+ "id": 258,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 250,
+ "id": 259,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -253,14 +253,14 @@
],
"signatures": [
{
- "id": 251,
+ "id": 260,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 252,
+ "id": 261,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -271,7 +271,7 @@
}
},
{
- "id": 253,
+ "id": 262,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -279,20 +279,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 263,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 255,
+ "id": 264,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 256,
+ "id": 265,
"name": "key",
"kind": 32768,
"flags": {},
@@ -312,7 +312,7 @@
"defaultValue": "{}"
},
{
- "id": 257,
+ "id": 266,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -322,21 +322,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 258,
+ "id": 267,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 259,
+ "id": 268,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 260,
+ "id": 269,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -349,7 +349,7 @@
}
},
{
- "id": 261,
+ "id": 270,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -386,7 +386,7 @@
],
"type": {
"type": "reference",
- "id": 249,
+ "id": 258,
"name": "StorageClient"
},
"overwrites": {
@@ -403,7 +403,7 @@
}
},
{
- "id": 292,
+ "id": 301,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -417,7 +417,7 @@
],
"signatures": [
{
- "id": 293,
+ "id": 302,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -428,7 +428,7 @@
},
"parameters": [
{
- "id": 294,
+ "id": 303,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -442,7 +442,7 @@
}
},
{
- "id": 295,
+ "id": 304,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -450,14 +450,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 296,
+ "id": 305,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 297,
+ "id": 306,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -482,7 +482,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [297]
+ "children": [306]
}
]
}
@@ -499,14 +499,14 @@
{
"type": "reflection",
"declaration": {
- "id": 298,
+ "id": 307,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 299,
+ "id": 308,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -523,7 +523,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
},
{
@@ -537,7 +537,7 @@
}
},
{
- "id": 300,
+ "id": 309,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -559,7 +559,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [299, 300]
+ "children": [308, 309]
}
]
}
@@ -567,14 +567,14 @@
{
"type": "reflection",
"declaration": {
- "id": 301,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 302,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -592,7 +592,7 @@
}
},
{
- "id": 303,
+ "id": 312,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -606,7 +606,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -615,7 +615,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [302, 303]
+ "children": [311, 312]
}
]
}
@@ -641,7 +641,7 @@
}
},
{
- "id": 329,
+ "id": 338,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -655,7 +655,7 @@
],
"signatures": [
{
- "id": 330,
+ "id": 339,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -665,7 +665,7 @@
},
"parameters": [
{
- "id": 331,
+ "id": 340,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -688,14 +688,14 @@
{
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 341,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 333,
+ "id": 342,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -710,14 +710,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 334,
+ "id": 343,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 335,
+ "id": 344,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -739,14 +739,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [335]
+ "children": [344]
}
]
}
}
},
{
- "id": 336,
+ "id": 345,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -768,7 +768,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [333, 336]
+ "children": [342, 345]
}
]
}
@@ -776,14 +776,14 @@
{
"type": "reflection",
"declaration": {
- "id": 337,
+ "id": 346,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 338,
+ "id": 347,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -801,7 +801,7 @@
}
},
{
- "id": 339,
+ "id": 348,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -815,7 +815,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -824,7 +824,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [338, 339]
+ "children": [347, 348]
}
]
}
@@ -850,7 +850,7 @@
}
},
{
- "id": 318,
+ "id": 327,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -864,7 +864,7 @@
],
"signatures": [
{
- "id": 319,
+ "id": 328,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -874,7 +874,7 @@
},
"parameters": [
{
- "id": 320,
+ "id": 329,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -897,14 +897,14 @@
{
"type": "reflection",
"declaration": {
- "id": 321,
+ "id": 330,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 322,
+ "id": 331,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -919,14 +919,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 323,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 324,
+ "id": 333,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -948,14 +948,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [324]
+ "children": [333]
}
]
}
}
},
{
- "id": 325,
+ "id": 334,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -977,7 +977,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [322, 325]
+ "children": [331, 334]
}
]
}
@@ -985,14 +985,14 @@
{
"type": "reflection",
"declaration": {
- "id": 326,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 327,
+ "id": 336,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1010,7 +1010,7 @@
}
},
{
- "id": 328,
+ "id": 337,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1024,7 +1024,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -1033,7 +1033,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [327, 328]
+ "children": [336, 337]
}
]
}
@@ -1059,7 +1059,7 @@
}
},
{
- "id": 262,
+ "id": 271,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -1073,7 +1073,7 @@
],
"signatures": [
{
- "id": 263,
+ "id": 272,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -1083,7 +1083,7 @@
},
"parameters": [
{
- "id": 264,
+ "id": 273,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1106,7 +1106,7 @@
]
},
{
- "id": 283,
+ "id": 292,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -1120,7 +1120,7 @@
],
"signatures": [
{
- "id": 284,
+ "id": 293,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1130,7 +1130,7 @@
},
"parameters": [
{
- "id": 285,
+ "id": 294,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1144,6 +1144,167 @@
}
}
],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 297,
+ "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": [296, 297]
+ }
+ ]
+ }
+ },
+ {
+ "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": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 300,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [299, 300]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "default.getBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "default.getBucket"
+ }
+ },
+ {
+ "id": 284,
+ "name": "listBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 285,
+ "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": [
@@ -1168,14 +1329,17 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 52,
+ "line": 23,
"character": 8
}
],
"type": {
- "type": "reference",
- "id": 340,
- "name": "Bucket"
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ }
}
},
{
@@ -1187,7 +1351,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 53,
+ "line": 24,
"character": 8
}
],
@@ -1224,7 +1388,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 56,
+ "line": 27,
"character": 8
}
],
@@ -1242,13 +1406,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 57,
+ "line": 28,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -1269,170 +1433,6 @@
"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,
@@ -1447,7 +1447,7 @@
}
},
{
- "id": 304,
+ "id": 313,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -1461,7 +1461,7 @@
],
"signatures": [
{
- "id": 305,
+ "id": 314,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1471,7 +1471,7 @@
},
"parameters": [
{
- "id": 306,
+ "id": 315,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1485,7 +1485,7 @@
}
},
{
- "id": 307,
+ "id": 316,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1493,14 +1493,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 318,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -1525,7 +1525,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309]
+ "children": [318]
}
]
}
@@ -1541,14 +1541,14 @@
{
"type": "reflection",
"declaration": {
- "id": 310,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 311,
+ "id": 320,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1563,14 +1563,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 312,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 313,
+ "id": 322,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1592,14 +1592,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [313]
+ "children": [322]
}
]
}
}
},
{
- "id": 314,
+ "id": 323,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1621,7 +1621,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [311, 314]
+ "children": [320, 323]
}
]
}
@@ -1629,14 +1629,14 @@
{
"type": "reflection",
"declaration": {
- "id": 315,
+ "id": 324,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 316,
+ "id": 325,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1654,7 +1654,7 @@
}
},
{
- "id": 317,
+ "id": 326,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1668,7 +1668,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -1677,7 +1677,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [316, 317]
+ "children": [325, 326]
}
]
}
@@ -1707,12 +1707,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [250]
+ "children": [259]
},
{
"title": "Methods",
"kind": 2048,
- "children": [292, 329, 318, 262, 283, 275, 304]
+ "children": [301, 338, 327, 271, 292, 284, 313]
}
],
"sources": [
@@ -1731,14 +1731,14 @@
]
},
{
- "id": 376,
+ "id": 385,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 377,
+ "id": 386,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1752,14 +1752,14 @@
],
"signatures": [
{
- "id": 378,
+ "id": 387,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 379,
+ "id": 388,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1772,7 +1772,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
},
"overwrites": {
@@ -1791,7 +1791,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [377]
+ "children": [386]
}
],
"sources": [
@@ -1812,25 +1812,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 381,
+ "id": 390,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 394,
+ "id": 403,
"name": "StorageUnknownError"
}
]
},
{
- "id": 394,
+ "id": 403,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 404,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1844,14 +1844,14 @@
],
"signatures": [
{
- "id": 396,
+ "id": 405,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 397,
+ "id": 406,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1862,7 +1862,7 @@
}
},
{
- "id": 398,
+ "id": 407,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -1875,24 +1875,24 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 403,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 378,
+ "id": 387,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 377,
+ "id": 386,
"name": "StorageError.constructor"
}
},
{
- "id": 399,
+ "id": 408,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -1914,12 +1914,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [395]
+ "children": [404]
},
{
"title": "Properties",
"kind": 1024,
- "children": [399]
+ "children": [408]
}
],
"sources": [
@@ -1932,20 +1932,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
]
},
{
- "id": 340,
+ "id": 349,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 344,
+ "id": 353,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -1963,7 +1963,7 @@
}
},
{
- "id": 341,
+ "id": 350,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -1981,7 +1981,7 @@
}
},
{
- "id": 342,
+ "id": 351,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1999,7 +1999,7 @@
}
},
{
- "id": 343,
+ "id": 352,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2017,7 +2017,7 @@
}
},
{
- "id": 346,
+ "id": 355,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -2035,7 +2035,7 @@
}
},
{
- "id": 345,
+ "id": 354,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2057,7 +2057,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344, 341, 342, 343, 346, 345]
+ "children": [353, 350, 351, 352, 355, 354]
}
],
"sources": [
@@ -2069,14 +2069,14 @@
]
},
{
- "id": 369,
+ "id": 378,
"name": "FetchParameters",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 370,
+ "id": 379,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -2105,7 +2105,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370]
+ "children": [379]
}
],
"sources": [
@@ -2117,14 +2117,14 @@
]
},
{
- "id": 347,
+ "id": 356,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 349,
+ "id": 358,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
@@ -2142,7 +2142,7 @@
}
},
{
- "id": 356,
+ "id": 365,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
@@ -2156,12 +2156,12 @@
],
"type": {
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
}
},
{
- "id": 353,
+ "id": 362,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -2179,7 +2179,7 @@
}
},
{
- "id": 351,
+ "id": 360,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2197,7 +2197,7 @@
}
},
{
- "id": 354,
+ "id": 363,
"name": "last_accessed_at",
"kind": 1024,
"kindString": "Property",
@@ -2215,7 +2215,7 @@
}
},
{
- "id": 355,
+ "id": 364,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -2245,7 +2245,7 @@
}
},
{
- "id": 348,
+ "id": 357,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2263,7 +2263,7 @@
}
},
{
- "id": 350,
+ "id": 359,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2281,7 +2281,7 @@
}
},
{
- "id": 352,
+ "id": 361,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2303,7 +2303,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [349, 356, 353, 351, 354, 355, 348, 350, 352]
+ "children": [358, 365, 362, 360, 363, 364, 357, 359, 361]
}
],
"sources": [
@@ -2315,14 +2315,14 @@
]
},
{
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -2345,7 +2345,7 @@
}
},
{
- "id": 362,
+ "id": 371,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -2368,7 +2368,7 @@
}
},
{
- "id": 363,
+ "id": 372,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -2395,7 +2395,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 362, 363]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -2407,14 +2407,14 @@
]
},
{
- "id": 371,
+ "id": 380,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 372,
+ "id": 381,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2436,7 +2436,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [372]
+ "children": [381]
}
],
"sources": [
@@ -2448,14 +2448,14 @@
]
},
{
- "id": 364,
+ "id": 373,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 365,
+ "id": 374,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -2478,7 +2478,7 @@
}
},
{
- "id": 366,
+ "id": 375,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -2501,7 +2501,7 @@
}
},
{
- "id": 368,
+ "id": 377,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -2524,7 +2524,7 @@
}
},
{
- "id": 367,
+ "id": 376,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -2543,7 +2543,7 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 366,
"name": "SortBy"
}
}
@@ -2552,7 +2552,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [365, 366, 368, 367]
+ "children": [374, 375, 377, 376]
}
],
"sources": [
@@ -2564,14 +2564,14 @@
]
},
{
- "id": 357,
+ "id": 366,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 358,
+ "id": 367,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -2591,7 +2591,7 @@
}
},
{
- "id": 359,
+ "id": 368,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -2615,7 +2615,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [358, 359]
+ "children": [367, 368]
}
],
"sources": [
@@ -2627,7 +2627,7 @@
]
},
{
- "id": 373,
+ "id": 382,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -2641,14 +2641,14 @@
],
"signatures": [
{
- "id": 374,
+ "id": 383,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 375,
+ "id": 384,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -2665,7 +2665,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -2677,17 +2677,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [381, 249, 376, 394]
+ "children": [390, 258, 385, 403]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [340, 369, 347, 360, 371, 364, 357]
+ "children": [349, 378, 356, 369, 380, 373, 366]
},
{
"title": "Functions",
"kind": 64,
- "children": [373]
+ "children": [382]
}
],
"sources": [
@@ -2987,7 +2987,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
},
{
@@ -3070,7 +3070,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -3269,7 +3269,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -3468,7 +3468,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -3561,7 +3561,7 @@
],
"type": {
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
}
},
@@ -3635,7 +3635,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -3714,7 +3714,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
}
}
@@ -3789,7 +3789,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -4035,7 +4035,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -4082,7 +4082,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 249,
+ "id": 258,
"name": "StorageClient"
}
]
@@ -4376,7 +4376,7 @@
"children": [
{
"id": 176,
- "name": "message",
+ "name": "path",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -4473,7 +4473,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -4506,7 +4506,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 262,
+ "line": 263,
"character": 8
}
],
@@ -4542,12 +4542,70 @@
"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"
+ "shortText": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute."
},
"type": {
"type": "intrinsic",
"name": "number"
}
+ },
+ {
+ "id": 185,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 186,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 187,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 266,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [187]
+ }
+ ]
+ }
+ }
}
],
"type": {
@@ -4559,14 +4617,14 @@
{
"type": "reflection",
"declaration": {
- "id": 185,
+ "id": 188,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 186,
+ "id": 189,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4574,21 +4632,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 267,
+ "line": 269,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 187,
+ "id": 190,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 188,
+ "id": 191,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -4596,7 +4654,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 267,
+ "line": 269,
"character": 16
}
],
@@ -4610,67 +4668,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [188]
+ "children": [191]
}
]
}
}
},
- {
- "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",
@@ -4680,13 +4683,68 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 272,
+ "line": 270,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [189, 192]
+ }
+ ]
+ }
+ },
+ {
+ "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/packages/StorageFileApi.ts",
+ "line": 273,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 195,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 274,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -4695,7 +4753,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [191, 192]
+ "children": [194, 195]
}
]
}
@@ -4711,7 +4769,7 @@
]
},
{
- "id": 193,
+ "id": 196,
"name": "createSignedUrls",
"kind": 2048,
"kindString": "Method",
@@ -4719,13 +4777,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 301,
+ "line": 307,
"character": 8
}
],
"signatures": [
{
- "id": 194,
+ "id": 197,
"name": "createSignedUrls",
"kind": 4096,
"kindString": "Call signature",
@@ -4735,7 +4793,7 @@
},
"parameters": [
{
- "id": 195,
+ "id": 198,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -4752,18 +4810,76 @@
}
},
{
- "id": 196,
+ "id": 199,
"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"
+ "shortText": "The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute."
},
"type": {
"type": "intrinsic",
"name": "number"
}
+ },
+ {
+ "id": 200,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 202,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 310,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [202]
+ }
+ ]
+ }
+ }
}
],
"type": {
@@ -4775,14 +4891,14 @@
{
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 203,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 198,
+ "id": 204,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4790,7 +4906,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 8
}
],
@@ -4799,14 +4915,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 199,
+ "id": 205,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 200,
+ "id": 206,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4814,7 +4930,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 16
}
],
@@ -4833,7 +4949,7 @@
}
},
{
- "id": 201,
+ "id": 207,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -4841,7 +4957,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 38
}
],
@@ -4860,7 +4976,7 @@
}
},
{
- "id": 202,
+ "id": 208,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -4868,7 +4984,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 59
}
],
@@ -4882,7 +4998,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [200, 201, 202]
+ "children": [206, 207, 208]
}
]
}
@@ -4890,7 +5006,7 @@
}
},
{
- "id": 203,
+ "id": 209,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4898,7 +5014,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 307,
+ "line": 314,
"character": 8
}
],
@@ -4912,7 +5028,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [198, 203]
+ "children": [204, 209]
}
]
}
@@ -4920,14 +5036,14 @@
{
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 210,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 205,
+ "id": 211,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4935,7 +5051,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 310,
+ "line": 317,
"character": 8
}
],
@@ -4945,7 +5061,7 @@
}
},
{
- "id": 206,
+ "id": 212,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4953,13 +5069,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 311,
+ "line": 318,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -4968,7 +5084,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [205, 206]
+ "children": [211, 212]
}
]
}
@@ -4984,7 +5100,7 @@
]
},
{
- "id": 207,
+ "id": 213,
"name": "download",
"kind": 2048,
"kindString": "Method",
@@ -4992,13 +5108,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 342,
+ "line": 355,
"character": 8
}
],
"signatures": [
{
- "id": 208,
+ "id": 214,
"name": "download",
"kind": 4096,
"kindString": "Call signature",
@@ -5008,7 +5124,7 @@
},
"parameters": [
{
- "id": 209,
+ "id": 215,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5031,14 +5147,14 @@
{
"type": "reflection",
"declaration": {
- "id": 210,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 211,
+ "id": 217,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5046,7 +5162,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 346,
+ "line": 359,
"character": 8
}
],
@@ -5058,7 +5174,7 @@
}
},
{
- "id": 212,
+ "id": 218,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5066,7 +5182,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 347,
+ "line": 360,
"character": 8
}
],
@@ -5080,7 +5196,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [211, 212]
+ "children": [217, 218]
}
]
}
@@ -5088,14 +5204,14 @@
{
"type": "reflection",
"declaration": {
- "id": 213,
+ "id": 219,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 214,
+ "id": 220,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5103,7 +5219,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 350,
+ "line": 363,
"character": 8
}
],
@@ -5113,7 +5229,7 @@
}
},
{
- "id": 215,
+ "id": 221,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5121,13 +5237,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 351,
+ "line": 364,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -5136,7 +5252,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [214, 215]
+ "children": [220, 221]
}
]
}
@@ -5152,7 +5268,7 @@
]
},
{
- "id": 216,
+ "id": 222,
"name": "getPublicUrl",
"kind": 2048,
"kindString": "Method",
@@ -5160,13 +5276,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 377,
+ "line": 391,
"character": 2
}
],
"signatures": [
{
- "id": 217,
+ "id": 223,
"name": "getPublicUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -5176,31 +5292,89 @@
},
"parameters": [
{
- "id": 218,
+ "id": 224,
"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"
+ "shortText": "The path and name of the file to generate the public URL for. For example `folder/image.png`."
},
"type": {
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 225,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 226,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 227,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 393,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [227]
+ }
+ ]
+ }
+ }
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 219,
+ "id": 228,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 220,
+ "id": 229,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5208,21 +5382,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 377,
- "character": 32
+ "line": 394,
+ "character": 7
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 230,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 222,
+ "id": 231,
"name": "publicUrl",
"kind": 1024,
"kindString": "Property",
@@ -5230,8 +5404,8 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 377,
- "character": 40
+ "line": 394,
+ "character": 15
}
],
"type": {
@@ -5244,7 +5418,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [222]
+ "children": [231]
}
]
}
@@ -5255,7 +5429,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [220]
+ "children": [229]
}
]
}
@@ -5264,7 +5438,7 @@
]
},
{
- "id": 232,
+ "id": 241,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -5272,13 +5446,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 483,
+ "line": 506,
"character": 8
}
],
"signatures": [
{
- "id": 233,
+ "id": 242,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -5288,7 +5462,7 @@
},
"parameters": [
{
- "id": 234,
+ "id": 243,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5304,7 +5478,7 @@
}
},
{
- "id": 235,
+ "id": 244,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5313,12 +5487,12 @@
},
"type": {
"type": "reference",
- "id": 364,
+ "id": 373,
"name": "SearchOptions"
}
},
{
- "id": 236,
+ "id": 245,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5327,7 +5501,7 @@
},
"type": {
"type": "reference",
- "id": 369,
+ "id": 378,
"name": "FetchParameters"
}
}
@@ -5341,14 +5515,14 @@
{
"type": "reflection",
"declaration": {
- "id": 237,
+ "id": 246,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 238,
+ "id": 247,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5356,7 +5530,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 489,
+ "line": 512,
"character": 8
}
],
@@ -5364,13 +5538,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 347,
+ "id": 356,
"name": "FileObject"
}
}
},
{
- "id": 239,
+ "id": 248,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5378,7 +5552,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 490,
+ "line": 513,
"character": 8
}
],
@@ -5392,7 +5566,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [238, 239]
+ "children": [247, 248]
}
]
}
@@ -5400,14 +5574,14 @@
{
"type": "reflection",
"declaration": {
- "id": 240,
+ "id": 249,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 241,
+ "id": 250,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5415,7 +5589,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 493,
+ "line": 516,
"character": 8
}
],
@@ -5425,7 +5599,7 @@
}
},
{
- "id": 242,
+ "id": 251,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5433,13 +5607,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 494,
+ "line": 517,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -5448,7 +5622,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [241, 242]
+ "children": [250, 251]
}
]
}
@@ -5652,7 +5826,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -5677,7 +5851,7 @@
]
},
{
- "id": 223,
+ "id": 232,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -5685,13 +5859,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 387,
+ "line": 410,
"character": 8
}
],
"signatures": [
{
- "id": 224,
+ "id": 233,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -5701,7 +5875,7 @@
},
"parameters": [
{
- "id": 225,
+ "id": 234,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -5727,14 +5901,14 @@
{
"type": "reflection",
"declaration": {
- "id": 226,
+ "id": 235,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 227,
+ "id": 236,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5742,7 +5916,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 391,
+ "line": 414,
"character": 8
}
],
@@ -5750,13 +5924,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 347,
+ "id": 356,
"name": "FileObject"
}
}
},
{
- "id": 228,
+ "id": 237,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5764,7 +5938,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 392,
+ "line": 415,
"character": 8
}
],
@@ -5778,7 +5952,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [227, 228]
+ "children": [236, 237]
}
]
}
@@ -5786,14 +5960,14 @@
{
"type": "reflection",
"declaration": {
- "id": 229,
+ "id": 238,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 230,
+ "id": 239,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5801,7 +5975,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 395,
+ "line": 418,
"character": 8
}
],
@@ -5811,7 +5985,7 @@
}
},
{
- "id": 231,
+ "id": 240,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5819,13 +5993,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 396,
+ "line": 419,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -5834,7 +6008,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [230, 231]
+ "children": [239, 240]
}
]
}
@@ -5978,7 +6152,7 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 369,
"name": "FileOptions"
}
}
@@ -6119,7 +6293,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -6272,7 +6446,7 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 369,
"name": "FileOptions"
}
}
@@ -6413,7 +6587,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -6447,7 +6621,7 @@
{
"title": "Methods",
"kind": 2048,
- "children": [169, 181, 193, 207, 216, 232, 157, 223, 144, 131]
+ "children": [169, 181, 196, 213, 222, 241, 157, 232, 144, 131]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
index 68d23124612..fe03bc12964 100644
--- a/spec/enrichments/tsdoc_v2/storage_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
@@ -13,14 +13,14 @@
"flags": {},
"children": [
{
- "id": 381,
+ "id": 390,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 382,
+ "id": 391,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34,14 +34,14 @@
],
"signatures": [
{
- "id": 383,
+ "id": 392,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 384,
+ "id": 393,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -52,7 +52,7 @@
}
},
{
- "id": 385,
+ "id": 394,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -65,24 +65,24 @@
],
"type": {
"type": "reference",
- "id": 381,
+ "id": 390,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 378,
+ "id": 387,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 377,
+ "id": 386,
"name": "StorageError.constructor"
}
},
{
- "id": 386,
+ "id": 395,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -100,7 +100,7 @@
}
},
{
- "id": 387,
+ "id": 396,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -114,7 +114,7 @@
],
"signatures": [
{
- "id": 388,
+ "id": 397,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -122,14 +122,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 391,
+ "id": 400,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -148,7 +148,7 @@
"defaultValue": "..."
},
{
- "id": 390,
+ "id": 399,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -167,7 +167,7 @@
"defaultValue": "..."
},
{
- "id": 392,
+ "id": 401,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -190,7 +190,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [391, 390, 392]
+ "children": [400, 399, 401]
}
]
}
@@ -203,17 +203,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [382]
+ "children": [391]
},
{
"title": "Properties",
"kind": 1024,
- "children": [386]
+ "children": [395]
},
{
"title": "Methods",
"kind": 2048,
- "children": [387]
+ "children": [396]
}
],
"sources": [
@@ -226,20 +226,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
]
},
{
- "id": 249,
+ "id": 258,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 250,
+ "id": 259,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -253,14 +253,14 @@
],
"signatures": [
{
- "id": 251,
+ "id": 260,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 252,
+ "id": 261,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -271,7 +271,7 @@
}
},
{
- "id": 253,
+ "id": 262,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -279,20 +279,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 263,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 255,
+ "id": 264,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 256,
+ "id": 265,
"name": "key",
"kind": 32768,
"flags": {},
@@ -312,7 +312,7 @@
"defaultValue": "{}"
},
{
- "id": 257,
+ "id": 266,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -322,21 +322,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 258,
+ "id": 267,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 259,
+ "id": 268,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 260,
+ "id": 269,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -349,7 +349,7 @@
}
},
{
- "id": 261,
+ "id": 270,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -386,7 +386,7 @@
],
"type": {
"type": "reference",
- "id": 249,
+ "id": 258,
"name": "StorageClient"
},
"overwrites": {
@@ -403,7 +403,7 @@
}
},
{
- "id": 292,
+ "id": 301,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -417,7 +417,7 @@
],
"signatures": [
{
- "id": 293,
+ "id": 302,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -428,7 +428,7 @@
},
"parameters": [
{
- "id": 294,
+ "id": 303,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -442,7 +442,7 @@
}
},
{
- "id": 295,
+ "id": 304,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -450,14 +450,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 296,
+ "id": 305,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 297,
+ "id": 306,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -482,7 +482,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [297]
+ "children": [306]
}
]
}
@@ -499,14 +499,14 @@
{
"type": "reflection",
"declaration": {
- "id": 298,
+ "id": 307,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 299,
+ "id": 308,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -523,7 +523,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
},
{
@@ -537,7 +537,7 @@
}
},
{
- "id": 300,
+ "id": 309,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -559,7 +559,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [299, 300]
+ "children": [308, 309]
}
]
}
@@ -567,14 +567,14 @@
{
"type": "reflection",
"declaration": {
- "id": 301,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 302,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -592,7 +592,7 @@
}
},
{
- "id": 303,
+ "id": 312,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -606,7 +606,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -615,7 +615,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [302, 303]
+ "children": [311, 312]
}
]
}
@@ -641,7 +641,7 @@
}
},
{
- "id": 329,
+ "id": 338,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -655,7 +655,7 @@
],
"signatures": [
{
- "id": 330,
+ "id": 339,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -665,7 +665,7 @@
},
"parameters": [
{
- "id": 331,
+ "id": 340,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -688,14 +688,14 @@
{
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 341,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 333,
+ "id": 342,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -710,14 +710,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 334,
+ "id": 343,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 335,
+ "id": 344,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -739,14 +739,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [335]
+ "children": [344]
}
]
}
}
},
{
- "id": 336,
+ "id": 345,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -768,7 +768,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [333, 336]
+ "children": [342, 345]
}
]
}
@@ -776,14 +776,14 @@
{
"type": "reflection",
"declaration": {
- "id": 337,
+ "id": 346,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 338,
+ "id": 347,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -801,7 +801,7 @@
}
},
{
- "id": 339,
+ "id": 348,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -815,7 +815,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -824,7 +824,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [338, 339]
+ "children": [347, 348]
}
]
}
@@ -850,7 +850,7 @@
}
},
{
- "id": 318,
+ "id": 327,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -864,7 +864,7 @@
],
"signatures": [
{
- "id": 319,
+ "id": 328,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -874,7 +874,7 @@
},
"parameters": [
{
- "id": 320,
+ "id": 329,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -897,14 +897,14 @@
{
"type": "reflection",
"declaration": {
- "id": 321,
+ "id": 330,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 322,
+ "id": 331,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -919,14 +919,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 323,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 324,
+ "id": 333,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -948,14 +948,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [324]
+ "children": [333]
}
]
}
}
},
{
- "id": 325,
+ "id": 334,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -977,7 +977,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [322, 325]
+ "children": [331, 334]
}
]
}
@@ -985,14 +985,14 @@
{
"type": "reflection",
"declaration": {
- "id": 326,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 327,
+ "id": 336,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1010,7 +1010,7 @@
}
},
{
- "id": 328,
+ "id": 337,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1024,7 +1024,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -1033,7 +1033,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [327, 328]
+ "children": [336, 337]
}
]
}
@@ -1059,7 +1059,7 @@
}
},
{
- "id": 262,
+ "id": 271,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -1073,7 +1073,7 @@
],
"signatures": [
{
- "id": 263,
+ "id": 272,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -1083,7 +1083,7 @@
},
"parameters": [
{
- "id": 264,
+ "id": 273,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1106,7 +1106,7 @@
]
},
{
- "id": 283,
+ "id": 292,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -1120,7 +1120,7 @@
],
"signatures": [
{
- "id": 284,
+ "id": 293,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1130,7 +1130,7 @@
},
"parameters": [
{
- "id": 285,
+ "id": 294,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1144,6 +1144,167 @@
}
}
],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 297,
+ "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": [296, 297]
+ }
+ ]
+ }
+ },
+ {
+ "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": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 300,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [299, 300]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "default.getBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "default.getBucket"
+ }
+ },
+ {
+ "id": 284,
+ "name": "listBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 285,
+ "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": [
@@ -1168,14 +1329,17 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 52,
+ "line": 23,
"character": 8
}
],
"type": {
- "type": "reference",
- "id": 340,
- "name": "Bucket"
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ }
}
},
{
@@ -1187,7 +1351,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 53,
+ "line": 24,
"character": 8
}
],
@@ -1224,7 +1388,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 56,
+ "line": 27,
"character": 8
}
],
@@ -1242,13 +1406,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 57,
+ "line": 28,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -1269,170 +1433,6 @@
"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,
@@ -1447,7 +1447,7 @@
}
},
{
- "id": 304,
+ "id": 313,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -1461,7 +1461,7 @@
],
"signatures": [
{
- "id": 305,
+ "id": 314,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1471,7 +1471,7 @@
},
"parameters": [
{
- "id": 306,
+ "id": 315,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1485,7 +1485,7 @@
}
},
{
- "id": 307,
+ "id": 316,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1493,14 +1493,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 318,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -1525,7 +1525,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309]
+ "children": [318]
}
]
}
@@ -1541,14 +1541,14 @@
{
"type": "reflection",
"declaration": {
- "id": 310,
+ "id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 311,
+ "id": 320,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1563,14 +1563,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 312,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 313,
+ "id": 322,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1592,14 +1592,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [313]
+ "children": [322]
}
]
}
}
},
{
- "id": 314,
+ "id": 323,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1621,7 +1621,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [311, 314]
+ "children": [320, 323]
}
]
}
@@ -1629,14 +1629,14 @@
{
"type": "reflection",
"declaration": {
- "id": 315,
+ "id": 324,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 316,
+ "id": 325,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1654,7 +1654,7 @@
}
},
{
- "id": 317,
+ "id": 326,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1668,7 +1668,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -1677,7 +1677,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [316, 317]
+ "children": [325, 326]
}
]
}
@@ -1707,12 +1707,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [250]
+ "children": [259]
},
{
"title": "Methods",
"kind": 2048,
- "children": [292, 329, 318, 262, 283, 275, 304]
+ "children": [301, 338, 327, 271, 292, 284, 313]
}
],
"sources": [
@@ -1731,14 +1731,14 @@
]
},
{
- "id": 376,
+ "id": 385,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 377,
+ "id": 386,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1752,14 +1752,14 @@
],
"signatures": [
{
- "id": 378,
+ "id": 387,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 379,
+ "id": 388,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1772,7 +1772,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
},
"overwrites": {
@@ -1791,7 +1791,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [377]
+ "children": [386]
}
],
"sources": [
@@ -1812,25 +1812,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 381,
+ "id": 390,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 394,
+ "id": 403,
"name": "StorageUnknownError"
}
]
},
{
- "id": 394,
+ "id": 403,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 404,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1844,14 +1844,14 @@
],
"signatures": [
{
- "id": 396,
+ "id": 405,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 397,
+ "id": 406,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1862,7 +1862,7 @@
}
},
{
- "id": 398,
+ "id": 407,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -1875,24 +1875,24 @@
],
"type": {
"type": "reference",
- "id": 394,
+ "id": 403,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 378,
+ "id": 387,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 377,
+ "id": 386,
"name": "StorageError.constructor"
}
},
{
- "id": 399,
+ "id": 408,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -1914,12 +1914,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [395]
+ "children": [404]
},
{
"title": "Properties",
"kind": 1024,
- "children": [399]
+ "children": [408]
}
],
"sources": [
@@ -1932,20 +1932,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
]
},
{
- "id": 340,
+ "id": 349,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 344,
+ "id": 353,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -1963,7 +1963,7 @@
}
},
{
- "id": 341,
+ "id": 350,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -1981,7 +1981,7 @@
}
},
{
- "id": 342,
+ "id": 351,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1999,7 +1999,7 @@
}
},
{
- "id": 343,
+ "id": 352,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2017,7 +2017,7 @@
}
},
{
- "id": 346,
+ "id": 355,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -2035,7 +2035,7 @@
}
},
{
- "id": 345,
+ "id": 354,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2057,7 +2057,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344, 341, 342, 343, 346, 345]
+ "children": [353, 350, 351, 352, 355, 354]
}
],
"sources": [
@@ -2069,14 +2069,14 @@
]
},
{
- "id": 369,
+ "id": 378,
"name": "FetchParameters",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 370,
+ "id": 379,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -2105,7 +2105,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370]
+ "children": [379]
}
],
"sources": [
@@ -2117,14 +2117,14 @@
]
},
{
- "id": 347,
+ "id": 356,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 349,
+ "id": 358,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
@@ -2142,7 +2142,7 @@
}
},
{
- "id": 356,
+ "id": 365,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
@@ -2156,12 +2156,12 @@
],
"type": {
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
}
},
{
- "id": 353,
+ "id": 362,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -2179,7 +2179,7 @@
}
},
{
- "id": 351,
+ "id": 360,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2197,7 +2197,7 @@
}
},
{
- "id": 354,
+ "id": 363,
"name": "last_accessed_at",
"kind": 1024,
"kindString": "Property",
@@ -2215,7 +2215,7 @@
}
},
{
- "id": 355,
+ "id": 364,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -2245,7 +2245,7 @@
}
},
{
- "id": 348,
+ "id": 357,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2263,7 +2263,7 @@
}
},
{
- "id": 350,
+ "id": 359,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2281,7 +2281,7 @@
}
},
{
- "id": 352,
+ "id": 361,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2303,7 +2303,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [349, 356, 353, 351, 354, 355, 348, 350, 352]
+ "children": [358, 365, 362, 360, 363, 364, 357, 359, 361]
}
],
"sources": [
@@ -2315,14 +2315,14 @@
]
},
{
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -2345,7 +2345,7 @@
}
},
{
- "id": 362,
+ "id": 371,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -2368,7 +2368,7 @@
}
},
{
- "id": 363,
+ "id": 372,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -2395,7 +2395,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 362, 363]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -2407,14 +2407,14 @@
]
},
{
- "id": 371,
+ "id": 380,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 372,
+ "id": 381,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2436,7 +2436,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [372]
+ "children": [381]
}
],
"sources": [
@@ -2448,14 +2448,14 @@
]
},
{
- "id": 364,
+ "id": 373,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 365,
+ "id": 374,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -2478,7 +2478,7 @@
}
},
{
- "id": 366,
+ "id": 375,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -2501,7 +2501,7 @@
}
},
{
- "id": 368,
+ "id": 377,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -2524,7 +2524,7 @@
}
},
{
- "id": 367,
+ "id": 376,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -2543,7 +2543,7 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 366,
"name": "SortBy"
}
}
@@ -2552,7 +2552,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [365, 366, 368, 367]
+ "children": [374, 375, 377, 376]
}
],
"sources": [
@@ -2564,14 +2564,14 @@
]
},
{
- "id": 357,
+ "id": 366,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 358,
+ "id": 367,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -2591,7 +2591,7 @@
}
},
{
- "id": 359,
+ "id": 368,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -2615,7 +2615,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [358, 359]
+ "children": [367, 368]
}
],
"sources": [
@@ -2627,7 +2627,7 @@
]
},
{
- "id": 373,
+ "id": 382,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -2641,14 +2641,14 @@
],
"signatures": [
{
- "id": 374,
+ "id": 383,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 375,
+ "id": 384,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -2665,7 +2665,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -2677,17 +2677,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [381, 249, 376, 394]
+ "children": [390, 258, 385, 403]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [340, 369, 347, 360, 371, 364, 357]
+ "children": [349, 378, 356, 369, 380, 373, 366]
},
{
"title": "Functions",
"kind": 64,
- "children": [373]
+ "children": [382]
}
],
"sources": [
@@ -2987,7 +2987,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
},
{
@@ -3070,7 +3070,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -3269,7 +3269,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -3468,7 +3468,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -3561,7 +3561,7 @@
],
"type": {
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
}
},
@@ -3635,7 +3635,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -3714,7 +3714,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 340,
+ "id": 349,
"name": "Bucket"
}
}
@@ -3789,7 +3789,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -4035,7 +4035,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -4082,7 +4082,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 249,
+ "id": 258,
"name": "StorageClient"
}
]
@@ -4376,7 +4376,7 @@
"children": [
{
"id": 176,
- "name": "message",
+ "name": "path",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -4473,7 +4473,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -4506,7 +4506,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 262,
+ "line": 263,
"character": 8
}
],
@@ -4542,12 +4542,70 @@
"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"
+ "shortText": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute."
},
"type": {
"type": "intrinsic",
"name": "number"
}
+ },
+ {
+ "id": 185,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 186,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 187,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 266,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [187]
+ }
+ ]
+ }
+ }
}
],
"type": {
@@ -4559,14 +4617,14 @@
{
"type": "reflection",
"declaration": {
- "id": 185,
+ "id": 188,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 186,
+ "id": 189,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4574,21 +4632,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 267,
+ "line": 269,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 187,
+ "id": 190,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 188,
+ "id": 191,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -4596,7 +4654,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 267,
+ "line": 269,
"character": 16
}
],
@@ -4610,67 +4668,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [188]
+ "children": [191]
}
]
}
}
},
- {
- "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",
@@ -4680,13 +4683,68 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 272,
+ "line": 270,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [189, 192]
+ }
+ ]
+ }
+ },
+ {
+ "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/packages/StorageFileApi.ts",
+ "line": 273,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 195,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 274,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -4695,7 +4753,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [191, 192]
+ "children": [194, 195]
}
]
}
@@ -4711,7 +4769,7 @@
]
},
{
- "id": 193,
+ "id": 196,
"name": "createSignedUrls",
"kind": 2048,
"kindString": "Method",
@@ -4719,13 +4777,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 301,
+ "line": 307,
"character": 8
}
],
"signatures": [
{
- "id": 194,
+ "id": 197,
"name": "createSignedUrls",
"kind": 4096,
"kindString": "Call signature",
@@ -4735,7 +4793,7 @@
},
"parameters": [
{
- "id": 195,
+ "id": 198,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -4752,18 +4810,76 @@
}
},
{
- "id": 196,
+ "id": 199,
"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"
+ "shortText": "The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute."
},
"type": {
"type": "intrinsic",
"name": "number"
}
+ },
+ {
+ "id": 200,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 202,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 310,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [202]
+ }
+ ]
+ }
+ }
}
],
"type": {
@@ -4775,14 +4891,14 @@
{
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 203,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 198,
+ "id": 204,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4790,7 +4906,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 8
}
],
@@ -4799,14 +4915,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 199,
+ "id": 205,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 200,
+ "id": 206,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4814,7 +4930,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 16
}
],
@@ -4833,7 +4949,7 @@
}
},
{
- "id": 201,
+ "id": 207,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -4841,7 +4957,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 38
}
],
@@ -4860,7 +4976,7 @@
}
},
{
- "id": 202,
+ "id": 208,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -4868,7 +4984,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 306,
+ "line": 313,
"character": 59
}
],
@@ -4882,7 +4998,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [200, 201, 202]
+ "children": [206, 207, 208]
}
]
}
@@ -4890,7 +5006,7 @@
}
},
{
- "id": 203,
+ "id": 209,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4898,7 +5014,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 307,
+ "line": 314,
"character": 8
}
],
@@ -4912,7 +5028,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [198, 203]
+ "children": [204, 209]
}
]
}
@@ -4920,14 +5036,14 @@
{
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 210,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 205,
+ "id": 211,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4935,7 +5051,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 310,
+ "line": 317,
"character": 8
}
],
@@ -4945,7 +5061,7 @@
}
},
{
- "id": 206,
+ "id": 212,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4953,13 +5069,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 311,
+ "line": 318,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -4968,7 +5084,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [205, 206]
+ "children": [211, 212]
}
]
}
@@ -4984,7 +5100,7 @@
]
},
{
- "id": 207,
+ "id": 213,
"name": "download",
"kind": 2048,
"kindString": "Method",
@@ -4992,13 +5108,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 342,
+ "line": 355,
"character": 8
}
],
"signatures": [
{
- "id": 208,
+ "id": 214,
"name": "download",
"kind": 4096,
"kindString": "Call signature",
@@ -5008,7 +5124,7 @@
},
"parameters": [
{
- "id": 209,
+ "id": 215,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5031,14 +5147,14 @@
{
"type": "reflection",
"declaration": {
- "id": 210,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 211,
+ "id": 217,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5046,7 +5162,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 346,
+ "line": 359,
"character": 8
}
],
@@ -5058,7 +5174,7 @@
}
},
{
- "id": 212,
+ "id": 218,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5066,7 +5182,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 347,
+ "line": 360,
"character": 8
}
],
@@ -5080,7 +5196,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [211, 212]
+ "children": [217, 218]
}
]
}
@@ -5088,14 +5204,14 @@
{
"type": "reflection",
"declaration": {
- "id": 213,
+ "id": 219,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 214,
+ "id": 220,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5103,7 +5219,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 350,
+ "line": 363,
"character": 8
}
],
@@ -5113,7 +5229,7 @@
}
},
{
- "id": 215,
+ "id": 221,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5121,13 +5237,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 351,
+ "line": 364,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -5136,7 +5252,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [214, 215]
+ "children": [220, 221]
}
]
}
@@ -5152,7 +5268,7 @@
]
},
{
- "id": 216,
+ "id": 222,
"name": "getPublicUrl",
"kind": 2048,
"kindString": "Method",
@@ -5160,13 +5276,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 377,
+ "line": 391,
"character": 2
}
],
"signatures": [
{
- "id": 217,
+ "id": 223,
"name": "getPublicUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -5176,31 +5292,89 @@
},
"parameters": [
{
- "id": 218,
+ "id": 224,
"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"
+ "shortText": "The path and name of the file to generate the public URL for. For example `folder/image.png`."
},
"type": {
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 225,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 226,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 227,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 393,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [227]
+ }
+ ]
+ }
+ }
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 219,
+ "id": 228,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 220,
+ "id": 229,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5208,21 +5382,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 377,
- "character": 32
+ "line": 394,
+ "character": 7
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 230,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 222,
+ "id": 231,
"name": "publicUrl",
"kind": 1024,
"kindString": "Property",
@@ -5230,8 +5404,8 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 377,
- "character": 40
+ "line": 394,
+ "character": 15
}
],
"type": {
@@ -5244,7 +5418,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [222]
+ "children": [231]
}
]
}
@@ -5255,7 +5429,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [220]
+ "children": [229]
}
]
}
@@ -5264,7 +5438,7 @@
]
},
{
- "id": 232,
+ "id": 241,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -5272,13 +5446,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 483,
+ "line": 506,
"character": 8
}
],
"signatures": [
{
- "id": 233,
+ "id": 242,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -5288,7 +5462,7 @@
},
"parameters": [
{
- "id": 234,
+ "id": 243,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5304,7 +5478,7 @@
}
},
{
- "id": 235,
+ "id": 244,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5313,17 +5487,17 @@
},
"type": {
"type": "reference",
- "id": 364,
+ "id": 373,
"name": "SearchOptions",
"dereferenced": {
- "id": 364,
+ "id": 373,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 365,
+ "id": 374,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -5346,7 +5520,7 @@
}
},
{
- "id": 366,
+ "id": 375,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -5369,7 +5543,7 @@
}
},
{
- "id": 368,
+ "id": 377,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -5392,7 +5566,7 @@
}
},
{
- "id": 367,
+ "id": 376,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -5411,7 +5585,7 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 366,
"name": "SortBy"
}
}
@@ -5420,7 +5594,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [365, 366, 368, 367]
+ "children": [374, 375, 377, 376]
}
],
"sources": [
@@ -5434,7 +5608,7 @@
}
},
{
- "id": 236,
+ "id": 245,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5443,17 +5617,17 @@
},
"type": {
"type": "reference",
- "id": 369,
+ "id": 378,
"name": "FetchParameters",
"dereferenced": {
- "id": 369,
+ "id": 378,
"name": "FetchParameters",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 370,
+ "id": 379,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -5482,7 +5656,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370]
+ "children": [379]
}
],
"sources": [
@@ -5505,14 +5679,14 @@
{
"type": "reflection",
"declaration": {
- "id": 237,
+ "id": 246,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 238,
+ "id": 247,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5520,7 +5694,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 489,
+ "line": 512,
"character": 8
}
],
@@ -5528,13 +5702,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 347,
+ "id": 356,
"name": "FileObject"
}
}
},
{
- "id": 239,
+ "id": 248,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5542,7 +5716,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 490,
+ "line": 513,
"character": 8
}
],
@@ -5556,7 +5730,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [238, 239]
+ "children": [247, 248]
}
]
}
@@ -5564,14 +5738,14 @@
{
"type": "reflection",
"declaration": {
- "id": 240,
+ "id": 249,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 241,
+ "id": 250,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5579,7 +5753,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 493,
+ "line": 516,
"character": 8
}
],
@@ -5589,7 +5763,7 @@
}
},
{
- "id": 242,
+ "id": 251,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5597,13 +5771,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 494,
+ "line": 517,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -5612,7 +5786,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [241, 242]
+ "children": [250, 251]
}
]
}
@@ -5816,7 +5990,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -5841,7 +6015,7 @@
]
},
{
- "id": 223,
+ "id": 232,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -5849,13 +6023,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 387,
+ "line": 410,
"character": 8
}
],
"signatures": [
{
- "id": 224,
+ "id": 233,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -5865,7 +6039,7 @@
},
"parameters": [
{
- "id": 225,
+ "id": 234,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -5891,14 +6065,14 @@
{
"type": "reflection",
"declaration": {
- "id": 226,
+ "id": 235,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 227,
+ "id": 236,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5906,7 +6080,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 391,
+ "line": 414,
"character": 8
}
],
@@ -5914,13 +6088,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 347,
+ "id": 356,
"name": "FileObject"
}
}
},
{
- "id": 228,
+ "id": 237,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5928,7 +6102,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 392,
+ "line": 415,
"character": 8
}
],
@@ -5942,7 +6116,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [227, 228]
+ "children": [236, 237]
}
]
}
@@ -5950,14 +6124,14 @@
{
"type": "reflection",
"declaration": {
- "id": 229,
+ "id": 238,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 230,
+ "id": 239,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5965,7 +6139,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 395,
+ "line": 418,
"character": 8
}
],
@@ -5975,7 +6149,7 @@
}
},
{
- "id": 231,
+ "id": 240,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5983,13 +6157,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 396,
+ "line": 419,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -5998,7 +6172,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [230, 231]
+ "children": [239, 240]
}
]
}
@@ -6142,17 +6316,17 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"dereferenced": {
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -6175,7 +6349,7 @@
}
},
{
- "id": 362,
+ "id": 371,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -6198,7 +6372,7 @@
}
},
{
- "id": 363,
+ "id": 372,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -6225,7 +6399,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 362, 363]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -6375,7 +6549,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -6528,17 +6702,17 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"dereferenced": {
- "id": 360,
+ "id": 369,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -6561,7 +6735,7 @@
}
},
{
- "id": 362,
+ "id": 371,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -6584,7 +6758,7 @@
}
},
{
- "id": 363,
+ "id": 372,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -6611,7 +6785,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 362, 363]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -6761,7 +6935,7 @@
],
"type": {
"type": "reference",
- "id": 376,
+ "id": 385,
"name": "StorageError"
}
}
@@ -6795,7 +6969,7 @@
{
"title": "Methods",
"kind": 2048,
- "children": [169, 181, 193, 207, 216, 232, 157, 223, 144, 131]
+ "children": [169, 181, 196, 213, 222, 241, 157, 232, 144, 131]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v2/supabase.json b/spec/enrichments/tsdoc_v2/supabase.json
index d21de9c06c2..598143907ff 100644
--- a/spec/enrichments/tsdoc_v2/supabase.json
+++ b/spec/enrichments/tsdoc_v2/supabase.json
@@ -13,15 +13,7 @@
"flags": {},
"children": [
{
- "id": 747,
- "name": "Session",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "target": 141
- },
- {
- "id": 255,
+ "id": 194,
"name": "SupabaseClientOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -29,20101 +21,14 @@
"sources": [
{
"fileName": "src/index.ts",
- "line": 14,
+ "line": 20,
"character": 14
}
],
- "target": 79
+ "target": 61
},
{
- "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 password 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,
+ "id": 104,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
@@ -20134,7 +39,7 @@
},
"children": [
{
- "id": 162,
+ "id": 105,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -20142,13 +47,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 77,
+ "line": 82,
"character": 2
}
],
"signatures": [
{
- "id": 163,
+ "id": 106,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -20158,7 +63,7 @@
},
"typeParameter": [
{
- "id": 164,
+ "id": 107,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -20169,7 +74,7 @@
}
},
{
- "id": 165,
+ "id": 108,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -20189,7 +94,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
@@ -20209,7 +114,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
}
@@ -20218,14 +123,14 @@
}
},
{
- "id": 166,
+ "id": 109,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"default": {
@@ -20234,18 +139,18 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"trueType": {
@@ -20268,7 +173,7 @@
],
"parameters": [
{
- "id": 167,
+ "id": 110,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -20282,7 +187,7 @@
}
},
{
- "id": 168,
+ "id": 111,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -20296,7 +201,7 @@
}
},
{
- "id": 169,
+ "id": 112,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -20305,11 +210,11 @@
},
"type": {
"type": "reference",
- "id": 79,
+ "id": 61,
"typeArguments": [
{
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
}
],
@@ -20319,21 +224,21 @@
],
"type": {
"type": "reference",
- "id": 161,
+ "id": 104,
"typeArguments": [
{
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
},
{
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
{
"type": "reference",
- "id": 166,
+ "id": 109,
"name": "Schema"
}
],
@@ -20343,7 +248,7 @@
]
},
{
- "id": 170,
+ "id": 113,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -20354,7 +259,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 49,
+ "line": 54,
"character": 2
}
],
@@ -20364,7 +269,7 @@
}
},
{
- "id": 172,
+ "id": 115,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
@@ -20374,7 +279,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 52,
+ "line": 57,
"character": 12
}
],
@@ -20384,7 +289,7 @@
}
},
{
- "id": 183,
+ "id": 126,
"name": "changedAccessToken",
"kind": 1024,
"kindString": "Property",
@@ -20394,7 +299,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 59,
+ "line": 64,
"character": 12
}
],
@@ -20413,7 +318,7 @@
}
},
{
- "id": 178,
+ "id": 121,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -20424,28 +329,28 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 58,
+ "line": 63,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 179,
+ "id": 122,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 180,
+ "id": 123,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 181,
+ "id": 124,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -20458,7 +363,7 @@
}
},
{
- "id": 182,
+ "id": 125,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -20493,7 +398,7 @@
}
},
{
- "id": 174,
+ "id": 117,
"name": "functionsUrl",
"kind": 1024,
"kindString": "Property",
@@ -20503,7 +408,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 54,
+ "line": 59,
"character": 12
}
],
@@ -20513,7 +418,7 @@
}
},
{
- "id": 184,
+ "id": 127,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -20523,27 +428,27 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 61,
+ "line": 66,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 185,
+ "id": 128,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 186,
+ "id": 129,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 187,
+ "id": 130,
"name": "key",
"kind": 32768,
"flags": {},
@@ -20562,7 +467,7 @@
}
},
{
- "id": 175,
+ "id": 118,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -20572,46 +477,25 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 55,
+ "line": 60,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 1048,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
}
},
{
- "id": 171,
+ "id": 114,
"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",
@@ -20619,17 +503,37 @@
"character": 12
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 119,
+ "name": "rest",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
},
{
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
{
@@ -20638,12 +542,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
@@ -20676,7 +580,7 @@
}
},
{
- "id": 177,
+ "id": 120,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -20686,7 +590,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 57,
+ "line": 62,
"character": 12
}
],
@@ -20696,7 +600,7 @@
}
},
{
- "id": 173,
+ "id": 116,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
@@ -20706,7 +610,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 53,
+ "line": 58,
"character": 12
}
],
@@ -20716,7 +620,7 @@
}
},
{
- "id": 189,
+ "id": 132,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
@@ -20729,7 +633,7 @@
}
},
{
- "id": 188,
+ "id": 131,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
@@ -20742,7 +646,7 @@
}
},
{
- "id": 190,
+ "id": 133,
"name": "functions",
"kind": 262144,
"kindString": "Accessor",
@@ -20750,13 +654,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 132,
+ "line": 137,
"character": 6
}
],
"getSignature": [
{
- "id": 191,
+ "id": 134,
"name": "functions",
"kind": 524288,
"kindString": "Get signature",
@@ -20774,7 +678,7 @@
]
},
{
- "id": 192,
+ "id": 135,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
@@ -20782,13 +686,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 142,
+ "line": 147,
"character": 6
}
],
"getSignature": [
{
- "id": 193,
+ "id": 136,
"name": "storage",
"kind": 524288,
"kindString": "Get signature",
@@ -20806,7 +710,7 @@
]
},
{
- "id": 225,
+ "id": 169,
"name": "_getAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -20816,13 +720,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 225,
+ "line": 234,
"character": 16
}
],
"signatures": [
{
- "id": 226,
+ "id": 170,
"name": "_getAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -20852,7 +756,7 @@
]
},
{
- "id": 247,
+ "id": 186,
"name": "_handleTokenChanged",
"kind": 2048,
"kindString": "Method",
@@ -20862,34 +766,33 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 274,
+ "line": 281,
"character": 10
}
],
"signatures": [
{
- "id": 248,
+ "id": 187,
"name": "_handleTokenChanged",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 249,
+ "id": 188,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 720,
"qualifiedName": "AuthChangeEvent",
"package": "@supabase/gotrue-js",
"name": "AuthChangeEvent"
}
},
{
- "id": 250,
+ "id": 189,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -20909,7 +812,7 @@
}
},
{
- "id": 251,
+ "id": 190,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
@@ -20937,7 +840,7 @@
]
},
{
- "id": 236,
+ "id": 180,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
@@ -20947,36 +850,34 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 260,
+ "line": 267,
"character": 10
}
],
"signatures": [
{
- "id": 237,
+ "id": 181,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 238,
+ "id": 182,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1150,
- "qualifiedName": "Options",
+ "qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
- "name": "Options"
+ "name": "RealtimeClientOptions"
}
}
],
"type": {
"type": "reference",
- "id": 1048,
"qualifiedName": "RealtimeClient",
"package": "@supabase/realtime-js",
"name": "default"
@@ -20985,7 +886,7 @@
]
},
{
- "id": 227,
+ "id": 171,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
@@ -20995,32 +896,32 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 231,
+ "line": 240,
"character": 10
}
],
"signatures": [
{
- "id": 228,
+ "id": 172,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 229,
+ "id": 173,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 60,
+ "id": 59,
"name": "SupabaseAuthClientOptions"
}
},
{
- "id": 230,
+ "id": 174,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -21045,7 +946,7 @@
}
},
{
- "id": 231,
+ "id": 175,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -21055,21 +956,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 232,
+ "id": 176,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 233,
+ "id": 177,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 234,
+ "id": 178,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -21082,7 +983,7 @@
}
},
{
- "id": 235,
+ "id": 179,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -21125,7 +1026,7 @@
]
},
{
- "id": 239,
+ "id": 183,
"name": "_listenForAuthEvents",
"kind": 2048,
"kindString": "Method",
@@ -21135,151 +1036,32 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 267,
+ "line": 274,
"character": 10
}
],
"signatures": [
{
- "id": 240,
+ "id": 184,
"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]
- }
- ]
- }
- }
- ]
+ "type": "reflection",
+ "declaration": {
+ "id": 185,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
}
}
]
},
{
- "id": 211,
+ "id": 158,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -21287,13 +1069,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 197,
+ "line": 206,
"character": 2
}
],
"signatures": [
{
- "id": 212,
+ "id": 159,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
@@ -21303,7 +1085,7 @@
},
"parameters": [
{
- "id": 213,
+ "id": 160,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -21317,7 +1099,7 @@
}
},
{
- "id": 214,
+ "id": 161,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -21326,44 +1108,16 @@
"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"
- }
- }
- }
+ "type": "reference",
+ "qualifiedName": "RealtimeChannelOptions",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeChannelOptions"
},
- "defaultValue": "{}"
+ "defaultValue": "..."
}
],
"type": {
"type": "reference",
- "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -21372,7 +1126,7 @@
]
},
{
- "id": 194,
+ "id": 137,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -21380,13 +1134,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 151,
+ "line": 156,
"character": 2
}
],
"signatures": [
{
- "id": 195,
+ "id": 138,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -21396,7 +1150,7 @@
},
"typeParameter": [
{
- "id": 196,
+ "id": 139,
"name": "TableName",
"kind": 131072,
"kindString": "Type parameter",
@@ -21407,31 +1161,28 @@
}
},
{
- "id": 197,
+ "id": 140,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 98,
+ "id": 79,
"name": "GenericTable"
}
}
],
"parameters": [
{
- "id": 198,
- "name": "table",
+ "id": 141,
+ "name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
- "comment": {
- "shortText": "The table name to operate on.\n"
- },
"type": {
"type": "reference",
- "id": 196,
+ "id": 139,
"name": "TableName"
}
}
@@ -21441,7 +1192,12 @@
"typeArguments": [
{
"type": "reference",
- "id": 197,
+ "id": 109,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 140,
"name": "Table"
}
],
@@ -21451,15 +1207,79 @@
}
},
{
- "id": 199,
+ "id": 142,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 143,
+ "name": "ViewName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 144,
+ "name": "View",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "name": "GenericView"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 145,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 143,
+ "name": "ViewName"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 144,
+ "name": "View"
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 146,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 200,
- "name": "table",
+ "id": 147,
+ "name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
@@ -21472,6 +1292,11 @@
"type": {
"type": "reference",
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ },
{
"type": "intrinsic",
"name": "any"
@@ -21485,7 +1310,7 @@
]
},
{
- "id": 218,
+ "id": 162,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -21493,13 +1318,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 204,
+ "line": 213,
"character": 2
}
],
"signatures": [
{
- "id": 219,
+ "id": 163,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -21511,7 +1336,6 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -21521,7 +1345,7 @@
]
},
{
- "id": 223,
+ "id": 167,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -21529,13 +1353,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 221,
+ "line": 230,
"character": 2
}
],
"signatures": [
{
- "id": 224,
+ "id": 168,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -21575,7 +1399,7 @@
]
},
{
- "id": 220,
+ "id": 164,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -21583,13 +1407,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 214,
+ "line": 223,
"character": 2
}
],
"signatures": [
{
- "id": 221,
+ "id": 165,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
@@ -21599,7 +1423,7 @@
},
"parameters": [
{
- "id": 222,
+ "id": 166,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -21609,7 +1433,6 @@
},
"type": {
"type": "reference",
- "id": 1167,
"qualifiedName": "RealtimeChannel",
"package": "@supabase/realtime-js",
"name": "default"
@@ -21645,7 +1468,7 @@
]
},
{
- "id": 201,
+ "id": 148,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -21653,13 +1476,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 169,
+ "line": 177,
"character": 2
}
],
"signatures": [
{
- "id": 202,
+ "id": 149,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -21669,7 +1492,7 @@
},
"typeParameter": [
{
- "id": 203,
+ "id": 150,
"name": "FunctionName",
"kind": 131072,
"kindString": "Type parameter",
@@ -21680,21 +1503,21 @@
}
},
{
- "id": 204,
+ "id": 151,
"name": "Function_",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 103,
+ "id": 93,
"name": "GenericFunction"
}
}
],
"parameters": [
{
- "id": 205,
+ "id": 152,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -21704,16 +1527,19 @@
},
"type": {
"type": "reference",
- "id": 203,
+ "id": 150,
"name": "FunctionName"
}
},
{
- "id": 206,
+ "id": 153,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "The parameters to pass to the function call."
+ },
"type": {
"type": "indexedAccess",
"indexType": {
@@ -21722,14 +1548,14 @@
},
"objectType": {
"type": "reference",
- "id": 204,
+ "id": 151,
"name": "Function_"
}
},
"defaultValue": "{}"
},
{
- "id": 207,
+ "id": 154,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -21739,24 +1565,27 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 208,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 210,
+ "id": 157,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Count algorithm to use to count rows in a table.\n\n"
+ },
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 177,
+ "line": 185,
"character": 6
}
],
@@ -21779,17 +1608,20 @@
}
},
{
- "id": 209,
+ "id": 156,
"name": "head",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "When set to true, no data will be returned."
+ },
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 176,
+ "line": 184,
"character": 6
}
],
@@ -21803,7 +1635,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [210, 209]
+ "children": [157, 156]
}
]
}
@@ -21813,6 +1645,11 @@
"type": {
"type": "reference",
"typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ },
{
"type": "conditional",
"checkType": {
@@ -21823,7 +1660,7 @@
},
"objectType": {
"type": "reference",
- "id": 204,
+ "id": 151,
"name": "Function_"
}
},
@@ -21899,7 +1736,7 @@
},
"objectType": {
"type": "reference",
- "id": 204,
+ "id": 151,
"name": "Function_"
}
}
@@ -21916,34 +1753,34 @@
{
"title": "Constructors",
"kind": 512,
- "children": [162]
+ "children": [105]
},
{
"title": "Properties",
"kind": 1024,
- "children": [170, 172, 183, 178, 174, 184, 175, 171, 176, 177, 173, 189, 188]
+ "children": [113, 115, 126, 121, 117, 127, 118, 114, 119, 120, 116, 132, 131]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [190, 192]
+ "children": [133, 135]
},
{
"title": "Methods",
"kind": 2048,
- "children": [225, 247, 236, 227, 239, 211, 194, 218, 223, 220, 201]
+ "children": [169, 186, 180, 171, 183, 158, 137, 162, 167, 164, 148]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 37,
+ "line": 42,
"character": 21
}
],
"typeParameter": [
{
- "id": 252,
+ "id": 191,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -21954,7 +1791,7 @@
}
},
{
- "id": 253,
+ "id": 192,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -21971,7 +1808,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
}
@@ -21988,7 +1825,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
@@ -22008,7 +1845,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
}
@@ -22017,14 +1854,14 @@
}
},
{
- "id": 254,
+ "id": 193,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"default": {
@@ -22033,30 +1870,30 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 165,
+ "id": 108,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 164,
+ "id": 107,
"name": "Database"
}
},
@@ -22068,4582 +1905,6 @@
}
]
},
- {
- "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",
@@ -26653,7 +1914,7 @@
"sources": [
{
"fileName": "src/index.ts",
- "line": 19,
+ "line": 25,
"character": 13
}
],
@@ -26736,7 +1997,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"default": {
@@ -26756,7 +2017,7 @@
},
"extendsType": {
"type": "reference",
- "id": 107,
+ "id": 97,
"name": "GenericSchema"
},
"trueType": {
@@ -26810,7 +2071,7 @@
},
"type": {
"type": "reference",
- "id": 79,
+ "id": 61,
"typeArguments": [
{
"type": "reference",
@@ -26824,7 +2085,7 @@
],
"type": {
"type": "reference",
- "id": 161,
+ "id": 104,
"typeArguments": [
{
"type": "reference",
@@ -26846,94 +2107,23 @@
}
}
]
- },
- {
- "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]
+ "children": [194]
},
{
"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
- ]
+ "children": [104]
},
{
"title": "Functions",
"kind": 64,
- "children": [2, 857]
+ "children": [2]
}
],
"sources": [
@@ -27030,7 +2220,7 @@
"flags": {},
"children": [
{
- "id": 30,
+ "id": 29,
"name": "fetchWithAuth",
"kind": 64,
"kindString": "Function",
@@ -27044,14 +2234,14 @@
],
"signatures": [
{
- "id": 31,
+ "id": 30,
"name": "fetchWithAuth",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 32,
+ "id": 31,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -27062,7 +2252,7 @@
}
},
{
- "id": 33,
+ "id": 32,
"name": "getAccessToken",
"kind": 32768,
"kindString": "Parameter",
@@ -27070,14 +2260,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 34,
+ "id": 33,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 35,
+ "id": 34,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -27109,7 +2299,7 @@
}
},
{
- "id": 36,
+ "id": 35,
"name": "customFetch",
"kind": 32768,
"kindString": "Parameter",
@@ -27119,21 +2309,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 37,
+ "id": 36,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 38,
+ "id": 37,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 39,
+ "id": 38,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -27146,7 +2336,7 @@
}
},
{
- "id": 40,
+ "id": 39,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -27184,21 +2374,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 41,
+ "id": 40,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 42,
+ "id": 41,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 43,
+ "id": 42,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -27211,7 +2401,7 @@
}
},
{
- "id": 44,
+ "id": 43,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -27434,38 +2624,7 @@
"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]
- }
- ]
+ "flags": {}
}
}
}
@@ -27476,7 +2635,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [30, 15, 26]
+ "children": [29, 15, 26]
}
],
"sources": [
@@ -27488,14 +2647,14 @@
]
},
{
- "id": 45,
+ "id": 44,
"name": "lib/helpers",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 51,
+ "id": 50,
"name": "applySettingDefaults",
"kind": 64,
"kindString": "Function",
@@ -27509,14 +2668,14 @@
],
"signatures": [
{
- "id": 52,
+ "id": 51,
"name": "applySettingDefaults",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 53,
+ "id": 52,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -27527,7 +2686,7 @@
}
},
{
- "id": 54,
+ "id": 53,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -27547,7 +2706,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 53,
+ "id": 52,
"name": "Database"
}
},
@@ -27567,7 +2726,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 53,
+ "id": 52,
"name": "Database"
}
}
@@ -27578,18 +2737,18 @@
],
"parameters": [
{
- "id": 55,
+ "id": 54,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 79,
+ "id": 61,
"typeArguments": [
{
"type": "reference",
- "id": 54,
+ "id": 53,
"name": "SchemaName"
}
],
@@ -27597,14 +2756,14 @@
}
},
{
- "id": 56,
+ "id": 55,
"name": "defaults",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 79,
+ "id": 61,
"typeArguments": [
{
"type": "intrinsic",
@@ -27617,11 +2776,11 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 61,
"typeArguments": [
{
"type": "reference",
- "id": 54,
+ "id": 53,
"name": "SchemaName"
}
],
@@ -27631,7 +2790,7 @@
]
},
{
- "id": 57,
+ "id": 56,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -27645,7 +2804,7 @@
],
"signatures": [
{
- "id": 58,
+ "id": 57,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -27658,7 +2817,7 @@
]
},
{
- "id": 48,
+ "id": 47,
"name": "stripTrailingSlash",
"kind": 64,
"kindString": "Function",
@@ -27672,14 +2831,14 @@
],
"signatures": [
{
- "id": 49,
+ "id": 48,
"name": "stripTrailingSlash",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 50,
+ "id": 49,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -27698,7 +2857,7 @@
]
},
{
- "id": 46,
+ "id": 45,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -27712,7 +2871,7 @@
],
"signatures": [
{
- "id": 47,
+ "id": 46,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -27729,7 +2888,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [51, 57, 48, 46]
+ "children": [50, 56, 47, 45]
}
],
"sources": [
@@ -27741,403 +2900,18 @@
]
},
{
- "id": 59,
+ "id": 58,
"name": "lib/types",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 60,
+ "id": 59,
"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",
@@ -28153,7 +2927,7 @@
]
},
{
- "id": 78,
+ "id": 60,
"name": "Fetch",
"kind": 4194304,
"kindString": "Type alias",
@@ -28177,7 +2951,7 @@
}
},
{
- "id": 103,
+ "id": 93,
"name": "GenericFunction",
"kind": 4194304,
"kindString": "Type alias",
@@ -28185,21 +2959,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 74,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 104,
+ "id": 94,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 105,
+ "id": 95,
"name": "Args",
"kind": 1024,
"kindString": "Property",
@@ -28207,7 +2981,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 67,
+ "line": 75,
"character": 2
}
],
@@ -28229,7 +3003,7 @@
}
},
{
- "id": 106,
+ "id": 96,
"name": "Returns",
"kind": 1024,
"kindString": "Property",
@@ -28237,7 +3011,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 68,
+ "line": 76,
"character": 2
}
],
@@ -28251,13 +3025,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [105, 106]
+ "children": [95, 96]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 74,
"character": 30
}
]
@@ -28265,37 +3039,37 @@
}
},
{
- "id": 107,
- "name": "GenericSchema",
+ "id": 89,
+ "name": "GenericNonUpdatableView",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 71,
+ "line": 68,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 108,
+ "id": 90,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 110,
- "name": "Functions",
+ "id": 91,
+ "name": "Row",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 69,
"character": 2
}
],
@@ -28306,41 +3080,9 @@
"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"
+ "name": "unknown"
}
],
"qualifiedName": "Record",
@@ -28353,36 +3095,36 @@
{
"title": "Properties",
"kind": 1024,
- "children": [110, 109]
+ "children": [91]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 71,
- "character": 28
+ "line": 68,
+ "character": 38
}
]
}
}
},
{
- "id": 98,
- "name": "GenericTable",
+ "id": 97,
+ "name": "GenericSchema",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 60,
+ "line": 79,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 99,
+ "id": 98,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -28390,14 +3132,14 @@
"children": [
{
"id": 101,
- "name": "Insert",
+ "name": "Functions",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 62,
+ "line": 82,
"character": 2
}
],
@@ -28408,9 +3150,41 @@
"type": "intrinsic",
"name": "string"
},
+ {
+ "type": "reference",
+ "id": 93,
+ "name": "GenericFunction"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 99,
+ "name": "Tables",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
{
"type": "intrinsic",
- "name": "unknown"
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 79,
+ "name": "GenericTable"
}
],
"qualifiedName": "Record",
@@ -28420,14 +3194,85 @@
},
{
"id": 100,
- "name": "Row",
+ "name": "Views",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 61,
+ "line": 81,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 92,
+ "name": "GenericView"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [101, 99, 100]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 79,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 79,
+ "name": "GenericTable",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 82,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 58,
"character": 2
}
],
@@ -28449,11 +3294,141 @@
}
},
{
- "id": 102,
+ "id": 81,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 83,
"name": "Update",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [82, 81, 83]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 27
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "GenericUpdatableView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 85,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 87,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 86,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -28477,27 +3452,86 @@
"package": "typescript",
"name": "Record"
}
+ },
+ {
+ "id": 88,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [101, 100, 102]
+ "children": [87, 86, 88]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 60,
- "character": 27
+ "line": 62,
+ "character": 35
}
]
}
}
},
{
- "id": 79,
+ "id": 92,
+ "name": "GenericView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 84,
+ "name": "GenericUpdatableView"
+ },
+ {
+ "type": "reference",
+ "id": 89,
+ "name": "GenericNonUpdatableView"
+ }
+ ]
+ }
+ },
+ {
+ "id": 61,
"name": "SupabaseClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -28511,7 +3545,7 @@
],
"typeParameter": [
{
- "id": 97,
+ "id": 78,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -28521,14 +3555,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 80,
+ "id": 62,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 84,
+ "id": 66,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -28545,14 +3579,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 85,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 86,
+ "id": 68,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -28575,38 +3609,7 @@
}
},
{
- "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,
+ "id": 71,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -28629,7 +3632,7 @@
}
},
{
- "id": 88,
+ "id": 70,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -28652,7 +3655,7 @@
}
},
{
- "id": 90,
+ "id": 72,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -28677,13 +3680,13 @@
},
"objectType": {
"type": "reference",
- "id": 60,
+ "id": 59,
"name": "SupabaseAuthClientOptions"
}
}
},
{
- "id": 87,
+ "id": 69,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -28710,7 +3713,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86, 91, 89, 88, 90, 87]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -28724,7 +3727,7 @@
}
},
{
- "id": 81,
+ "id": 63,
"name": "db",
"kind": 1024,
"kindString": "Property",
@@ -28744,14 +3747,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 82,
+ "id": 64,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 83,
+ "id": 65,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -28767,7 +3770,7 @@
],
"type": {
"type": "reference",
- "id": 97,
+ "id": 78,
"name": "SchemaName"
}
}
@@ -28776,7 +3779,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [83]
+ "children": [65]
}
],
"sources": [
@@ -28790,7 +3793,7 @@
}
},
{
- "id": 93,
+ "id": 74,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -28800,21 +3803,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 94,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 95,
+ "id": 76,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -28827,18 +3830,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 48,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 78,
+ "id": 60,
"name": "Fetch"
}
},
{
- "id": 96,
+ "id": 77,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -28851,7 +3854,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 52,
"character": 4
}
],
@@ -28877,13 +3880,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [95, 96]
+ "children": [76, 77]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 44,
"character": 11
}
]
@@ -28891,7 +3894,7 @@
}
},
{
- "id": 92,
+ "id": 73,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -28904,14 +3907,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 43,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 1150,
- "qualifiedName": "Options",
+ "qualifiedName": "RealtimeClientOptions",
"package": "@supabase/realtime-js",
"name": "RealtimeClientOptions"
}
@@ -28921,7 +3923,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 81, 93, 92]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -28939,12 +3941,12 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [60]
+ "children": [59]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [78, 103, 107, 98, 79]
+ "children": [60, 93, 89, 97, 79, 84, 92, 61]
}
],
"sources": [
@@ -28956,14 +3958,14 @@
]
},
{
- "id": 111,
+ "id": 102,
"name": "lib/version",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 112,
+ "id": 103,
"name": "version",
"kind": 32,
"kindString": "Variable",
@@ -28988,7 +3990,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [112]
+ "children": [103]
}
],
"sources": [
@@ -29004,7 +4006,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [1, 10, 14, 45, 59, 111]
+ "children": [1, 10, 14, 44, 58, 102]
}
]
}
diff --git a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
index 6cc1eaf36a4..a467261b37b 100644
--- a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
@@ -13,15 +13,7 @@
"flags": {},
"children": [
{
- "id": 747,
- "name": "Session",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "target": 141
- },
- {
- "id": 255,
+ "id": 194,
"name": "SupabaseClientOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -29,33897 +21,14 @@
"sources": [
{
"fileName": "src/index.ts",
- "line": 14,
+ "line": 20,
"character": 14
}
],
- "target": 79
+ "target": 61
},
{
- "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",
- "dereferenced": {
- "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"
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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": 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 password 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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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"
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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"
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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": 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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- ]
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- ]
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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": 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",
- "dereferenced": {
- "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"
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "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": 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",
- "dereferenced": {
- "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",
- "dereferenced": {
- "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
- }
- ]
- }
- }
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "id": 1167,
- "name": "RealtimeChannel",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExternal": true
- },
- "children": "[Circular ~.children.0.children.14.children]",
- "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
- }
- ]
- }
- }
- }
- ],
- "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",
- "dereferenced": {
- "id": 1167,
- "name": "RealtimeChannel",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExternal": true
- },
- "children": "[Circular ~.children.0.children.14.children]",
- "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
- }
- ]
- }
- }
- }
- ],
- "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
- }
- ]
- }
- }
- }
- ],
- "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,
-