-
*/}
diff --git a/spec/api_v0_openapi.json b/spec/api_v0_openapi.json
index cd5c66f139a..ec94c310048 100644
--- a/spec/api_v0_openapi.json
+++ b/spec/api_v0_openapi.json
@@ -1,6 +1,86 @@
{
"openapi": "3.0.0",
"paths": {
+ "/v1/branches/{branch_id}": {
+ "get": {
+ "operationId": "getBranchDetails",
+ "summary": "Get database branch config",
+ "description": "Fetches configurations of the specified database branch",
+ "parameters": [
+ {
+ "name": "branch_id",
+ "required": true,
+ "in": "path",
+ "description": "Branch ID",
+ "schema": { "type": "string" }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/BranchDetailResponse" }
+ }
+ }
+ },
+ "500": { "description": "Failed to update database branch" }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [{ "bearer": [] }]
+ },
+ "patch": {
+ "operationId": "updateBranch",
+ "summary": "Update database branch config",
+ "description": "Updates the configuration of the specified database branch",
+ "parameters": [
+ {
+ "name": "branch_id",
+ "required": true,
+ "in": "path",
+ "description": "Branch ID",
+ "schema": { "type": "string" }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": { "schema": { "$ref": "#/components/schemas/UpdateBranchBody" } }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": { "schema": { "$ref": "#/components/schemas/BranchResponse" } }
+ }
+ },
+ "500": { "description": "Failed to update database branch" }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [{ "bearer": [] }]
+ },
+ "delete": {
+ "operationId": "deleteBranch",
+ "summary": "Delete a database branch",
+ "description": "Deletes the specified database branch",
+ "parameters": [
+ {
+ "name": "branch_id",
+ "required": true,
+ "in": "path",
+ "description": "Branch ID",
+ "schema": { "type": "string" }
+ }
+ ],
+ "responses": {
+ "200": { "description": "" },
+ "500": { "description": "Failed to delete database branch" }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [{ "bearer": [] }]
+ }
+ },
"/v1/projects": {
"get": {
"operationId": "getProjects",
@@ -104,6 +184,7 @@
"/v1/oauth/authorize": {
"get": {
"operationId": "authorize",
+ "summary": "Authorize user through oauth",
"parameters": [
{ "name": "client_id", "required": true, "in": "query", "schema": { "type": "string" } },
{
@@ -136,356 +217,37 @@
"name": "code_challenge_method",
"required": false,
"in": "query",
- "schema": { "enum": ["plain", "sha256"], "type": "string" }
+ "schema": { "enum": ["plain", "sha256", "S256"], "type": "string" }
}
],
- "responses": { "200": { "description": "" } },
+ "responses": { "303": { "description": "" } },
"tags": ["oauth (beta)"]
}
},
"/v1/oauth/token": {
"post": {
"operationId": "token",
- "parameters": [
- {
- "name": "grant_type",
- "required": true,
- "in": "query",
- "schema": { "enum": ["authorization_code", "refresh_token"], "type": "string" }
- },
- { "name": "client_id", "required": true, "in": "query", "schema": { "type": "string" } },
- {
- "name": "client_secret",
- "required": true,
- "in": "query",
- "schema": { "type": "string" }
- },
- { "name": "code", "required": false, "in": "query", "schema": { "type": "string" } },
- {
- "name": "code_verifier",
- "required": false,
- "in": "query",
- "schema": { "type": "string" }
- },
- {
- "name": "redirect_uri",
- "required": true,
- "in": "query",
- "schema": { "type": "string" }
- },
- {
- "name": "refresh_token",
- "required": false,
- "in": "query",
- "schema": { "type": "string" }
- }
- ],
- "responses": { "201": { "description": "" } },
- "tags": ["oauth (beta)"]
- }
- },
- "/v1/oauth/authorizations/{id}": {
- "get": {
- "operationId": "getAuthorizationRequest",
- "parameters": [
- { "name": "id", "required": true, "in": "path", "schema": { "type": "string" } }
- ],
- "responses": { "200": { "description": "" } },
- "tags": ["oauth (beta)"],
- "security": [{ "bearer": [] }]
- },
- "post": {
- "operationId": "approveAuthorizationRequest",
- "parameters": [
- { "name": "id", "required": true, "in": "path", "schema": { "type": "string" } }
- ],
+ "summary": "Exchange auth code for user's access and refresh token",
+ "parameters": [],
"requestBody": {
"required": true,
"content": {
- "application/json": {
- "schema": { "$ref": "#/components/schemas/AuthorizationsApproveBody" }
- }
- }
- },
- "responses": { "201": { "description": "" } },
- "tags": ["oauth (beta)"],
- "security": [{ "bearer": [] }]
- },
- "delete": {
- "operationId": "declineAuthorizationRequest",
- "parameters": [
- { "name": "id", "required": true, "in": "path", "schema": { "type": "string" } }
- ],
- "responses": { "200": { "description": "" } },
- "tags": ["oauth (beta)"],
- "security": [{ "bearer": [] }]
- }
- },
- "/v1/projects/{ref}/functions": {
- "post": {
- "operationId": "createFunction",
- "summary": "Create a function",
- "description": "Creates a function and adds it to the specified project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
- },
- {
- "name": "slug",
- "required": false,
- "in": "query",
- "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
- },
- { "name": "name", "required": false, "in": "query", "schema": { "type": "string" } },
- {
- "name": "verify_jwt",
- "required": false,
- "in": "query",
- "schema": { "type": "boolean" }
- },
- {
- "name": "import_map",
- "required": false,
- "in": "query",
- "schema": { "type": "boolean" }
- },
- {
- "name": "entrypoint_path",
- "required": false,
- "in": "query",
- "schema": { "type": "string" }
- },
- {
- "name": "import_map_path",
- "required": false,
- "in": "query",
- "schema": { "type": "string" }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": { "schema": { "$ref": "#/components/schemas/CreateFunctionBody" } },
- "application/vnd.denoland.eszip": {
- "schema": { "$ref": "#/components/schemas/CreateFunctionBody" }
+ "application/x-www-form-urlencoded": {
+ "schema": { "$ref": "#/components/schemas/OAuthTokenBody" }
}
}
},
"responses": {
"201": {
- "description": "",
- "content": {
- "application/json": { "schema": { "$ref": "#/components/schemas/FunctionResponse" } }
- }
- },
- "403": { "description": "" },
- "500": { "description": "Failed to create project's function" }
- },
- "tags": ["functions"],
- "security": [{ "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" }
- }
+ "schema": { "$ref": "#/components/schemas/OAuthTokenResponse" }
}
}
- },
- "403": { "description": "" },
- "500": { "description": "Failed to retrieve project's functions" }
- },
- "tags": ["functions"],
- "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
- }
- },
- "/v1/projects/{ref}/functions/{function_slug}": {
- "get": {
- "operationId": "getFunction",
- "summary": "Retrieve a function",
- "description": "Retrieves a function with the specified slug and project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
- },
- {
- "name": "function_slug",
- "required": true,
- "in": "path",
- "description": "Function slug",
- "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": { "$ref": "#/components/schemas/FunctionSlugResponse" }
- }
- }
- },
- "403": { "description": "" },
- "500": { "description": "Failed to retrieve function with given slug" }
- },
- "tags": ["functions"],
- "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
- },
- "patch": {
- "operationId": "updateFunction",
- "summary": "Update a function",
- "description": "Updates a function with the specified slug and project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
- },
- {
- "name": "function_slug",
- "required": true,
- "in": "path",
- "description": "Function slug",
- "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
- },
- {
- "name": "slug",
- "required": false,
- "in": "query",
- "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
- },
- { "name": "name", "required": false, "in": "query", "schema": { "type": "string" } },
- {
- "name": "verify_jwt",
- "required": false,
- "in": "query",
- "schema": { "type": "boolean" }
- },
- {
- "name": "import_map",
- "required": false,
- "in": "query",
- "schema": { "type": "boolean" }
- },
- {
- "name": "entrypoint_path",
- "required": false,
- "in": "query",
- "schema": { "type": "string" }
- },
- {
- "name": "import_map_path",
- "required": false,
- "in": "query",
- "schema": { "type": "string" }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": { "schema": { "$ref": "#/components/schemas/UpdateFunctionBody" } },
- "application/vnd.denoland.eszip": {
- "schema": { "$ref": "#/components/schemas/UpdateFunctionBody" }
- }
}
},
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": { "schema": { "$ref": "#/components/schemas/FunctionResponse" } }
- }
- },
- "403": { "description": "" },
- "500": { "description": "Failed to update function with given slug" }
- },
- "tags": ["functions"],
- "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
- },
- "delete": {
- "operationId": "deleteFunction",
- "summary": "Delete a function",
- "description": "Deletes a function with the specified slug from the specified project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
- },
- {
- "name": "function_slug",
- "required": true,
- "in": "path",
- "description": "Function slug",
- "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
- }
- ],
- "responses": {
- "200": { "description": "" },
- "403": { "description": "" },
- "500": { "description": "Failed to delete function with given slug" }
- },
- "tags": ["functions"],
- "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
- }
- },
- "/v1/projects/{ref}/functions/{function_slug}/body": {
- "get": {
- "operationId": "getFunctionBody",
- "summary": "Retrieve a function body",
- "description": "Retrieves a function body for the specified slug and project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
- },
- {
- "name": "function_slug",
- "required": true,
- "in": "path",
- "description": "Function slug",
- "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
- }
- ],
- "responses": {
- "200": { "description": "" },
- "403": { "description": "" },
- "500": { "description": "Failed to retrieve function body with given slug" }
- },
- "tags": ["functions"],
- "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
+ "tags": ["oauth (beta)"]
}
},
"/v1/projects/{ref}/api-keys": {
@@ -518,6 +280,89 @@
"security": [{ "bearer": [] }]
}
},
+ "/v1/projects/{ref}/branches": {
+ "get": {
+ "operationId": "getBranches",
+ "summary": "List all database branches",
+ "description": "Returns all database branches of 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/BranchResponse" }
+ }
+ }
+ }
+ },
+ "500": { "description": "Failed to retrieve database branches" }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [{ "bearer": [] }]
+ },
+ "post": {
+ "operationId": "createBranch",
+ "summary": "Create a database branch",
+ "description": "Creates a database branch from the specified project.",
+ "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/CreateBranchBody" } }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": { "schema": { "$ref": "#/components/schemas/BranchResponse" } }
+ }
+ },
+ "500": { "description": "Failed to create database branch" }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [{ "bearer": [] }]
+ },
+ "delete": {
+ "operationId": "disableBranch",
+ "summary": "Disables preview branching",
+ "description": "Disables preview branching for the specified project",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ }
+ ],
+ "responses": {
+ "200": { "description": "" },
+ "500": { "description": "Failed to disable preview branching" }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [{ "bearer": [] }]
+ }
+ },
"/v1/projects/{ref}/custom-hostname": {
"get": {
"operationId": "getCustomHostnameConfig",
@@ -1451,7 +1296,7 @@
"500": { "description": "Failed to retrieve project's pgbouncer config" }
},
"tags": ["projects config"],
- "security": [{ "bearer": [] }, { "bearer": [] }]
+ "security": [{ "bearer": [] }]
},
"patch": {
"operationId": "updatePgbouncerConfig",
@@ -1486,7 +1331,391 @@
"500": { "description": "Failed to update project's pgbouncer config" }
},
"tags": ["projects config"],
- "security": [{ "bearer": [] }, { "bearer": [] }]
+ "security": [{ "bearer": [] }]
+ }
+ },
+ "/v1/projects/{ref}/config/auth": {
+ "get": {
+ "operationId": "getV1AuthConfig",
+ "summary": "Gets project's auth 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/AuthConfigResponse" }
+ }
+ }
+ },
+ "403": { "description": "" },
+ "500": { "description": "Failed to retrieve project's auth config" }
+ },
+ "tags": ["projects config"],
+ "security": [{ "bearer": [] }]
+ },
+ "patch": {
+ "operationId": "updateV1AuthConfig",
+ "summary": "Updates a project's auth config",
+ "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/UpdateAuthConfigBody" }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/AuthConfigResponse" }
+ }
+ }
+ },
+ "403": { "description": "" },
+ "500": { "description": "Failed to update project's auth config" }
+ },
+ "tags": ["projects config"],
+ "security": [{ "bearer": [] }]
+ }
+ },
+ "/v1/projects/{ref}/database/query": {
+ "post": {
+ "operationId": "v1RunQuery",
+ "summary": "Run sql query",
+ "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/RunQueryBody" } }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "",
+ "content": { "application/json": { "schema": { "type": "object" } } }
+ },
+ "403": { "description": "" },
+ "500": { "description": "Failed to run sql query" }
+ },
+ "tags": ["projects (beta)"],
+ "security": [{ "bearer": [] }]
+ }
+ },
+ "/v1/projects/{ref}/database/webhooks/enable": {
+ "post": {
+ "operationId": "v1EnableDatabaseWebhooks",
+ "summary": "Enables Database Webhooks on the project",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ }
+ ],
+ "responses": {
+ "201": { "description": "" },
+ "403": { "description": "" },
+ "500": { "description": "Failed to enable Database Webhooks on the project" }
+ },
+ "tags": ["projects (beta)"],
+ "security": [{ "bearer": [] }]
+ }
+ },
+ "/v1/projects/{ref}/functions": {
+ "post": {
+ "operationId": "createFunction",
+ "summary": "Create a function",
+ "description": "Creates a function and adds it to the specified project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ },
+ {
+ "name": "slug",
+ "required": false,
+ "in": "query",
+ "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
+ },
+ { "name": "name", "required": false, "in": "query", "schema": { "type": "string" } },
+ {
+ "name": "verify_jwt",
+ "required": false,
+ "in": "query",
+ "schema": { "type": "boolean" }
+ },
+ {
+ "name": "import_map",
+ "required": false,
+ "in": "query",
+ "schema": { "type": "boolean" }
+ },
+ {
+ "name": "entrypoint_path",
+ "required": false,
+ "in": "query",
+ "schema": { "type": "string" }
+ },
+ {
+ "name": "import_map_path",
+ "required": false,
+ "in": "query",
+ "schema": { "type": "string" }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": { "schema": { "$ref": "#/components/schemas/CreateFunctionBody" } },
+ "application/vnd.denoland.eszip": {
+ "schema": { "$ref": "#/components/schemas/CreateFunctionBody" }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": { "schema": { "$ref": "#/components/schemas/FunctionResponse" } }
+ }
+ },
+ "403": { "description": "" },
+ "500": { "description": "Failed to create project's function" }
+ },
+ "tags": ["functions"],
+ "security": [{ "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": ["functions"],
+ "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
+ }
+ },
+ "/v1/projects/{ref}/functions/{function_slug}": {
+ "get": {
+ "operationId": "getFunction",
+ "summary": "Retrieve a function",
+ "description": "Retrieves a function with the specified slug and project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ },
+ {
+ "name": "function_slug",
+ "required": true,
+ "in": "path",
+ "description": "Function slug",
+ "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/FunctionSlugResponse" }
+ }
+ }
+ },
+ "403": { "description": "" },
+ "500": { "description": "Failed to retrieve function with given slug" }
+ },
+ "tags": ["functions"],
+ "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
+ },
+ "patch": {
+ "operationId": "updateFunction",
+ "summary": "Update a function",
+ "description": "Updates a function with the specified slug and project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ },
+ {
+ "name": "function_slug",
+ "required": true,
+ "in": "path",
+ "description": "Function slug",
+ "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
+ },
+ {
+ "name": "slug",
+ "required": false,
+ "in": "query",
+ "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
+ },
+ { "name": "name", "required": false, "in": "query", "schema": { "type": "string" } },
+ {
+ "name": "verify_jwt",
+ "required": false,
+ "in": "query",
+ "schema": { "type": "boolean" }
+ },
+ {
+ "name": "import_map",
+ "required": false,
+ "in": "query",
+ "schema": { "type": "boolean" }
+ },
+ {
+ "name": "entrypoint_path",
+ "required": false,
+ "in": "query",
+ "schema": { "type": "string" }
+ },
+ {
+ "name": "import_map_path",
+ "required": false,
+ "in": "query",
+ "schema": { "type": "string" }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": { "schema": { "$ref": "#/components/schemas/UpdateFunctionBody" } },
+ "application/vnd.denoland.eszip": {
+ "schema": { "$ref": "#/components/schemas/UpdateFunctionBody" }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": { "schema": { "$ref": "#/components/schemas/FunctionResponse" } }
+ }
+ },
+ "403": { "description": "" },
+ "500": { "description": "Failed to update function with given slug" }
+ },
+ "tags": ["functions"],
+ "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
+ },
+ "delete": {
+ "operationId": "deleteFunction",
+ "summary": "Delete a function",
+ "description": "Deletes a function with the specified slug from the specified project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ },
+ {
+ "name": "function_slug",
+ "required": true,
+ "in": "path",
+ "description": "Function slug",
+ "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
+ }
+ ],
+ "responses": {
+ "200": { "description": "" },
+ "403": { "description": "" },
+ "500": { "description": "Failed to delete function with given slug" }
+ },
+ "tags": ["functions"],
+ "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
+ }
+ },
+ "/v1/projects/{ref}/functions/{function_slug}/body": {
+ "get": {
+ "operationId": "getFunctionBody",
+ "summary": "Retrieve a function body",
+ "description": "Retrieves a function body for the specified slug and project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ },
+ {
+ "name": "function_slug",
+ "required": true,
+ "in": "path",
+ "description": "Function slug",
+ "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" }
+ }
+ ],
+ "responses": {
+ "200": { "description": "" },
+ "403": { "description": "" },
+ "500": { "description": "Failed to retrieve function body with given slug" }
+ },
+ "tags": ["functions"],
+ "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }]
}
},
"/v1/projects/{ref}/config/auth/sso/providers": {
@@ -1659,6 +1888,61 @@
"components": {
"securitySchemes": { "bearer": { "scheme": "bearer", "bearerFormat": "JWT", "type": "http" } },
"schemas": {
+ "BranchDetailResponse": {
+ "type": "object",
+ "properties": {
+ "db_port": { "type": "integer" },
+ "ref": { "type": "string" },
+ "postgres_version": { "type": "string" },
+ "status": {
+ "enum": [
+ "ACTIVE_HEALTHY",
+ "ACTIVE_UNHEALTHY",
+ "COMING_UP",
+ "GOING_DOWN",
+ "INACTIVE",
+ "INIT_FAILED",
+ "REMOVED",
+ "RESTORING",
+ "UNKNOWN",
+ "UPGRADING",
+ "PAUSING"
+ ],
+ "type": "string"
+ },
+ "db_host": { "type": "string" },
+ "db_user": { "type": "string" },
+ "db_pass": { "type": "string" },
+ "jwt_secret": { "type": "string" }
+ },
+ "required": ["db_port", "ref", "postgres_version", "status", "db_host"]
+ },
+ "UpdateBranchBody": {
+ "type": "object",
+ "properties": { "branch_name": { "type": "string" }, "git_branch": { "type": "string" } }
+ },
+ "BranchResponse": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "name": { "type": "string" },
+ "project_ref": { "type": "string" },
+ "parent_project_ref": { "type": "string" },
+ "is_default": { "type": "boolean" },
+ "git_branch": { "type": "string" },
+ "created_at": { "type": "string" },
+ "updated_at": { "type": "string" }
+ },
+ "required": [
+ "id",
+ "name",
+ "project_ref",
+ "parent_project_ref",
+ "is_default",
+ "created_at",
+ "updated_at"
+ ]
+ },
"DatabaseResponse": {
"type": "object",
"properties": {
@@ -1737,68 +2021,43 @@
"properties": { "name": { "type": "string" } },
"required": ["name"]
},
- "AuthorizationsApproveBody": {
- "type": "object",
- "properties": { "organization_id": { "type": "string" } },
- "required": ["organization_id"]
- },
- "CreateFunctionBody": {
+ "OAuthTokenBody": {
"type": "object",
"properties": {
- "slug": { "type": "string", "pattern": "/^[A-Za-z0-9_-]+$/" },
- "name": { "type": "string" },
- "body": { "type": "string" },
- "verify_jwt": { "type": "boolean" }
+ "grant_type": { "enum": ["authorization_code", "refresh_token"], "type": "string" },
+ "client_id": { "type": "string" },
+ "client_secret": { "type": "string" },
+ "code": { "type": "string" },
+ "code_verifier": { "type": "string" },
+ "redirect_uri": { "type": "string" },
+ "refresh_token": { "type": "string" }
},
- "required": ["slug", "name", "body"]
+ "required": ["grant_type", "client_id", "client_secret"]
},
- "FunctionResponse": {
+ "OAuthTokenResponse": {
"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" },
- "import_map": { "type": "boolean" },
- "entrypoint_path": { "type": "string" },
- "import_map_path": { "type": "string" }
+ "token_type": { "type": "string", "enum": ["Bearer"] },
+ "access_token": { "type": "string" },
+ "refresh_token": { "type": "string" },
+ "expires_in": { "type": "number" }
},
- "required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"]
- },
- "FunctionSlugResponse": {
- "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" },
- "import_map": { "type": "boolean" },
- "entrypoint_path": { "type": "string" },
- "import_map_path": { "type": "string" }
- },
- "required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"]
- },
- "UpdateFunctionBody": {
- "type": "object",
- "properties": {
- "name": { "type": "string" },
- "body": { "type": "string" },
- "verify_jwt": { "type": "boolean" }
- }
+ "required": ["token_type", "access_token", "refresh_token", "expires_in"]
},
"ApiKeyResponse": {
"type": "object",
"properties": { "name": { "type": "string" }, "api_key": { "type": "string" } },
"required": ["name", "api_key"]
},
+ "CreateBranchBody": {
+ "type": "object",
+ "properties": {
+ "branch_name": { "type": "string" },
+ "git_branch": { "type": "string" },
+ "region": { "type": "string" }
+ },
+ "required": ["branch_name"]
+ },
"UpdateCustomHostnameResponse": {
"type": "object",
"properties": {
@@ -1925,7 +2184,7 @@
"VanitySubdomainConfigResponse": {
"type": "object",
"properties": {
- "status": { "type": "string", "enum": ["not-used", "custom-domain-used", "active"] },
+ "status": { "enum": ["not-used", "custom-domain-used", "active"], "type": "string" },
"custom_domain": { "type": "string" }
},
"required": ["status"]
@@ -2038,60 +2297,34 @@
"PostgresConfigResponse": {
"type": "object",
"properties": {
- "statement_timeout": { "type": "integer", "minimum": 0, "maximum": 2147483647 },
- "effective_cache_size": { "type": "integer", "minimum": 1, "maximum": 2147483647 },
- "maintenance_work_mem": { "type": "integer", "minimum": 1024, "maximum": 2147483647 },
+ "statement_timeout": { "type": "string" },
+ "effective_cache_size": { "type": "string" },
+ "maintenance_work_mem": { "type": "string" },
"max_connections": { "type": "integer", "minimum": 1, "maximum": 262143 },
"max_parallel_maintenance_workers": { "type": "integer", "minimum": 0, "maximum": 1024 },
"max_parallel_workers": { "type": "integer", "minimum": 0, "maximum": 1024 },
"max_parallel_workers_per_gather": { "type": "integer", "minimum": 0, "maximum": 1024 },
"max_worker_processes": { "type": "integer", "minimum": 0, "maximum": 262143 },
- "shared_buffers": { "type": "integer", "minimum": 16, "maximum": 1073741823 },
- "work_mem": { "type": "integer", "minimum": 64, "maximum": 2147483647 },
+ "shared_buffers": { "type": "string" },
+ "work_mem": { "type": "string" },
"session_replication_role": { "enum": ["origin", "replica", "local"], "type": "string" }
- },
- "required": [
- "statement_timeout",
- "effective_cache_size",
- "maintenance_work_mem",
- "max_connections",
- "max_parallel_maintenance_workers",
- "max_parallel_workers",
- "max_parallel_workers_per_gather",
- "max_worker_processes",
- "shared_buffers",
- "work_mem",
- "session_replication_role"
- ]
+ }
},
"UpdatePostgresConfigBody": {
"type": "object",
"properties": {
- "statement_timeout": { "type": "integer", "minimum": 0, "maximum": 2147483647 },
- "effective_cache_size": { "type": "integer", "minimum": 1, "maximum": 2147483647 },
- "maintenance_work_mem": { "type": "integer", "minimum": 1024, "maximum": 2147483647 },
+ "statement_timeout": { "type": "string" },
+ "effective_cache_size": { "type": "string" },
+ "maintenance_work_mem": { "type": "string" },
"max_connections": { "type": "integer", "minimum": 1, "maximum": 262143 },
"max_parallel_maintenance_workers": { "type": "integer", "minimum": 0, "maximum": 1024 },
"max_parallel_workers": { "type": "integer", "minimum": 0, "maximum": 1024 },
"max_parallel_workers_per_gather": { "type": "integer", "minimum": 0, "maximum": 1024 },
"max_worker_processes": { "type": "integer", "minimum": 0, "maximum": 262143 },
- "shared_buffers": { "type": "integer", "minimum": 16, "maximum": 1073741823 },
- "work_mem": { "type": "integer", "minimum": 64, "maximum": 2147483647 },
+ "shared_buffers": { "type": "string" },
+ "work_mem": { "type": "string" },
"session_replication_role": { "enum": ["origin", "replica", "local"], "type": "string" }
- },
- "required": [
- "statement_timeout",
- "effective_cache_size",
- "maintenance_work_mem",
- "max_connections",
- "max_parallel_maintenance_workers",
- "max_parallel_workers",
- "max_parallel_workers_per_gather",
- "max_worker_processes",
- "shared_buffers",
- "work_mem",
- "session_replication_role"
- ]
+ }
},
"ProjectPgBouncerConfig": {
"type": "object",
@@ -2106,12 +2339,14 @@
"ignore_startup_parameters": { "type": "string" },
"inserted_at": { "type": "string" },
"pgbouncer_enabled": { "type": "boolean" },
+ "supavisor_enabled": { "type": "boolean" },
"pgbouncer_status": {
"enum": ["COMING_DOWN", "COMING_UP", "DISABLED", "ENABLED", "RELOADING"],
"type": "string"
},
"pool_mode": { "enum": ["transaction", "session", "statement"], "type": "string" },
- "max_client_conn": { "type": "number", "nullable": true }
+ "max_client_conn": { "type": "number", "nullable": true },
+ "connectionString": { "type": "string" }
},
"required": [
"db_dns_name",
@@ -2120,18 +2355,19 @@
"db_port",
"db_ssl",
"db_user",
- "default_pool_size",
"ignore_startup_parameters",
"inserted_at",
"pgbouncer_enabled",
+ "supavisor_enabled",
"pgbouncer_status",
- "pool_mode"
+ "pool_mode",
+ "connectionString"
]
},
"UpdatePgbouncerConfigBody": {
"type": "object",
"properties": {
- "default_pool_size": { "type": "integer", "minimum": 0, "maximum": 65535 },
+ "default_pool_size": { "type": "integer", "minimum": 0, "maximum": 1000 },
"max_client_conn": {
"type": "integer",
"nullable": true,
@@ -2142,17 +2378,12 @@
"pgbouncer_enabled": { "type": "boolean" },
"pool_mode": { "enum": ["transaction", "session", "statement"], "type": "string" }
},
- "required": [
- "default_pool_size",
- "ignore_startup_parameters",
- "pgbouncer_enabled",
- "pool_mode"
- ]
+ "required": ["ignore_startup_parameters", "pgbouncer_enabled", "pool_mode"]
},
"UpdatePoolingConfigResponse": {
"type": "object",
"properties": {
- "default_pool_size": { "type": "integer", "minimum": 0, "maximum": 65535 },
+ "default_pool_size": { "type": "integer", "minimum": 0, "maximum": 1000 },
"max_client_conn": {
"type": "integer",
"nullable": true,
@@ -2168,13 +2399,95 @@
}
},
"required": [
- "default_pool_size",
"ignore_startup_parameters",
"pgbouncer_enabled",
"pool_mode",
"pgbouncer_status"
]
},
+ "AuthConfigResponse": {
+ "type": "object",
+ "properties": {
+ "smtp_admin_email": { "type": "string" },
+ "smtp_host": { "type": "string" },
+ "smtp_port": { "type": "string" },
+ "smtp_user": { "type": "string" },
+ "smtp_pass": { "type": "string" },
+ "smtp_max_frequency": { "type": "number" },
+ "smtp_sender_name": { "type": "string" },
+ "rate_limit_email_sent": { "type": "number", "minimum": 0, "maximum": 2147483647 }
+ }
+ },
+ "UpdateAuthConfigBody": {
+ "type": "object",
+ "properties": {
+ "smtp_admin_email": { "type": "string" },
+ "smtp_host": { "type": "string" },
+ "smtp_port": { "type": "string" },
+ "smtp_user": { "type": "string" },
+ "smtp_pass": { "type": "string" },
+ "smtp_max_frequency": { "type": "number" },
+ "smtp_sender_name": { "type": "string" },
+ "rate_limit_email_sent": { "type": "number", "minimum": 0, "maximum": 2147483647 }
+ }
+ },
+ "RunQueryBody": {
+ "type": "object",
+ "properties": { "query": { "type": "string" } },
+ "required": ["query"]
+ },
+ "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": {
+ "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" },
+ "import_map": { "type": "boolean" },
+ "entrypoint_path": { "type": "string" },
+ "import_map_path": { "type": "string" }
+ },
+ "required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"]
+ },
+ "FunctionSlugResponse": {
+ "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" },
+ "import_map": { "type": "boolean" },
+ "entrypoint_path": { "type": "string" },
+ "import_map_path": { "type": "string" }
+ },
+ "required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"]
+ },
+ "UpdateFunctionBody": {
+ "type": "object",
+ "properties": {
+ "name": { "type": "string" },
+ "body": { "type": "string" },
+ "verify_jwt": { "type": "boolean" }
+ }
+ },
"AttributeValue": {
"type": "object",
"properties": {
diff --git a/spec/cli_v1_commands.yaml b/spec/cli_v1_commands.yaml
index 5d953ab7bd2..3f94d073f92 100644
--- a/spec/cli_v1_commands.yaml
+++ b/spec/cli_v1_commands.yaml
@@ -1,7 +1,7 @@
clispec: '001'
info:
id: cli
- version: 1.82.2
+ version: 1.86.1
title: Supabase CLI
language: sh
source: https://github.com/supabase/cli
@@ -1191,7 +1191,7 @@ commands:
To reset your migration history to a clean state, first delete your local migration file.
```bash
- $ rm supabase/migrations/20230103054303_remote_commit.sql
+ $ rm supabase/migrations/20230103054303_remote_schema.sql
$ supabase migration list
LOCAL │ REMOTE │ TIME (UTC)
─────────────────┼────────────────┼──────────────────────
@@ -2257,8 +2257,8 @@ commands:
- supabase-db-diff
- supabase-db-dump
- supabase-db-lint
+ - supabase-db-pull
- supabase-db-push
- - supabase-db-remote
- supabase-db-reset
- supabase-db-start
flags: []
@@ -2305,45 +2305,14 @@ commands:
name: --linked
description: Resets the linked project to current migrations.
default_value: 'false'
+ - id: version
+ name: --version
+ description: Reset up to the specified version.
+ default_value: ''
- id: db-url
name: --db-url
description: connect using the specified database url
default_value: ''
- - id: supabase-db-remote
- title: supabase db remote
- summary: Manage remote databases
- tags: []
- links: []
- subcommands:
- - supabase-db-remote-commit
- flags: []
- - id: supabase-db-remote-commit
- title: supabase db remote commit
- summary: Commit remote changes as a new migration
- description: |2
-
- Pulls schema changes from a remote database and inserts a new row into the migration history table.
-
- Requires your local project to be linked to a remote database by running `supabase link`. For self-hosted databases, you can pass in the connection parameters using `--db-url` flag.
-
- If no entries exist in the migration history table, `pg_dump` will be used to capture all contents of the remote schemas you have created. After that, a new record will be inserted into the migration history table. Subsequent runs of this command will only diff schema changes against the remote database similar to `db diff --linked`.
- tags: []
- links: []
- usage: supabase db remote commit
- subcommands: []
- flags:
- - id: db-url
- name: --db-url
- description: connect using the specified database url
- default_value: ''
- - id: password
- name: -p, --password
- description: Password to your remote Postgres database.
- default_value: ''
- - id: schema
- name: -s, --schema
- description: List of schema to include.
- default_value: all
- id: supabase-db-push
title: supabase db push
summary: Push new migrations to the remote database
@@ -2408,6 +2377,35 @@ commands:
name: --db-url
description: connect using the specified database url
default_value: ''
+ - id: supabase-db-pull
+ title: supabase db pull
+ summary: Pull schema from the remote database
+ description: |2
+
+ Pulls schema changes from a remote database.
+
+ Requires your local project to be linked to a remote database by running `supabase link`. For self-hosted databases, you can pass in the connection parameters using `--db-url` flag.
+
+ Optionally, a new row can be inserted into the migration history table to reflect the current state of the remote database.
+
+ If no entries exist in the migration history table, `pg_dump` will be used to capture all contents of the remote schemas you have created. Otherwise, this command will only diff schema changes against the remote database, similar to running `db diff --linked`.
+ tags: []
+ links: []
+ usage: supabase db pull [flags]
+ subcommands: []
+ flags:
+ - id: password
+ name: -p, --password
+ description: Password to your remote Postgres database.
+ default_value: ''
+ - id: schema
+ name: -s, --schema
+ description: List of schema to include.
+ default_value: all
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: supabase-db-lint
title: supabase db lint
summary: Checks local database for typing error
@@ -2570,7 +2568,7 @@ commands:
response: |
Connecting to local database...
Creating shadow database...
- Applying migration 20230425064254_remote_commit.sql...
+ Applying migration 20230425064254_remote_schema.sql...
Diffing schemas: auth,extensions,public,storage
Finished supabase db diff on branch main.
diff --git a/spec/cli_v1_config.yaml b/spec/cli_v1_config.yaml
index 308a3e0c4ae..6f53e3deed6 100644
--- a/spec/cli_v1_config.yaml
+++ b/spec/cli_v1_config.yaml
@@ -261,6 +261,38 @@ parameters:
- name: 'Auth Server configuration'
link: 'https://supabase.com/docs/reference/auth'
+ - id: 'auth.email.template.type.subject'
+ title: 'auth.email.template..subject'
+ tags: ['auth']
+ required: false
+ description: |
+ The full list of email template types are:
+
+ - `invite`
+ - `confirmation`
+ - `recovery`
+ - `magic_link`
+ - `email_change`
+ links:
+ - name: 'Auth Server configuration'
+ link: 'https://supabase.com/docs/reference/auth'
+
+ - id: 'auth.email.template.type.content_path'
+ title: 'auth.email.template..content_path'
+ tags: ['auth']
+ required: false
+ description: |
+ The full list of email template types are:
+
+ - `invite`
+ - `confirmation`
+ - `recovery`
+ - `magic_link`
+ - `email_change`
+ links:
+ - name: 'Auth Server configuration'
+ link: 'https://supabase.com/docs/reference/auth'
+
- id: 'auth.external.provider.enabled'
title: 'auth.external..enabled'
tags: ['auth']
diff --git a/spec/common-cli-sections.json b/spec/common-cli-sections.json
index 12b83619e6e..e46b921d5e5 100644
--- a/spec/common-cli-sections.json
+++ b/spec/common-cli-sections.json
@@ -120,9 +120,9 @@
"type": "cli-command"
},
{
- "id": "supabase-db-dump",
- "title": "Dump schema from remote database",
- "slug": "supabase-db-dump",
+ "id": "supabase-db-pull",
+ "title": "Pull schema changes from remote database",
+ "slug": "supabase-db-pull",
"type": "cli-command"
},
{
@@ -137,6 +137,12 @@
"slug": "supabase-db-reset",
"type": "cli-command"
},
+ {
+ "id": "supabase-db-dump",
+ "title": "Dump schema from remote database",
+ "slug": "supabase-db-dump",
+ "type": "cli-command"
+ },
{
"id": "supabase-db-diff",
"title": "Diff local database",
@@ -148,18 +154,6 @@
"title": "Lint local database",
"slug": "supabase-db-lint",
"type": "cli-command"
- },
- {
- "id": "supabase-db-remote",
- "title": "Manage remote databases",
- "slug": "supabase-db-remote",
- "type": "cli-command"
- },
- {
- "id": "supabase-db-remote-commit",
- "title": "Commit remote database changes",
- "slug": "supabase-db-remote-commit",
- "type": "cli-command"
}
]
},
diff --git a/spec/common-client-libs-sections.json b/spec/common-client-libs-sections.json
index a9dc70aee0a..89a555a9952 100644
--- a/spec/common-client-libs-sections.json
+++ b/spec/common-client-libs-sections.json
@@ -415,6 +415,13 @@
"product": "auth",
"type": "function"
},
+ {
+ "id": "sign-in-with-id-token",
+ "title": "Sign in with ID Token",
+ "slug": "auth-signinwithidtoken",
+ "product": "auth",
+ "type": "function"
+ },
{
"id": "sign-in-with-otp",
"title": "Sign in a user through OTP",
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json
index f1c8db966ee..52ac7ec07d1 100644
--- a/spec/enrichments/tsdoc_v2/combined.json
+++ b/spec/enrichments/tsdoc_v2/combined.json
@@ -16,7 +16,7 @@
"flags": {},
"children": [
{
- "id": 195,
+ "id": 202,
"name": "SupabaseClientOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -31,7 +31,7 @@
"target": 61
},
{
- "id": 105,
+ "id": 106,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
@@ -42,7 +42,7 @@
},
"children": [
{
- "id": 106,
+ "id": 107,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -56,7 +56,7 @@
],
"signatures": [
{
- "id": 107,
+ "id": 108,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -66,7 +66,7 @@
},
"typeParameter": [
{
- "id": 108,
+ "id": 109,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -77,7 +77,7 @@
}
},
{
- "id": 109,
+ "id": 110,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -97,7 +97,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
@@ -117,7 +117,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
}
@@ -126,14 +126,14 @@
}
},
{
- "id": 110,
+ "id": 111,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"default": {
@@ -142,18 +142,18 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"trueType": {
@@ -176,7 +176,7 @@
],
"parameters": [
{
- "id": 111,
+ "id": 112,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -190,7 +190,7 @@
}
},
{
- "id": 112,
+ "id": 113,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -204,7 +204,7 @@
}
},
{
- "id": 113,
+ "id": 114,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -217,7 +217,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
}
],
@@ -237,7 +237,7 @@
],
"typeParameter": [
{
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -300,6 +300,29 @@
"name": "boolean"
}
},
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
{
"id": 71,
"name": "detectSessionInUrl",
@@ -436,14 +459,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
+ "children": [68, 74, 71, 73, 70, 72, 69]
}
],
"sources": [
@@ -500,7 +516,7 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"dereferenced": {}
}
@@ -510,9 +526,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -526,7 +540,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -536,21 +550,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 76,
+ "id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -563,7 +577,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 56,
"character": 4
}
],
@@ -598,7 +612,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -611,7 +625,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 60,
"character": 4
}
],
@@ -637,16 +651,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [78, 79]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 11
}
]
@@ -654,7 +665,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -667,7 +678,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 51,
"character": 2
}
],
@@ -683,12 +694,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
+ "children": [66, 63, 76, 75]
}
],
"sources": [
@@ -706,21 +712,21 @@
],
"type": {
"type": "reference",
- "id": 105,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
},
{
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
{
"type": "reference",
- "id": 110,
+ "id": 111,
"name": "Schema"
}
],
@@ -730,7 +736,7 @@
]
},
{
- "id": 114,
+ "id": 115,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -751,7 +757,7 @@
}
},
{
- "id": 117,
+ "id": 118,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
@@ -771,12 +777,13 @@
}
},
{
- "id": 127,
+ "id": 128,
"name": "changedAccessToken",
"kind": 1024,
"kindString": "Property",
"flags": {
- "isProtected": true
+ "isProtected": true,
+ "isOptional": true
},
"sources": [
{
@@ -786,21 +793,12 @@
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 122,
+ "id": 123,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -818,21 +816,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 123,
+ "id": 124,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 124,
+ "id": 125,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 125,
+ "id": 126,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -856,7 +854,7 @@
}
},
{
- "id": 126,
+ "id": 127,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -891,7 +889,7 @@
}
},
{
- "id": 119,
+ "id": 120,
"name": "functionsUrl",
"kind": 1024,
"kindString": "Property",
@@ -911,7 +909,7 @@
}
},
{
- "id": 128,
+ "id": 129,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -928,20 +926,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 129,
+ "id": 130,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 130,
+ "id": 131,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 131,
+ "id": 132,
"name": "key",
"kind": 32768,
"flags": {},
@@ -960,7 +958,7 @@
}
},
{
- "id": 115,
+ "id": 116,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -980,7 +978,7 @@
}
},
{
- "id": 116,
+ "id": 117,
"name": "realtimeUrl",
"kind": 1024,
"kindString": "Property",
@@ -1000,7 +998,7 @@
}
},
{
- "id": 120,
+ "id": 121,
"name": "rest",
"kind": 1024,
"kindString": "Property",
@@ -1019,12 +1017,12 @@
"typeArguments": [
{
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
},
{
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
{
@@ -1033,12 +1031,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
@@ -1071,7 +1069,7 @@
}
},
{
- "id": 121,
+ "id": 122,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -1091,7 +1089,7 @@
}
},
{
- "id": 118,
+ "id": 119,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
@@ -1111,7 +1109,7 @@
}
},
{
- "id": 133,
+ "id": 134,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
@@ -1124,7 +1122,7 @@
}
},
{
- "id": 132,
+ "id": 133,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
@@ -1137,7 +1135,7 @@
}
},
{
- "id": 134,
+ "id": 135,
"name": "functions",
"kind": 262144,
"kindString": "Accessor",
@@ -1145,13 +1143,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 138,
+ "line": 132,
"character": 6
}
],
"getSignature": [
{
- "id": 135,
+ "id": 136,
"name": "functions",
"kind": 524288,
"kindString": "Get signature",
@@ -1169,7 +1167,7 @@
]
},
{
- "id": 136,
+ "id": 137,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
@@ -1177,13 +1175,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 148,
+ "line": 142,
"character": 6
}
],
"getSignature": [
{
- "id": 137,
+ "id": 138,
"name": "storage",
"kind": 524288,
"kindString": "Get signature",
@@ -1201,7 +1199,7 @@
]
},
{
- "id": 170,
+ "id": 177,
"name": "_getAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -1211,13 +1209,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 235,
+ "line": 259,
"character": 16
}
],
"signatures": [
{
- "id": 171,
+ "id": 178,
"name": "_getAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -1247,7 +1245,7 @@
]
},
{
- "id": 187,
+ "id": 194,
"name": "_handleTokenChanged",
"kind": 2048,
"kindString": "Method",
@@ -1257,20 +1255,20 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 284,
+ "line": 310,
"character": 10
}
],
"signatures": [
{
- "id": 188,
+ "id": 195,
"name": "_handleTokenChanged",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 189,
+ "id": 196,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -1283,27 +1281,7 @@
}
},
{
- "id": 190,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 191,
+ "id": 197,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
@@ -1321,6 +1299,19 @@
}
]
}
+ },
+ {
+ "id": 198,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"type": {
@@ -1331,7 +1322,7 @@
]
},
{
- "id": 181,
+ "id": 188,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
@@ -1341,20 +1332,20 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 270,
+ "line": 296,
"character": 10
}
],
"signatures": [
{
- "id": 182,
+ "id": 189,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 183,
+ "id": 190,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1377,7 +1368,7 @@
]
},
{
- "id": 172,
+ "id": 179,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
@@ -1387,20 +1378,20 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 241,
+ "line": 265,
"character": 10
}
],
"signatures": [
{
- "id": 173,
+ "id": 180,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 174,
+ "id": 181,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -1432,7 +1423,7 @@
}
},
{
- "id": 175,
+ "id": 182,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -1457,7 +1448,7 @@
}
},
{
- "id": 176,
+ "id": 183,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -1467,21 +1458,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 177,
+ "id": 184,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 178,
+ "id": 185,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 179,
+ "id": 186,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -1505,7 +1496,7 @@
}
},
{
- "id": 180,
+ "id": 187,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -1548,7 +1539,7 @@
]
},
{
- "id": 184,
+ "id": 191,
"name": "_listenForAuthEvents",
"kind": 2048,
"kindString": "Method",
@@ -1558,13 +1549,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 277,
+ "line": 303,
"character": 10
}
],
"signatures": [
{
- "id": 185,
+ "id": 192,
"name": "_listenForAuthEvents",
"kind": 4096,
"kindString": "Call signature",
@@ -1572,7 +1563,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 186,
+ "id": 193,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1583,7 +1574,7 @@
]
},
{
- "id": 159,
+ "id": 166,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -1591,13 +1582,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 207,
+ "line": 231,
"character": 2
}
],
"signatures": [
{
- "id": 160,
+ "id": 167,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
@@ -1607,7 +1598,7 @@
},
"parameters": [
{
- "id": 161,
+ "id": 168,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -1621,7 +1612,7 @@
}
},
{
- "id": 162,
+ "id": 169,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -1648,7 +1639,7 @@
]
},
{
- "id": 138,
+ "id": 139,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -1656,23 +1647,23 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 157,
+ "line": 146,
"character": 2
}
],
"signatures": [
{
- "id": 139,
+ "id": 140,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a table operation."
+ "shortText": "Perform a query on a table or a view."
},
"typeParameter": [
{
- "id": 140,
+ "id": 141,
"name": "TableName",
"kind": 131072,
"kindString": "Type parameter",
@@ -1683,28 +1674,31 @@
}
},
{
- "id": 141,
+ "id": 142,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 80,
+ "id": 81,
"name": "GenericTable"
}
}
],
"parameters": [
{
- "id": 142,
+ "id": 143,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
"type": {
"type": "reference",
- "id": 140,
+ "id": 141,
"name": "TableName",
"dereferenced": {}
}
@@ -1715,13 +1709,41 @@
"typeArguments": [
{
"type": "reference",
- "id": 110,
+ "id": 111,
"name": "Schema"
},
{
"type": "reference",
- "id": 141,
+ "id": 142,
"name": "Table"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 142,
+ "name": "Table"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 144,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "qualifiedName": "R",
+ "package": "@supabase/postgrest-js",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"qualifiedName": "PostgrestQueryBuilder",
@@ -1730,14 +1752,17 @@
}
},
{
- "id": 143,
+ "id": 145,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Perform a query on a table or a view."
+ },
"typeParameter": [
{
- "id": 144,
+ "id": 146,
"name": "ViewName",
"kind": 131072,
"kindString": "Type parameter",
@@ -1748,28 +1773,31 @@
}
},
{
- "id": 145,
+ "id": 147,
"name": "View",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 93,
+ "id": 94,
"name": "GenericView"
}
}
],
"parameters": [
{
- "id": 146,
+ "id": 148,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
"type": {
"type": "reference",
- "id": 144,
+ "id": 146,
"name": "ViewName",
"dereferenced": {}
}
@@ -1780,13 +1808,41 @@
"typeArguments": [
{
"type": "reference",
- "id": 110,
+ "id": 111,
"name": "Schema"
},
{
"type": "reference",
- "id": 145,
+ "id": 147,
"name": "View"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 147,
+ "name": "View"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 149,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "qualifiedName": "R",
+ "package": "@supabase/postgrest-js",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"qualifiedName": "PostgrestQueryBuilder",
@@ -1795,18 +1851,24 @@
}
},
{
- "id": 147,
+ "id": 150,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Perform a query on a table or a view."
+ },
"parameters": [
{
- "id": 148,
+ "id": 151,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -1818,12 +1880,16 @@
"typeArguments": [
{
"type": "reference",
- "id": 110,
+ "id": 111,
"name": "Schema"
},
{
"type": "intrinsic",
"name": "any"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
}
],
"qualifiedName": "PostgrestQueryBuilder",
@@ -1834,7 +1900,7 @@
]
},
{
- "id": 163,
+ "id": 170,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -1842,13 +1908,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 214,
+ "line": 238,
"character": 2
}
],
"signatures": [
{
- "id": 164,
+ "id": 171,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -1869,7 +1935,7 @@
]
},
{
- "id": 168,
+ "id": 175,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -1877,13 +1943,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 231,
+ "line": 255,
"character": 2
}
],
"signatures": [
{
- "id": 169,
+ "id": 176,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -1923,7 +1989,7 @@
]
},
{
- "id": 165,
+ "id": 172,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -1931,13 +1997,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 224,
+ "line": 248,
"character": 2
}
],
"signatures": [
{
- "id": 166,
+ "id": 173,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
@@ -1947,7 +2013,7 @@
},
"parameters": [
{
- "id": 167,
+ "id": 174,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -1992,7 +2058,7 @@
]
},
{
- "id": 149,
+ "id": 156,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -2000,13 +2066,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 178,
+ "line": 202,
"character": 2
}
],
"signatures": [
{
- "id": 150,
+ "id": 157,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -2016,7 +2082,7 @@
},
"typeParameter": [
{
- "id": 151,
+ "id": 158,
"name": "FunctionName",
"kind": 131072,
"kindString": "Type parameter",
@@ -2027,43 +2093,43 @@
}
},
{
- "id": 152,
+ "id": 159,
"name": "Function_",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 94,
+ "id": 95,
"name": "GenericFunction"
}
}
],
"parameters": [
{
- "id": 153,
+ "id": 160,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The function name to call."
+ "shortText": "The function name to call"
},
"type": {
"type": "reference",
- "id": 151,
+ "id": 158,
"name": "FunctionName",
"dereferenced": {}
}
},
{
- "id": 154,
+ "id": 161,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The parameters to pass to the function call."
+ "shortText": "The arguments to pass to the function call"
},
"type": {
"type": "indexedAccess",
@@ -2073,31 +2139,34 @@
},
"objectType": {
"type": "reference",
- "id": 152,
+ "id": 159,
"name": "Function_"
}
},
"defaultValue": "{}"
},
{
- "id": 155,
+ "id": 162,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Named parameters"
+ },
"type": {
"type": "reflection",
"declaration": {
- "id": 156,
+ "id": 163,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 158,
+ "id": 165,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -2105,12 +2174,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Count algorithm to use to count rows in a table.\n\n"
+ "shortText": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 186,
+ "line": 210,
"character": 6
}
],
@@ -2133,7 +2202,7 @@
}
},
{
- "id": 157,
+ "id": 164,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -2141,12 +2210,12 @@
"isOptional": true
},
"comment": {
- "shortText": "When set to true, no data will be returned."
+ "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count."
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 185,
+ "line": 209,
"character": 6
}
],
@@ -2160,10 +2229,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 158,
- 157
- ]
+ "children": [165, 164]
}
]
}
@@ -2175,7 +2241,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 110,
+ "id": 111,
"name": "Schema"
},
{
@@ -2188,7 +2254,7 @@
},
"objectType": {
"type": "reference",
- "id": 152,
+ "id": 159,
"name": "Function_"
}
},
@@ -2264,9 +2330,13 @@
},
"objectType": {
"type": "reference",
- "id": 152,
+ "id": 159,
"name": "Function_"
}
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
}
],
"qualifiedName": "PostgrestFilterBuilder",
@@ -2275,59 +2345,140 @@
}
}
]
+ },
+ {
+ "id": 152,
+ "name": "schema",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 171,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 153,
+ "name": "schema",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a query on a schema distinct from the default schema supplied via\nthe `options.db.schema` constructor parameter.",
+ "text": "The schema needs to be on the list of exposed schemas inside Supabase.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 154,
+ "name": "DynamicSchema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 155,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The name of the schema to query\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 154,
+ "name": "DynamicSchema",
+ "dereferenced": {}
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 154,
+ "name": "DynamicSchema"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 154,
+ "name": "DynamicSchema"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 99,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "qualifiedName": "PostgrestClient",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
- "children": [
- 106
- ]
+ "children": [107]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 114,
- 117,
- 127,
- 122,
- 119,
- 128,
- 115,
- 116,
- 120,
- 121,
- 118,
- 133,
- 132
- ]
+ "children": [115, 118, 128, 123, 120, 129, 116, 117, 121, 122, 119, 134, 133]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [
- 134,
- 136
- ]
+ "children": [135, 137]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 170,
- 187,
- 181,
- 172,
- 184,
- 159,
- 138,
- 163,
- 168,
- 165,
- 149
- ]
+ "children": [177, 194, 188, 179, 191, 166, 139, 170, 175, 172, 156, 152]
}
],
"sources": [
@@ -2339,7 +2490,7 @@
],
"typeParameter": [
{
- "id": 192,
+ "id": 199,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -2350,7 +2501,7 @@
}
},
{
- "id": 193,
+ "id": 200,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -2367,7 +2518,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
}
@@ -2384,7 +2535,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
@@ -2404,7 +2555,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
}
@@ -2413,14 +2564,14 @@
}
},
{
- "id": 194,
+ "id": 201,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"default": {
@@ -2429,30 +2580,30 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
@@ -2556,7 +2707,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"default": {
@@ -2576,7 +2727,7 @@
},
"extendsType": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"trueType": {
@@ -2654,7 +2805,7 @@
],
"typeParameter": [
{
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -2717,6 +2868,29 @@
"name": "boolean"
}
},
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
{
"id": 71,
"name": "detectSessionInUrl",
@@ -2853,14 +3027,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
+ "children": [68, 74, 71, 73, 70, 72, 69]
}
],
"sources": [
@@ -2917,7 +3084,7 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"dereferenced": {}
}
@@ -2927,9 +3094,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -2943,7 +3108,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -2953,21 +3118,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 76,
+ "id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -2980,7 +3145,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 56,
"character": 4
}
],
@@ -3015,7 +3180,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -3028,7 +3193,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 60,
"character": 4
}
],
@@ -3054,16 +3219,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [78, 79]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 11
}
]
@@ -3071,7 +3233,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -3084,7 +3246,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 51,
"character": 2
}
],
@@ -3100,12 +3262,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
+ "children": [66, 63, 76, 75]
}
],
"sources": [
@@ -3123,7 +3280,7 @@
],
"type": {
"type": "reference",
- "id": 105,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
@@ -3151,23 +3308,17 @@
{
"title": "References",
"kind": 16777216,
- "children": [
- 195
- ]
+ "children": [202]
},
{
"title": "Classes",
"kind": 128,
- "children": [
- 105
- ]
+ "children": [106]
},
{
"title": "Functions",
"kind": 64,
- "children": [
- 2
- ]
+ "children": [2]
}
],
"sources": [
@@ -3233,9 +3384,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 13
- ]
+ "children": [13]
}
]
}
@@ -3247,9 +3396,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [
- 11
- ]
+ "children": [11]
}
],
"sources": [
@@ -3727,11 +3874,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [
- 29,
- 15,
- 26
- ]
+ "children": [29, 15, 26]
}
],
"sources": [
@@ -3864,7 +4007,7 @@
],
"typeParameter": [
{
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3927,6 +4070,29 @@
"name": "boolean"
}
},
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
{
"id": 71,
"name": "detectSessionInUrl",
@@ -4063,14 +4229,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
+ "children": [68, 74, 71, 73, 70, 72, 69]
}
],
"sources": [
@@ -4127,7 +4286,7 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"dereferenced": {}
}
@@ -4137,9 +4296,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -4153,7 +4310,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -4163,21 +4320,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 76,
+ "id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -4190,7 +4347,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 56,
"character": 4
}
],
@@ -4225,7 +4382,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -4238,7 +4395,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 60,
"character": 4
}
],
@@ -4264,16 +4421,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [78, 79]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 11
}
]
@@ -4281,7 +4435,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -4294,7 +4448,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 51,
"character": 2
}
],
@@ -4310,12 +4464,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
+ "children": [66, 63, 76, 75]
}
],
"sources": [
@@ -4361,7 +4510,7 @@
],
"typeParameter": [
{
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4424,6 +4573,29 @@
"name": "boolean"
}
},
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
{
"id": 71,
"name": "detectSessionInUrl",
@@ -4560,14 +4732,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
+ "children": [68, 74, 71, 73, 70, 72, 69]
}
],
"sources": [
@@ -4624,7 +4789,7 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"dereferenced": {}
}
@@ -4634,9 +4799,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -4650,7 +4813,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -4660,21 +4823,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 76,
+ "id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -4687,7 +4850,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 56,
"character": 4
}
],
@@ -4722,7 +4885,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -4735,7 +4898,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 60,
"character": 4
}
],
@@ -4761,16 +4924,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [78, 79]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 11
}
]
@@ -4778,7 +4938,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -4791,7 +4951,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 51,
"character": 2
}
],
@@ -4807,12 +4967,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
+ "children": [66, 63, 76, 75]
}
],
"sources": [
@@ -4942,12 +5097,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [
- 50,
- 56,
- 47,
- 45
- ]
+ "children": [50, 56, 47, 45]
}
],
"sources": [
@@ -5010,7 +5160,7 @@
}
},
{
- "id": 94,
+ "id": 95,
"name": "GenericFunction",
"kind": 4194304,
"kindString": "Type alias",
@@ -5018,21 +5168,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 78,
+ "line": 82,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 95,
+ "id": 96,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 96,
+ "id": 97,
"name": "Args",
"kind": 1024,
"kindString": "Property",
@@ -5040,7 +5190,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 79,
+ "line": 83,
"character": 2
}
],
@@ -5062,7 +5212,7 @@
}
},
{
- "id": 97,
+ "id": 98,
"name": "Returns",
"kind": 1024,
"kindString": "Property",
@@ -5070,7 +5220,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 84,
"character": 2
}
],
@@ -5084,16 +5234,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 96,
- 97
- ]
+ "children": [97, 98]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 78,
+ "line": 82,
"character": 30
}
]
@@ -5101,7 +5248,7 @@
}
},
{
- "id": 90,
+ "id": 91,
"name": "GenericNonUpdatableView",
"kind": 4194304,
"kindString": "Type alias",
@@ -5109,25 +5256,418 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
+ "line": 76,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 91,
+ "id": 92,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 92,
+ "id": 93,
"name": "Row",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 77,
+ "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": [93]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 38
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 99,
+ "name": "GenericSchema",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 100,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 103,
+ "name": "Functions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 90,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 95,
+ "name": "GenericFunction"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 101,
+ "name": "Tables",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 81,
+ "name": "GenericTable"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 102,
+ "name": "Views",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 89,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 94,
+ "name": "GenericView"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [103, 101, 102]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 81,
+ "name": "GenericTable",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 82,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 84,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 83,
+ "name": "Row",
+ "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"
+ }
+ },
+ {
+ "id": 85,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [84, 83, 85]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 27
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 86,
+ "name": "GenericUpdatableView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 70,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 87,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 89,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 88,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 90,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -5157,420 +5697,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 92
- ]
+ "children": [89, 88, 90]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
- "character": 38
- }
- ]
- }
- }
- },
- {
- "id": 98,
- "name": "GenericSchema",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 99,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 102,
- "name": "Functions",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 86,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 94,
- "name": "GenericFunction"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 100,
- "name": "Tables",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 84,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 80,
- "name": "GenericTable"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 101,
- "name": "Views",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 85,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 93,
- "name": "GenericView"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 102,
- 100,
- 101
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 28
- }
- ]
- }
- }
- },
- {
- "id": 80,
- "name": "GenericTable",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 81,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 83,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 82,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 61,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 84,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 63,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 83,
- 82,
- 84
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 27
- }
- ]
- }
- }
- },
- {
- "id": 85,
- "name": "GenericUpdatableView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 86,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 88,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 68,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 87,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 67,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 89,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 69,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 88,
- 87,
- 89
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 70,
"character": 35
}
]
@@ -5578,7 +5711,7 @@
}
},
{
- "id": 93,
+ "id": 94,
"name": "GenericView",
"kind": 4194304,
"kindString": "Type alias",
@@ -5586,7 +5719,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 80,
"character": 12
}
],
@@ -5594,7 +5727,7 @@
"type": "union",
"types": [
{
- "id": 85,
+ "id": 86,
"name": "GenericUpdatableView",
"kind": 4194304,
"kindString": "Type alias",
@@ -5602,21 +5735,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 70,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 86,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 88,
+ "id": 89,
"name": "Insert",
"kind": 1024,
"kindString": "Property",
@@ -5624,7 +5757,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -5646,7 +5779,7 @@
}
},
{
- "id": 87,
+ "id": 88,
"name": "Row",
"kind": 1024,
"kindString": "Property",
@@ -5654,7 +5787,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 67,
+ "line": 71,
"character": 2
}
],
@@ -5676,85 +5809,11 @@
}
},
{
- "id": 89,
+ "id": 90,
"name": "Update",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 69,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 88,
- 87,
- 89
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 35
- }
- ]
- }
- }
- },
- {
- "id": 90,
- "name": "GenericNonUpdatableView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 91,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 92,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -5784,15 +5843,83 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 92
- ]
+ "children": [89, 88, 90]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
+ "line": 70,
+ "character": 35
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 91,
+ "name": "GenericNonUpdatableView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 92,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 93,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 77,
+ "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": [93]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
"character": 38
}
]
@@ -5817,7 +5944,7 @@
],
"typeParameter": [
{
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5880,6 +6007,29 @@
"name": "boolean"
}
},
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
{
"id": 71,
"name": "detectSessionInUrl",
@@ -6016,14 +6166,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
+ "children": [68, 74, 71, 73, 70, 72, 69]
}
],
"sources": [
@@ -6080,7 +6223,7 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"dereferenced": {}
}
@@ -6090,9 +6233,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -6106,7 +6247,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -6116,21 +6257,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 76,
+ "id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -6143,7 +6284,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 56,
"character": 4
}
],
@@ -6178,7 +6319,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -6191,7 +6332,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 60,
"character": 4
}
],
@@ -6217,16 +6358,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [78, 79]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 11
}
]
@@ -6234,7 +6372,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -6247,7 +6385,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 51,
"character": 2
}
],
@@ -6263,12 +6401,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
+ "children": [66, 63, 76, 75]
}
],
"sources": [
@@ -6286,23 +6419,12 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [
- 59
- ]
+ "children": [59]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [
- 60,
- 94,
- 90,
- 98,
- 80,
- 85,
- 93,
- 61
- ]
+ "children": [60, 95, 91, 99, 81, 86, 94, 61]
}
],
"sources": [
@@ -6314,14 +6436,14 @@
]
},
{
- "id": 103,
+ "id": 104,
"name": "lib/version",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 104,
+ "id": 105,
"name": "version",
"kind": 32,
"kindString": "Variable",
@@ -6346,9 +6468,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [
- 104
- ]
+ "children": [105]
}
],
"sources": [
@@ -6364,14 +6484,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [
- 1,
- 10,
- 14,
- 44,
- 58,
- 103
- ]
+ "children": [1, 10, 14, 44, 58, 104]
}
]
},
@@ -6384,14 +6497,14 @@
"originalName": "",
"children": [
{
- "id": 811,
+ "id": 964,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 812,
+ "id": 965,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6405,14 +6518,14 @@
],
"signatures": [
{
- "id": 813,
+ "id": 966,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 814,
+ "id": 967,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -6423,7 +6536,7 @@
}
},
{
- "id": 815,
+ "id": 968,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -6436,24 +6549,24 @@
],
"type": {
"type": "reference",
- "id": 811,
+ "id": 964,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 806,
+ "id": 959,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 805,
+ "id": 958,
"name": "AuthError.constructor"
}
},
{
- "id": 816,
+ "id": 969,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -6471,12 +6584,12 @@
},
"overwrites": {
"type": "reference",
- "id": 809,
+ "id": 962,
"name": "AuthError.status"
}
},
{
- "id": 817,
+ "id": 970,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -6490,7 +6603,7 @@
],
"signatures": [
{
- "id": 818,
+ "id": 971,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -6498,14 +6611,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 819,
+ "id": 972,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 821,
+ "id": 974,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -6524,7 +6637,7 @@
"defaultValue": "..."
},
{
- "id": 820,
+ "id": 973,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -6543,7 +6656,7 @@
"defaultValue": "..."
},
{
- "id": 822,
+ "id": 975,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -6566,11 +6679,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 821,
- 820,
- 822
- ]
+ "children": [974, 973, 975]
}
]
}
@@ -6583,23 +6692,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 812
- ]
+ "children": [965]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 816
- ]
+ "children": [969]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 817
- ]
+ "children": [970]
}
],
"sources": [
@@ -6612,20 +6715,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
]
},
{
- "id": 804,
+ "id": 957,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 805,
+ "id": 958,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6639,14 +6742,14 @@
],
"signatures": [
{
- "id": 806,
+ "id": 959,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 807,
+ "id": 960,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -6657,7 +6760,7 @@
}
},
{
- "id": 808,
+ "id": 961,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -6672,7 +6775,7 @@
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
},
"overwrites": {
@@ -6687,7 +6790,7 @@
}
},
{
- "id": 809,
+ "id": 962,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -6718,16 +6821,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 805
- ]
+ "children": [958]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 809
- ]
+ "children": [962]
}
],
"sources": [
@@ -6748,30 +6847,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 811,
+ "id": 964,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 824,
+ "id": 977,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 872,
+ "id": 1037,
"name": "AuthImplicitGrantRedirectError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 873,
+ "id": 1038,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6779,20 +6878,20 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
"signatures": [
{
- "id": 874,
+ "id": 1039,
"name": "new AuthImplicitGrantRedirectError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 875,
+ "id": 1040,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -6803,7 +6902,7 @@
}
},
{
- "id": 876,
+ "id": 1041,
"name": "details",
"kind": 32768,
"kindString": "Parameter",
@@ -6818,14 +6917,14 @@
{
"type": "reflection",
"declaration": {
- "id": 877,
+ "id": 1042,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 879,
+ "id": 1044,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -6833,7 +6932,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 80,
+ "line": 86,
"character": 57
}
],
@@ -6843,7 +6942,7 @@
}
},
{
- "id": 878,
+ "id": 1043,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6851,7 +6950,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 80,
+ "line": 86,
"character": 42
}
],
@@ -6865,10 +6964,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 879,
- 878
- ]
+ "children": [1044, 1043]
}
]
}
@@ -6880,24 +6976,24 @@
],
"type": {
"type": "reference",
- "id": 872,
+ "id": 1037,
"name": "AuthImplicitGrantRedirectError"
},
"overwrites": {
"type": "reference",
- "id": 834,
+ "id": 987,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 833,
+ "id": 986,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 880,
+ "id": 1045,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -6905,7 +7001,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 79,
+ "line": 85,
"character": 2
}
],
@@ -6919,14 +7015,14 @@
{
"type": "reflection",
"declaration": {
- "id": 881,
+ "id": 1046,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 883,
+ "id": 1048,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -6934,7 +7030,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 79,
+ "line": 85,
"character": 28
}
],
@@ -6944,7 +7040,7 @@
}
},
{
- "id": 882,
+ "id": 1047,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6952,7 +7048,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 79,
+ "line": 85,
"character": 13
}
],
@@ -6966,10 +7062,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 883,
- 882
- ]
+ "children": [1048, 1047]
}
]
}
@@ -6979,7 +7072,7 @@
"defaultValue": "null"
},
{
- "id": 894,
+ "id": 1059,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -6997,12 +7090,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 991,
"name": "CustomAuthError.name"
}
},
{
- "id": 895,
+ "id": 1060,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7020,12 +7113,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 992,
"name": "CustomAuthError.status"
}
},
{
- "id": 884,
+ "id": 1049,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -7033,13 +7126,13 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 85,
+ "line": 91,
"character": 2
}
],
"signatures": [
{
- "id": 885,
+ "id": 1050,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -7047,14 +7140,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 886,
+ "id": 1051,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 890,
+ "id": 1055,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -7062,7 +7155,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 90,
+ "line": 96,
"character": 6
}
],
@@ -7076,14 +7169,14 @@
{
"type": "reflection",
"declaration": {
- "id": 891,
+ "id": 1056,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 893,
+ "id": 1058,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -7091,7 +7184,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 79,
+ "line": 85,
"character": 28
}
],
@@ -7101,7 +7194,7 @@
}
},
{
- "id": 892,
+ "id": 1057,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7109,7 +7202,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 79,
+ "line": 85,
"character": 13
}
],
@@ -7123,10 +7216,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 893,
- 892
- ]
+ "children": [1058, 1057]
}
]
}
@@ -7136,7 +7226,7 @@
"defaultValue": "..."
},
{
- "id": 888,
+ "id": 1053,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -7144,7 +7234,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 88,
+ "line": 94,
"character": 6
}
],
@@ -7155,7 +7245,7 @@
"defaultValue": "..."
},
{
- "id": 887,
+ "id": 1052,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7163,7 +7253,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 87,
+ "line": 93,
"character": 6
}
],
@@ -7174,7 +7264,7 @@
"defaultValue": "..."
},
{
- "id": 889,
+ "id": 1054,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7182,7 +7272,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 89,
+ "line": 95,
"character": 6
}
],
@@ -7197,26 +7287,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 890,
- 888,
- 887,
- 889
- ]
+ "children": [1055, 1053, 1052, 1054]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 841,
+ "id": 994,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
- "id": 840,
+ "id": 993,
"name": "CustomAuthError.toJSON"
}
}
@@ -7225,25 +7310,263 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 873
- ]
+ "children": [1038]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 880,
- 894,
- 895
- ]
+ "children": [1045, 1059, 1060]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 884
- ]
+ "children": [1049]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 84,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 985,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 1024,
+ "name": "AuthInvalidCredentialsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 1025,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 79,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1026,
+ "name": "new AuthInvalidCredentialsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 1027,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1024,
+ "name": "AuthInvalidCredentialsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 987,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 986,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1028,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 991,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1029,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 992,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1030,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1031,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1032,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1034,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1033,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1035,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1034, 1033, 1035]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 994,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 993,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [1025]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1028, 1029]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [1030]
}
],
"sources": [
@@ -7256,20 +7579,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 859,
- "name": "AuthInvalidCredentialsError",
+ "id": 1012,
+ "name": "AuthInvalidTokenResponseError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 860,
+ "id": 1013,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -7283,44 +7606,31 @@
],
"signatures": [
{
- "id": 861,
- "name": "new AuthInvalidCredentialsError",
+ "id": 1014,
+ "name": "new AuthInvalidTokenResponseError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
- "parameters": [
- {
- "id": 862,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
"type": {
"type": "reference",
- "id": 859,
- "name": "AuthInvalidCredentialsError"
+ "id": 1012,
+ "name": "AuthInvalidTokenResponseError"
},
"overwrites": {
"type": "reference",
- "id": 834,
+ "id": 987,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 833,
+ "id": 986,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 863,
+ "id": 1015,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7338,12 +7648,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 991,
"name": "CustomAuthError.name"
}
},
{
- "id": 864,
+ "id": 1016,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7361,12 +7671,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 992,
"name": "CustomAuthError.status"
}
},
{
- "id": 865,
+ "id": 1017,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -7380,7 +7690,7 @@
],
"signatures": [
{
- "id": 866,
+ "id": 1018,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -7388,14 +7698,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 867,
+ "id": 1019,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 869,
+ "id": 1021,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -7414,7 +7724,7 @@
"defaultValue": "..."
},
{
- "id": 868,
+ "id": 1020,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7433,7 +7743,7 @@
"defaultValue": "..."
},
{
- "id": 870,
+ "id": 1022,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7456,25 +7766,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 869,
- 868,
- 870
- ]
+ "children": [1021, 1020, 1022]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 841,
+ "id": 994,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 840,
+ "id": 993,
"name": "CustomAuthError.toJSON"
}
}
@@ -7483,24 +7789,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 860
- ]
+ "children": [1013]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 863,
- 864
- ]
+ "children": [1015, 1016]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 865
- ]
+ "children": [1017]
}
],
"sources": [
@@ -7513,20 +7812,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 897,
+ "id": 1062,
"name": "AuthPKCEGrantCodeExchangeError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 898,
+ "id": 1063,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -7534,20 +7833,20 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 97,
+ "line": 103,
"character": 2
}
],
"signatures": [
{
- "id": 899,
+ "id": 1064,
"name": "new AuthPKCEGrantCodeExchangeError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 900,
+ "id": 1065,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -7558,7 +7857,7 @@
}
},
{
- "id": 901,
+ "id": 1066,
"name": "details",
"kind": 32768,
"kindString": "Parameter",
@@ -7573,14 +7872,14 @@
{
"type": "reflection",
"declaration": {
- "id": 902,
+ "id": 1067,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 904,
+ "id": 1069,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -7588,7 +7887,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 97,
+ "line": 103,
"character": 57
}
],
@@ -7598,7 +7897,7 @@
}
},
{
- "id": 903,
+ "id": 1068,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7606,7 +7905,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 97,
+ "line": 103,
"character": 42
}
],
@@ -7620,10 +7919,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 904,
- 903
- ]
+ "children": [1069, 1068]
}
]
}
@@ -7635,24 +7931,24 @@
],
"type": {
"type": "reference",
- "id": 897,
+ "id": 1062,
"name": "AuthPKCEGrantCodeExchangeError"
},
"overwrites": {
"type": "reference",
- "id": 834,
+ "id": 987,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 833,
+ "id": 986,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 905,
+ "id": 1070,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -7660,7 +7956,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 96,
+ "line": 102,
"character": 2
}
],
@@ -7674,14 +7970,14 @@
{
"type": "reflection",
"declaration": {
- "id": 906,
+ "id": 1071,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 908,
+ "id": 1073,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -7689,7 +7985,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 96,
+ "line": 102,
"character": 28
}
],
@@ -7699,7 +7995,7 @@
}
},
{
- "id": 907,
+ "id": 1072,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7707,7 +8003,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 96,
+ "line": 102,
"character": 13
}
],
@@ -7721,10 +8017,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 908,
- 907
- ]
+ "children": [1073, 1072]
}
]
}
@@ -7734,7 +8027,7 @@
"defaultValue": "null"
},
{
- "id": 919,
+ "id": 1084,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7752,12 +8045,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 991,
"name": "CustomAuthError.name"
}
},
{
- "id": 920,
+ "id": 1085,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7775,12 +8068,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 992,
"name": "CustomAuthError.status"
}
},
{
- "id": 909,
+ "id": 1074,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -7788,13 +8081,13 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 102,
+ "line": 108,
"character": 2
}
],
"signatures": [
{
- "id": 910,
+ "id": 1075,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -7802,14 +8095,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 911,
+ "id": 1076,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 915,
+ "id": 1080,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -7817,7 +8110,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 107,
+ "line": 113,
"character": 6
}
],
@@ -7831,14 +8124,14 @@
{
"type": "reflection",
"declaration": {
- "id": 916,
+ "id": 1081,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 918,
+ "id": 1083,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -7846,7 +8139,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 96,
+ "line": 102,
"character": 28
}
],
@@ -7856,7 +8149,7 @@
}
},
{
- "id": 917,
+ "id": 1082,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7864,7 +8157,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 96,
+ "line": 102,
"character": 13
}
],
@@ -7878,10 +8171,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 918,
- 917
- ]
+ "children": [1083, 1082]
}
]
}
@@ -7891,7 +8181,7 @@
"defaultValue": "..."
},
{
- "id": 913,
+ "id": 1078,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -7899,7 +8189,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 105,
+ "line": 111,
"character": 6
}
],
@@ -7910,7 +8200,7 @@
"defaultValue": "..."
},
{
- "id": 912,
+ "id": 1077,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7918,7 +8208,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 104,
+ "line": 110,
"character": 6
}
],
@@ -7929,7 +8219,7 @@
"defaultValue": "..."
},
{
- "id": 914,
+ "id": 1079,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7937,7 +8227,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 106,
+ "line": 112,
"character": 6
}
],
@@ -7952,26 +8242,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 915,
- 913,
- 912,
- 914
- ]
+ "children": [1080, 1078, 1077, 1079]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 841,
+ "id": 994,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
- "id": 840,
+ "id": 993,
"name": "CustomAuthError.toJSON"
}
}
@@ -7980,51 +8265,43 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 898
- ]
+ "children": [1063]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 905,
- 919,
- 920
- ]
+ "children": [1070, 1084, 1085]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 909
- ]
+ "children": [1074]
}
],
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 95,
+ "line": 101,
"character": 13
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 922,
+ "id": 1087,
"name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 923,
+ "id": 1088,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -8032,20 +8309,20 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 113,
+ "line": 119,
"character": 2
}
],
"signatures": [
{
- "id": 924,
+ "id": 1089,
"name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 925,
+ "id": 1090,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -8056,7 +8333,7 @@
}
},
{
- "id": 926,
+ "id": 1091,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -8069,24 +8346,24 @@
],
"type": {
"type": "reference",
- "id": 922,
+ "id": 1087,
"name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 834,
+ "id": 987,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 833,
+ "id": 986,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 927,
+ "id": 1092,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -8104,12 +8381,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 991,
"name": "CustomAuthError.name"
}
},
{
- "id": 928,
+ "id": 1093,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8127,12 +8404,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 992,
"name": "CustomAuthError.status"
}
},
{
- "id": 929,
+ "id": 1094,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -8146,7 +8423,7 @@
],
"signatures": [
{
- "id": 930,
+ "id": 1095,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -8154,14 +8431,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 931,
+ "id": 1096,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 933,
+ "id": 1098,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -8180,7 +8457,7 @@
"defaultValue": "..."
},
{
- "id": 932,
+ "id": 1097,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -8199,7 +8476,7 @@
"defaultValue": "..."
},
{
- "id": 934,
+ "id": 1099,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8222,25 +8499,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 933,
- 932,
- 934
- ]
+ "children": [1098, 1097, 1099]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 841,
+ "id": 994,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 840,
+ "id": 993,
"name": "CustomAuthError.toJSON"
}
}
@@ -8249,50 +8522,43 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 923
- ]
+ "children": [1088]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 927,
- 928
- ]
+ "children": [1092, 1093]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 929
- ]
+ "children": [1094]
}
],
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 112,
+ "line": 118,
"character": 13
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 847,
+ "id": 1000,
"name": "AuthSessionMissingError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 848,
+ "id": 1001,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -8306,31 +8572,31 @@
],
"signatures": [
{
- "id": 849,
+ "id": 1002,
"name": "new AuthSessionMissingError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 847,
+ "id": 1000,
"name": "AuthSessionMissingError"
},
"overwrites": {
"type": "reference",
- "id": 834,
+ "id": 987,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 833,
+ "id": 986,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 850,
+ "id": 1003,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -8348,12 +8614,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 991,
"name": "CustomAuthError.name"
}
},
{
- "id": 851,
+ "id": 1004,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8371,12 +8637,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 992,
"name": "CustomAuthError.status"
}
},
{
- "id": 852,
+ "id": 1005,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -8390,7 +8656,7 @@
],
"signatures": [
{
- "id": 853,
+ "id": 1006,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -8398,14 +8664,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 854,
+ "id": 1007,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 856,
+ "id": 1009,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -8424,7 +8690,7 @@
"defaultValue": "..."
},
{
- "id": 855,
+ "id": 1008,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -8443,7 +8709,7 @@
"defaultValue": "..."
},
{
- "id": 857,
+ "id": 1010,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8466,25 +8732,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 856,
- 855,
- 857
- ]
+ "children": [1009, 1008, 1010]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 841,
+ "id": 994,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 840,
+ "id": 993,
"name": "CustomAuthError.toJSON"
}
}
@@ -8493,24 +8755,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 848
- ]
+ "children": [1001]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 850,
- 851
- ]
+ "children": [1003, 1004]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 852
- ]
+ "children": [1005]
}
],
"sources": [
@@ -8523,20 +8778,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 824,
+ "id": 977,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 825,
+ "id": 978,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -8550,14 +8805,14 @@
],
"signatures": [
{
- "id": 826,
+ "id": 979,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 827,
+ "id": 980,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -8568,7 +8823,7 @@
}
},
{
- "id": 828,
+ "id": 981,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -8581,24 +8836,24 @@
],
"type": {
"type": "reference",
- "id": 824,
+ "id": 977,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 806,
+ "id": 959,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 805,
+ "id": 958,
"name": "AuthError.constructor"
}
},
{
- "id": 829,
+ "id": 982,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -8616,7 +8871,7 @@
}
},
{
- "id": 830,
+ "id": 983,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8643,7 +8898,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 809,
+ "id": 962,
"name": "AuthError.status"
}
}
@@ -8652,17 +8907,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 825
- ]
+ "children": [978]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 829,
- 830
- ]
+ "children": [982, 983]
}
],
"sources": [
@@ -8675,20 +8925,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
]
},
{
- "id": 832,
+ "id": 985,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 833,
+ "id": 986,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -8702,14 +8952,14 @@
],
"signatures": [
{
- "id": 834,
+ "id": 987,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 835,
+ "id": 988,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -8720,7 +8970,7 @@
}
},
{
- "id": 836,
+ "id": 989,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -8731,7 +8981,7 @@
}
},
{
- "id": 837,
+ "id": 990,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -8744,24 +8994,24 @@
],
"type": {
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 806,
+ "id": 959,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 805,
+ "id": 958,
"name": "AuthError.constructor"
}
},
{
- "id": 838,
+ "id": 991,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -8783,7 +9033,7 @@
}
},
{
- "id": 839,
+ "id": 992,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8801,12 +9051,12 @@
},
"overwrites": {
"type": "reference",
- "id": 809,
+ "id": 962,
"name": "AuthError.status"
}
},
{
- "id": 840,
+ "id": 993,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -8820,7 +9070,7 @@
],
"signatures": [
{
- "id": 841,
+ "id": 994,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -8828,14 +9078,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 842,
+ "id": 995,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 844,
+ "id": 997,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -8854,7 +9104,7 @@
"defaultValue": "..."
},
{
- "id": 843,
+ "id": 996,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -8873,7 +9123,7 @@
"defaultValue": "..."
},
{
- "id": 845,
+ "id": 998,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8896,11 +9146,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 844,
- 843,
- 845
- ]
+ "children": [997, 996, 998]
}
]
}
@@ -8913,24 +9159,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 833
- ]
+ "children": [986]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 838,
- 839
- ]
+ "children": [991, 992]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 840
- ]
+ "children": [993]
}
],
"sources": [
@@ -8943,34 +9182,39 @@
"extendedTypes": [
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 847,
+ "id": 1000,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 859,
+ "id": 1012,
+ "name": "AuthInvalidTokenResponseError"
+ },
+ {
+ "type": "reference",
+ "id": 1024,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 872,
+ "id": 1037,
"name": "AuthImplicitGrantRedirectError"
},
{
"type": "reference",
- "id": 897,
+ "id": 1062,
"name": "AuthPKCEGrantCodeExchangeError"
},
{
"type": "reference",
- "id": 922,
+ "id": 1087,
"name": "AuthRetryableFetchError"
}
]
@@ -9180,11 +9424,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 11,
- 7,
- 6
- ]
+ "children": [11, 7, 6]
}
]
}
@@ -9217,10 +9457,10 @@
],
"type": {
"type": "reference",
- "id": 769,
+ "id": 916,
"name": "GoTrueAdminMFAApi",
"dereferenced": {
- "id": 769,
+ "id": 916,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -9236,14 +9476,14 @@
},
"children": [
{
- "id": 773,
+ "id": 920,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 774,
+ "id": 921,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -9263,17 +9503,17 @@
},
"parameters": [
{
- "id": 775,
+ "id": 922,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9289,21 +9529,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 754,
+ "id": 901,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 755,
+ "id": 902,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -9314,7 +9554,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 896,
+ "line": 968,
"character": 2
}
],
@@ -9324,7 +9564,7 @@
}
},
{
- "id": 756,
+ "id": 903,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -9335,7 +9575,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 899,
+ "line": 971,
"character": 2
}
],
@@ -9349,16 +9589,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 755,
- 756
- ]
+ "children": [902, 903]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 45
}
]
@@ -9373,7 +9610,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 744,
+ "id": 891,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -9385,14 +9622,14 @@
]
},
{
- "id": 770,
+ "id": 917,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 771,
+ "id": 918,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -9402,17 +9639,17 @@
},
"parameters": [
{
- "id": 772,
+ "id": 919,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9428,21 +9665,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 767,
+ "id": 914,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 768,
+ "id": 915,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -9453,7 +9690,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 920,
+ "line": 992,
"character": 2
}
],
@@ -9467,15 +9704,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 768
- ]
+ "children": [915]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 44
}
]
@@ -9490,7 +9725,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 757,
+ "id": 904,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -9506,16 +9741,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 773,
- 770
- ]
+ "children": [920, 917]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 928,
+ "line": 1000,
"character": 17
}
]
@@ -9523,7 +9755,7 @@
}
},
{
- "id": 43,
+ "id": 44,
"name": "createUser",
"kind": 2048,
"kindString": "Method",
@@ -9531,13 +9763,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 148,
+ "line": 152,
"character": 8
}
],
"signatures": [
{
- "id": 44,
+ "id": 45,
"name": "createUser",
"kind": 4096,
"kindString": "Call signature",
@@ -9547,24 +9779,24 @@
},
"parameters": [
{
- "id": 45,
+ "id": 46,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 598,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -9578,7 +9810,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 296,
+ "line": 354,
"character": 2
}
],
@@ -9588,7 +9820,7 @@
}
},
{
- "id": 459,
+ "id": 601,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -9602,7 +9834,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 380,
"character": 2
}
],
@@ -9612,7 +9844,7 @@
}
},
{
- "id": 462,
+ "id": 604,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9625,7 +9857,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -9639,7 +9871,7 @@
}
},
{
- "id": 457,
+ "id": 599,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -9653,7 +9885,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 303,
+ "line": 361,
"character": 2
}
],
@@ -9663,7 +9895,7 @@
}
},
{
- "id": 461,
+ "id": 603,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -9677,7 +9909,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -9691,7 +9923,7 @@
}
},
{
- "id": 460,
+ "id": 602,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -9704,7 +9936,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -9718,7 +9950,7 @@
}
},
{
- "id": 463,
+ "id": 605,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -9731,7 +9963,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -9745,7 +9977,7 @@
}
},
{
- "id": 458,
+ "id": 600,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -9759,7 +9991,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 368,
"character": 2
}
],
@@ -9769,7 +10001,7 @@
}
},
{
- "id": 455,
+ "id": 597,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -9783,7 +10015,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 344,
"character": 2
}
],
@@ -9797,23 +10029,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
+ "line": 333,
"character": 17
}
],
@@ -9823,7 +10045,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes"
},
{
@@ -9845,7 +10067,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -9857,7 +10079,7 @@
]
},
{
- "id": 67,
+ "id": 68,
"name": "deleteUser",
"kind": 2048,
"kindString": "Method",
@@ -9865,13 +10087,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 264,
+ "line": 268,
"character": 8
}
],
"signatures": [
{
- "id": 68,
+ "id": 69,
"name": "deleteUser",
"kind": 4096,
"kindString": "Call signature",
@@ -9881,7 +10103,7 @@
},
"parameters": [
{
- "id": 69,
+ "id": 70,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -9895,7 +10117,7 @@
}
},
{
- "id": 70,
+ "id": 71,
"name": "shouldSoftDelete",
"kind": 32768,
"kindString": "Parameter",
@@ -9915,7 +10137,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -9927,7 +10149,7 @@
]
},
{
- "id": 40,
+ "id": 41,
"name": "generateLink",
"kind": 2048,
"kindString": "Method",
@@ -9935,13 +10157,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 114,
+ "line": 118,
"character": 8
}
],
"signatures": [
{
- "id": 41,
+ "id": 42,
"name": "generateLink",
"kind": 4096,
"kindString": "Call signature",
@@ -9951,17 +10173,17 @@
},
"parameters": [
{
- "id": 42,
+ "id": 43,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 613,
+ "id": 760,
"name": "GenerateLinkParams",
"dereferenced": {
- "id": 613,
+ "id": 760,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9969,7 +10191,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 673,
"character": 12
}
],
@@ -9977,7 +10199,7 @@
"type": "union",
"types": [
{
- "id": 588,
+ "id": 735,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9985,21 +10207,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 591,
+ "id": 738,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10007,7 +10229,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 560,
+ "line": 632,
"character": 2
}
],
@@ -10017,7 +10239,7 @@
}
},
{
- "id": 593,
+ "id": 740,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10027,7 +10249,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 634,
"character": 2
}
],
@@ -10036,7 +10258,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -10059,7 +10281,7 @@
}
},
{
- "id": 592,
+ "id": 739,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -10067,7 +10289,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 633,
"character": 2
}
],
@@ -10077,7 +10299,7 @@
}
},
{
- "id": 590,
+ "id": 737,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10085,7 +10307,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 631,
"character": 2
}
],
@@ -10099,18 +10321,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 591,
- 593,
- 592,
- 590
- ]
+ "children": [738, 740, 739, 737]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 39
}
]
@@ -10118,7 +10335,7 @@
}
},
{
- "id": 594,
+ "id": 741,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -10126,21 +10343,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 742,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 597,
+ "id": 744,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10151,7 +10368,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 568,
+ "line": 640,
"character": 2
}
],
@@ -10161,7 +10378,7 @@
}
},
{
- "id": 598,
+ "id": 745,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10171,7 +10388,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 569,
+ "line": 641,
"character": 2
}
],
@@ -10180,7 +10397,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -10203,7 +10420,7 @@
}
},
{
- "id": 596,
+ "id": 743,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10211,7 +10428,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 638,
"character": 2
}
],
@@ -10234,17 +10451,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 597,
- 598,
- 596
- ]
+ "children": [744, 745, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 46
}
]
@@ -10252,7 +10465,7 @@
}
},
{
- "id": 599,
+ "id": 746,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -10260,21 +10473,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 600,
+ "id": 747,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 602,
+ "id": 749,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10285,7 +10498,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 647,
"character": 2
}
],
@@ -10295,7 +10508,7 @@
}
},
{
- "id": 603,
+ "id": 750,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10305,7 +10518,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 576,
+ "line": 648,
"character": 2
}
],
@@ -10314,7 +10527,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -10328,7 +10541,7 @@
}
},
{
- "id": 601,
+ "id": 748,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10336,7 +10549,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 573,
+ "line": 645,
"character": 2
}
],
@@ -10350,17 +10563,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 602,
- 603,
- 601
- ]
+ "children": [749, 750, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 41
}
]
@@ -10368,7 +10577,7 @@
}
},
{
- "id": 604,
+ "id": 751,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -10376,21 +10585,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 605,
+ "id": 752,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 607,
+ "id": 754,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10401,7 +10610,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 582,
+ "line": 654,
"character": 2
}
],
@@ -10411,7 +10620,7 @@
}
},
{
- "id": 608,
+ "id": 755,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -10422,7 +10631,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 658,
"character": 2
}
],
@@ -10432,7 +10641,7 @@
}
},
{
- "id": 609,
+ "id": 756,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10442,7 +10651,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 587,
+ "line": 659,
"character": 2
}
],
@@ -10451,7 +10660,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -10465,7 +10674,7 @@
}
},
{
- "id": 606,
+ "id": 753,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10473,7 +10682,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 652,
"character": 2
}
],
@@ -10496,18 +10705,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 607,
- 608,
- 609,
- 606
- ]
+ "children": [754, 755, 756, 753]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 44
}
]
@@ -10525,7 +10729,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 614,
+ "id": 761,
"name": "GenerateLinkResponse"
}
],
@@ -10537,7 +10741,7 @@
]
},
{
- "id": 60,
+ "id": 61,
"name": "getUserById",
"kind": 2048,
"kindString": "Method",
@@ -10545,13 +10749,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 217,
+ "line": 221,
"character": 8
}
],
"signatures": [
{
- "id": 61,
+ "id": 62,
"name": "getUserById",
"kind": 4096,
"kindString": "Call signature",
@@ -10561,7 +10765,7 @@
},
"parameters": [
{
- "id": 62,
+ "id": 63,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -10580,7 +10784,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -10592,7 +10796,7 @@
]
},
{
- "id": 33,
+ "id": 34,
"name": "inviteUserByEmail",
"kind": 2048,
"kindString": "Method",
@@ -10600,13 +10804,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 81,
+ "line": 85,
"character": 8
}
],
"signatures": [
{
- "id": 34,
+ "id": 35,
"name": "inviteUserByEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -10616,7 +10820,7 @@
},
"parameters": [
{
- "id": 35,
+ "id": 36,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -10630,7 +10834,7 @@
}
},
{
- "id": 36,
+ "id": 37,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10641,14 +10845,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 37,
+ "id": 38,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 38,
+ "id": 39,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10661,7 +10865,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 85,
+ "line": 89,
"character": 6
}
],
@@ -10671,7 +10875,7 @@
}
},
{
- "id": 39,
+ "id": 40,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -10684,7 +10888,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 88,
+ "line": 92,
"character": 6
}
],
@@ -10698,10 +10902,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 38,
- 39
- ]
+ "children": [39, 40]
}
]
}
@@ -10714,7 +10915,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -10726,7 +10927,7 @@
]
},
{
- "id": 46,
+ "id": 47,
"name": "listUsers",
"kind": 2048,
"kindString": "Method",
@@ -10734,13 +10935,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 170,
+ "line": 174,
"character": 8
}
],
"signatures": [
{
- "id": 47,
+ "id": 48,
"name": "listUsers",
"kind": 4096,
"kindString": "Call signature",
@@ -10751,7 +10952,7 @@
},
"parameters": [
{
- "id": 48,
+ "id": 49,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -10763,10 +10964,10 @@
},
"type": {
"type": "reference",
- "id": 794,
+ "id": 941,
"name": "PageParams",
"dereferenced": {
- "id": 794,
+ "id": 941,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -10774,21 +10975,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 795,
+ "id": 942,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 796,
+ "id": 943,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -10801,7 +11002,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 978,
+ "line": 1050,
"character": 2
}
],
@@ -10811,7 +11012,7 @@
}
},
{
- "id": 797,
+ "id": 944,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -10824,7 +11025,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 980,
+ "line": 1052,
"character": 2
}
],
@@ -10838,16 +11039,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 796,
- 797
- ]
+ "children": [943, 944]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 25
}
]
@@ -10866,14 +11064,14 @@
{
"type": "reflection",
"declaration": {
- "id": 49,
+ "id": 50,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 50,
+ "id": 51,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10881,7 +11079,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 8
}
],
@@ -10891,14 +11089,14 @@
{
"type": "reflection",
"declaration": {
- "id": 51,
+ "id": 52,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 53,
+ "id": 54,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -10906,7 +11104,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 31
}
],
@@ -10916,7 +11114,7 @@
}
},
{
- "id": 52,
+ "id": 53,
"name": "users",
"kind": 1024,
"kindString": "Property",
@@ -10924,7 +11122,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 16
}
],
@@ -10932,7 +11130,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User"
}
}
@@ -10942,24 +11140,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 53,
- 52
- ]
+ "children": [54, 53]
}
]
}
},
{
"type": "reference",
- "id": 787,
+ "id": 934,
"name": "Pagination"
}
]
}
},
{
- "id": 54,
+ "id": 55,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -10967,7 +11162,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 59
}
],
@@ -10981,10 +11176,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 50,
- 54
- ]
+ "children": [51, 55]
}
]
}
@@ -10992,14 +11184,14 @@
{
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 56,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 56,
+ "id": 57,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11007,21 +11199,21 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 57,
+ "id": 58,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 58,
+ "id": 59,
"name": "users",
"kind": 1024,
"kindString": "Property",
@@ -11029,7 +11221,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 16
}
],
@@ -11042,16 +11234,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 58
- ]
+ "children": [59]
}
]
}
}
},
{
- "id": 59,
+ "id": 60,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -11059,13 +11249,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 29
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -11074,10 +11264,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 56,
- 59
- ]
+ "children": [57, 60]
}
]
}
@@ -11101,7 +11288,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
+ "line": 60,
"character": 8
}
],
@@ -11123,12 +11310,40 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A valid, logged-in JWT.\n"
+ "shortText": "A valid, logged-in JWT."
},
"type": {
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 30,
+ "name": "scope",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The logout sope.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ },
+ "defaultValue": "'global'"
}
],
"type": {
@@ -11137,14 +11352,14 @@
{
"type": "reflection",
"declaration": {
- "id": 30,
+ "id": 31,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 31,
+ "id": 32,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11152,8 +11367,8 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 40
+ "line": 63,
+ "character": 15
}
],
"type": {
@@ -11162,7 +11377,7 @@
}
},
{
- "id": 32,
+ "id": 33,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -11170,8 +11385,8 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 52
+ "line": 63,
+ "character": 27
}
],
"type": {
@@ -11183,7 +11398,7 @@
},
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
]
@@ -11194,10 +11409,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 31,
- 32
- ]
+ "children": [32, 33]
}
]
}
@@ -11211,7 +11423,7 @@
]
},
{
- "id": 63,
+ "id": 64,
"name": "updateUserById",
"kind": 2048,
"kindString": "Method",
@@ -11219,13 +11431,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 239,
+ "line": 243,
"character": 8
}
],
"signatures": [
{
- "id": 64,
+ "id": 65,
"name": "updateUserById",
"kind": 4096,
"kindString": "Call signature",
@@ -11235,7 +11447,7 @@
},
"parameters": [
{
- "id": 65,
+ "id": 66,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -11246,7 +11458,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -11256,17 +11468,17 @@
},
"type": {
"type": "reference",
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 598,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -11280,7 +11492,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 296,
+ "line": 354,
"character": 2
}
],
@@ -11290,7 +11502,7 @@
}
},
{
- "id": 459,
+ "id": 601,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -11304,7 +11516,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 380,
"character": 2
}
],
@@ -11314,7 +11526,7 @@
}
},
{
- "id": 462,
+ "id": 604,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -11327,7 +11539,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -11341,7 +11553,7 @@
}
},
{
- "id": 457,
+ "id": 599,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -11355,7 +11567,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 303,
+ "line": 361,
"character": 2
}
],
@@ -11365,7 +11577,7 @@
}
},
{
- "id": 461,
+ "id": 603,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -11379,7 +11591,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -11393,7 +11605,7 @@
}
},
{
- "id": 460,
+ "id": 602,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -11406,7 +11618,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -11420,7 +11632,7 @@
}
},
{
- "id": 463,
+ "id": 605,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -11433,7 +11645,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -11447,7 +11659,7 @@
}
},
{
- "id": 458,
+ "id": 600,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -11461,7 +11673,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 368,
"character": 2
}
],
@@ -11471,7 +11683,7 @@
}
},
{
- "id": 455,
+ "id": 597,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -11485,7 +11697,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 344,
"character": 2
}
],
@@ -11499,23 +11711,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
+ "line": 333,
"character": 17
}
],
@@ -11525,7 +11727,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes"
},
{
@@ -11547,7 +11749,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -11563,30 +11765,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 2
- ]
+ "children": [2]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 16
- ]
+ "children": [16]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 43,
- 67,
- 40,
- 60,
- 33,
- 46,
- 27,
- 63
- ]
+ "children": [44, 68, 41, 61, 34, 47, 27, 64]
}
],
"sources": [
@@ -11598,14 +11787,14 @@
]
},
{
- "id": 77,
+ "id": 78,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 78,
+ "id": 80,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -11613,13 +11802,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 145,
+ "line": 167,
"character": 2
}
],
"signatures": [
{
- "id": 79,
+ "id": 81,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -11629,17 +11818,17 @@
},
"parameters": [
{
- "id": 80,
+ "id": 82,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 328,
+ "id": 440,
"name": "GoTrueClientOptions",
"dereferenced": {
- "id": 328,
+ "id": 440,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -11647,21 +11836,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 54,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 329,
+ "id": 441,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 337,
+ "id": 449,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -11671,7 +11860,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 45,
+ "line": 64,
"character": 2
}
],
@@ -11681,7 +11870,27 @@
}
},
{
- "id": 336,
+ "id": 454,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 448,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -11691,7 +11900,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 43,
+ "line": 62,
"character": 2
}
],
@@ -11701,7 +11910,7 @@
}
},
{
- "id": 340,
+ "id": 452,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -11711,7 +11920,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 70,
"character": 2
}
],
@@ -11721,7 +11930,7 @@
}
},
{
- "id": 341,
+ "id": 453,
"name": "flowType",
"kind": 1024,
"kindString": "Property",
@@ -11731,16 +11940,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 53,
+ "line": 72,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 522,
+ "id": 664,
"name": "AuthFlowType",
"dereferenced": {
- "id": 522,
+ "id": 664,
"name": "AuthFlowType",
"kind": 4194304,
"kindString": "Type alias",
@@ -11748,7 +11957,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 447,
+ "line": 505,
"character": 12
}
],
@@ -11769,7 +11978,7 @@
}
},
{
- "id": 331,
+ "id": 443,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -11779,14 +11988,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 58,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 444,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11794,19 +12003,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 58,
"character": 12
}
],
"indexSignature": {
- "id": 333,
+ "id": 445,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 334,
+ "id": 446,
"name": "key",
"kind": 32768,
"flags": {},
@@ -11825,7 +12034,187 @@
}
},
{
- "id": 338,
+ "id": 455,
+ "name": "lock",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Provide your own locking mechanism based on the environment. By default no locking is done at this time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 431,
+ "name": "LockFunc",
+ "dereferenced": {
+ "id": 431,
+ "name": "LockFunc",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 433,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n`fn` async function, such that no other client instances will be able to\nhold it at the same time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 439,
+ "name": "R",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 434,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Name of the lock to be acquired."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "acquireTimeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If negative, no timeout should occur. If positive it\n should throw an Error with an `isAcquireTimeout`\n property set to true if the operation fails to be\n acquired after this much time (ms)."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 436,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operation to execute when the lock is acquired.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 437,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 69
+ }
+ ],
+ "signatures": [
+ {
+ "id": 438,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 450,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -11835,7 +12224,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 66,
"character": 2
}
],
@@ -11845,7 +12234,7 @@
}
},
{
- "id": 339,
+ "id": 451,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -11855,16 +12244,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 68,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 776,
+ "id": 923,
"name": "SupportedStorage",
"dereferenced": {
- "id": 776,
+ "id": 923,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -11872,7 +12261,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 955,
+ "line": 1027,
"character": 12
}
],
@@ -11917,7 +12306,7 @@
}
},
{
- "id": 335,
+ "id": 447,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -11927,7 +12316,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 60,
"character": 2
}
],
@@ -11937,7 +12326,7 @@
}
},
{
- "id": 330,
+ "id": 442,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -11947,7 +12336,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 37,
+ "line": 56,
"character": 2
}
],
@@ -11962,22 +12351,14 @@
"title": "Properties",
"kind": 1024,
"children": [
- 337,
- 336,
- 340,
- 341,
- 331,
- 338,
- 339,
- 335,
- 330
+ 449, 454, 448, 452, 453, 443, 455, 450, 451, 447, 442
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 54,
"character": 34
}
]
@@ -11989,14 +12370,14 @@
],
"type": {
"type": "reference",
- "id": 77,
+ "id": 78,
"name": "default"
}
}
]
},
{
- "id": 81,
+ "id": 84,
"name": "admin",
"kind": 1024,
"kindString": "Property",
@@ -12007,7 +12388,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 98,
+ "line": 115,
"character": 2
}
],
@@ -12220,11 +12601,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 11,
- 7,
- 6
- ]
+ "children": [11, 7, 6]
}
]
}
@@ -12257,10 +12634,10 @@
],
"type": {
"type": "reference",
- "id": 769,
+ "id": 916,
"name": "GoTrueAdminMFAApi",
"dereferenced": {
- "id": 769,
+ "id": 916,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -12276,14 +12653,14 @@
},
"children": [
{
- "id": 773,
+ "id": 920,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 774,
+ "id": 921,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -12303,17 +12680,17 @@
},
"parameters": [
{
- "id": 775,
+ "id": 922,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -12329,21 +12706,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 754,
+ "id": 901,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 755,
+ "id": 902,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -12354,7 +12731,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 896,
+ "line": 968,
"character": 2
}
],
@@ -12364,7 +12741,7 @@
}
},
{
- "id": 756,
+ "id": 903,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -12375,7 +12752,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 899,
+ "line": 971,
"character": 2
}
],
@@ -12389,16 +12766,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 755,
- 756
- ]
+ "children": [902, 903]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 45
}
]
@@ -12413,7 +12787,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 744,
+ "id": 891,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -12425,14 +12799,14 @@
]
},
{
- "id": 770,
+ "id": 917,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 771,
+ "id": 918,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -12442,17 +12816,17 @@
},
"parameters": [
{
- "id": 772,
+ "id": 919,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -12468,21 +12842,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 767,
+ "id": 914,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 768,
+ "id": 915,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -12493,7 +12867,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 920,
+ "line": 992,
"character": 2
}
],
@@ -12507,15 +12881,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 768
- ]
+ "children": [915]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 44
}
]
@@ -12530,7 +12902,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 757,
+ "id": 904,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -12546,16 +12918,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 773,
- 770
- ]
+ "children": [920, 917]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 928,
+ "line": 1000,
"character": 17
}
]
@@ -12563,7 +12932,7 @@
}
},
{
- "id": 43,
+ "id": 44,
"name": "createUser",
"kind": 2048,
"kindString": "Method",
@@ -12571,13 +12940,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 148,
+ "line": 152,
"character": 8
}
],
"signatures": [
{
- "id": 44,
+ "id": 45,
"name": "createUser",
"kind": 4096,
"kindString": "Call signature",
@@ -12587,24 +12956,24 @@
},
"parameters": [
{
- "id": 45,
+ "id": 46,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 598,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -12618,7 +12987,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 296,
+ "line": 354,
"character": 2
}
],
@@ -12628,7 +12997,7 @@
}
},
{
- "id": 459,
+ "id": 601,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -12642,7 +13011,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 380,
"character": 2
}
],
@@ -12652,7 +13021,7 @@
}
},
{
- "id": 462,
+ "id": 604,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -12665,7 +13034,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -12679,7 +13048,7 @@
}
},
{
- "id": 457,
+ "id": 599,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -12693,7 +13062,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 303,
+ "line": 361,
"character": 2
}
],
@@ -12703,7 +13072,7 @@
}
},
{
- "id": 461,
+ "id": 603,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -12717,7 +13086,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -12731,7 +13100,7 @@
}
},
{
- "id": 460,
+ "id": 602,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -12744,7 +13113,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -12758,7 +13127,7 @@
}
},
{
- "id": 463,
+ "id": 605,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -12771,7 +13140,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -12785,7 +13154,7 @@
}
},
{
- "id": 458,
+ "id": 600,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -12799,7 +13168,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 368,
"character": 2
}
],
@@ -12809,7 +13178,7 @@
}
},
{
- "id": 455,
+ "id": 597,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -12823,7 +13192,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 344,
"character": 2
}
],
@@ -12837,23 +13206,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
+ "line": 333,
"character": 17
}
],
@@ -12863,7 +13222,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes"
},
{
@@ -12885,7 +13244,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -12897,7 +13256,7 @@
]
},
{
- "id": 67,
+ "id": 68,
"name": "deleteUser",
"kind": 2048,
"kindString": "Method",
@@ -12905,13 +13264,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 264,
+ "line": 268,
"character": 8
}
],
"signatures": [
{
- "id": 68,
+ "id": 69,
"name": "deleteUser",
"kind": 4096,
"kindString": "Call signature",
@@ -12921,7 +13280,7 @@
},
"parameters": [
{
- "id": 69,
+ "id": 70,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -12935,7 +13294,7 @@
}
},
{
- "id": 70,
+ "id": 71,
"name": "shouldSoftDelete",
"kind": 32768,
"kindString": "Parameter",
@@ -12955,7 +13314,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -12967,7 +13326,7 @@
]
},
{
- "id": 40,
+ "id": 41,
"name": "generateLink",
"kind": 2048,
"kindString": "Method",
@@ -12975,13 +13334,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 114,
+ "line": 118,
"character": 8
}
],
"signatures": [
{
- "id": 41,
+ "id": 42,
"name": "generateLink",
"kind": 4096,
"kindString": "Call signature",
@@ -12991,17 +13350,17 @@
},
"parameters": [
{
- "id": 42,
+ "id": 43,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 613,
+ "id": 760,
"name": "GenerateLinkParams",
"dereferenced": {
- "id": 613,
+ "id": 760,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13009,7 +13368,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 673,
"character": 12
}
],
@@ -13017,7 +13376,7 @@
"type": "union",
"types": [
{
- "id": 588,
+ "id": 735,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13025,21 +13384,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 591,
+ "id": 738,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -13047,7 +13406,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 560,
+ "line": 632,
"character": 2
}
],
@@ -13057,7 +13416,7 @@
}
},
{
- "id": 593,
+ "id": 740,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13067,7 +13426,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 634,
"character": 2
}
],
@@ -13076,7 +13435,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -13099,7 +13458,7 @@
}
},
{
- "id": 592,
+ "id": 739,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -13107,7 +13466,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 633,
"character": 2
}
],
@@ -13117,7 +13476,7 @@
}
},
{
- "id": 590,
+ "id": 737,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -13125,7 +13484,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 631,
"character": 2
}
],
@@ -13139,18 +13498,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 591,
- 593,
- 592,
- 590
- ]
+ "children": [738, 740, 739, 737]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 39
}
]
@@ -13158,7 +13512,7 @@
}
},
{
- "id": 594,
+ "id": 741,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13166,21 +13520,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 742,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 597,
+ "id": 744,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -13191,7 +13545,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 568,
+ "line": 640,
"character": 2
}
],
@@ -13201,7 +13555,7 @@
}
},
{
- "id": 598,
+ "id": 745,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13211,7 +13565,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 569,
+ "line": 641,
"character": 2
}
],
@@ -13220,7 +13574,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -13243,7 +13597,7 @@
}
},
{
- "id": 596,
+ "id": 743,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -13251,7 +13605,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 638,
"character": 2
}
],
@@ -13274,17 +13628,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 597,
- 598,
- 596
- ]
+ "children": [744, 745, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 46
}
]
@@ -13292,7 +13642,7 @@
}
},
{
- "id": 599,
+ "id": 746,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13300,21 +13650,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 600,
+ "id": 747,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 602,
+ "id": 749,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -13325,7 +13675,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 647,
"character": 2
}
],
@@ -13335,7 +13685,7 @@
}
},
{
- "id": 603,
+ "id": 750,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13345,7 +13695,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 576,
+ "line": 648,
"character": 2
}
],
@@ -13354,7 +13704,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -13368,7 +13718,7 @@
}
},
{
- "id": 601,
+ "id": 748,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -13376,7 +13726,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 573,
+ "line": 645,
"character": 2
}
],
@@ -13390,17 +13740,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 602,
- 603,
- 601
- ]
+ "children": [749, 750, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 41
}
]
@@ -13408,7 +13754,7 @@
}
},
{
- "id": 604,
+ "id": 751,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13416,21 +13762,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 605,
+ "id": 752,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 607,
+ "id": 754,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -13441,7 +13787,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 582,
+ "line": 654,
"character": 2
}
],
@@ -13451,7 +13797,7 @@
}
},
{
- "id": 608,
+ "id": 755,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -13462,7 +13808,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 658,
"character": 2
}
],
@@ -13472,7 +13818,7 @@
}
},
{
- "id": 609,
+ "id": 756,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13482,7 +13828,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 587,
+ "line": 659,
"character": 2
}
],
@@ -13491,7 +13837,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -13505,7 +13851,7 @@
}
},
{
- "id": 606,
+ "id": 753,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -13513,7 +13859,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 652,
"character": 2
}
],
@@ -13536,18 +13882,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 607,
- 608,
- 609,
- 606
- ]
+ "children": [754, 755, 756, 753]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 44
}
]
@@ -13565,7 +13906,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 614,
+ "id": 761,
"name": "GenerateLinkResponse"
}
],
@@ -13577,7 +13918,7 @@
]
},
{
- "id": 60,
+ "id": 61,
"name": "getUserById",
"kind": 2048,
"kindString": "Method",
@@ -13585,13 +13926,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 217,
+ "line": 221,
"character": 8
}
],
"signatures": [
{
- "id": 61,
+ "id": 62,
"name": "getUserById",
"kind": 4096,
"kindString": "Call signature",
@@ -13601,7 +13942,7 @@
},
"parameters": [
{
- "id": 62,
+ "id": 63,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -13620,7 +13961,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -13632,7 +13973,7 @@
]
},
{
- "id": 33,
+ "id": 34,
"name": "inviteUserByEmail",
"kind": 2048,
"kindString": "Method",
@@ -13640,13 +13981,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 81,
+ "line": 85,
"character": 8
}
],
"signatures": [
{
- "id": 34,
+ "id": 35,
"name": "inviteUserByEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -13656,7 +13997,7 @@
},
"parameters": [
{
- "id": 35,
+ "id": 36,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -13670,7 +14011,7 @@
}
},
{
- "id": 36,
+ "id": 37,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -13681,14 +14022,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 37,
+ "id": 38,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 38,
+ "id": 39,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13701,7 +14042,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 85,
+ "line": 89,
"character": 6
}
],
@@ -13711,7 +14052,7 @@
}
},
{
- "id": 39,
+ "id": 40,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -13724,7 +14065,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 88,
+ "line": 92,
"character": 6
}
],
@@ -13738,10 +14079,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 38,
- 39
- ]
+ "children": [39, 40]
}
]
}
@@ -13754,7 +14092,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -13766,7 +14104,7 @@
]
},
{
- "id": 46,
+ "id": 47,
"name": "listUsers",
"kind": 2048,
"kindString": "Method",
@@ -13774,13 +14112,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 170,
+ "line": 174,
"character": 8
}
],
"signatures": [
{
- "id": 47,
+ "id": 48,
"name": "listUsers",
"kind": 4096,
"kindString": "Call signature",
@@ -13791,7 +14129,7 @@
},
"parameters": [
{
- "id": 48,
+ "id": 49,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -13803,10 +14141,10 @@
},
"type": {
"type": "reference",
- "id": 794,
+ "id": 941,
"name": "PageParams",
"dereferenced": {
- "id": 794,
+ "id": 941,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13814,21 +14152,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 795,
+ "id": 942,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 796,
+ "id": 943,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -13841,7 +14179,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 978,
+ "line": 1050,
"character": 2
}
],
@@ -13851,7 +14189,7 @@
}
},
{
- "id": 797,
+ "id": 944,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -13864,7 +14202,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 980,
+ "line": 1052,
"character": 2
}
],
@@ -13878,16 +14216,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 796,
- 797
- ]
+ "children": [943, 944]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 25
}
]
@@ -13906,14 +14241,14 @@
{
"type": "reflection",
"declaration": {
- "id": 49,
+ "id": 50,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 50,
+ "id": 51,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13921,7 +14256,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 8
}
],
@@ -13931,14 +14266,14 @@
{
"type": "reflection",
"declaration": {
- "id": 51,
+ "id": 52,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 53,
+ "id": 54,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -13946,7 +14281,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 31
}
],
@@ -13956,7 +14291,7 @@
}
},
{
- "id": 52,
+ "id": 53,
"name": "users",
"kind": 1024,
"kindString": "Property",
@@ -13964,7 +14299,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 16
}
],
@@ -13972,7 +14307,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User"
}
}
@@ -13982,24 +14317,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 53,
- 52
- ]
+ "children": [54, 53]
}
]
}
},
{
"type": "reference",
- "id": 787,
+ "id": 934,
"name": "Pagination"
}
]
}
},
{
- "id": 54,
+ "id": 55,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -14007,7 +14339,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 59
}
],
@@ -14021,10 +14353,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 50,
- 54
- ]
+ "children": [51, 55]
}
]
}
@@ -14032,14 +14361,14 @@
{
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 56,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 56,
+ "id": 57,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -14047,21 +14376,21 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 57,
+ "id": 58,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 58,
+ "id": 59,
"name": "users",
"kind": 1024,
"kindString": "Property",
@@ -14069,7 +14398,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 16
}
],
@@ -14082,16 +14411,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 58
- ]
+ "children": [59]
}
]
}
}
},
{
- "id": 59,
+ "id": 60,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -14099,13 +14426,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 29
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -14114,10 +14441,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 56,
- 59
- ]
+ "children": [57, 60]
}
]
}
@@ -14141,7 +14465,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
+ "line": 60,
"character": 8
}
],
@@ -14163,12 +14487,40 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A valid, logged-in JWT.\n"
+ "shortText": "A valid, logged-in JWT."
},
"type": {
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 30,
+ "name": "scope",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The logout sope.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ },
+ "defaultValue": "'global'"
}
],
"type": {
@@ -14177,14 +14529,14 @@
{
"type": "reflection",
"declaration": {
- "id": 30,
+ "id": 31,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 31,
+ "id": 32,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -14192,8 +14544,8 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 40
+ "line": 63,
+ "character": 15
}
],
"type": {
@@ -14202,7 +14554,7 @@
}
},
{
- "id": 32,
+ "id": 33,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -14210,8 +14562,8 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 52
+ "line": 63,
+ "character": 27
}
],
"type": {
@@ -14223,7 +14575,7 @@
},
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
]
@@ -14234,10 +14586,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 31,
- 32
- ]
+ "children": [32, 33]
}
]
}
@@ -14251,7 +14600,7 @@
]
},
{
- "id": 63,
+ "id": 64,
"name": "updateUserById",
"kind": 2048,
"kindString": "Method",
@@ -14259,13 +14608,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 239,
+ "line": 243,
"character": 8
}
],
"signatures": [
{
- "id": 64,
+ "id": 65,
"name": "updateUserById",
"kind": 4096,
"kindString": "Call signature",
@@ -14275,7 +14624,7 @@
},
"parameters": [
{
- "id": 65,
+ "id": 66,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -14286,7 +14635,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -14296,17 +14645,17 @@
},
"type": {
"type": "reference",
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 598,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -14320,7 +14669,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 296,
+ "line": 354,
"character": 2
}
],
@@ -14330,7 +14679,7 @@
}
},
{
- "id": 459,
+ "id": 601,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -14344,7 +14693,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 380,
"character": 2
}
],
@@ -14354,7 +14703,7 @@
}
},
{
- "id": 462,
+ "id": 604,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -14367,7 +14716,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -14381,7 +14730,7 @@
}
},
{
- "id": 457,
+ "id": 599,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -14395,7 +14744,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 303,
+ "line": 361,
"character": 2
}
],
@@ -14405,7 +14754,7 @@
}
},
{
- "id": 461,
+ "id": 603,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -14419,7 +14768,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -14433,7 +14782,7 @@
}
},
{
- "id": 460,
+ "id": 602,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -14446,7 +14795,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -14460,7 +14809,7 @@
}
},
{
- "id": 463,
+ "id": 605,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -14473,7 +14822,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -14487,7 +14836,7 @@
}
},
{
- "id": 458,
+ "id": 600,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -14501,7 +14850,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 368,
"character": 2
}
],
@@ -14511,7 +14860,7 @@
}
},
{
- "id": 455,
+ "id": 597,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -14525,7 +14874,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 344,
"character": 2
}
],
@@ -14539,23 +14888,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
+ "line": 333,
"character": 17
}
],
@@ -14565,7 +14904,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes"
},
{
@@ -14587,7 +14926,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -14603,30 +14942,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 2
- ]
+ "children": [2]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 16
- ]
+ "children": [16]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 43,
- 67,
- 40,
- 60,
- 33,
- 46,
- 27,
- 63
- ]
+ "children": [44, 68, 41, 61, 34, 47, 27, 64]
}
],
"sources": [
@@ -14640,7 +14966,7 @@
}
},
{
- "id": 82,
+ "id": 85,
"name": "mfa",
"kind": 1024,
"kindString": "Property",
@@ -14651,16 +14977,16 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 102,
+ "line": 119,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 724,
+ "id": 871,
"name": "GoTrueMFAApi",
"dereferenced": {
- "id": 724,
+ "id": 871,
"name": "GoTrueMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -14670,14 +14996,14 @@
},
"children": [
{
- "id": 728,
+ "id": 875,
"name": "challenge",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 729,
+ "id": 876,
"name": "challenge",
"kind": 4096,
"kindString": "Call signature",
@@ -14687,17 +15013,17 @@
},
"parameters": [
{
- "id": 730,
+ "id": 877,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 648,
+ "id": 795,
"name": "MFAChallengeParams",
"dereferenced": {
- "id": 648,
+ "id": 795,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -14705,21 +15031,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 649,
+ "id": 796,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 650,
+ "id": 797,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -14730,7 +15056,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 680,
+ "line": 752,
"character": 2
}
],
@@ -14744,15 +15070,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 650
- ]
+ "children": [797]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 33
}
]
@@ -14767,7 +15091,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 692,
+ "id": 839,
"name": "AuthMFAChallengeResponse"
}
],
@@ -14779,14 +15103,14 @@
]
},
{
- "id": 737,
+ "id": 884,
"name": "challengeAndVerify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 738,
+ "id": 885,
"name": "challengeAndVerify",
"kind": 4096,
"kindString": "Call signature",
@@ -14796,17 +15120,17 @@
},
"parameters": [
{
- "id": 739,
+ "id": 886,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 651,
+ "id": 798,
"name": "MFAChallengeAndVerifyParams",
"dereferenced": {
- "id": 651,
+ "id": 798,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -14814,21 +15138,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 652,
+ "id": 799,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 654,
+ "id": 801,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -14839,7 +15163,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 687,
+ "line": 759,
"character": 2
}
],
@@ -14849,7 +15173,7 @@
}
},
{
- "id": 653,
+ "id": 800,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -14860,7 +15184,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 685,
+ "line": 757,
"character": 2
}
],
@@ -14874,16 +15198,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 654,
- 653
- ]
+ "children": [801, 800]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 42
}
]
@@ -14898,7 +15219,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 655,
+ "id": 802,
"name": "AuthMFAVerifyResponse"
}
],
@@ -14910,14 +15231,14 @@
]
},
{
- "id": 725,
+ "id": 872,
"name": "enroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 726,
+ "id": 873,
"name": "enroll",
"kind": 4096,
"kindString": "Call signature",
@@ -14928,17 +15249,17 @@
},
"parameters": [
{
- "id": 727,
+ "id": 874,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 635,
+ "id": 782,
"name": "MFAEnrollParams",
"dereferenced": {
- "id": 635,
+ "id": 782,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -14946,21 +15267,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 636,
+ "id": 783,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 637,
+ "id": 784,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -14971,7 +15292,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 655,
+ "line": 727,
"character": 2
}
],
@@ -14981,7 +15302,7 @@
}
},
{
- "id": 639,
+ "id": 786,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -14994,7 +15315,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 659,
+ "line": 731,
"character": 2
}
],
@@ -15004,7 +15325,7 @@
}
},
{
- "id": 638,
+ "id": 785,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -15017,7 +15338,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 729,
"character": 2
}
],
@@ -15031,17 +15352,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 637,
- 639,
- 638
- ]
+ "children": [784, 786, 785]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 30
}
]
@@ -15056,7 +15373,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 668,
+ "id": 815,
"name": "AuthMFAEnrollResponse"
}
],
@@ -15068,14 +15385,14 @@
]
},
{
- "id": 742,
+ "id": 889,
"name": "getAuthenticatorAssuranceLevel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 743,
+ "id": 890,
"name": "getAuthenticatorAssuranceLevel",
"kind": 4096,
"kindString": "Call signature",
@@ -15089,7 +15406,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 713,
+ "id": 860,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
}
],
@@ -15101,14 +15418,14 @@
]
},
{
- "id": 740,
+ "id": 887,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 741,
+ "id": 888,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -15135,7 +15452,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 702,
+ "id": 849,
"name": "AuthMFAListFactorsResponse"
}
],
@@ -15147,14 +15464,14 @@
]
},
{
- "id": 734,
+ "id": 881,
"name": "unenroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 735,
+ "id": 882,
"name": "unenroll",
"kind": 4096,
"kindString": "Call signature",
@@ -15164,17 +15481,17 @@
},
"parameters": [
{
- "id": 736,
+ "id": 883,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 640,
+ "id": 787,
"name": "MFAUnenrollParams",
"dereferenced": {
- "id": 640,
+ "id": 787,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -15182,21 +15499,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 641,
+ "id": 788,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 642,
+ "id": 789,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -15207,7 +15524,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 664,
+ "line": 736,
"character": 2
}
],
@@ -15221,15 +15538,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 642
- ]
+ "children": [789]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 32
}
]
@@ -15244,7 +15559,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 830,
"name": "AuthMFAUnenrollResponse"
}
],
@@ -15256,14 +15571,14 @@
]
},
{
- "id": 731,
+ "id": 878,
"name": "verify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 732,
+ "id": 879,
"name": "verify",
"kind": 4096,
"kindString": "Call signature",
@@ -15273,17 +15588,17 @@
},
"parameters": [
{
- "id": 733,
+ "id": 880,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 643,
+ "id": 790,
"name": "MFAVerifyParams",
"dereferenced": {
- "id": 643,
+ "id": 790,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -15291,21 +15606,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 644,
+ "id": 791,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 646,
+ "id": 793,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -15316,7 +15631,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 672,
+ "line": 744,
"character": 2
}
],
@@ -15326,7 +15641,7 @@
}
},
{
- "id": 647,
+ "id": 794,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -15337,7 +15652,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 747,
"character": 2
}
],
@@ -15347,7 +15662,7 @@
}
},
{
- "id": 645,
+ "id": 792,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -15358,7 +15673,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 669,
+ "line": 741,
"character": 2
}
],
@@ -15372,17 +15687,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 646,
- 647,
- 645
- ]
+ "children": [793, 794, 792]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 30
}
]
@@ -15397,7 +15708,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 655,
+ "id": 802,
"name": "AuthMFAVerifyResponse"
}
],
@@ -15413,21 +15724,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 728,
- 737,
- 725,
- 742,
- 740,
- 734,
- 731
- ]
+ "children": [875, 884, 872, 889, 887, 881, 878]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 815,
+ "line": 887,
"character": 17
}
]
@@ -15435,7 +15738,7 @@
}
},
{
- "id": 121,
+ "id": 131,
"name": "exchangeCodeForSession",
"kind": 2048,
"kindString": "Method",
@@ -15443,13 +15746,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 411,
+ "line": 485,
"character": 8
}
],
"signatures": [
{
- "id": 122,
+ "id": 132,
"name": "exchangeCodeForSession",
"kind": 4096,
"kindString": "Call signature",
@@ -15459,7 +15762,7 @@
},
"parameters": [
{
- "id": 123,
+ "id": 133,
"name": "authCode",
"kind": 32768,
"kindString": "Parameter",
@@ -15475,8 +15778,8 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
- "name": "AuthResponse"
+ "id": 484,
+ "name": "AuthTokenResponse"
}
],
"qualifiedName": "Promise",
@@ -15487,7 +15790,7 @@
]
},
{
- "id": 141,
+ "id": 156,
"name": "getSession",
"kind": 2048,
"kindString": "Method",
@@ -15495,13 +15798,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 693,
+ "line": 810,
"character": 8
}
],
"signatures": [
{
- "id": 142,
+ "id": 157,
"name": "getSession",
"kind": 4096,
"kindString": "Call signature",
@@ -15518,14 +15821,14 @@
{
"type": "reflection",
"declaration": {
- "id": 143,
+ "id": 158,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 144,
+ "id": 159,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -15533,21 +15836,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 695,
- "character": 8
+ "line": 901,
+ "character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 145,
+ "id": 160,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 146,
+ "id": 161,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -15555,13 +15858,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 696,
- "character": 10
+ "line": 902,
+ "character": 14
}
],
"type": {
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
}
}
@@ -15570,16 +15873,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 146
- ]
+ "children": [161]
}
]
}
}
},
{
- "id": 147,
+ "id": 162,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -15587,8 +15888,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 698,
- "character": 8
+ "line": 904,
+ "character": 12
}
],
"type": {
@@ -15601,10 +15902,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 144,
- 147
- ]
+ "children": [159, 162]
}
]
}
@@ -15612,14 +15910,14 @@
{
"type": "reflection",
"declaration": {
- "id": 148,
+ "id": 163,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 149,
+ "id": 164,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -15627,21 +15925,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 701,
- "character": 8
+ "line": 907,
+ "character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 150,
+ "id": 165,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 151,
+ "id": 166,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -15649,8 +15947,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 702,
- "character": 10
+ "line": 908,
+ "character": 14
}
],
"type": {
@@ -15663,16 +15961,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 151
- ]
+ "children": [166]
}
]
}
}
},
{
- "id": 152,
+ "id": 167,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -15680,13 +15976,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 704,
- "character": 8
+ "line": 910,
+ "character": 12
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -15695,10 +15991,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 149,
- 152
- ]
+ "children": [164, 167]
}
]
}
@@ -15706,14 +15999,14 @@
{
"type": "reflection",
"declaration": {
- "id": 153,
+ "id": 168,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 154,
+ "id": 169,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -15721,21 +16014,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 707,
- "character": 8
+ "line": 913,
+ "character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 155,
+ "id": 170,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 156,
+ "id": 171,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -15743,8 +16036,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 708,
- "character": 10
+ "line": 914,
+ "character": 14
}
],
"type": {
@@ -15757,16 +16050,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 156
- ]
+ "children": [171]
}
]
}
}
},
{
- "id": 157,
+ "id": 172,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -15774,8 +16065,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 710,
- "character": 8
+ "line": 916,
+ "character": 12
}
],
"type": {
@@ -15788,10 +16079,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 154,
- 157
- ]
+ "children": [169, 172]
}
]
}
@@ -15807,7 +16095,7 @@
]
},
{
- "id": 158,
+ "id": 219,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -15815,13 +16103,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 756,
+ "line": 1018,
"character": 8
}
],
"signatures": [
{
- "id": 159,
+ "id": 220,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -15831,7 +16119,7 @@
},
"parameters": [
{
- "id": 160,
+ "id": 221,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -15852,7 +16140,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -15864,7 +16152,7 @@
]
},
{
- "id": 108,
+ "id": 118,
"name": "initialize",
"kind": 2048,
"kindString": "Method",
@@ -15872,13 +16160,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 197,
- "character": 2
+ "line": 250,
+ "character": 8
}
],
"signatures": [
{
- "id": 109,
+ "id": 119,
"name": "initialize",
"kind": 4096,
"kindString": "Call signature",
@@ -15891,7 +16179,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 777,
+ "id": 924,
"name": "InitializeResult"
}
],
@@ -15903,7 +16191,7 @@
]
},
{
- "id": 208,
+ "id": 295,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -15911,13 +16199,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1071,
+ "line": 1412,
"character": 2
}
],
"signatures": [
{
- "id": 209,
+ "id": 296,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -15927,7 +16215,7 @@
},
"parameters": [
{
- "id": 210,
+ "id": 297,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -15938,33 +16226,33 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 211,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 212,
+ "id": 299,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 213,
+ "id": 300,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 327,
+ "id": 430,
"name": "AuthChangeEvent"
}
},
{
- "id": 214,
+ "id": 301,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -15978,7 +16266,7 @@
},
{
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
}
]
@@ -15986,8 +16274,25 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "void"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ ]
}
}
]
@@ -15998,14 +16303,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 215,
+ "id": 302,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 216,
+ "id": 303,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16013,21 +16318,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1072,
+ "line": 1415,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 217,
+ "id": 304,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 218,
+ "id": 305,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -16035,23 +16340,23 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1072,
+ "line": 1415,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 464,
+ "id": 606,
"name": "Subscription",
"dereferenced": {
- "id": 464,
+ "id": 606,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 465,
+ "id": 607,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -16062,7 +16367,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 329,
+ "line": 387,
"character": 2
}
],
@@ -16072,7 +16377,7 @@
}
},
{
- "id": 466,
+ "id": 608,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -16080,13 +16385,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 333,
+ "line": 391,
"character": 2
}
],
"signatures": [
{
- "id": 467,
+ "id": 609,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -16096,17 +16401,17 @@
},
"parameters": [
{
- "id": 468,
+ "id": 610,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 327,
+ "id": 430,
"name": "AuthChangeEvent",
"dereferenced": {
- "id": 327,
+ "id": 430,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -16114,7 +16419,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 26,
+ "line": 28,
"character": 12
}
],
@@ -16146,7 +16451,7 @@
"value": "USER_UPDATED"
},
{
- "id": 326,
+ "id": 429,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -16154,7 +16459,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 12
}
],
@@ -16169,7 +16474,7 @@
}
},
{
- "id": 469,
+ "id": 611,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -16183,7 +16488,7 @@
},
{
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
}
]
@@ -16198,7 +16503,7 @@
]
},
{
- "id": 470,
+ "id": 612,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -16206,13 +16511,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 337,
+ "line": 395,
"character": 2
}
],
"signatures": [
{
- "id": 471,
+ "id": 613,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -16232,23 +16537,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 465
- ]
+ "children": [607]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 466,
- 470
- ]
+ "children": [608, 612]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 383,
"character": 17
}
]
@@ -16260,9 +16560,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 218
- ]
+ "children": [305]
}
]
}
@@ -16273,9 +16571,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 216
- ]
+ "children": [303]
}
]
}
@@ -16284,7 +16580,7 @@
]
},
{
- "id": 136,
+ "id": 149,
"name": "reauthenticate",
"kind": 2048,
"kindString": "Method",
@@ -16292,13 +16588,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 626,
+ "line": 729,
"character": 8
}
],
"signatures": [
{
- "id": 137,
+ "id": 150,
"name": "reauthenticate",
"kind": 4096,
"kindString": "Call signature",
@@ -16311,7 +16607,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
+ "id": 456,
"name": "AuthResponse"
}
],
@@ -16323,7 +16619,7 @@
]
},
{
- "id": 180,
+ "id": 256,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -16331,13 +16627,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 902,
+ "line": 1207,
"character": 8
}
],
"signatures": [
{
- "id": 181,
+ "id": 257,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -16347,7 +16643,7 @@
},
"parameters": [
{
- "id": 182,
+ "id": 258,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
@@ -16360,14 +16656,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 183,
+ "id": 259,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 184,
+ "id": 260,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -16375,7 +16671,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 902,
+ "line": 1207,
"character": 42
}
],
@@ -16389,9 +16685,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 184
- ]
+ "children": [260]
}
]
}
@@ -16403,7 +16697,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
+ "id": 456,
"name": "AuthResponse"
}
],
@@ -16415,7 +16709,7 @@
]
},
{
- "id": 138,
+ "id": 153,
"name": "resend",
"kind": 2048,
"kindString": "Method",
@@ -16423,13 +16717,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 651,
+ "line": 764,
"character": 8
}
],
"signatures": [
{
- "id": 139,
+ "id": 154,
"name": "resend",
"kind": 4096,
"kindString": "Call signature",
@@ -16439,17 +16733,17 @@
},
"parameters": [
{
- "id": 140,
+ "id": 155,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 562,
+ "id": 708,
"name": "ResendParams",
"dereferenced": {
- "id": 562,
+ "id": 708,
"name": "ResendParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -16457,7 +16751,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 516,
+ "line": 586,
"character": 12
}
],
@@ -16467,14 +16761,14 @@
{
"type": "reflection",
"declaration": {
- "id": 563,
+ "id": 709,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 565,
+ "id": 711,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -16482,7 +16776,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 589,
"character": 6
}
],
@@ -16492,7 +16786,7 @@
}
},
{
- "id": 566,
+ "id": 712,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -16502,21 +16796,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 520,
+ "line": 590,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 567,
+ "id": 713,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 568,
+ "id": 715,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -16529,7 +16823,30 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 594,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 714,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 592,
"character": 8
}
],
@@ -16543,15 +16860,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 568
- ]
+ "children": [715, 714]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 520,
+ "line": 590,
"character": 16
}
]
@@ -16559,7 +16874,7 @@
}
},
{
- "id": 564,
+ "id": 710,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -16567,7 +16882,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 588,
"character": 6
}
],
@@ -16576,7 +16891,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 561,
+ "id": 707,
"name": "EmailOtpType"
},
{
@@ -16603,17 +16918,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 565,
- 566,
- 564
- ]
+ "children": [711, 712, 710]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 517,
+ "line": 587,
"character": 4
}
]
@@ -16622,14 +16933,14 @@
{
"type": "reflection",
"declaration": {
- "id": 569,
+ "id": 716,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 572,
+ "id": 719,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -16639,21 +16950,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 600,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 573,
+ "id": 720,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 574,
+ "id": 721,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -16666,7 +16977,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 530,
+ "line": 602,
"character": 8
}
],
@@ -16680,15 +16991,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 574
- ]
+ "children": [721]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 600,
"character": 16
}
]
@@ -16696,7 +17005,7 @@
}
},
{
- "id": 571,
+ "id": 718,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -16704,7 +17013,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 527,
+ "line": 599,
"character": 6
}
],
@@ -16714,7 +17023,7 @@
}
},
{
- "id": 570,
+ "id": 717,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -16722,7 +17031,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 598,
"character": 6
}
],
@@ -16731,7 +17040,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 560,
+ "id": 706,
"name": "MobileOtpType"
},
{
@@ -16758,17 +17067,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 572,
- 571,
- 570
- ]
+ "children": [719, 718, 717]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 597,
"character": 4
}
]
@@ -16785,8 +17090,8 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
- "name": "AuthResponse"
+ "id": 469,
+ "name": "AuthOtpResponse"
}
],
"qualifiedName": "Promise",
@@ -16797,7 +17102,7 @@
]
},
{
- "id": 222,
+ "id": 309,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
@@ -16805,23 +17110,23 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1111,
+ "line": 1468,
"character": 8
}
],
"signatures": [
{
- "id": 223,
+ "id": 310,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Sends a password reset request to an email address."
+ "shortText": "Sends a password reset request to an email address.\nThis method supports the PKCE flow."
},
"parameters": [
{
- "id": 224,
+ "id": 311,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -16835,7 +17140,7 @@
}
},
{
- "id": 225,
+ "id": 312,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -16843,14 +17148,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 226,
+ "id": 313,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 228,
+ "id": 315,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -16863,7 +17168,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1115,
+ "line": 1472,
"character": 6
}
],
@@ -16873,7 +17178,7 @@
}
},
{
- "id": 227,
+ "id": 314,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -16886,7 +17191,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1114,
+ "line": 1471,
"character": 6
}
],
@@ -16900,10 +17205,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 228,
- 227
- ]
+ "children": [315, 314]
}
]
}
@@ -16920,14 +17222,14 @@
{
"type": "reflection",
"declaration": {
- "id": 229,
+ "id": 316,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 230,
+ "id": 317,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16935,14 +17237,14 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1119,
+ "line": 1476,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 231,
+ "id": 318,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16951,7 +17253,7 @@
}
},
{
- "id": 232,
+ "id": 319,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -16959,7 +17261,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1120,
+ "line": 1477,
"character": 8
}
],
@@ -16973,10 +17275,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 230,
- 232
- ]
+ "children": [317, 319]
}
]
}
@@ -16984,14 +17283,14 @@
{
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 320,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 234,
+ "id": 321,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16999,7 +17298,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1122,
+ "line": 1479,
"character": 8
}
],
@@ -17009,7 +17308,7 @@
}
},
{
- "id": 235,
+ "id": 322,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -17017,13 +17316,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1122,
+ "line": 1479,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -17032,10 +17331,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 234,
- 235
- ]
+ "children": [321, 322]
}
]
}
@@ -17051,7 +17347,7 @@
]
},
{
- "id": 174,
+ "id": 244,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -17059,13 +17355,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 838,
+ "line": 1132,
"character": 8
}
],
"signatures": [
{
- "id": 175,
+ "id": 245,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -17075,7 +17371,7 @@
},
"parameters": [
{
- "id": 176,
+ "id": 246,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
@@ -17086,14 +17382,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 177,
+ "id": 247,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 178,
+ "id": 248,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -17101,7 +17397,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 839,
+ "line": 1133,
"character": 4
}
],
@@ -17111,7 +17407,7 @@
}
},
{
- "id": 179,
+ "id": 249,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -17119,7 +17415,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 840,
+ "line": 1134,
"character": 4
}
],
@@ -17133,10 +17429,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 178,
- 179
- ]
+ "children": [248, 249]
}
]
}
@@ -17148,7 +17441,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
+ "id": 456,
"name": "AuthResponse"
}
],
@@ -17160,7 +17453,7 @@
]
},
{
- "id": 124,
+ "id": 137,
"name": "signInWithIdToken",
"kind": 2048,
"kindString": "Method",
@@ -17168,39 +17461,33 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 441,
+ "line": 525,
"character": 8
}
],
"signatures": [
{
- "id": 125,
+ "id": 138,
"name": "signInWithIdToken",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Allows signing in with an ID token issued by certain supported providers.\nThe ID token is verified for validity and a new session is established.",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
+ "shortText": "Allows signing in with an OIDC ID token. The authentication provider used\nshould be enabled and configured."
},
"parameters": [
{
- "id": 126,
+ "id": 139,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 535,
+ "id": 677,
"name": "SignInWithIdTokenCredentials",
"dereferenced": {
- "id": 535,
+ "id": 677,
"name": "SignInWithIdTokenCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -17208,34 +17495,34 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 463,
+ "line": 521,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 536,
+ "id": 678,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 539,
- "name": "nonce",
+ "id": 681,
+ "name": "access_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "If the ID token contains a `nonce`, then the hash of this value is compared to the value in the ID token."
+ "shortText": "If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 471,
+ "line": 527,
"character": 2
}
],
@@ -17245,7 +17532,30 @@
}
},
{
- "id": 540,
+ "id": 682,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 529,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 683,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -17255,21 +17565,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 530,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 541,
+ "id": 684,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 542,
+ "id": 685,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -17282,7 +17592,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 532,
"character": 4
}
],
@@ -17296,15 +17606,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 542
- ]
+ "children": [685]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 530,
"character": 12
}
]
@@ -17312,18 +17620,18 @@
}
},
{
- "id": 537,
+ "id": 679,
"name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "Only Apple and Google ID tokens are supported for use from within iOS or Android applications."
+ "shortText": "Provider name or OIDC `iss` value identifying which provider should be used to verify the provided token. Supported names: `google`, `apple`, `azure`, `facebook`, `keycloak` (deprecated)."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 467,
+ "line": 523,
"character": 2
}
],
@@ -17337,23 +17645,35 @@
{
"type": "literal",
"value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
}
]
}
},
{
- "id": 538,
+ "id": 680,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID token issued by Apple or Google."
+ "shortText": "OIDC ID token issued by the specified provider. The `iss` claim in the ID token must match the supplied provider. Some ID tokens contain an `at_hash` which require that you provide an `access_token` value to be accepted properly. If the token contains a `nonce` claim you must supply the nonce used to obtain the ID token."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 469,
+ "line": 525,
"character": 2
}
],
@@ -17367,18 +17687,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 539,
- 540,
- 537,
- 538
- ]
+ "children": [681, 682, 683, 679, 680]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 463,
+ "line": 521,
"character": 43
}
]
@@ -17393,8 +17708,8 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
- "name": "AuthResponse"
+ "id": 484,
+ "name": "AuthTokenResponse"
}
],
"qualifiedName": "Promise",
@@ -17405,7 +17720,7 @@
]
},
{
- "id": 118,
+ "id": 128,
"name": "signInWithOAuth",
"kind": 2048,
"kindString": "Method",
@@ -17413,33 +17728,33 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 397,
+ "line": 471,
"character": 8
}
],
"signatures": [
{
- "id": 119,
+ "id": 129,
"name": "signInWithOAuth",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Log in an existing user via a third-party provider."
+ "shortText": "Log in an existing user via a third-party provider.\nThis method supports the PKCE flow."
},
"parameters": [
{
- "id": 120,
+ "id": 130,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 523,
+ "id": 665,
"name": "SignInWithOAuthCredentials",
"dereferenced": {
- "id": 523,
+ "id": 665,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -17447,21 +17762,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 506,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 524,
+ "id": 666,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 526,
+ "id": 668,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -17471,21 +17786,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 509,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 527,
+ "id": 669,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 672,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -17498,14 +17813,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 457,
+ "line": 515,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 531,
+ "id": 673,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17513,19 +17828,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 457,
+ "line": 515,
"character": 18
}
],
"indexSignature": {
- "id": 532,
+ "id": 674,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 533,
+ "id": 675,
"name": "key",
"kind": 32768,
"flags": {},
@@ -17544,7 +17859,7 @@
}
},
{
- "id": 528,
+ "id": 670,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -17557,7 +17872,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 511,
"character": 4
}
],
@@ -17567,7 +17882,7 @@
}
},
{
- "id": 529,
+ "id": 671,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -17580,7 +17895,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 513,
"character": 4
}
],
@@ -17590,7 +17905,7 @@
}
},
{
- "id": 534,
+ "id": 676,
"name": "skipBrowserRedirect",
"kind": 1024,
"kindString": "Property",
@@ -17603,7 +17918,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 459,
+ "line": 517,
"character": 4
}
],
@@ -17617,18 +17932,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 530,
- 528,
- 529,
- 534
- ]
+ "children": [672, 670, 671, 676]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 509,
"character": 12
}
]
@@ -17636,7 +17946,7 @@
}
},
{
- "id": 525,
+ "id": 667,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -17647,16 +17957,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 450,
+ "line": 508,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 325,
+ "id": 428,
"name": "Provider",
"dereferenced": {
- "id": 325,
+ "id": 428,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -17694,6 +18004,10 @@
"type": "literal",
"value": "facebook"
},
+ {
+ "type": "literal",
+ "value": "figma"
+ },
{
"type": "literal",
"value": "github"
@@ -17706,6 +18020,10 @@
"type": "literal",
"value": "google"
},
+ {
+ "type": "literal",
+ "value": "kakao"
+ },
{
"type": "literal",
"value": "keycloak"
@@ -17752,16 +18070,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 526,
- 525
- ]
+ "children": [668, 667]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 506,
"character": 41
}
]
@@ -17776,7 +18091,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 355,
+ "id": 497,
"name": "OAuthResponse"
}
],
@@ -17788,7 +18103,7 @@
]
},
{
- "id": 127,
+ "id": 140,
"name": "signInWithOtp",
"kind": 2048,
"kindString": "Method",
@@ -17796,34 +18111,34 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 489,
+ "line": 582,
"character": 8
}
],
"signatures": [
{
- "id": 128,
+ "id": 141,
"name": "signInWithOtp",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Log in a user using magiclink or a one-time password (OTP).",
- "text": "If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\n"
+ "text": "If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\nThis method supports PKCE when an email is passed.\n"
},
"parameters": [
{
- "id": 129,
+ "id": 142,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 505,
+ "id": 647,
"name": "SignInWithPasswordlessCredentials",
"dereferenced": {
- "id": 505,
+ "id": 647,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -17831,7 +18146,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 409,
+ "line": 467,
"character": 12
}
],
@@ -17841,14 +18156,14 @@
{
"type": "reflection",
"declaration": {
- "id": 506,
+ "id": 648,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 507,
+ "id": 649,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -17859,7 +18174,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 412,
+ "line": 470,
"character": 6
}
],
@@ -17869,7 +18184,7 @@
}
},
{
- "id": 508,
+ "id": 650,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -17879,21 +18194,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 471,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 509,
+ "id": 651,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 513,
+ "id": 655,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -17906,7 +18221,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 425,
+ "line": 483,
"character": 8
}
],
@@ -17916,7 +18231,7 @@
}
},
{
- "id": 512,
+ "id": 654,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17930,7 +18245,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 423,
+ "line": 481,
"character": 8
}
],
@@ -17940,7 +18255,7 @@
}
},
{
- "id": 510,
+ "id": 652,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -17953,7 +18268,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 415,
+ "line": 473,
"character": 8
}
],
@@ -17963,7 +18278,7 @@
}
},
{
- "id": 511,
+ "id": 653,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -17976,7 +18291,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 417,
+ "line": 475,
"character": 8
}
],
@@ -17990,18 +18305,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 513,
- 512,
- 510,
- 511
- ]
+ "children": [655, 654, 652, 653]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 471,
"character": 16
}
]
@@ -18013,16 +18323,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 507,
- 508
- ]
+ "children": [649, 650]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 410,
+ "line": 468,
"character": 4
}
]
@@ -18031,14 +18338,14 @@
{
"type": "reflection",
"declaration": {
- "id": 514,
+ "id": 656,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 516,
+ "id": 658,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -18048,21 +18355,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 431,
+ "line": 489,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 517,
+ "id": 659,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 520,
+ "id": 662,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -18075,7 +18382,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 441,
+ "line": 499,
"character": 8
}
],
@@ -18085,7 +18392,7 @@
}
},
{
- "id": 521,
+ "id": 663,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -18098,7 +18405,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 443,
+ "line": 501,
"character": 8
}
],
@@ -18117,7 +18424,7 @@
}
},
{
- "id": 519,
+ "id": 661,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -18131,7 +18438,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 439,
+ "line": 497,
"character": 8
}
],
@@ -18141,7 +18448,7 @@
}
},
{
- "id": 518,
+ "id": 660,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -18154,7 +18461,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 491,
"character": 8
}
],
@@ -18168,18 +18475,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 520,
- 521,
- 519,
- 518
- ]
+ "children": [662, 663, 661, 660]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 431,
+ "line": 489,
"character": 16
}
]
@@ -18187,7 +18489,7 @@
}
},
{
- "id": 515,
+ "id": 657,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -18198,7 +18500,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 430,
+ "line": 488,
"character": 6
}
],
@@ -18212,16 +18514,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 516,
- 515
- ]
+ "children": [658, 657]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 428,
+ "line": 486,
"character": 4
}
]
@@ -18238,8 +18537,8 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
- "name": "AuthResponse"
+ "id": 469,
+ "name": "AuthOtpResponse"
}
],
"qualifiedName": "Promise",
@@ -18250,7 +18549,7 @@
]
},
{
- "id": 115,
+ "id": 125,
"name": "signInWithPassword",
"kind": 2048,
"kindString": "Method",
@@ -18258,13 +18557,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 347,
+ "line": 415,
"character": 8
}
],
"signatures": [
{
- "id": 116,
+ "id": 126,
"name": "signInWithPassword",
"kind": 4096,
"kindString": "Call signature",
@@ -18275,17 +18574,17 @@
},
"parameters": [
{
- "id": 117,
+ "id": 127,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 491,
+ "id": 633,
"name": "SignInWithPasswordCredentials",
"dereferenced": {
- "id": 491,
+ "id": 633,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -18293,7 +18592,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 439,
"character": 12
}
],
@@ -18303,14 +18602,14 @@
{
"type": "reflection",
"declaration": {
- "id": 492,
+ "id": 634,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "id": 635,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -18321,7 +18620,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 384,
+ "line": 442,
"character": 6
}
],
@@ -18331,7 +18630,7 @@
}
},
{
- "id": 495,
+ "id": 637,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -18341,21 +18640,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 387,
+ "line": 445,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 496,
+ "id": 638,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 497,
+ "id": 639,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -18368,7 +18667,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 389,
+ "line": 447,
"character": 8
}
],
@@ -18382,15 +18681,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 497
- ]
+ "children": [639]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 387,
+ "line": 445,
"character": 16
}
]
@@ -18398,7 +18695,7 @@
}
},
{
- "id": 494,
+ "id": 636,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -18409,7 +18706,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 444,
"character": 6
}
],
@@ -18423,17 +18720,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 495,
- 494
- ]
+ "children": [635, 637, 636]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 382,
+ "line": 440,
"character": 4
}
]
@@ -18442,14 +18735,14 @@
{
"type": "reflection",
"declaration": {
- "id": 498,
+ "id": 640,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 501,
+ "id": 643,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -18459,21 +18752,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 455,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 502,
+ "id": 644,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 504,
+ "id": 646,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -18486,7 +18779,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 405,
+ "line": 463,
"character": 8
}
],
@@ -18496,7 +18789,7 @@
}
},
{
- "id": 503,
+ "id": 645,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -18510,7 +18803,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 403,
+ "line": 461,
"character": 8
}
],
@@ -18524,16 +18817,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 504,
- 503
- ]
+ "children": [646, 645]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 455,
"character": 16
}
]
@@ -18541,7 +18831,7 @@
}
},
{
- "id": 500,
+ "id": 642,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -18552,7 +18842,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 396,
+ "line": 454,
"character": 6
}
],
@@ -18562,7 +18852,7 @@
}
},
{
- "id": 499,
+ "id": 641,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -18573,7 +18863,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 394,
+ "line": 452,
"character": 6
}
],
@@ -18587,17 +18877,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 501,
- 500,
- 499
- ]
+ "children": [643, 642, 641]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 450,
"character": 4
}
]
@@ -18614,8 +18900,8 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
- "name": "AuthResponse"
+ "id": 484,
+ "name": "AuthTokenResponse"
}
],
"qualifiedName": "Promise",
@@ -18626,7 +18912,7 @@
]
},
{
- "id": 133,
+ "id": 146,
"name": "signInWithSSO",
"kind": 2048,
"kindString": "Method",
@@ -18634,13 +18920,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 597,
+ "line": 700,
"character": 8
}
],
"signatures": [
{
- "id": 134,
+ "id": 147,
"name": "signInWithSSO",
"kind": 4096,
"kindString": "Call signature",
@@ -18651,17 +18937,17 @@
},
"parameters": [
{
- "id": 135,
+ "id": 148,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 575,
+ "id": 722,
"name": "SignInWithSSO",
"dereferenced": {
- "id": 575,
+ "id": 722,
"name": "SignInWithSSO",
"kind": 4194304,
"kindString": "Type alias",
@@ -18669,7 +18955,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 534,
+ "line": 606,
"character": 12
}
],
@@ -18679,14 +18965,14 @@
{
"type": "reflection",
"declaration": {
- "id": 576,
+ "id": 723,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 578,
+ "id": 725,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -18696,21 +18982,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 539,
+ "line": 611,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 579,
+ "id": 726,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 728,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -18723,7 +19009,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 543,
+ "line": 615,
"character": 8
}
],
@@ -18733,7 +19019,7 @@
}
},
{
- "id": 580,
+ "id": 727,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -18746,7 +19032,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 541,
+ "line": 613,
"character": 8
}
],
@@ -18760,16 +19046,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 581,
- 580
- ]
+ "children": [728, 727]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 539,
+ "line": 611,
"character": 16
}
]
@@ -18777,7 +19060,7 @@
}
},
{
- "id": 577,
+ "id": 724,
"name": "providerId",
"kind": 1024,
"kindString": "Property",
@@ -18788,7 +19071,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 537,
+ "line": 609,
"character": 6
}
],
@@ -18802,16 +19085,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 578,
- 577
- ]
+ "children": [725, 724]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 535,
+ "line": 607,
"character": 4
}
]
@@ -18820,14 +19100,14 @@
{
"type": "reflection",
"declaration": {
- "id": 582,
+ "id": 729,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 583,
+ "id": 730,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -18838,7 +19118,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 548,
+ "line": 620,
"character": 6
}
],
@@ -18848,7 +19128,7 @@
}
},
{
- "id": 584,
+ "id": 731,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -18858,21 +19138,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 550,
+ "line": 622,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 585,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 587,
+ "id": 734,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -18885,7 +19165,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 554,
+ "line": 626,
"character": 8
}
],
@@ -18895,7 +19175,7 @@
}
},
{
- "id": 586,
+ "id": 733,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -18908,7 +19188,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 552,
+ "line": 624,
"character": 8
}
],
@@ -18922,16 +19202,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 587,
- 586
- ]
+ "children": [734, 733]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 550,
+ "line": 622,
"character": 16
}
]
@@ -18943,16 +19220,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 583,
- 584
- ]
+ "children": [730, 731]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 546,
+ "line": 618,
"character": 4
}
]
@@ -18969,7 +19243,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 368,
+ "id": 510,
"name": "SSOResponse"
}
],
@@ -18981,7 +19255,7 @@
]
},
{
- "id": 204,
+ "id": 285,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -18989,35 +19263,126 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1045,
+ "line": 1372,
"character": 8
}
],
"signatures": [
{
- "id": 205,
+ "id": 286,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a `\"SIGNED_OUT\"` event.",
- "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n"
+ "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n\nIf using others scope, no `SIGNED_OUT` event is fired!\n"
},
+ "parameters": [
+ {
+ "id": 287,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 945,
+ "name": "SignOut",
+ "dereferenced": {
+ "id": 945,
+ "name": "SignOut",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1055,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 946,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 947,
+ "name": "scope",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines which sessions should be\nlogged out. Global means all\nsessions by this account. Local\nmeans only this session. Others\nmeans all other sessions except the\ncurrent one. When using others,\nthere is no sign-out event fired on\nthe current session!"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1066,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [947]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1055,
+ "character": 22
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
- "id": 206,
+ "id": 288,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 207,
+ "id": 289,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19025,8 +19390,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1045,
- "character": 29
+ "line": 1372,
+ "character": 67
}
],
"type": {
@@ -19038,7 +19403,7 @@
},
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
]
@@ -19049,9 +19414,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 207
- ]
+ "children": [289]
}
]
}
@@ -19065,7 +19428,7 @@
]
},
{
- "id": 112,
+ "id": 122,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -19073,35 +19436,35 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 268,
+ "line": 336,
"character": 8
}
],
"signatures": [
{
- "id": 113,
+ "id": 123,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Creates a new user.",
- "text": "Be aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\n",
+ "text": "Be aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\nThis method has support for PKCE via email signups. The PKCE flow cannot be used when autoconfirm is enabled.\n",
"returns": "A logged-in session if the server has \"autoconfirm\" ON"
},
"parameters": [
{
- "id": 114,
+ "id": 124,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 474,
+ "id": 616,
"name": "SignUpWithPasswordCredentials",
"dereferenced": {
- "id": 474,
+ "id": 616,
"name": "SignUpWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -19109,7 +19472,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 344,
+ "line": 402,
"character": 12
}
],
@@ -19119,14 +19482,14 @@
{
"type": "reflection",
"declaration": {
- "id": 475,
+ "id": 617,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 476,
+ "id": 618,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -19137,7 +19500,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 347,
+ "line": 405,
"character": 6
}
],
@@ -19147,7 +19510,7 @@
}
},
{
- "id": 478,
+ "id": 620,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -19157,21 +19520,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 408,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 479,
+ "id": 621,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 482,
+ "id": 624,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -19184,7 +19547,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 360,
+ "line": 418,
"character": 8
}
],
@@ -19194,7 +19557,7 @@
}
},
{
- "id": 481,
+ "id": 623,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19208,7 +19571,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 358,
+ "line": 416,
"character": 8
}
],
@@ -19218,7 +19581,7 @@
}
},
{
- "id": 480,
+ "id": 622,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -19231,7 +19594,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 410,
"character": 8
}
],
@@ -19245,17 +19608,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 482,
- 481,
- 480
- ]
+ "children": [624, 623, 622]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 408,
"character": 16
}
]
@@ -19263,7 +19622,7 @@
}
},
{
- "id": 477,
+ "id": 619,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -19274,7 +19633,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 349,
+ "line": 407,
"character": 6
}
],
@@ -19288,17 +19647,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 476,
- 478,
- 477
- ]
+ "children": [618, 620, 619]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 345,
+ "line": 403,
"character": 4
}
]
@@ -19307,14 +19662,14 @@
{
"type": "reflection",
"declaration": {
- "id": 483,
+ "id": 625,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 486,
+ "id": 628,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -19324,21 +19679,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 426,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 629,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 489,
+ "id": 631,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -19351,7 +19706,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 434,
"character": 8
}
],
@@ -19361,7 +19716,7 @@
}
},
{
- "id": 490,
+ "id": 632,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -19374,7 +19729,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 436,
"character": 8
}
],
@@ -19393,7 +19748,7 @@
}
},
{
- "id": 488,
+ "id": 630,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19407,7 +19762,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 374,
+ "line": 432,
"character": 8
}
],
@@ -19421,17 +19776,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 489,
- 490,
- 488
- ]
+ "children": [631, 632, 630]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 426,
"character": 16
}
]
@@ -19439,7 +19790,7 @@
}
},
{
- "id": 485,
+ "id": 627,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -19450,7 +19801,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 367,
+ "line": 425,
"character": 6
}
],
@@ -19460,7 +19811,7 @@
}
},
{
- "id": 484,
+ "id": 626,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -19471,7 +19822,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 365,
+ "line": 423,
"character": 6
}
],
@@ -19485,17 +19836,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 486,
- 485,
- 484
- ]
+ "children": [628, 627, 626]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 363,
+ "line": 421,
"character": 4
}
]
@@ -19512,7 +19859,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
+ "id": 456,
"name": "AuthResponse"
}
],
@@ -19524,7 +19871,7 @@
]
},
{
- "id": 284,
+ "id": 371,
"name": "startAutoRefresh",
"kind": 2048,
"kindString": "Method",
@@ -19532,13 +19879,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1415,
+ "line": 1861,
"character": 8
}
],
"signatures": [
{
- "id": 285,
+ "id": 372,
"name": "startAutoRefresh",
"kind": 4096,
"kindString": "Call signature",
@@ -19563,7 +19910,7 @@
]
},
{
- "id": 286,
+ "id": 373,
"name": "stopAutoRefresh",
"kind": 2048,
"kindString": "Method",
@@ -19571,13 +19918,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1428,
+ "line": 1874,
"character": 8
}
],
"signatures": [
{
- "id": 287,
+ "id": 374,
"name": "stopAutoRefresh",
"kind": 4096,
"kindString": "Call signature",
@@ -19602,7 +19949,7 @@
]
},
{
- "id": 161,
+ "id": 225,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -19610,13 +19957,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 785,
+ "line": 1064,
"character": 8
}
],
"signatures": [
{
- "id": 162,
+ "id": 226,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -19626,24 +19973,24 @@
},
"parameters": [
{
- "id": 163,
+ "id": 227,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes",
"dereferenced": {
- "id": 448,
+ "id": 590,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 453,
+ "id": 595,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19657,7 +20004,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 272,
+ "line": 330,
"character": 2
}
],
@@ -19667,7 +20014,7 @@
}
},
{
- "id": 449,
+ "id": 591,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -19680,7 +20027,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -19690,7 +20037,7 @@
}
},
{
- "id": 452,
+ "id": 594,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -19704,7 +20051,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -19714,7 +20061,7 @@
}
},
{
- "id": 451,
+ "id": 593,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -19727,7 +20074,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -19737,7 +20084,7 @@
}
},
{
- "id": 450,
+ "id": 592,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -19750,7 +20097,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -19764,19 +20111,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 453,
- 449,
- 452,
- 451,
- 450
- ]
+ "children": [595, 591, 594, 593, 592]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 301,
"character": 17
}
]
@@ -19784,7 +20125,7 @@
}
},
{
- "id": 164,
+ "id": 228,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -19792,14 +20133,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 229,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 166,
+ "id": 230,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -19809,7 +20150,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 788,
+ "line": 1067,
"character": 6
}
],
@@ -19823,9 +20164,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 166
- ]
+ "children": [230]
}
]
}
@@ -19838,7 +20177,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -19850,7 +20189,7 @@
]
},
{
- "id": 130,
+ "id": 143,
"name": "verifyOtp",
"kind": 2048,
"kindString": "Method",
@@ -19858,13 +20197,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 544,
+ "line": 637,
"character": 8
}
],
"signatures": [
{
- "id": 131,
+ "id": 144,
"name": "verifyOtp",
"kind": 4096,
"kindString": "Call signature",
@@ -19874,17 +20213,17 @@
},
"parameters": [
{
- "id": 132,
+ "id": 145,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 543,
+ "id": 686,
"name": "VerifyOtpParams",
"dereferenced": {
- "id": 543,
+ "id": 686,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -19892,7 +20231,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 478,
+ "line": 536,
"character": 12
}
],
@@ -19900,14 +20239,14 @@
"type": "union",
"types": [
{
- "id": 544,
+ "id": 687,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 548,
+ "id": 691,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -19917,21 +20256,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 544,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 692,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 551,
+ "id": 694,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -19950,7 +20289,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 495,
+ "line": 553,
"character": 4
}
],
@@ -19960,7 +20299,7 @@
}
},
{
- "id": 550,
+ "id": 693,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -19973,7 +20312,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 488,
+ "line": 546,
"character": 4
}
],
@@ -19987,17 +20326,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 551,
- 550
- ]
+ "children": [694, 693]
}
]
}
}
},
{
- "id": 545,
+ "id": 688,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -20008,7 +20344,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 481,
+ "line": 539,
"character": 2
}
],
@@ -20018,7 +20354,7 @@
}
},
{
- "id": 546,
+ "id": 689,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -20029,7 +20365,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 541,
"character": 2
}
],
@@ -20039,7 +20375,7 @@
}
},
{
- "id": 547,
+ "id": 690,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -20050,16 +20386,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 485,
+ "line": 543,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"dereferenced": {
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -20067,7 +20403,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 513,
+ "line": 583,
"character": 12
}
],
@@ -20092,31 +20428,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 548,
- 545,
- 546,
- 547
- ]
+ "children": [691, 688, 689, 690]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 537,
"character": 17
}
]
},
{
- "id": 552,
+ "id": 695,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 553,
+ "id": 696,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -20127,7 +20458,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 500,
+ "line": 558,
"character": 2
}
],
@@ -20137,7 +20468,7 @@
}
},
{
- "id": 556,
+ "id": 699,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -20147,21 +20478,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 563,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 557,
+ "id": 700,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 559,
+ "id": 702,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -20169,12 +20500,18 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site.",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "\n"
+ }
+ ]
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 509,
+ "line": 571,
"character": 4
}
],
@@ -20184,7 +20521,7 @@
}
},
{
- "id": 558,
+ "id": 701,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -20197,7 +20534,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 565,
"character": 4
}
],
@@ -20211,17 +20548,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 559,
- 558
- ]
+ "children": [702, 701]
}
]
}
}
},
{
- "id": 554,
+ "id": 697,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -20232,7 +20566,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 502,
+ "line": 560,
"character": 2
}
],
@@ -20242,7 +20576,7 @@
}
},
{
- "id": 555,
+ "id": 698,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -20253,16 +20587,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 562,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"dereferenced": {
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -20270,7 +20604,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 584,
"character": 12
}
],
@@ -20311,18 +20645,122 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 553,
- 556,
- 554,
- 555
- ]
+ "children": [696, 699, 697, 698]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 498,
+ "line": 556,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 703,
+ "name": "VerifyTokenHashParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 704,
+ "name": "token_hash",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The token hash used in an email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 577,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 705,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 580,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 707,
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 707,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 584,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [704, 705]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 575,
"character": 17
}
]
@@ -20338,7 +20776,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
+ "id": 456,
"name": "AuthResponse"
}
],
@@ -20354,56 +20792,139 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 78
- ]
+ "children": [80]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 82
- ]
+ "children": [84, 85]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 121,
- 141,
- 158,
- 108,
- 208,
- 136,
- 180,
- 138,
- 222,
- 174,
- 124,
- 118,
- 127,
- 115,
- 133,
- 204,
- 112,
- 284,
- 286,
- 161,
- 130
+ 131, 156, 219, 118, 295, 149, 256, 153, 309, 244, 137, 128, 140, 125, 146, 285, 122,
+ 371, 373, 225, 143
]
}
],
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 93,
+ "line": 106,
"character": 21
}
]
},
{
- "id": 397,
+ "id": 420,
+ "name": "NavigatorLockAcquireTimeoutError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 421,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 422,
+ "name": "new NavigatorLockAcquireTimeoutError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 423,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 420,
+ "name": "NavigatorLockAcquireTimeoutError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 424,
+ "name": "isAcquireTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isReadonly": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": true
+ },
+ "defaultValue": "true"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [421]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [424]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 18,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ]
+ },
+ {
+ "id": 539,
"name": "AMREntry",
"kind": 256,
"kindString": "Interface",
@@ -20420,7 +20941,7 @@
},
"children": [
{
- "id": 398,
+ "id": 540,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -20431,7 +20952,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 161,
+ "line": 219,
"character": 2
}
],
@@ -20441,7 +20962,7 @@
}
},
{
- "id": 399,
+ "id": 541,
"name": "timestamp",
"kind": 1024,
"kindString": "Property",
@@ -20452,7 +20973,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 225,
"character": 2
}
],
@@ -20466,29 +20987,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 398,
- 399
- ]
+ "children": [540, 541]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 159,
+ "line": 217,
"character": 17
}
]
},
{
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 598,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -20502,7 +21020,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 296,
+ "line": 354,
"character": 2
}
],
@@ -20512,7 +21030,7 @@
}
},
{
- "id": 459,
+ "id": 601,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -20526,7 +21044,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 380,
"character": 2
}
],
@@ -20536,7 +21054,7 @@
}
},
{
- "id": 462,
+ "id": 604,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -20549,7 +21067,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -20563,7 +21081,7 @@
}
},
{
- "id": 457,
+ "id": 599,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -20577,7 +21095,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 303,
+ "line": 361,
"character": 2
}
],
@@ -20587,7 +21105,7 @@
}
},
{
- "id": 461,
+ "id": 603,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -20601,7 +21119,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -20615,7 +21133,7 @@
}
},
{
- "id": 460,
+ "id": 602,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -20628,7 +21146,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -20642,7 +21160,7 @@
}
},
{
- "id": 463,
+ "id": 605,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -20655,7 +21173,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -20669,7 +21187,7 @@
}
},
{
- "id": 458,
+ "id": 600,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -20683,7 +21201,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 368,
"character": 2
}
],
@@ -20693,7 +21211,7 @@
}
},
{
- "id": 455,
+ "id": 597,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -20707,7 +21225,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 344,
"character": 2
}
],
@@ -20721,23 +21239,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
+ "line": 333,
"character": 17
}
],
@@ -20747,7 +21255,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes"
},
{
@@ -20762,7 +21270,7 @@
]
},
{
- "id": 411,
+ "id": 553,
"name": "Factor",
"kind": 256,
"kindString": "Interface",
@@ -20786,7 +21294,7 @@
},
"children": [
{
- "id": 416,
+ "id": 558,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -20794,7 +21302,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 263,
"character": 2
}
],
@@ -20804,7 +21312,7 @@
}
},
{
- "id": 414,
+ "id": 556,
"name": "factor_type",
"kind": 1024,
"kindString": "Property",
@@ -20815,7 +21323,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 200,
+ "line": 258,
"character": 2
}
],
@@ -20825,7 +21333,7 @@
}
},
{
- "id": 413,
+ "id": 555,
"name": "friendly_name",
"kind": 1024,
"kindString": "Property",
@@ -20838,7 +21346,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 194,
+ "line": 252,
"character": 2
}
],
@@ -20848,7 +21356,7 @@
}
},
{
- "id": 412,
+ "id": 554,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -20859,7 +21367,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 191,
+ "line": 249,
"character": 2
}
],
@@ -20869,7 +21377,7 @@
}
},
{
- "id": 415,
+ "id": 557,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -20880,7 +21388,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 203,
+ "line": 261,
"character": 2
}
],
@@ -20899,7 +21407,7 @@
}
},
{
- "id": 417,
+ "id": 559,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -20907,7 +21415,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 206,
+ "line": 264,
"character": 2
}
],
@@ -20921,33 +21429,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 416,
- 414,
- 413,
- 412,
- 415,
- 417
- ]
+ "children": [558, 556, 555, 554, 557, 559]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 189,
+ "line": 247,
"character": 17
}
]
},
{
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 611,
+ "id": 758,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -20961,7 +21462,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 596,
+ "line": 668,
"character": 2
}
],
@@ -20971,7 +21472,7 @@
}
},
{
- "id": 612,
+ "id": 759,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -20984,7 +21485,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 598,
+ "line": 670,
"character": 2
}
],
@@ -20998,22 +21499,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 611,
- 612
- ]
+ "children": [758, 759]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 590,
+ "line": 662,
"character": 17
}
]
},
{
- "id": 769,
+ "id": 916,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -21029,14 +21527,14 @@
},
"children": [
{
- "id": 773,
+ "id": 920,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 774,
+ "id": 921,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -21056,17 +21554,17 @@
},
"parameters": [
{
- "id": 775,
+ "id": 922,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21082,21 +21580,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 754,
+ "id": 901,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 755,
+ "id": 902,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -21107,7 +21605,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 896,
+ "line": 968,
"character": 2
}
],
@@ -21117,7 +21615,7 @@
}
},
{
- "id": 756,
+ "id": 903,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -21128,7 +21626,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 899,
+ "line": 971,
"character": 2
}
],
@@ -21142,16 +21640,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 755,
- 756
- ]
+ "children": [902, 903]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 45
}
]
@@ -21166,7 +21661,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 744,
+ "id": 891,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -21178,14 +21673,14 @@
]
},
{
- "id": 770,
+ "id": 917,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 771,
+ "id": 918,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -21195,17 +21690,17 @@
},
"parameters": [
{
- "id": 772,
+ "id": 919,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21221,21 +21716,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 767,
+ "id": 914,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 768,
+ "id": 915,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -21246,7 +21741,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 920,
+ "line": 992,
"character": 2
}
],
@@ -21260,15 +21755,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 768
- ]
+ "children": [915]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 44
}
]
@@ -21283,7 +21776,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 757,
+ "id": 904,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -21299,22 +21792,19 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 773,
- 770
- ]
+ "children": [920, 917]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 928,
+ "line": 1000,
"character": 17
}
]
},
{
- "id": 724,
+ "id": 871,
"name": "GoTrueMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -21324,14 +21814,14 @@
},
"children": [
{
- "id": 728,
+ "id": 875,
"name": "challenge",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 729,
+ "id": 876,
"name": "challenge",
"kind": 4096,
"kindString": "Call signature",
@@ -21341,17 +21831,17 @@
},
"parameters": [
{
- "id": 730,
+ "id": 877,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 648,
+ "id": 795,
"name": "MFAChallengeParams",
"dereferenced": {
- "id": 648,
+ "id": 795,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21359,21 +21849,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 649,
+ "id": 796,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 650,
+ "id": 797,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -21384,7 +21874,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 680,
+ "line": 752,
"character": 2
}
],
@@ -21398,15 +21888,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 650
- ]
+ "children": [797]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 33
}
]
@@ -21421,7 +21909,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 692,
+ "id": 839,
"name": "AuthMFAChallengeResponse"
}
],
@@ -21433,14 +21921,14 @@
]
},
{
- "id": 737,
+ "id": 884,
"name": "challengeAndVerify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 738,
+ "id": 885,
"name": "challengeAndVerify",
"kind": 4096,
"kindString": "Call signature",
@@ -21450,17 +21938,17 @@
},
"parameters": [
{
- "id": 739,
+ "id": 886,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 651,
+ "id": 798,
"name": "MFAChallengeAndVerifyParams",
"dereferenced": {
- "id": 651,
+ "id": 798,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21468,21 +21956,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 652,
+ "id": 799,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 654,
+ "id": 801,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -21493,7 +21981,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 687,
+ "line": 759,
"character": 2
}
],
@@ -21503,7 +21991,7 @@
}
},
{
- "id": 653,
+ "id": 800,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -21514,7 +22002,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 685,
+ "line": 757,
"character": 2
}
],
@@ -21528,16 +22016,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 654,
- 653
- ]
+ "children": [801, 800]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 42
}
]
@@ -21552,7 +22037,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 655,
+ "id": 802,
"name": "AuthMFAVerifyResponse"
}
],
@@ -21564,14 +22049,14 @@
]
},
{
- "id": 725,
+ "id": 872,
"name": "enroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 726,
+ "id": 873,
"name": "enroll",
"kind": 4096,
"kindString": "Call signature",
@@ -21582,17 +22067,17 @@
},
"parameters": [
{
- "id": 727,
+ "id": 874,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 635,
+ "id": 782,
"name": "MFAEnrollParams",
"dereferenced": {
- "id": 635,
+ "id": 782,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21600,21 +22085,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 636,
+ "id": 783,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 637,
+ "id": 784,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -21625,7 +22110,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 655,
+ "line": 727,
"character": 2
}
],
@@ -21635,7 +22120,7 @@
}
},
{
- "id": 639,
+ "id": 786,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -21648,7 +22133,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 659,
+ "line": 731,
"character": 2
}
],
@@ -21658,7 +22143,7 @@
}
},
{
- "id": 638,
+ "id": 785,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -21671,7 +22156,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 729,
"character": 2
}
],
@@ -21685,17 +22170,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 637,
- 639,
- 638
- ]
+ "children": [784, 786, 785]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 30
}
]
@@ -21710,7 +22191,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 668,
+ "id": 815,
"name": "AuthMFAEnrollResponse"
}
],
@@ -21722,14 +22203,14 @@
]
},
{
- "id": 742,
+ "id": 889,
"name": "getAuthenticatorAssuranceLevel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 743,
+ "id": 890,
"name": "getAuthenticatorAssuranceLevel",
"kind": 4096,
"kindString": "Call signature",
@@ -21743,7 +22224,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 713,
+ "id": 860,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
}
],
@@ -21755,14 +22236,14 @@
]
},
{
- "id": 740,
+ "id": 887,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 741,
+ "id": 888,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -21789,7 +22270,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 702,
+ "id": 849,
"name": "AuthMFAListFactorsResponse"
}
],
@@ -21801,14 +22282,14 @@
]
},
{
- "id": 734,
+ "id": 881,
"name": "unenroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 735,
+ "id": 882,
"name": "unenroll",
"kind": 4096,
"kindString": "Call signature",
@@ -21818,17 +22299,17 @@
},
"parameters": [
{
- "id": 736,
+ "id": 883,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 640,
+ "id": 787,
"name": "MFAUnenrollParams",
"dereferenced": {
- "id": 640,
+ "id": 787,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21836,21 +22317,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 641,
+ "id": 788,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 642,
+ "id": 789,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -21861,7 +22342,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 664,
+ "line": 736,
"character": 2
}
],
@@ -21875,15 +22356,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 642
- ]
+ "children": [789]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 32
}
]
@@ -21898,7 +22377,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 830,
"name": "AuthMFAUnenrollResponse"
}
],
@@ -21910,14 +22389,14 @@
]
},
{
- "id": 731,
+ "id": 878,
"name": "verify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 732,
+ "id": 879,
"name": "verify",
"kind": 4096,
"kindString": "Call signature",
@@ -21927,17 +22406,17 @@
},
"parameters": [
{
- "id": 733,
+ "id": 880,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 643,
+ "id": 790,
"name": "MFAVerifyParams",
"dereferenced": {
- "id": 643,
+ "id": 790,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21945,21 +22424,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 644,
+ "id": 791,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 646,
+ "id": 793,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -21970,7 +22449,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 672,
+ "line": 744,
"character": 2
}
],
@@ -21980,7 +22459,7 @@
}
},
{
- "id": 647,
+ "id": 794,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -21991,7 +22470,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 747,
"character": 2
}
],
@@ -22001,7 +22480,7 @@
}
},
{
- "id": 645,
+ "id": 792,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -22012,7 +22491,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 669,
+ "line": 741,
"character": 2
}
],
@@ -22026,17 +22505,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 646,
- 647,
- 645
- ]
+ "children": [793, 794, 792]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 30
}
]
@@ -22051,7 +22526,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 655,
+ "id": 802,
"name": "AuthMFAVerifyResponse"
}
],
@@ -22067,34 +22542,26 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 728,
- 737,
- 725,
- 742,
- 740,
- 734,
- 731
- ]
+ "children": [875, 884, 872, 889, 887, 881, 878]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 815,
+ "line": 887,
"character": 17
}
]
},
{
- "id": 388,
+ "id": 530,
"name": "Session",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 391,
+ "id": 533,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -22105,7 +22572,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 134,
+ "line": 192,
"character": 2
}
],
@@ -22115,7 +22582,7 @@
}
},
{
- "id": 394,
+ "id": 536,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -22128,7 +22595,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 146,
+ "line": 204,
"character": 2
}
],
@@ -22138,7 +22605,7 @@
}
},
{
- "id": 393,
+ "id": 535,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -22149,7 +22616,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 142,
+ "line": 200,
"character": 2
}
],
@@ -22159,7 +22626,7 @@
}
},
{
- "id": 390,
+ "id": 532,
"name": "provider_refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -22172,7 +22639,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 130,
+ "line": 188,
"character": 2
}
],
@@ -22191,7 +22658,7 @@
}
},
{
- "id": 389,
+ "id": 531,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
@@ -22204,7 +22671,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 125,
+ "line": 183,
"character": 2
}
],
@@ -22223,7 +22690,7 @@
}
},
{
- "id": 392,
+ "id": 534,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -22234,7 +22701,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 138,
+ "line": 196,
"character": 2
}
],
@@ -22244,7 +22711,7 @@
}
},
{
- "id": 395,
+ "id": 537,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -22252,7 +22719,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 147,
+ "line": 205,
"character": 2
}
],
@@ -22262,7 +22729,7 @@
}
},
{
- "id": 396,
+ "id": 538,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -22270,23 +22737,23 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 148,
+ "line": 206,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User",
"dereferenced": {
- "id": 425,
+ "id": 567,
"name": "User",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 436,
+ "id": 578,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -22296,7 +22763,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 229,
+ "line": 287,
"character": 2
}
],
@@ -22306,7 +22773,7 @@
}
},
{
- "id": 427,
+ "id": 569,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -22314,23 +22781,23 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 220,
+ "line": 278,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 418,
+ "id": 560,
"name": "UserAppMetadata",
"dereferenced": {
- "id": 418,
+ "id": 560,
"name": "UserAppMetadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 419,
+ "id": 561,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -22340,7 +22807,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 210,
+ "line": 268,
"character": 2
}
],
@@ -22354,27 +22821,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 419
- ]
+ "children": [561]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 209,
+ "line": 267,
"character": 17
}
],
"indexSignature": {
- "id": 420,
+ "id": 562,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 421,
+ "id": 563,
"name": "key",
"kind": 32768,
"flags": {},
@@ -22393,7 +22858,7 @@
}
},
{
- "id": 429,
+ "id": 571,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -22401,7 +22866,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 222,
+ "line": 280,
"character": 2
}
],
@@ -22411,7 +22876,7 @@
}
},
{
- "id": 430,
+ "id": 572,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -22421,7 +22886,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 223,
+ "line": 281,
"character": 2
}
],
@@ -22431,7 +22896,7 @@
}
},
{
- "id": 440,
+ "id": 582,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -22441,7 +22906,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 291,
"character": 2
}
],
@@ -22451,7 +22916,7 @@
}
},
{
- "id": 439,
+ "id": 581,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -22459,7 +22924,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 232,
+ "line": 290,
"character": 2
}
],
@@ -22469,7 +22934,7 @@
}
},
{
- "id": 437,
+ "id": 579,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -22479,7 +22944,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 288,
"character": 2
}
],
@@ -22489,7 +22954,7 @@
}
},
{
- "id": 432,
+ "id": 574,
"name": "email_change_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -22499,7 +22964,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 225,
+ "line": 283,
"character": 2
}
],
@@ -22509,7 +22974,7 @@
}
},
{
- "id": 441,
+ "id": 583,
"name": "email_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -22519,7 +22984,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 234,
+ "line": 292,
"character": 2
}
],
@@ -22529,7 +22994,7 @@
}
},
{
- "id": 447,
+ "id": 589,
"name": "factors",
"kind": 1024,
"kindString": "Property",
@@ -22539,7 +23004,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 298,
"character": 2
}
],
@@ -22547,13 +23012,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 411,
+ "id": 553,
"name": "Factor"
}
}
},
{
- "id": 426,
+ "id": 568,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -22561,7 +23026,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 277,
"character": 2
}
],
@@ -22571,7 +23036,7 @@
}
},
{
- "id": 446,
+ "id": 588,
"name": "identities",
"kind": 1024,
"kindString": "Property",
@@ -22581,7 +23046,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 239,
+ "line": 297,
"character": 2
}
],
@@ -22589,13 +23054,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 400,
+ "id": 542,
"name": "UserIdentity"
}
}
},
{
- "id": 435,
+ "id": 577,
"name": "invited_at",
"kind": 1024,
"kindString": "Property",
@@ -22605,7 +23070,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 228,
+ "line": 286,
"character": 2
}
],
@@ -22615,7 +23080,7 @@
}
},
{
- "id": 443,
+ "id": 585,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -22625,7 +23090,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 236,
+ "line": 294,
"character": 2
}
],
@@ -22635,7 +23100,7 @@
}
},
{
- "id": 433,
+ "id": 575,
"name": "new_email",
"kind": 1024,
"kindString": "Property",
@@ -22645,7 +23110,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 226,
+ "line": 284,
"character": 2
}
],
@@ -22655,7 +23120,7 @@
}
},
{
- "id": 434,
+ "id": 576,
"name": "new_phone",
"kind": 1024,
"kindString": "Property",
@@ -22665,7 +23130,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 227,
+ "line": 285,
"character": 2
}
],
@@ -22675,7 +23140,7 @@
}
},
{
- "id": 438,
+ "id": 580,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -22685,7 +23150,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 231,
+ "line": 289,
"character": 2
}
],
@@ -22695,7 +23160,7 @@
}
},
{
- "id": 442,
+ "id": 584,
"name": "phone_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -22705,7 +23170,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 235,
+ "line": 293,
"character": 2
}
],
@@ -22715,7 +23180,7 @@
}
},
{
- "id": 431,
+ "id": 573,
"name": "recovery_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -22725,7 +23190,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 224,
+ "line": 282,
"character": 2
}
],
@@ -22735,7 +23200,7 @@
}
},
{
- "id": 444,
+ "id": 586,
"name": "role",
"kind": 1024,
"kindString": "Property",
@@ -22745,7 +23210,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 295,
"character": 2
}
],
@@ -22755,7 +23220,7 @@
}
},
{
- "id": 445,
+ "id": 587,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -22765,7 +23230,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 296,
"character": 2
}
],
@@ -22775,7 +23240,7 @@
}
},
{
- "id": 428,
+ "id": 570,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -22783,16 +23248,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 221,
+ "line": 279,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 422,
+ "id": 564,
"name": "UserMetadata",
"dereferenced": {
- "id": 422,
+ "id": 564,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -22800,19 +23265,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 214,
+ "line": 272,
"character": 17
}
],
"indexSignature": {
- "id": 423,
+ "id": 565,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 424,
+ "id": 566,
"name": "key",
"kind": 32768,
"flags": {},
@@ -22836,35 +23301,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 436,
- 427,
- 429,
- 430,
- 440,
- 439,
- 437,
- 432,
- 441,
- 447,
- 426,
- 446,
- 435,
- 443,
- 433,
- 434,
- 438,
- 442,
- 431,
- 444,
- 445,
- 428
+ 578, 569, 571, 572, 582, 581, 579, 574, 583, 589, 568, 588, 577, 585, 575,
+ 576, 580, 584, 573, 586, 587, 570
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 218,
+ "line": 276,
"character": 17
}
]
@@ -22876,35 +23321,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 391,
- 394,
- 393,
- 390,
- 389,
- 392,
- 395,
- 396
- ]
+ "children": [533, 536, 535, 532, 531, 534, 537, 538]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 121,
+ "line": 179,
"character": 17
}
]
},
{
- "id": 464,
+ "id": 606,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 465,
+ "id": 607,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -22915,7 +23351,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 329,
+ "line": 387,
"character": 2
}
],
@@ -22925,7 +23361,7 @@
}
},
{
- "id": 466,
+ "id": 608,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -22933,13 +23369,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 333,
+ "line": 391,
"character": 2
}
],
"signatures": [
{
- "id": 467,
+ "id": 609,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -22949,17 +23385,17 @@
},
"parameters": [
{
- "id": 468,
+ "id": 610,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 327,
+ "id": 430,
"name": "AuthChangeEvent",
"dereferenced": {
- "id": 327,
+ "id": 430,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -22967,7 +23403,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 26,
+ "line": 28,
"character": 12
}
],
@@ -22999,7 +23435,7 @@
"value": "USER_UPDATED"
},
{
- "id": 326,
+ "id": 429,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -23007,7 +23443,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 12
}
],
@@ -23022,7 +23458,7 @@
}
},
{
- "id": 469,
+ "id": 611,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -23036,7 +23472,7 @@
},
{
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
}
]
@@ -23051,7 +23487,7 @@
]
},
{
- "id": 470,
+ "id": 612,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -23059,13 +23495,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 337,
+ "line": 395,
"character": 2
}
],
"signatures": [
{
- "id": 471,
+ "id": 613,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -23085,36 +23521,31 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 465
- ]
+ "children": [607]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 466,
- 470
- ]
+ "children": [608, 612]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 383,
"character": 17
}
]
},
{
- "id": 472,
+ "id": 614,
"name": "UpdatableFactorAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 473,
+ "id": 615,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -23122,7 +23553,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 341,
+ "line": 399,
"character": 2
}
],
@@ -23136,28 +23567,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 473
- ]
+ "children": [615]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 340,
+ "line": 398,
"character": 17
}
]
},
{
- "id": 425,
+ "id": 567,
"name": "User",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 436,
+ "id": 578,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -23167,7 +23596,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 229,
+ "line": 287,
"character": 2
}
],
@@ -23177,7 +23606,7 @@
}
},
{
- "id": 427,
+ "id": 569,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -23185,23 +23614,23 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 220,
+ "line": 278,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 418,
+ "id": 560,
"name": "UserAppMetadata",
"dereferenced": {
- "id": 418,
+ "id": 560,
"name": "UserAppMetadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 419,
+ "id": 561,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -23211,7 +23640,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 210,
+ "line": 268,
"character": 2
}
],
@@ -23225,27 +23654,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 419
- ]
+ "children": [561]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 209,
+ "line": 267,
"character": 17
}
],
"indexSignature": {
- "id": 420,
+ "id": 562,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 421,
+ "id": 563,
"name": "key",
"kind": 32768,
"flags": {},
@@ -23264,7 +23691,7 @@
}
},
{
- "id": 429,
+ "id": 571,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -23272,7 +23699,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 222,
+ "line": 280,
"character": 2
}
],
@@ -23282,7 +23709,7 @@
}
},
{
- "id": 430,
+ "id": 572,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -23292,7 +23719,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 223,
+ "line": 281,
"character": 2
}
],
@@ -23302,7 +23729,7 @@
}
},
{
- "id": 440,
+ "id": 582,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -23312,7 +23739,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 291,
"character": 2
}
],
@@ -23322,7 +23749,7 @@
}
},
{
- "id": 439,
+ "id": 581,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -23330,7 +23757,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 232,
+ "line": 290,
"character": 2
}
],
@@ -23340,7 +23767,7 @@
}
},
{
- "id": 437,
+ "id": 579,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -23350,7 +23777,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 288,
"character": 2
}
],
@@ -23360,7 +23787,7 @@
}
},
{
- "id": 432,
+ "id": 574,
"name": "email_change_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -23370,7 +23797,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 225,
+ "line": 283,
"character": 2
}
],
@@ -23380,7 +23807,7 @@
}
},
{
- "id": 441,
+ "id": 583,
"name": "email_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -23390,7 +23817,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 234,
+ "line": 292,
"character": 2
}
],
@@ -23400,7 +23827,7 @@
}
},
{
- "id": 447,
+ "id": 589,
"name": "factors",
"kind": 1024,
"kindString": "Property",
@@ -23410,7 +23837,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 298,
"character": 2
}
],
@@ -23418,13 +23845,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 411,
+ "id": 553,
"name": "Factor"
}
}
},
{
- "id": 426,
+ "id": 568,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -23432,7 +23859,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 277,
"character": 2
}
],
@@ -23442,7 +23869,7 @@
}
},
{
- "id": 446,
+ "id": 588,
"name": "identities",
"kind": 1024,
"kindString": "Property",
@@ -23452,7 +23879,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 239,
+ "line": 297,
"character": 2
}
],
@@ -23460,13 +23887,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 400,
+ "id": 542,
"name": "UserIdentity"
}
}
},
{
- "id": 435,
+ "id": 577,
"name": "invited_at",
"kind": 1024,
"kindString": "Property",
@@ -23476,7 +23903,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 228,
+ "line": 286,
"character": 2
}
],
@@ -23486,7 +23913,542 @@
}
},
{
- "id": 443,
+ "id": 585,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 294,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 575,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 576,
+ "name": "new_phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 285,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 580,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 289,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 584,
+ "name": "phone_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 293,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 573,
+ "name": "recovery_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 282,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 586,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 295,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 587,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 296,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 570,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 279,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 564,
+ "name": "UserMetadata",
+ "dereferenced": {
+ "id": 564,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 272,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 565,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 566,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 578, 569, 571, 572, 582, 581, 579, 574, 583, 589, 568, 588, 577, 585, 575, 576, 580,
+ 584, 573, 586, 587, 570
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 276,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 560,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 561,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 268,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [561]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 267,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 562,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 563,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
+ {
+ "id": 590,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 595,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 330,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 591,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 305,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 594,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The nonce sent for reauthentication if the user's password is to be updated.",
+ "text": "Call reauthenticate() to obtain the nonce first.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 322,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 593,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 315,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 592,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 310,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [595, 591, 594, 593, 592]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 542,
+ "name": "UserIdentity",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 550,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 235,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 543,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 545,
+ "name": "identity_data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 546,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 547,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 548,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 551,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -23506,17 +24468,15 @@
}
},
{
- "id": 433,
- "name": "new_email",
+ "id": 549,
+ "name": "provider",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 226,
+ "line": 234,
"character": 2
}
],
@@ -23526,88 +24486,8 @@
}
},
{
- "id": 434,
- "name": "new_phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 227,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 438,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 231,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 442,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 235,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 431,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 224,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 444,
- "name": "role",
+ "id": 552,
+ "name": "updated_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -23626,488 +24506,7 @@
}
},
{
- "id": 445,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 238,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 428,
- "name": "user_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 422,
- "name": "UserMetadata",
- "dereferenced": {
- "id": 422,
- "name": "UserMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 214,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 423,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 424,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 436,
- 427,
- 429,
- 430,
- 440,
- 439,
- 437,
- 432,
- 441,
- 447,
- 426,
- 446,
- 435,
- 443,
- 433,
- 434,
- 438,
- 442,
- 431,
- 444,
- 445,
- 428
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 218,
- "character": 17
- }
- ]
- },
- {
- "id": 418,
- "name": "UserAppMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 419,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 210,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 419
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 209,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 420,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 421,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 448,
- "name": "UserAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 453,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 272,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 449,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 452,
- "name": "nonce",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The nonce sent for reauthentication if the user's password is to be updated.",
- "text": "Call reauthenticate() to obtain the nonce first.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 264,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 451,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 257,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 450,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 252,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 453,
- 449,
- 452,
- 451,
- 450
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 243,
- "character": 17
- }
- ]
- },
- {
- "id": 400,
- "name": "UserIdentity",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 408,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 177,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 401,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 171,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 403,
- "name": "identity_data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 173,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 404,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 405,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 406,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 409,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 178,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 407,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 176,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 410,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 179,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 402,
+ "id": 544,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -24115,7 +24514,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 230,
"character": 2
}
],
@@ -24129,27 +24528,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 408,
- 401,
- 403,
- 409,
- 407,
- 410,
- 402
- ]
+ "children": [550, 543, 545, 551, 549, 552, 544]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 170,
+ "line": 228,
"character": 17
}
]
},
{
- "id": 422,
+ "id": 564,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -24157,19 +24548,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 214,
+ "line": 272,
"character": 17
}
],
"indexSignature": {
- "id": 423,
+ "id": 565,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 424,
+ "id": 566,
"name": "key",
"kind": 32768,
"flags": {},
@@ -24186,14 +24577,14 @@
}
},
{
- "id": 552,
+ "id": 695,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 553,
+ "id": 696,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -24204,7 +24595,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 500,
+ "line": 558,
"character": 2
}
],
@@ -24214,7 +24605,7 @@
}
},
{
- "id": 556,
+ "id": 699,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -24224,21 +24615,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 563,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 557,
+ "id": 700,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 559,
+ "id": 702,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -24246,12 +24637,18 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site.",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "\n"
+ }
+ ]
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 509,
+ "line": 571,
"character": 4
}
],
@@ -24261,7 +24658,7 @@
}
},
{
- "id": 558,
+ "id": 701,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -24274,7 +24671,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 565,
"character": 4
}
],
@@ -24288,17 +24685,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 559,
- 558
- ]
+ "children": [702, 701]
}
]
}
}
},
{
- "id": 554,
+ "id": 697,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -24309,7 +24703,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 502,
+ "line": 560,
"character": 2
}
],
@@ -24319,7 +24713,7 @@
}
},
{
- "id": 555,
+ "id": 698,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -24330,16 +24724,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 562,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"dereferenced": {
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -24347,7 +24741,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 584,
"character": 12
}
],
@@ -24388,31 +24782,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 553,
- 556,
- 554,
- 555
- ]
+ "children": [696, 699, 697, 698]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 498,
+ "line": 556,
"character": 17
}
]
},
{
- "id": 544,
+ "id": 687,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 548,
+ "id": 691,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -24422,21 +24811,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 544,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 692,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 551,
+ "id": 694,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -24455,7 +24844,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 495,
+ "line": 553,
"character": 4
}
],
@@ -24465,7 +24854,7 @@
}
},
{
- "id": 550,
+ "id": 693,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -24478,7 +24867,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 488,
+ "line": 546,
"character": 4
}
],
@@ -24492,17 +24881,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 551,
- 550
- ]
+ "children": [694, 693]
}
]
}
}
},
{
- "id": 545,
+ "id": 688,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -24513,7 +24899,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 481,
+ "line": 539,
"character": 2
}
],
@@ -24523,7 +24909,7 @@
}
},
{
- "id": 546,
+ "id": 689,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -24534,7 +24920,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 541,
"character": 2
}
],
@@ -24544,7 +24930,7 @@
}
},
{
- "id": 547,
+ "id": 690,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -24555,16 +24941,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 485,
+ "line": 543,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"dereferenced": {
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -24572,7 +24958,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 513,
+ "line": 583,
"character": 12
}
],
@@ -24597,24 +24983,128 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 548,
- 545,
- 546,
- 547
- ]
+ "children": [691, 688, 689, 690]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 537,
"character": 17
}
]
},
{
- "id": 327,
+ "id": 703,
+ "name": "VerifyTokenHashParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 704,
+ "name": "token_hash",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The token hash used in an email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 577,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 705,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 580,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 707,
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 707,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 584,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [704, 705]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 575,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 430,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -24622,7 +25112,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 26,
+ "line": 28,
"character": 12
}
],
@@ -24654,7 +25144,7 @@
"value": "USER_UPDATED"
},
{
- "id": 326,
+ "id": 429,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -24662,7 +25152,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 12
}
],
@@ -24675,7 +25165,7 @@
}
},
{
- "id": 326,
+ "id": 429,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -24683,7 +25173,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 12
}
],
@@ -24693,7 +25183,7 @@
}
},
{
- "id": 522,
+ "id": 664,
"name": "AuthFlowType",
"kind": 4194304,
"kindString": "Type alias",
@@ -24701,7 +25191,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 447,
+ "line": 505,
"character": 12
}
],
@@ -24720,7 +25210,7 @@
}
},
{
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -24736,21 +25226,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 754,
+ "id": 901,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 755,
+ "id": 902,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -24761,7 +25251,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 896,
+ "line": 968,
"character": 2
}
],
@@ -24771,7 +25261,7 @@
}
},
{
- "id": 756,
+ "id": 903,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -24782,7 +25272,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 899,
+ "line": 971,
"character": 2
}
],
@@ -24796,16 +25286,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 755,
- 756
- ]
+ "children": [902, 903]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 45
}
]
@@ -24813,7 +25300,7 @@
}
},
{
- "id": 744,
+ "id": 891,
"name": "AuthMFAAdminDeleteFactorResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -24829,7 +25316,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 881,
+ "line": 953,
"character": 12
}
],
@@ -24839,14 +25326,14 @@
{
"type": "reflection",
"declaration": {
- "id": 745,
+ "id": 892,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 746,
+ "id": 893,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -24854,21 +25341,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 883,
+ "line": 955,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 747,
+ "id": 894,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 748,
+ "id": 895,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -24879,7 +25366,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 885,
+ "line": 957,
"character": 8
}
],
@@ -24893,15 +25380,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 748
- ]
+ "children": [895]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 883,
+ "line": 955,
"character": 12
}
]
@@ -24909,7 +25394,7 @@
}
},
{
- "id": 749,
+ "id": 896,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24917,7 +25402,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 887,
+ "line": 959,
"character": 6
}
],
@@ -24931,16 +25416,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 746,
- 749
- ]
+ "children": [893, 896]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 882,
+ "line": 954,
"character": 4
}
]
@@ -24949,14 +25431,14 @@
{
"type": "reflection",
"declaration": {
- "id": 750,
+ "id": 897,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 751,
+ "id": 898,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -24964,7 +25446,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 889,
+ "line": 961,
"character": 6
}
],
@@ -24974,7 +25456,7 @@
}
},
{
- "id": 752,
+ "id": 899,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24982,13 +25464,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 889,
+ "line": 961,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -24997,16 +25479,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 751,
- 752
- ]
+ "children": [898, 899]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 889,
+ "line": 961,
"character": 4
}
]
@@ -25016,7 +25495,7 @@
}
},
{
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -25032,21 +25511,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 767,
+ "id": 914,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 768,
+ "id": 915,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -25057,7 +25536,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 920,
+ "line": 992,
"character": 2
}
],
@@ -25071,15 +25550,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 768
- ]
+ "children": [915]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 44
}
]
@@ -25087,7 +25564,7 @@
}
},
{
- "id": 757,
+ "id": 904,
"name": "AuthMFAAdminListFactorsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -25103,7 +25580,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 905,
+ "line": 977,
"character": 12
}
],
@@ -25113,14 +25590,14 @@
{
"type": "reflection",
"declaration": {
- "id": 758,
+ "id": 905,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 759,
+ "id": 906,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25128,21 +25605,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 907,
+ "line": 979,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 760,
+ "id": 907,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 761,
+ "id": 908,
"name": "factors",
"kind": 1024,
"kindString": "Property",
@@ -25153,7 +25630,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 909,
+ "line": 981,
"character": 8
}
],
@@ -25161,7 +25638,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 411,
+ "id": 553,
"name": "Factor"
}
}
@@ -25171,15 +25648,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 761
- ]
+ "children": [908]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 907,
+ "line": 979,
"character": 12
}
]
@@ -25187,7 +25662,7 @@
}
},
{
- "id": 762,
+ "id": 909,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -25195,7 +25670,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 911,
+ "line": 983,
"character": 6
}
],
@@ -25209,16 +25684,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 759,
- 762
- ]
+ "children": [906, 909]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 906,
+ "line": 978,
"character": 4
}
]
@@ -25227,14 +25699,14 @@
{
"type": "reflection",
"declaration": {
- "id": 763,
+ "id": 910,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 764,
+ "id": 911,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25242,7 +25714,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 913,
+ "line": 985,
"character": 6
}
],
@@ -25252,7 +25724,7 @@
}
},
{
- "id": 765,
+ "id": 912,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -25260,13 +25732,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 913,
+ "line": 985,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -25275,16 +25747,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 764,
- 765
- ]
+ "children": [911, 912]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 913,
+ "line": 985,
"character": 4
}
]
@@ -25294,7 +25763,7 @@
}
},
{
- "id": 692,
+ "id": 839,
"name": "AuthMFAChallengeResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -25302,7 +25771,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 758,
+ "line": 830,
"character": 12
}
],
@@ -25312,14 +25781,14 @@
{
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 840,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 841,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25327,21 +25796,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 760,
+ "line": 832,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 695,
+ "id": 842,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 697,
+ "id": 844,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -25352,7 +25821,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 765,
+ "line": 837,
"character": 8
}
],
@@ -25362,7 +25831,7 @@
}
},
{
- "id": 696,
+ "id": 843,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -25373,7 +25842,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 762,
+ "line": 834,
"character": 8
}
],
@@ -25387,16 +25856,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 697,
- 696
- ]
+ "children": [844, 843]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 760,
+ "line": 832,
"character": 12
}
]
@@ -25404,7 +25870,7 @@
}
},
{
- "id": 698,
+ "id": 845,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -25412,7 +25878,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 767,
+ "line": 839,
"character": 6
}
],
@@ -25426,16 +25892,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 694,
- 698
- ]
+ "children": [841, 845]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 759,
+ "line": 831,
"character": 4
}
]
@@ -25444,14 +25907,14 @@
{
"type": "reflection",
"declaration": {
- "id": 699,
+ "id": 846,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 700,
+ "id": 847,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25459,7 +25922,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 769,
+ "line": 841,
"character": 6
}
],
@@ -25469,7 +25932,7 @@
}
},
{
- "id": 701,
+ "id": 848,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -25477,13 +25940,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 769,
+ "line": 841,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -25492,16 +25955,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 700,
- 701
- ]
+ "children": [847, 848]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 769,
+ "line": 841,
"character": 4
}
]
@@ -25511,7 +25971,7 @@
}
},
{
- "id": 668,
+ "id": 815,
"name": "AuthMFAEnrollResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -25519,7 +25979,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 787,
"character": 12
}
],
@@ -25529,14 +25989,14 @@
{
"type": "reflection",
"declaration": {
- "id": 669,
+ "id": 816,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 670,
+ "id": 817,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25544,21 +26004,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 717,
+ "line": 789,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 671,
+ "id": 818,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 672,
+ "id": 819,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -25569,7 +26029,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 719,
+ "line": 791,
"character": 8
}
],
@@ -25579,7 +26039,7 @@
}
},
{
- "id": 674,
+ "id": 821,
"name": "totp",
"kind": 1024,
"kindString": "Property",
@@ -25590,21 +26050,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 725,
+ "line": 797,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 675,
+ "id": 822,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 676,
+ "id": 823,
"name": "qr_code",
"kind": 1024,
"kindString": "Property",
@@ -25615,7 +26075,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 729,
+ "line": 801,
"character": 10
}
],
@@ -25625,7 +26085,7 @@
}
},
{
- "id": 677,
+ "id": 824,
"name": "secret",
"kind": 1024,
"kindString": "Property",
@@ -25636,7 +26096,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 734,
+ "line": 806,
"character": 10
}
],
@@ -25646,7 +26106,7 @@
}
},
{
- "id": 678,
+ "id": 825,
"name": "uri",
"kind": 1024,
"kindString": "Property",
@@ -25657,7 +26117,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 738,
+ "line": 810,
"character": 10
}
],
@@ -25671,17 +26131,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 676,
- 677,
- 678
- ]
+ "children": [823, 824, 825]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 725,
+ "line": 797,
"character": 14
}
]
@@ -25689,7 +26145,7 @@
}
},
{
- "id": 673,
+ "id": 820,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -25700,7 +26156,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 722,
+ "line": 794,
"character": 8
}
],
@@ -25714,17 +26170,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 672,
- 674,
- 673
- ]
+ "children": [819, 821, 820]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 717,
+ "line": 789,
"character": 12
}
]
@@ -25732,7 +26184,7 @@
}
},
{
- "id": 679,
+ "id": 826,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -25740,7 +26192,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 741,
+ "line": 813,
"character": 6
}
],
@@ -25754,16 +26206,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 670,
- 679
- ]
+ "children": [817, 826]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 716,
+ "line": 788,
"character": 4
}
]
@@ -25772,14 +26221,14 @@
{
"type": "reflection",
"declaration": {
- "id": 680,
+ "id": 827,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 681,
+ "id": 828,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25787,7 +26236,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 744,
+ "line": 816,
"character": 6
}
],
@@ -25797,7 +26246,7 @@
}
},
{
- "id": 682,
+ "id": 829,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -25805,13 +26254,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 745,
+ "line": 817,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -25820,16 +26269,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 681,
- 682
- ]
+ "children": [828, 829]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 743,
+ "line": 815,
"character": 4
}
]
@@ -25839,7 +26285,7 @@
}
},
{
- "id": 713,
+ "id": 860,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -25847,7 +26293,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 786,
+ "line": 858,
"character": 12
}
],
@@ -25857,14 +26303,14 @@
{
"type": "reflection",
"declaration": {
- "id": 714,
+ "id": 861,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 715,
+ "id": 862,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25872,21 +26318,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 788,
+ "line": 860,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 716,
+ "id": 863,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 719,
+ "id": 866,
"name": "currentAuthenticationMethods",
"kind": 1024,
"kindString": "Property",
@@ -25897,7 +26343,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 805,
+ "line": 877,
"character": 8
}
],
@@ -25905,13 +26351,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 397,
+ "id": 539,
"name": "AMREntry"
}
}
},
{
- "id": 717,
+ "id": 864,
"name": "currentLevel",
"kind": 1024,
"kindString": "Property",
@@ -25922,7 +26368,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 790,
+ "line": 862,
"character": 8
}
],
@@ -25931,7 +26377,7 @@
"types": [
{
"type": "reference",
- "id": 712,
+ "id": 859,
"name": "AuthenticatorAssuranceLevels"
},
{
@@ -25942,7 +26388,7 @@
}
},
{
- "id": 718,
+ "id": 865,
"name": "nextLevel",
"kind": 1024,
"kindString": "Property",
@@ -25959,7 +26405,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 798,
+ "line": 870,
"character": 8
}
],
@@ -25968,7 +26414,7 @@
"types": [
{
"type": "reference",
- "id": 712,
+ "id": 859,
"name": "AuthenticatorAssuranceLevels"
},
{
@@ -25983,17 +26429,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 719,
- 717,
- 718
- ]
+ "children": [866, 864, 865]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 788,
+ "line": 860,
"character": 12
}
]
@@ -26001,7 +26443,7 @@
}
},
{
- "id": 720,
+ "id": 867,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -26009,7 +26451,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 807,
+ "line": 879,
"character": 6
}
],
@@ -26023,16 +26465,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 715,
- 720
- ]
+ "children": [862, 867]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 787,
+ "line": 859,
"character": 4
}
]
@@ -26041,14 +26480,14 @@
{
"type": "reflection",
"declaration": {
- "id": 721,
+ "id": 868,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 722,
+ "id": 869,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -26056,7 +26495,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 809,
+ "line": 881,
"character": 6
}
],
@@ -26066,7 +26505,7 @@
}
},
{
- "id": 723,
+ "id": 870,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -26074,13 +26513,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 809,
+ "line": 881,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -26089,16 +26528,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 722,
- 723
- ]
+ "children": [869, 870]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 809,
+ "line": 881,
"character": 4
}
]
@@ -26108,7 +26544,7 @@
}
},
{
- "id": 702,
+ "id": 849,
"name": "AuthMFAListFactorsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -26116,7 +26552,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 771,
+ "line": 843,
"character": 12
}
],
@@ -26126,14 +26562,14 @@
{
"type": "reflection",
"declaration": {
- "id": 703,
+ "id": 850,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 704,
+ "id": 851,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -26141,21 +26577,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 773,
+ "line": 845,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 705,
+ "id": 852,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 706,
+ "id": 853,
"name": "all",
"kind": 1024,
"kindString": "Property",
@@ -26166,7 +26602,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 775,
+ "line": 847,
"character": 8
}
],
@@ -26174,13 +26610,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 411,
+ "id": 553,
"name": "Factor"
}
}
},
{
- "id": 707,
+ "id": 854,
"name": "totp",
"kind": 1024,
"kindString": "Property",
@@ -26191,7 +26627,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 778,
+ "line": 850,
"character": 8
}
],
@@ -26199,7 +26635,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 411,
+ "id": 553,
"name": "Factor"
}
}
@@ -26209,16 +26645,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 706,
- 707
- ]
+ "children": [853, 854]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 773,
+ "line": 845,
"character": 12
}
]
@@ -26226,7 +26659,466 @@
}
},
{
- "id": 708,
+ "id": 855,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 852,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [851, 855]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 844,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 856,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 857,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 854,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 858,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 854,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [857, 858]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 854,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 830,
+ "name": "AuthMFAUnenrollResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 820,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 831,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 832,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 822,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 833,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 834,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor that was successfully unenrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 824,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [834]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 822,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 835,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 826,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [832, 835]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 821,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 836,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 837,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 828,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 838,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 828,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [837, 838]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 828,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 802,
+ "name": "AuthMFAVerifyResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 762,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 803,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 804,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 764,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 805,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 806,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "New access token (JWT) after successful verification."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 766,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 808,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Number of seconds in which the access token will expire."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 772,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 809,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Refresh token you can use to obtain new access tokens when expired."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 775,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 807,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Type of token, typically `Bearer`."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 769,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 810,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Updated user profile."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 778,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [806, 808, 809, 807, 810]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 764,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 811,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -26248,16 +27140,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 704,
- 708
- ]
+ "children": [804, 811]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 772,
+ "line": 763,
"character": 4
}
]
@@ -26266,14 +27155,14 @@
{
"type": "reflection",
"declaration": {
- "id": 709,
+ "id": 812,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 710,
+ "id": 813,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -26281,7 +27170,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 782,
+ "line": 783,
"character": 6
}
],
@@ -26291,7 +27180,7 @@
}
},
{
- "id": 711,
+ "id": 814,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -26299,13 +27188,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 782,
- "character": 18
+ "line": 784,
+ "character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -26314,10 +27203,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 710,
- 711
- ]
+ "children": [813, 814]
}
],
"sources": [
@@ -26333,15 +27219,19 @@
}
},
{
- "id": 683,
- "name": "AuthMFAUnenrollResponse",
+ "id": 469,
+ "name": "AuthOtpResponse",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
+ "comment": {
+ "shortText": "AuthOtpResponse is returned when OTP is used.",
+ "text": "{@see AuthRsponse}\n"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 748,
+ "line": 104,
"character": 12
}
],
@@ -26351,14 +27241,14 @@
{
"type": "reflection",
"declaration": {
- "id": 684,
+ "id": 470,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 685,
+ "id": 471,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -26366,500 +27256,50 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 750,
+ "line": 106,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 686,
+ "id": 472,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 687,
- "name": "id",
+ "id": 475,
+ "name": "messageId",
"kind": 1024,
"kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor that was successfully unenrolled."
+ "flags": {
+ "isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 752,
- "character": 8
+ "line": 106,
+ "character": 41
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 687
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 750,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 688,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 754,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 685,
- 688
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 749,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 689,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 690,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 756,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 691,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 756,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 690,
- 691
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 756,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 655,
- "name": "AuthMFAVerifyResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 690,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 656,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 657,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 692,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 658,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 659,
- "name": "access_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "New access token (JWT) after successful verification."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 694,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
}
},
{
- "id": 661,
- "name": "expires_in",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Number of seconds in which the access token will expire."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 700,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 662,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Refresh token you can use to obtain new access tokens when expired."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 703,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 660,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Type of token, typically `Bearer`."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 697,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 663,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Updated user profile."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 706,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 425,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 659,
- 661,
- 662,
- 660,
- 663
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 692,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 664,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 708,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 657,
- 664
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 691,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 665,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 666,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 711,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 667,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 712,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 666,
- 667
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 710,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 342,
- "name": "AuthResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 343,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 344,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 345,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 347,
+ "id": 474,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -26867,7 +27307,296 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 60,
+ "line": 106,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 473,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [475, 474, 473]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 476,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 107,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [471, 476]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 105,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 477,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 478,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 479,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 482,
+ "name": "messageId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 41
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 481,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 480,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [482, 481, 480]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 483,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 111,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [478, 483]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 109,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 456,
+ "name": "AuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 83,
+ "character": 12
+ }
+ ],
+ "type": {
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 85,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 459,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 461,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
"character": 8
}
],
@@ -26876,7 +27605,7 @@
"types": [
{
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
},
{
@@ -26887,7 +27616,7 @@
}
},
{
- "id": 346,
+ "id": 460,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -26895,7 +27624,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 59,
+ "line": 86,
"character": 8
}
],
@@ -26904,7 +27633,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User"
},
{
@@ -26919,16 +27648,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 347,
- 346
- ]
+ "children": [461, 460]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 58,
+ "line": 85,
"character": 12
}
]
@@ -26936,7 +27662,7 @@
}
},
{
- "id": 348,
+ "id": 462,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -26944,7 +27670,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 62,
+ "line": 89,
"character": 6
}
],
@@ -26958,16 +27684,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 344,
- 348
- ]
+ "children": [458, 462]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 57,
+ "line": 84,
"character": 4
}
]
@@ -26976,14 +27699,14 @@
{
"type": "reflection",
"declaration": {
- "id": 349,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 350,
+ "id": 464,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -26991,21 +27714,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 65,
+ "line": 92,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 351,
+ "id": 465,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 353,
+ "id": 467,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -27013,7 +27736,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 67,
+ "line": 94,
"character": 8
}
],
@@ -27023,7 +27746,7 @@
}
},
{
- "id": 352,
+ "id": 466,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -27031,7 +27754,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 93,
"character": 8
}
],
@@ -27045,16 +27768,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 353,
- 352
- ]
+ "children": [467, 466]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 65,
+ "line": 92,
"character": 12
}
]
@@ -27062,7 +27782,7 @@
}
},
{
- "id": 354,
+ "id": 468,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -27070,13 +27790,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 69,
+ "line": 96,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -27085,16 +27805,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 350,
- 354
- ]
+ "children": [464, 468]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 64,
+ "line": 91,
"character": 4
}
]
@@ -27104,7 +27821,269 @@
}
},
{
- "id": 712,
+ "id": 484,
+ "name": "AuthTokenResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 114,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 485,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 486,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 116,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 487,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 489,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 118,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 530,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 488,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 117,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [489, 488]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 116,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 490,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 120,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [486, 490]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 115,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 491,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 492,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 123,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 493,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 495,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 125,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 494,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 124,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [495, 494]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 123,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 496,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 127,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [492, 496]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 122,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 859,
"name": "AuthenticatorAssuranceLevels",
"kind": 4194304,
"kindString": "Type alias",
@@ -27112,7 +28091,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 784,
+ "line": 856,
"character": 12
}
],
@@ -27131,7 +28110,7 @@
}
},
{
- "id": 780,
+ "id": 927,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -27139,7 +28118,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 959,
+ "line": 1031,
"character": 12
}
],
@@ -27149,14 +28128,14 @@
{
"type": "reflection",
"declaration": {
- "id": 781,
+ "id": 928,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 783,
+ "id": 930,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -27164,7 +28143,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 962,
+ "line": 1034,
"character": 6
}
],
@@ -27174,7 +28153,7 @@
}
},
{
- "id": 782,
+ "id": 929,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -27182,13 +28161,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 961,
+ "line": 1033,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
}
}
@@ -27197,16 +28176,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 783,
- 782
- ]
+ "children": [930, 929]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 960,
+ "line": 1032,
"character": 4
}
]
@@ -27215,14 +28191,14 @@
{
"type": "reflection",
"declaration": {
- "id": 784,
+ "id": 931,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 786,
+ "id": 933,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -27230,18 +28206,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 966,
+ "line": 1038,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
},
{
- "id": 785,
+ "id": 932,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -27249,7 +28225,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 965,
+ "line": 1037,
"character": 6
}
],
@@ -27263,16 +28239,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 786,
- 785
- ]
+ "children": [933, 932]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 964,
+ "line": 1036,
"character": 4
}
]
@@ -27282,7 +28255,7 @@
}
},
{
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -27290,7 +28263,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 584,
"character": 12
}
],
@@ -27325,7 +28298,7 @@
}
},
{
- "id": 604,
+ "id": 751,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -27333,21 +28306,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 605,
+ "id": 752,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 607,
+ "id": 754,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -27358,7 +28331,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 582,
+ "line": 654,
"character": 2
}
],
@@ -27368,7 +28341,7 @@
}
},
{
- "id": 608,
+ "id": 755,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -27379,7 +28352,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 658,
"character": 2
}
],
@@ -27389,7 +28362,7 @@
}
},
{
- "id": 609,
+ "id": 756,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -27399,7 +28372,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 587,
+ "line": 659,
"character": 2
}
],
@@ -27408,7 +28381,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -27422,7 +28395,7 @@
}
},
{
- "id": 606,
+ "id": 753,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -27430,7 +28403,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 652,
"character": 2
}
],
@@ -27453,18 +28426,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 607,
- 608,
- 609,
- 606
- ]
+ "children": [754, 755, 756, 753]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 44
}
]
@@ -27472,7 +28440,7 @@
}
},
{
- "id": 594,
+ "id": 741,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -27480,21 +28448,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 742,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 597,
+ "id": 744,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -27505,7 +28473,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 568,
+ "line": 640,
"character": 2
}
],
@@ -27515,7 +28483,7 @@
}
},
{
- "id": 598,
+ "id": 745,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -27525,7 +28493,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 569,
+ "line": 641,
"character": 2
}
],
@@ -27534,7 +28502,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -27557,7 +28525,7 @@
}
},
{
- "id": 596,
+ "id": 743,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -27565,7 +28533,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 638,
"character": 2
}
],
@@ -27588,17 +28556,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 597,
- 598,
- 596
- ]
+ "children": [744, 745, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 46
}
]
@@ -27606,7 +28570,7 @@
}
},
{
- "id": 613,
+ "id": 760,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -27614,7 +28578,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 673,
"character": 12
}
],
@@ -27622,7 +28586,7 @@
"type": "union",
"types": [
{
- "id": 588,
+ "id": 735,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -27630,21 +28594,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 591,
+ "id": 738,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -27652,7 +28616,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 560,
+ "line": 632,
"character": 2
}
],
@@ -27662,7 +28626,7 @@
}
},
{
- "id": 593,
+ "id": 740,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -27672,7 +28636,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 634,
"character": 2
}
],
@@ -27681,7 +28645,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -27704,7 +28668,7 @@
}
},
{
- "id": 592,
+ "id": 739,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -27712,7 +28676,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 633,
"character": 2
}
],
@@ -27722,7 +28686,7 @@
}
},
{
- "id": 590,
+ "id": 737,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -27730,7 +28694,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 631,
"character": 2
}
],
@@ -27744,18 +28708,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 591,
- 593,
- 592,
- 590
- ]
+ "children": [738, 740, 739, 737]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 39
}
]
@@ -27763,7 +28722,7 @@
}
},
{
- "id": 594,
+ "id": 741,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -27771,21 +28730,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 742,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 597,
+ "id": 744,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -27796,7 +28755,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 568,
+ "line": 640,
"character": 2
}
],
@@ -27806,7 +28765,7 @@
}
},
{
- "id": 598,
+ "id": 745,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -27816,7 +28775,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 569,
+ "line": 641,
"character": 2
}
],
@@ -27825,7 +28784,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -27848,7 +28807,7 @@
}
},
{
- "id": 596,
+ "id": 743,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -27856,7 +28815,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 638,
"character": 2
}
],
@@ -27879,17 +28838,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 597,
- 598,
- 596
- ]
+ "children": [744, 745, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 46
}
]
@@ -27897,7 +28852,7 @@
}
},
{
- "id": 599,
+ "id": 746,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -27905,21 +28860,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 600,
+ "id": 747,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 602,
+ "id": 749,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -27930,7 +28885,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 647,
"character": 2
}
],
@@ -27940,7 +28895,7 @@
}
},
{
- "id": 603,
+ "id": 750,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -27950,7 +28905,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 576,
+ "line": 648,
"character": 2
}
],
@@ -27959,7 +28914,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -27973,7 +28928,7 @@
}
},
{
- "id": 601,
+ "id": 748,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -27981,7 +28936,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 573,
+ "line": 645,
"character": 2
}
],
@@ -27995,17 +28950,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 602,
- 603,
- 601
- ]
+ "children": [749, 750, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 41
}
]
@@ -28013,7 +28964,7 @@
}
},
{
- "id": 604,
+ "id": 751,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -28021,21 +28972,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 605,
+ "id": 752,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 607,
+ "id": 754,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -28046,7 +28997,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 582,
+ "line": 654,
"character": 2
}
],
@@ -28056,7 +29007,7 @@
}
},
{
- "id": 608,
+ "id": 755,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -28067,7 +29018,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 658,
"character": 2
}
],
@@ -28077,7 +29028,7 @@
}
},
{
- "id": 609,
+ "id": 756,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -28087,7 +29038,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 587,
+ "line": 659,
"character": 2
}
],
@@ -28096,7 +29047,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -28110,7 +29061,7 @@
}
},
{
- "id": 606,
+ "id": 753,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -28118,7 +29069,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 652,
"character": 2
}
],
@@ -28141,18 +29092,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 607,
- 608,
- 609,
- 606
- ]
+ "children": [754, 755, 756, 753]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 44
}
]
@@ -28163,7 +29109,7 @@
}
},
{
- "id": 627,
+ "id": 774,
"name": "GenerateLinkProperties",
"kind": 4194304,
"kindString": "Type alias",
@@ -28174,21 +29120,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 696,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 628,
+ "id": 775,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 629,
+ "id": 776,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -28199,7 +29145,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 701,
"character": 2
}
],
@@ -28209,7 +29155,7 @@
}
},
{
- "id": 630,
+ "id": 777,
"name": "email_otp",
"kind": 1024,
"kindString": "Property",
@@ -28220,7 +29166,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 634,
+ "line": 706,
"character": 2
}
],
@@ -28230,7 +29176,7 @@
}
},
{
- "id": 631,
+ "id": 778,
"name": "hashed_token",
"kind": 1024,
"kindString": "Property",
@@ -28241,7 +29187,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 638,
+ "line": 710,
"character": 2
}
],
@@ -28251,7 +29197,7 @@
}
},
{
- "id": 632,
+ "id": 779,
"name": "redirect_to",
"kind": 1024,
"kindString": "Property",
@@ -28262,7 +29208,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 640,
+ "line": 712,
"character": 2
}
],
@@ -28272,7 +29218,7 @@
}
},
{
- "id": 633,
+ "id": 780,
"name": "verification_type",
"kind": 1024,
"kindString": "Property",
@@ -28283,16 +29229,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 642,
+ "line": 714,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 634,
+ "id": 781,
"name": "GenerateLinkType",
"dereferenced": {
- "id": 634,
+ "id": 781,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -28300,7 +29246,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 645,
+ "line": 717,
"character": 12
}
],
@@ -28341,19 +29287,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 629,
- 630,
- 631,
- 632,
- 633
- ]
+ "children": [776, 777, 778, 779, 780]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 696,
"character": 37
}
]
@@ -28361,7 +29301,7 @@
}
},
{
- "id": 614,
+ "id": 761,
"name": "GenerateLinkResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -28369,7 +29309,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 607,
+ "line": 679,
"character": 12
}
],
@@ -28379,14 +29319,14 @@
{
"type": "reflection",
"declaration": {
- "id": 615,
+ "id": 762,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 616,
+ "id": 763,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -28394,21 +29334,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 609,
+ "line": 681,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 617,
+ "id": 764,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 618,
+ "id": 765,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -28416,18 +29356,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 682,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 627,
+ "id": 774,
"name": "GenerateLinkProperties"
}
},
{
- "id": 619,
+ "id": 766,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -28435,13 +29375,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 611,
+ "line": 683,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User"
}
}
@@ -28450,16 +29390,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 618,
- 619
- ]
+ "children": [765, 766]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 609,
+ "line": 681,
"character": 12
}
]
@@ -28467,7 +29404,7 @@
}
},
{
- "id": 620,
+ "id": 767,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -28475,7 +29412,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 685,
"character": 6
}
],
@@ -28489,16 +29426,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 616,
- 620
- ]
+ "children": [763, 767]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 680,
"character": 4
}
]
@@ -28507,14 +29441,14 @@
{
"type": "reflection",
"declaration": {
- "id": 621,
+ "id": 768,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 622,
+ "id": 769,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -28522,21 +29456,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 616,
+ "line": 688,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 623,
+ "id": 770,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 624,
+ "id": 771,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -28544,7 +29478,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 617,
+ "line": 689,
"character": 8
}
],
@@ -28554,7 +29488,7 @@
}
},
{
- "id": 625,
+ "id": 772,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -28562,7 +29496,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 618,
+ "line": 690,
"character": 8
}
],
@@ -28576,16 +29510,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 624,
- 625
- ]
+ "children": [771, 772]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 616,
+ "line": 688,
"character": 12
}
]
@@ -28593,7 +29524,7 @@
}
},
{
- "id": 626,
+ "id": 773,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -28601,13 +29532,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 620,
+ "line": 692,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -28616,16 +29547,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 622,
- 626
- ]
+ "children": [769, 773]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 615,
+ "line": 687,
"character": 4
}
]
@@ -28635,7 +29563,7 @@
}
},
{
- "id": 634,
+ "id": 781,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -28643,7 +29571,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 645,
+ "line": 717,
"character": 12
}
],
@@ -28678,7 +29606,7 @@
}
},
{
- "id": 599,
+ "id": 746,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -28686,21 +29614,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 600,
+ "id": 747,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 602,
+ "id": 749,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -28711,7 +29639,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 647,
"character": 2
}
],
@@ -28721,7 +29649,7 @@
}
},
{
- "id": 603,
+ "id": 750,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -28731,7 +29659,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 576,
+ "line": 648,
"character": 2
}
],
@@ -28740,7 +29668,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -28754,7 +29682,7 @@
}
},
{
- "id": 601,
+ "id": 748,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -28762,7 +29690,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 573,
+ "line": 645,
"character": 2
}
],
@@ -28776,17 +29704,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 602,
- 603,
- 601
- ]
+ "children": [749, 750, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 41
}
]
@@ -28794,7 +29718,7 @@
}
},
{
- "id": 588,
+ "id": 735,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -28802,21 +29726,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 591,
+ "id": 738,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -28824,7 +29748,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 560,
+ "line": 632,
"character": 2
}
],
@@ -28834,7 +29758,7 @@
}
},
{
- "id": 593,
+ "id": 740,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -28844,7 +29768,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 634,
"character": 2
}
],
@@ -28853,7 +29777,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -28876,7 +29800,7 @@
}
},
{
- "id": 592,
+ "id": 739,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -28884,7 +29808,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 633,
"character": 2
}
],
@@ -28894,7 +29818,7 @@
}
},
{
- "id": 590,
+ "id": 737,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -28902,7 +29826,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 631,
"character": 2
}
],
@@ -28916,18 +29840,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 591,
- 593,
- 592,
- 590
- ]
+ "children": [738, 740, 739, 737]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 39
}
]
@@ -28935,7 +29854,7 @@
}
},
{
- "id": 328,
+ "id": 440,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -28943,21 +29862,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 54,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 329,
+ "id": 441,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 337,
+ "id": 449,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -28967,7 +29886,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 45,
+ "line": 64,
"character": 2
}
],
@@ -28977,7 +29896,27 @@
}
},
{
- "id": 336,
+ "id": 454,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 448,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -28987,7 +29926,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 43,
+ "line": 62,
"character": 2
}
],
@@ -28997,7 +29936,7 @@
}
},
{
- "id": 340,
+ "id": 452,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -29007,7 +29946,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 70,
"character": 2
}
],
@@ -29017,7 +29956,7 @@
}
},
{
- "id": 341,
+ "id": 453,
"name": "flowType",
"kind": 1024,
"kindString": "Property",
@@ -29027,16 +29966,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 53,
+ "line": 72,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 522,
+ "id": 664,
"name": "AuthFlowType",
"dereferenced": {
- "id": 522,
+ "id": 664,
"name": "AuthFlowType",
"kind": 4194304,
"kindString": "Type alias",
@@ -29044,7 +29983,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 447,
+ "line": 505,
"character": 12
}
],
@@ -29065,7 +30004,7 @@
}
},
{
- "id": 331,
+ "id": 443,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -29075,14 +30014,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 58,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 444,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -29090,19 +30029,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 58,
"character": 12
}
],
"indexSignature": {
- "id": 333,
+ "id": 445,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 334,
+ "id": 446,
"name": "key",
"kind": 32768,
"flags": {},
@@ -29121,7 +30060,187 @@
}
},
{
- "id": 338,
+ "id": 455,
+ "name": "lock",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Provide your own locking mechanism based on the environment. By default no locking is done at this time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 431,
+ "name": "LockFunc",
+ "dereferenced": {
+ "id": 431,
+ "name": "LockFunc",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 433,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n`fn` async function, such that no other client instances will be able to\nhold it at the same time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 439,
+ "name": "R",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 434,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Name of the lock to be acquired."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "acquireTimeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If negative, no timeout should occur. If positive it\n should throw an Error with an `isAcquireTimeout`\n property set to true if the operation fails to be\n acquired after this much time (ms)."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 436,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operation to execute when the lock is acquired.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 437,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 69
+ }
+ ],
+ "signatures": [
+ {
+ "id": 438,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 450,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -29131,7 +30250,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 66,
"character": 2
}
],
@@ -29141,7 +30260,7 @@
}
},
{
- "id": 339,
+ "id": 451,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -29151,16 +30270,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 68,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 776,
+ "id": 923,
"name": "SupportedStorage",
"dereferenced": {
- "id": 776,
+ "id": 923,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -29168,7 +30287,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 955,
+ "line": 1027,
"character": 12
}
],
@@ -29213,7 +30332,7 @@
}
},
{
- "id": 335,
+ "id": 447,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -29223,7 +30342,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 60,
"character": 2
}
],
@@ -29233,7 +30352,7 @@
}
},
{
- "id": 330,
+ "id": 442,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -29243,7 +30362,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 37,
+ "line": 56,
"character": 2
}
],
@@ -29257,23 +30376,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 337,
- 336,
- 340,
- 341,
- 331,
- 338,
- 339,
- 335,
- 330
- ]
+ "children": [449, 454, 448, 452, 453, 443, 455, 450, 451, 447, 442]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 54,
"character": 34
}
]
@@ -29281,7 +30390,7 @@
}
},
{
- "id": 777,
+ "id": 924,
"name": "InitializeResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -29289,21 +30398,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 957,
+ "line": 1029,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 778,
+ "id": 925,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 779,
+ "id": 926,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -29311,7 +30420,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 957,
+ "line": 1029,
"character": 33
}
],
@@ -29320,7 +30429,7 @@
"types": [
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
},
{
@@ -29335,15 +30444,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 779
- ]
+ "children": [926]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 957,
+ "line": 1029,
"character": 31
}
]
@@ -29351,7 +30458,157 @@
}
},
{
- "id": 651,
+ "id": 431,
+ "name": "LockFunc",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 433,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n`fn` async function, such that no other client instances will be able to\nhold it at the same time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 439,
+ "name": "R",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 434,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Name of the lock to be acquired."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "acquireTimeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If negative, no timeout should occur. If positive it\n should throw an Error with an `isAcquireTimeout`\n property set to true if the operation fails to be\n acquired after this much time (ms)."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 436,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operation to execute when the lock is acquired.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 437,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 69
+ }
+ ],
+ "signatures": [
+ {
+ "id": 438,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 798,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -29359,21 +30616,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 652,
+ "id": 799,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 654,
+ "id": 801,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -29384,7 +30641,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 687,
+ "line": 759,
"character": 2
}
],
@@ -29394,7 +30651,7 @@
}
},
{
- "id": 653,
+ "id": 800,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -29405,7 +30662,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 685,
+ "line": 757,
"character": 2
}
],
@@ -29419,16 +30676,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 654,
- 653
- ]
+ "children": [801, 800]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 42
}
]
@@ -29436,7 +30690,7 @@
}
},
{
- "id": 648,
+ "id": 795,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -29444,21 +30698,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 649,
+ "id": 796,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 650,
+ "id": 797,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -29469,7 +30723,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 680,
+ "line": 752,
"character": 2
}
],
@@ -29483,15 +30737,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 650
- ]
+ "children": [797]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 33
}
]
@@ -29499,7 +30751,7 @@
}
},
{
- "id": 635,
+ "id": 782,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -29507,21 +30759,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 636,
+ "id": 783,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 637,
+ "id": 784,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -29532,7 +30784,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 655,
+ "line": 727,
"character": 2
}
],
@@ -29542,7 +30794,7 @@
}
},
{
- "id": 639,
+ "id": 786,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -29555,7 +30807,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 659,
+ "line": 731,
"character": 2
}
],
@@ -29565,7 +30817,7 @@
}
},
{
- "id": 638,
+ "id": 785,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -29578,7 +30830,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 729,
"character": 2
}
],
@@ -29592,17 +30844,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 637,
- 639,
- 638
- ]
+ "children": [784, 786, 785]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 30
}
]
@@ -29610,7 +30858,7 @@
}
},
{
- "id": 640,
+ "id": 787,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -29618,21 +30866,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 641,
+ "id": 788,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 642,
+ "id": 789,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -29643,7 +30891,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 664,
+ "line": 736,
"character": 2
}
],
@@ -29657,15 +30905,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 642
- ]
+ "children": [789]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 32
}
]
@@ -29673,7 +30919,7 @@
}
},
{
- "id": 643,
+ "id": 790,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -29681,21 +30927,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 644,
+ "id": 791,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 646,
+ "id": 793,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -29706,7 +30952,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 672,
+ "line": 744,
"character": 2
}
],
@@ -29716,7 +30962,7 @@
}
},
{
- "id": 647,
+ "id": 794,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -29727,7 +30973,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 747,
"character": 2
}
],
@@ -29737,7 +30983,7 @@
}
},
{
- "id": 645,
+ "id": 792,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -29748,7 +30994,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 669,
+ "line": 741,
"character": 2
}
],
@@ -29762,17 +31008,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 646,
- 647,
- 645
- ]
+ "children": [793, 794, 792]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 30
}
]
@@ -29780,7 +31022,7 @@
}
},
{
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -29788,7 +31030,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 513,
+ "line": 583,
"character": 12
}
],
@@ -29807,7 +31049,7 @@
}
},
{
- "id": 355,
+ "id": 497,
"name": "OAuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -29815,7 +31057,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
+ "line": 130,
"character": 12
}
],
@@ -29825,14 +31067,14 @@
{
"type": "reflection",
"declaration": {
- "id": 356,
+ "id": 498,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 499,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -29840,21 +31082,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 74,
+ "line": 132,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 358,
+ "id": 500,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 359,
+ "id": 501,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -29862,18 +31104,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 75,
+ "line": 133,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 325,
+ "id": 428,
"name": "Provider"
}
},
{
- "id": 360,
+ "id": 502,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -29881,7 +31123,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 134,
"character": 8
}
],
@@ -29895,16 +31137,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 359,
- 360
- ]
+ "children": [501, 502]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 74,
+ "line": 132,
"character": 12
}
]
@@ -29912,7 +31151,7 @@
}
},
{
- "id": 361,
+ "id": 503,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -29920,7 +31159,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 78,
+ "line": 136,
"character": 6
}
],
@@ -29934,16 +31173,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 357,
- 361
- ]
+ "children": [499, 503]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 131,
"character": 4
}
]
@@ -29952,14 +31188,14 @@
{
"type": "reflection",
"declaration": {
- "id": 362,
+ "id": 504,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 363,
+ "id": 505,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -29967,21 +31203,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 81,
+ "line": 139,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 364,
+ "id": 506,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 365,
+ "id": 507,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -29989,18 +31225,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 82,
+ "line": 140,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 325,
+ "id": 428,
"name": "Provider"
}
},
{
- "id": 366,
+ "id": 508,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -30008,7 +31244,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 83,
+ "line": 141,
"character": 8
}
],
@@ -30022,16 +31258,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 365,
- 366
- ]
+ "children": [507, 508]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 81,
+ "line": 139,
"character": 12
}
]
@@ -30039,7 +31272,7 @@
}
},
{
- "id": 367,
+ "id": 509,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -30047,13 +31280,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 85,
+ "line": 143,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -30062,16 +31295,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 363,
- 367
- ]
+ "children": [505, 509]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 138,
"character": 4
}
]
@@ -30081,7 +31311,7 @@
}
},
{
- "id": 794,
+ "id": 941,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -30089,21 +31319,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 795,
+ "id": 942,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 796,
+ "id": 943,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -30116,7 +31346,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 978,
+ "line": 1050,
"character": 2
}
],
@@ -30126,7 +31356,7 @@
}
},
{
- "id": 797,
+ "id": 944,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -30139,7 +31369,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 980,
+ "line": 1052,
"character": 2
}
],
@@ -30153,16 +31383,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 796,
- 797
- ]
+ "children": [943, 944]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 25
}
]
@@ -30170,7 +31397,7 @@
}
},
{
- "id": 787,
+ "id": 934,
"name": "Pagination",
"kind": 4194304,
"kindString": "Type alias",
@@ -30178,21 +31405,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 969,
+ "line": 1041,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 788,
+ "id": 935,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 790,
+ "id": 937,
"name": "lastPage",
"kind": 1024,
"kindString": "Property",
@@ -30200,7 +31427,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 972,
+ "line": 1044,
"character": 2
}
],
@@ -30210,7 +31437,7 @@
}
},
{
- "id": 789,
+ "id": 936,
"name": "nextPage",
"kind": 1024,
"kindString": "Property",
@@ -30218,7 +31445,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 971,
+ "line": 1043,
"character": 2
}
],
@@ -30237,7 +31464,7 @@
}
},
{
- "id": 791,
+ "id": 938,
"name": "total",
"kind": 1024,
"kindString": "Property",
@@ -30245,7 +31472,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 973,
+ "line": 1045,
"character": 2
}
],
@@ -30259,29 +31486,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 790,
- 789,
- 791
- ]
+ "children": [937, 936, 938]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 969,
+ "line": 1041,
"character": 25
}
],
"indexSignature": {
- "id": 792,
+ "id": 939,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 793,
+ "id": 940,
"name": "key",
"kind": 32768,
"flags": {},
@@ -30300,7 +31523,7 @@
}
},
{
- "id": 325,
+ "id": 428,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -30338,6 +31561,10 @@
"type": "literal",
"value": "facebook"
},
+ {
+ "type": "literal",
+ "value": "figma"
+ },
{
"type": "literal",
"value": "github"
@@ -30350,6 +31577,10 @@
"type": "literal",
"value": "google"
},
+ {
+ "type": "literal",
+ "value": "kakao"
+ },
{
"type": "literal",
"value": "keycloak"
@@ -30390,7 +31621,7 @@
}
},
{
- "id": 562,
+ "id": 708,
"name": "ResendParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -30398,7 +31629,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 516,
+ "line": 586,
"character": 12
}
],
@@ -30408,14 +31639,14 @@
{
"type": "reflection",
"declaration": {
- "id": 563,
+ "id": 709,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 565,
+ "id": 711,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -30423,7 +31654,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 589,
"character": 6
}
],
@@ -30433,7 +31664,7 @@
}
},
{
- "id": 566,
+ "id": 712,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -30443,21 +31674,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 520,
+ "line": 590,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 567,
+ "id": 713,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 568,
+ "id": 715,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -30470,7 +31701,30 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 594,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 714,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 592,
"character": 8
}
],
@@ -30484,15 +31738,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 568
- ]
+ "children": [715, 714]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 520,
+ "line": 590,
"character": 16
}
]
@@ -30500,7 +31752,7 @@
}
},
{
- "id": 564,
+ "id": 710,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -30508,7 +31760,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 588,
"character": 6
}
],
@@ -30517,7 +31769,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 561,
+ "id": 707,
"name": "EmailOtpType"
},
{
@@ -30544,17 +31796,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 565,
- 566,
- 564
- ]
+ "children": [711, 712, 710]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 517,
+ "line": 587,
"character": 4
}
]
@@ -30563,14 +31811,14 @@
{
"type": "reflection",
"declaration": {
- "id": 569,
+ "id": 716,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 572,
+ "id": 719,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -30580,21 +31828,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 600,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 573,
+ "id": 720,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 574,
+ "id": 721,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -30607,7 +31855,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 530,
+ "line": 602,
"character": 8
}
],
@@ -30621,15 +31869,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 574
- ]
+ "children": [721]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 600,
"character": 16
}
]
@@ -30637,7 +31883,7 @@
}
},
{
- "id": 571,
+ "id": 718,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -30645,7 +31891,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 527,
+ "line": 599,
"character": 6
}
],
@@ -30655,7 +31901,7 @@
}
},
{
- "id": 570,
+ "id": 717,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -30663,7 +31909,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 598,
"character": 6
}
],
@@ -30672,7 +31918,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 560,
+ "id": 706,
"name": "MobileOtpType"
},
{
@@ -30699,17 +31945,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 572,
- 571,
- 570
- ]
+ "children": [719, 718, 717]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 597,
"character": 4
}
]
@@ -30719,7 +31961,7 @@
}
},
{
- "id": 368,
+ "id": 510,
"name": "SSOResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -30727,7 +31969,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 88,
+ "line": 146,
"character": 12
}
],
@@ -30737,14 +31979,14 @@
{
"type": "reflection",
"declaration": {
- "id": 369,
+ "id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 370,
+ "id": 512,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -30752,21 +31994,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 90,
+ "line": 148,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 371,
+ "id": 513,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 372,
+ "id": 514,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -30778,7 +32020,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 98,
+ "line": 156,
"character": 8
}
],
@@ -30792,15 +32034,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 372
- ]
+ "children": [514]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 90,
+ "line": 148,
"character": 12
}
]
@@ -30808,7 +32048,7 @@
}
},
{
- "id": 373,
+ "id": 515,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -30816,7 +32056,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 100,
+ "line": 158,
"character": 6
}
],
@@ -30830,16 +32070,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 370,
- 373
- ]
+ "children": [512, 515]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 89,
+ "line": 147,
"character": 4
}
]
@@ -30848,14 +32085,14 @@
{
"type": "reflection",
"declaration": {
- "id": 374,
+ "id": 516,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 517,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -30863,7 +32100,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 103,
+ "line": 161,
"character": 6
}
],
@@ -30873,7 +32110,7 @@
}
},
{
- "id": 376,
+ "id": 518,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -30881,13 +32118,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 104,
+ "line": 162,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -30896,16 +32133,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 375,
- 376
- ]
+ "children": [517, 518]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 160,
"character": 4
}
]
@@ -30915,7 +32149,7 @@
}
},
{
- "id": 535,
+ "id": 677,
"name": "SignInWithIdTokenCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -30923,34 +32157,34 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 463,
+ "line": 521,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 536,
+ "id": 678,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 539,
- "name": "nonce",
+ "id": 681,
+ "name": "access_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "If the ID token contains a `nonce`, then the hash of this value is compared to the value in the ID token."
+ "shortText": "If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 471,
+ "line": 527,
"character": 2
}
],
@@ -30960,7 +32194,30 @@
}
},
{
- "id": 540,
+ "id": 682,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 529,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 683,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -30970,21 +32227,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 530,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 541,
+ "id": 684,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 542,
+ "id": 685,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -30997,7 +32254,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 532,
"character": 4
}
],
@@ -31011,15 +32268,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 542
- ]
+ "children": [685]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 530,
"character": 12
}
]
@@ -31027,18 +32282,18 @@
}
},
{
- "id": 537,
+ "id": 679,
"name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "Only Apple and Google ID tokens are supported for use from within iOS or Android applications."
+ "shortText": "Provider name or OIDC `iss` value identifying which provider should be used to verify the provided token. Supported names: `google`, `apple`, `azure`, `facebook`, `keycloak` (deprecated)."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 467,
+ "line": 523,
"character": 2
}
],
@@ -31052,23 +32307,35 @@
{
"type": "literal",
"value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
}
]
}
},
{
- "id": 538,
+ "id": 680,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID token issued by Apple or Google."
+ "shortText": "OIDC ID token issued by the specified provider. The `iss` claim in the ID token must match the supplied provider. Some ID tokens contain an `at_hash` which require that you provide an `access_token` value to be accepted properly. If the token contains a `nonce` claim you must supply the nonce used to obtain the ID token."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 469,
+ "line": 525,
"character": 2
}
],
@@ -31082,18 +32349,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 539,
- 540,
- 537,
- 538
- ]
+ "children": [681, 682, 683, 679, 680]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 463,
+ "line": 521,
"character": 43
}
]
@@ -31101,7 +32363,7 @@
}
},
{
- "id": 523,
+ "id": 665,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -31109,21 +32371,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 506,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 524,
+ "id": 666,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 526,
+ "id": 668,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -31133,21 +32395,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 509,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 527,
+ "id": 669,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 672,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -31160,14 +32422,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 457,
+ "line": 515,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 531,
+ "id": 673,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31175,19 +32437,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 457,
+ "line": 515,
"character": 18
}
],
"indexSignature": {
- "id": 532,
+ "id": 674,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 533,
+ "id": 675,
"name": "key",
"kind": 32768,
"flags": {},
@@ -31206,7 +32468,7 @@
}
},
{
- "id": 528,
+ "id": 670,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -31219,7 +32481,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 511,
"character": 4
}
],
@@ -31229,7 +32491,7 @@
}
},
{
- "id": 529,
+ "id": 671,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -31242,7 +32504,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 513,
"character": 4
}
],
@@ -31252,7 +32514,7 @@
}
},
{
- "id": 534,
+ "id": 676,
"name": "skipBrowserRedirect",
"kind": 1024,
"kindString": "Property",
@@ -31265,7 +32527,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 459,
+ "line": 517,
"character": 4
}
],
@@ -31279,18 +32541,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 530,
- 528,
- 529,
- 534
- ]
+ "children": [672, 670, 671, 676]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 509,
"character": 12
}
]
@@ -31298,7 +32555,7 @@
}
},
{
- "id": 525,
+ "id": 667,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -31309,16 +32566,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 450,
+ "line": 508,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 325,
+ "id": 428,
"name": "Provider",
"dereferenced": {
- "id": 325,
+ "id": 428,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -31356,6 +32613,10 @@
"type": "literal",
"value": "facebook"
},
+ {
+ "type": "literal",
+ "value": "figma"
+ },
{
"type": "literal",
"value": "github"
@@ -31368,6 +32629,10 @@
"type": "literal",
"value": "google"
},
+ {
+ "type": "literal",
+ "value": "kakao"
+ },
{
"type": "literal",
"value": "keycloak"
@@ -31414,16 +32679,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 526,
- 525
- ]
+ "children": [668, 667]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 506,
"character": 41
}
]
@@ -31431,7 +32693,7 @@
}
},
{
- "id": 491,
+ "id": 633,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -31439,7 +32701,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 439,
"character": 12
}
],
@@ -31449,14 +32711,14 @@
{
"type": "reflection",
"declaration": {
- "id": 492,
+ "id": 634,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "id": 635,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -31467,7 +32729,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 384,
+ "line": 442,
"character": 6
}
],
@@ -31477,7 +32739,7 @@
}
},
{
- "id": 495,
+ "id": 637,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -31487,21 +32749,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 387,
+ "line": 445,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 496,
+ "id": 638,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 497,
+ "id": 639,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -31514,7 +32776,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 389,
+ "line": 447,
"character": 8
}
],
@@ -31528,15 +32790,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 497
- ]
+ "children": [639]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 387,
+ "line": 445,
"character": 16
}
]
@@ -31544,7 +32804,7 @@
}
},
{
- "id": 494,
+ "id": 636,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -31555,7 +32815,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 444,
"character": 6
}
],
@@ -31569,17 +32829,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 495,
- 494
- ]
+ "children": [635, 637, 636]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 382,
+ "line": 440,
"character": 4
}
]
@@ -31588,14 +32844,14 @@
{
"type": "reflection",
"declaration": {
- "id": 498,
+ "id": 640,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 501,
+ "id": 643,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -31605,21 +32861,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 455,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 502,
+ "id": 644,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 504,
+ "id": 646,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -31632,7 +32888,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 405,
+ "line": 463,
"character": 8
}
],
@@ -31642,7 +32898,7 @@
}
},
{
- "id": 503,
+ "id": 645,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -31656,7 +32912,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 403,
+ "line": 461,
"character": 8
}
],
@@ -31670,16 +32926,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 504,
- 503
- ]
+ "children": [646, 645]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 455,
"character": 16
}
]
@@ -31687,7 +32940,7 @@
}
},
{
- "id": 500,
+ "id": 642,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -31698,7 +32951,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 396,
+ "line": 454,
"character": 6
}
],
@@ -31708,7 +32961,7 @@
}
},
{
- "id": 499,
+ "id": 641,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -31719,7 +32972,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 394,
+ "line": 452,
"character": 6
}
],
@@ -31733,17 +32986,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 501,
- 500,
- 499
- ]
+ "children": [643, 642, 641]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 450,
"character": 4
}
]
@@ -31753,7 +33002,7 @@
}
},
{
- "id": 505,
+ "id": 647,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -31761,7 +33010,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 409,
+ "line": 467,
"character": 12
}
],
@@ -31771,14 +33020,14 @@
{
"type": "reflection",
"declaration": {
- "id": 506,
+ "id": 648,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 507,
+ "id": 649,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -31789,7 +33038,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 412,
+ "line": 470,
"character": 6
}
],
@@ -31799,7 +33048,7 @@
}
},
{
- "id": 508,
+ "id": 650,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -31809,21 +33058,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 471,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 509,
+ "id": 651,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 513,
+ "id": 655,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -31836,7 +33085,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 425,
+ "line": 483,
"character": 8
}
],
@@ -31846,7 +33095,7 @@
}
},
{
- "id": 512,
+ "id": 654,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -31860,7 +33109,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 423,
+ "line": 481,
"character": 8
}
],
@@ -31870,7 +33119,7 @@
}
},
{
- "id": 510,
+ "id": 652,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -31883,7 +33132,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 415,
+ "line": 473,
"character": 8
}
],
@@ -31893,7 +33142,7 @@
}
},
{
- "id": 511,
+ "id": 653,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -31906,7 +33155,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 417,
+ "line": 475,
"character": 8
}
],
@@ -31920,18 +33169,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 513,
- 512,
- 510,
- 511
- ]
+ "children": [655, 654, 652, 653]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 471,
"character": 16
}
]
@@ -31943,16 +33187,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 507,
- 508
- ]
+ "children": [649, 650]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 410,
+ "line": 468,
"character": 4
}
]
@@ -31961,14 +33202,14 @@
{
"type": "reflection",
"declaration": {
- "id": 514,
+ "id": 656,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 516,
+ "id": 658,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -31978,21 +33219,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 431,
+ "line": 489,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 517,
+ "id": 659,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 520,
+ "id": 662,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -32005,7 +33246,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 441,
+ "line": 499,
"character": 8
}
],
@@ -32015,7 +33256,7 @@
}
},
{
- "id": 521,
+ "id": 663,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -32028,7 +33269,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 443,
+ "line": 501,
"character": 8
}
],
@@ -32047,7 +33288,7 @@
}
},
{
- "id": 519,
+ "id": 661,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -32061,7 +33302,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 439,
+ "line": 497,
"character": 8
}
],
@@ -32071,7 +33312,7 @@
}
},
{
- "id": 518,
+ "id": 660,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -32084,7 +33325,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 491,
"character": 8
}
],
@@ -32098,18 +33339,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 520,
- 521,
- 519,
- 518
- ]
+ "children": [662, 663, 661, 660]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 431,
+ "line": 489,
"character": 16
}
]
@@ -32117,7 +33353,7 @@
}
},
{
- "id": 515,
+ "id": 657,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -32128,7 +33364,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 430,
+ "line": 488,
"character": 6
}
],
@@ -32142,16 +33378,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 516,
- 515
- ]
+ "children": [658, 657]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 428,
+ "line": 486,
"character": 4
}
]
@@ -32161,7 +33394,7 @@
}
},
{
- "id": 575,
+ "id": 722,
"name": "SignInWithSSO",
"kind": 4194304,
"kindString": "Type alias",
@@ -32169,7 +33402,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 534,
+ "line": 606,
"character": 12
}
],
@@ -32179,14 +33412,14 @@
{
"type": "reflection",
"declaration": {
- "id": 576,
+ "id": 723,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 578,
+ "id": 725,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -32196,21 +33429,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 539,
+ "line": 611,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 579,
+ "id": 726,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 728,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -32223,7 +33456,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 543,
+ "line": 615,
"character": 8
}
],
@@ -32233,7 +33466,7 @@
}
},
{
- "id": 580,
+ "id": 727,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -32246,7 +33479,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 541,
+ "line": 613,
"character": 8
}
],
@@ -32260,16 +33493,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 581,
- 580
- ]
+ "children": [728, 727]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 539,
+ "line": 611,
"character": 16
}
]
@@ -32277,7 +33507,7 @@
}
},
{
- "id": 577,
+ "id": 724,
"name": "providerId",
"kind": 1024,
"kindString": "Property",
@@ -32288,7 +33518,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 537,
+ "line": 609,
"character": 6
}
],
@@ -32302,16 +33532,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 578,
- 577
- ]
+ "children": [725, 724]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 535,
+ "line": 607,
"character": 4
}
]
@@ -32320,14 +33547,14 @@
{
"type": "reflection",
"declaration": {
- "id": 582,
+ "id": 729,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 583,
+ "id": 730,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -32338,7 +33565,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 548,
+ "line": 620,
"character": 6
}
],
@@ -32348,7 +33575,7 @@
}
},
{
- "id": 584,
+ "id": 731,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -32358,21 +33585,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 550,
+ "line": 622,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 585,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 587,
+ "id": 734,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -32385,7 +33612,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 554,
+ "line": 626,
"character": 8
}
],
@@ -32395,7 +33622,7 @@
}
},
{
- "id": 586,
+ "id": 733,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -32408,7 +33635,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 552,
+ "line": 624,
"character": 8
}
],
@@ -32422,16 +33649,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 587,
- 586
- ]
+ "children": [734, 733]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 550,
+ "line": 622,
"character": 16
}
]
@@ -32443,16 +33667,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 583,
- 584
- ]
+ "children": [730, 731]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 546,
+ "line": 618,
"character": 4
}
]
@@ -32462,7 +33683,83 @@
}
},
{
- "id": 474,
+ "id": 945,
+ "name": "SignOut",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1055,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 946,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 947,
+ "name": "scope",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines which sessions should be\nlogged out. Global means all\nsessions by this account. Local\nmeans only this session. Others\nmeans all other sessions except the\ncurrent one. When using others,\nthere is no sign-out event fired on\nthe current session!"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1066,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [947]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1055,
+ "character": 22
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 616,
"name": "SignUpWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -32470,7 +33767,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 344,
+ "line": 402,
"character": 12
}
],
@@ -32480,14 +33777,14 @@
{
"type": "reflection",
"declaration": {
- "id": 475,
+ "id": 617,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 476,
+ "id": 618,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -32498,7 +33795,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 347,
+ "line": 405,
"character": 6
}
],
@@ -32508,7 +33805,7 @@
}
},
{
- "id": 478,
+ "id": 620,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -32518,21 +33815,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 408,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 479,
+ "id": 621,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 482,
+ "id": 624,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -32545,7 +33842,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 360,
+ "line": 418,
"character": 8
}
],
@@ -32555,7 +33852,7 @@
}
},
{
- "id": 481,
+ "id": 623,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -32569,7 +33866,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 358,
+ "line": 416,
"character": 8
}
],
@@ -32579,7 +33876,7 @@
}
},
{
- "id": 480,
+ "id": 622,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -32592,7 +33889,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 410,
"character": 8
}
],
@@ -32606,17 +33903,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 482,
- 481,
- 480
- ]
+ "children": [624, 623, 622]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 408,
"character": 16
}
]
@@ -32624,7 +33917,7 @@
}
},
{
- "id": 477,
+ "id": 619,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -32635,7 +33928,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 349,
+ "line": 407,
"character": 6
}
],
@@ -32649,17 +33942,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 476,
- 478,
- 477
- ]
+ "children": [618, 620, 619]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 345,
+ "line": 403,
"character": 4
}
]
@@ -32668,14 +33957,14 @@
{
"type": "reflection",
"declaration": {
- "id": 483,
+ "id": 625,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 486,
+ "id": 628,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -32685,21 +33974,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 426,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 629,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 489,
+ "id": 631,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -32712,7 +34001,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 434,
"character": 8
}
],
@@ -32722,7 +34011,7 @@
}
},
{
- "id": 490,
+ "id": 632,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -32735,7 +34024,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 436,
"character": 8
}
],
@@ -32754,7 +34043,7 @@
}
},
{
- "id": 488,
+ "id": 630,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -32768,7 +34057,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 374,
+ "line": 432,
"character": 8
}
],
@@ -32782,17 +34071,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 489,
- 490,
- 488
- ]
+ "children": [631, 632, 630]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 426,
"character": 16
}
]
@@ -32800,7 +34085,7 @@
}
},
{
- "id": 485,
+ "id": 627,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -32811,7 +34096,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 367,
+ "line": 425,
"character": 6
}
],
@@ -32821,7 +34106,7 @@
}
},
{
- "id": 484,
+ "id": 626,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -32832,7 +34117,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 365,
+ "line": 423,
"character": 6
}
],
@@ -32846,17 +34131,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 486,
- 485,
- 484
- ]
+ "children": [628, 627, 626]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 363,
+ "line": 421,
"character": 4
}
]
@@ -32866,7 +34147,7 @@
}
},
{
- "id": 776,
+ "id": 923,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -32874,7 +34155,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 955,
+ "line": 1027,
"character": 12
}
],
@@ -32917,7 +34198,7 @@
}
},
{
- "id": 377,
+ "id": 519,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -32925,7 +34206,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 107,
+ "line": 165,
"character": 12
}
],
@@ -32935,14 +34216,14 @@
{
"type": "reflection",
"declaration": {
- "id": 378,
+ "id": 520,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 379,
+ "id": 521,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -32950,21 +34231,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 109,
+ "line": 167,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 380,
+ "id": 522,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 381,
+ "id": 523,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -32972,13 +34253,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 110,
+ "line": 168,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User"
}
}
@@ -32987,15 +34268,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 381
- ]
+ "children": [523]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 109,
+ "line": 167,
"character": 12
}
]
@@ -33003,7 +34282,7 @@
}
},
{
- "id": 382,
+ "id": 524,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -33011,7 +34290,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 112,
+ "line": 170,
"character": 6
}
],
@@ -33025,16 +34304,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 379,
- 382
- ]
+ "children": [521, 524]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 108,
+ "line": 166,
"character": 4
}
]
@@ -33043,14 +34319,14 @@
{
"type": "reflection",
"declaration": {
- "id": 383,
+ "id": 525,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 384,
+ "id": 526,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -33058,21 +34334,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 115,
+ "line": 173,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 386,
+ "id": 528,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -33080,7 +34356,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 116,
+ "line": 174,
"character": 8
}
],
@@ -33094,15 +34370,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 386
- ]
+ "children": [528]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 115,
+ "line": 173,
"character": 12
}
]
@@ -33110,7 +34384,7 @@
}
},
{
- "id": 387,
+ "id": 529,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -33118,13 +34392,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 118,
+ "line": 176,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -33133,16 +34407,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 384,
- 387
- ]
+ "children": [526, 529]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 114,
+ "line": 172,
"character": 4
}
]
@@ -33152,7 +34423,7 @@
}
},
{
- "id": 543,
+ "id": 686,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -33160,7 +34431,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 478,
+ "line": 536,
"character": 12
}
],
@@ -33168,14 +34439,14 @@
"type": "union",
"types": [
{
- "id": 544,
+ "id": 687,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 548,
+ "id": 691,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -33185,21 +34456,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 544,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 692,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 551,
+ "id": 694,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -33218,7 +34489,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 495,
+ "line": 553,
"character": 4
}
],
@@ -33228,7 +34499,7 @@
}
},
{
- "id": 550,
+ "id": 693,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -33241,7 +34512,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 488,
+ "line": 546,
"character": 4
}
],
@@ -33255,17 +34526,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 551,
- 550
- ]
+ "children": [694, 693]
}
]
}
}
},
{
- "id": 545,
+ "id": 688,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -33276,7 +34544,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 481,
+ "line": 539,
"character": 2
}
],
@@ -33286,7 +34554,7 @@
}
},
{
- "id": 546,
+ "id": 689,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -33297,7 +34565,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 541,
"character": 2
}
],
@@ -33307,7 +34575,7 @@
}
},
{
- "id": 547,
+ "id": 690,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -33318,16 +34586,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 485,
+ "line": 543,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"dereferenced": {
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -33335,7 +34603,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 513,
+ "line": 583,
"character": 12
}
],
@@ -33360,31 +34628,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 548,
- 545,
- 546,
- 547
- ]
+ "children": [691, 688, 689, 690]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 537,
"character": 17
}
]
},
{
- "id": 552,
+ "id": 695,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 553,
+ "id": 696,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -33395,7 +34658,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 500,
+ "line": 558,
"character": 2
}
],
@@ -33405,7 +34668,7 @@
}
},
{
- "id": 556,
+ "id": 699,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -33415,21 +34678,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 563,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 557,
+ "id": 700,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 559,
+ "id": 702,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -33437,12 +34700,18 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site.",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "\n"
+ }
+ ]
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 509,
+ "line": 571,
"character": 4
}
],
@@ -33452,7 +34721,7 @@
}
},
{
- "id": 558,
+ "id": 701,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -33465,7 +34734,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 565,
"character": 4
}
],
@@ -33479,17 +34748,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 559,
- 558
- ]
+ "children": [702, 701]
}
]
}
}
},
{
- "id": 554,
+ "id": 697,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -33500,7 +34766,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 502,
+ "line": 560,
"character": 2
}
],
@@ -33510,7 +34776,7 @@
}
},
{
- "id": 555,
+ "id": 698,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -33521,16 +34787,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 562,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"dereferenced": {
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -33538,7 +34804,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 584,
"character": 12
}
],
@@ -33579,18 +34845,122 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 553,
- 556,
- 554,
- 555
- ]
+ "children": [696, 699, 697, 698]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 498,
+ "line": 556,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 703,
+ "name": "VerifyTokenHashParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 704,
+ "name": "token_hash",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The token hash used in an email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 577,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 705,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 580,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 707,
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 707,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 584,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [704, 705]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 575,
"character": 17
}
]
@@ -33599,7 +34969,78 @@
}
},
{
- "id": 801,
+ "id": 425,
+ "name": "lockInternals",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isConst": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 6,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 426,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 427,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 10,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "!!(\n globalThis &&\n supportsLocalStorage() &&\n globalThis.localStorage &&\n globalThis.localStorage.getItem('supabase.gotrue-js.locks.debug') === 'true'\n )"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [427]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 951,
"name": "isAuthApiError",
"kind": 64,
"kindString": "Function",
@@ -33613,14 +35054,14 @@
],
"signatures": [
{
- "id": 802,
+ "id": 952,
"name": "isAuthApiError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 803,
+ "id": 953,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -33637,7 +35078,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 811,
+ "id": 964,
"name": "AuthApiError"
}
}
@@ -33645,7 +35086,7 @@
]
},
{
- "id": 798,
+ "id": 948,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -33659,14 +35100,14 @@
],
"signatures": [
{
- "id": 799,
+ "id": 949,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 800,
+ "id": 950,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -33683,115 +35124,218 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
}
]
+ },
+ {
+ "id": 954,
+ "name": "isAuthRetryableFetchError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 124,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 955,
+ "name": "isAuthRetryableFetchError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 956,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 1087,
+ "name": "AuthRetryableFetchError"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 412,
+ "name": "navigatorLock",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 53,
+ "character": 22
+ }
+ ],
+ "signatures": [
+ {
+ "id": 413,
+ "name": "navigatorLock",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Implements a global exclusive lock using the Navigator LockManager API. It\nis available on all browsers released after 2022-03-15 with Safari being the\nlast one to release support. If the API is not available, this function will\nthrow. Make sure you check availablility before configuring {@link\nGoTrueClient}.",
+ "text": "You can turn on debugging by setting the `supabase.gotrue-js.locks.debug`\nlocal storage item to `true`.\n\nInternals:\n\nSince the LockManager API does not preserve stack traces for the async\nfunction passed in the `request` method, a trick is used where acquiring the\nlock releases a previously started promise to run the operation in the `fn`\nfunction. The lock waits for that promise to finish (with or without error),\nwhile the function will finally wait for the result anyway.\n",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 414,
+ "name": "R",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 415,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Name of the lock to be acquired."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 416,
+ "name": "acquireTimeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has `isAcquireTimeout` set to true."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 417,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operation to run once the lock is acquired.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 418,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 419,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 414,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 414,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
- "children": [
- 811,
- 804,
- 872,
- 859,
- 897,
- 922,
- 847,
- 824,
- 832,
- 1,
- 77
- ]
+ "children": [964, 957, 1037, 1024, 1012, 1062, 1087, 1000, 977, 985, 1, 78, 420]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
- 397,
- 454,
- 411,
- 610,
- 769,
- 724,
- 388,
- 464,
- 472,
- 425,
- 418,
- 448,
- 400,
- 422,
- 552,
- 544
+ 539, 596, 553, 757, 916, 871, 530, 606, 614, 567, 560, 590, 542, 564, 695, 687, 703
]
},
{
"title": "Type Aliases",
"kind": 4194304,
"children": [
- 327,
- 326,
- 522,
- 753,
- 744,
- 766,
- 757,
- 692,
- 668,
- 713,
- 702,
- 683,
- 655,
- 342,
- 712,
- 780,
- 561,
- 604,
- 594,
- 613,
- 627,
- 614,
- 634,
- 599,
- 588,
- 328,
- 777,
- 651,
- 648,
- 635,
- 640,
- 643,
- 560,
- 355,
- 794,
- 787,
- 325,
- 562,
- 368,
- 535,
- 523,
- 491,
- 505,
- 575,
- 474,
- 776,
- 377,
- 543
+ 430, 429, 664, 900, 891, 913, 904, 839, 815, 860, 849, 830, 802, 469, 456, 484, 859,
+ 927, 707, 751, 741, 760, 774, 761, 781, 746, 735, 440, 924, 431, 798, 795, 782, 787,
+ 790, 706, 497, 941, 934, 428, 708, 510, 677, 665, 633, 647, 722, 945, 616, 923, 519, 686
]
},
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [425]
+ },
{
"title": "Functions",
"kind": 64,
- "children": [
- 801,
- 798
- ]
+ "children": [951, 948, 954, 412]
}
],
"sources": [
@@ -33811,7 +35355,7 @@
"originalName": "",
"children": [
{
- "id": 536,
+ "id": 568,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -33820,7 +35364,7 @@
},
"children": [
{
- "id": 537,
+ "id": 569,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -33834,14 +35378,14 @@
],
"signatures": [
{
- "id": 538,
+ "id": 570,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 539,
+ "id": 571,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -33850,24 +35394,24 @@
],
"parameters": [
{
- "id": 540,
+ "id": 572,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 536,
+ "id": 568,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -33879,32 +35423,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 537
- ]
+ "children": [569]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 545,
- 548,
- 543,
- 553,
- 541,
- 544,
- 546,
- 547,
- 542
- ]
+ "children": [577, 580, 575, 585, 573, 576, 578, 579, 574]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 556,
- 554
- ]
+ "children": [588, 586]
}
],
"sources": [
@@ -33916,7 +35445,7 @@
],
"typeParameter": [
{
- "id": 568,
+ "id": 600,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -33926,7 +35455,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 437,
+ "id": 467,
"name": "PostgrestTransformBuilder"
}
],
@@ -33936,11 +35465,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -33958,11 +35487,11 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -33972,7 +35501,7 @@
]
},
{
- "id": 545,
+ "id": 577,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -33993,7 +35522,7 @@
}
},
{
- "id": 548,
+ "id": 580,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -34010,21 +35539,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 581,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 550,
+ "id": 582,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 551,
+ "id": 583,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -34048,7 +35577,7 @@
}
},
{
- "id": 552,
+ "id": 584,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -34083,7 +35612,7 @@
}
},
{
- "id": 543,
+ "id": 575,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -34115,7 +35644,7 @@
}
},
{
- "id": 553,
+ "id": 585,
"name": "isMaybeSingle",
"kind": 1024,
"kindString": "Property",
@@ -34135,7 +35664,7 @@
}
},
{
- "id": 541,
+ "id": 573,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -34176,7 +35705,7 @@
}
},
{
- "id": 544,
+ "id": 576,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -34197,7 +35726,7 @@
}
},
{
- "id": 546,
+ "id": 578,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -34218,7 +35747,7 @@
"defaultValue": "false"
},
{
- "id": 547,
+ "id": 579,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -34241,7 +35770,7 @@
}
},
{
- "id": 542,
+ "id": 574,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -34263,7 +35792,7 @@
}
},
{
- "id": 556,
+ "id": 588,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -34277,25 +35806,25 @@
],
"signatures": [
{
- "id": 557,
+ "id": 589,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 558,
+ "id": 590,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -34303,7 +35832,7 @@
}
},
{
- "id": 559,
+ "id": 591,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -34316,7 +35845,7 @@
],
"parameters": [
{
- "id": 560,
+ "id": 592,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -34333,32 +35862,32 @@
{
"type": "reflection",
"declaration": {
- "id": 561,
+ "id": 593,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 562,
+ "id": 594,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 563,
+ "id": 595,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -34371,7 +35900,7 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
@@ -34379,7 +35908,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
}
],
@@ -34397,7 +35926,7 @@
}
},
{
- "id": 564,
+ "id": 596,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -34414,21 +35943,21 @@
{
"type": "reflection",
"declaration": {
- "id": 565,
+ "id": 597,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 566,
+ "id": 598,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 567,
+ "id": 599,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -34444,7 +35973,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
},
{
@@ -34452,7 +35981,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
],
@@ -34478,12 +36007,12 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
]
@@ -34505,7 +36034,7 @@
}
},
{
- "id": 554,
+ "id": 586,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -34519,7 +36048,7 @@
],
"signatures": [
{
- "id": 555,
+ "id": 587,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -34530,11 +36059,11 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -34548,32 +36077,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 537
- ]
+ "children": [569]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 545,
- 548,
- 543,
- 553,
- 541,
- 544,
- 546,
- 547,
- 542
- ]
+ "children": [577, 580, 575, 585, 573, 576, 578, 579, 574]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 556,
- 554
- ]
+ "children": [588, 586]
}
],
"sources": [
@@ -34585,7 +36099,7 @@
],
"typeParameter": [
{
- "id": 568,
+ "id": 600,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -34595,7 +36109,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 437,
+ "id": 467,
"name": "PostgrestTransformBuilder"
}
],
@@ -34605,11 +36119,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -34955,11 +36469,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 12,
- 10,
- 11
- ]
+ "children": [12, 10, 11]
}
]
}
@@ -35114,7 +36624,7 @@
},
{
"id": 19,
- "name": "schema",
+ "name": "schemaName",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -35219,7 +36729,7 @@
],
"type": {
"type": "reference",
- "id": 49,
+ "id": 57,
"typeArguments": [
{
"type": "reference",
@@ -35230,13 +36740,66 @@
"type": "reference",
"id": 28,
"name": "Table"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 28,
+ "name": "Table"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 30,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 31,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [31]
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"name": "default"
}
},
{
- "id": 30,
+ "id": 32,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -35246,7 +36809,7 @@
},
"typeParameter": [
{
- "id": 31,
+ "id": 33,
"name": "ViewName",
"kind": 131072,
"kindString": "Type parameter",
@@ -35257,7 +36820,7 @@
}
},
{
- "id": 32,
+ "id": 34,
"name": "View",
"kind": 131072,
"kindString": "Type parameter",
@@ -35270,7 +36833,7 @@
],
"parameters": [
{
- "id": 33,
+ "id": 35,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
@@ -35280,7 +36843,7 @@
},
"type": {
"type": "reference",
- "id": 31,
+ "id": 33,
"name": "ViewName",
"dereferenced": {}
}
@@ -35288,7 +36851,7 @@
],
"type": {
"type": "reference",
- "id": 49,
+ "id": 57,
"typeArguments": [
{
"type": "reference",
@@ -35297,15 +36860,68 @@
},
{
"type": "reference",
- "id": 32,
+ "id": 34,
"name": "View"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 34,
+ "name": "View"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [37]
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"name": "default"
}
},
{
- "id": 34,
+ "id": 38,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -35315,7 +36931,7 @@
},
"parameters": [
{
- "id": 35,
+ "id": 39,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
@@ -35331,7 +36947,7 @@
],
"type": {
"type": "reference",
- "id": 49,
+ "id": 57,
"typeArguments": [
{
"type": "reference",
@@ -35341,6 +36957,10 @@
{
"type": "intrinsic",
"name": "any"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
}
],
"name": "default"
@@ -35349,7 +36969,7 @@
]
},
{
- "id": 36,
+ "id": 44,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -35357,13 +36977,13 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 102,
+ "line": 127,
"character": 2
}
],
"signatures": [
{
- "id": 37,
+ "id": 45,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -35373,7 +36993,7 @@
},
"typeParameter": [
{
- "id": 38,
+ "id": 46,
"name": "FunctionName",
"kind": 131072,
"kindString": "Type parameter",
@@ -35384,7 +37004,7 @@
}
},
{
- "id": 39,
+ "id": 47,
"name": "Function_",
"kind": 131072,
"kindString": "Type parameter",
@@ -35397,7 +37017,7 @@
],
"parameters": [
{
- "id": 40,
+ "id": 48,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -35407,13 +37027,13 @@
},
"type": {
"type": "reference",
- "id": 38,
+ "id": 46,
"name": "FunctionName",
"dereferenced": {}
}
},
{
- "id": 41,
+ "id": 49,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
@@ -35429,14 +37049,14 @@
},
"objectType": {
"type": "reference",
- "id": 39,
+ "id": 47,
"name": "Function_"
}
},
"defaultValue": "{}"
},
{
- "id": 42,
+ "id": 50,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -35448,14 +37068,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 43,
+ "id": 51,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 45,
+ "id": 53,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -35468,7 +37088,7 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 113,
+ "line": 138,
"character": 6
}
],
@@ -35491,7 +37111,7 @@
}
},
{
- "id": 44,
+ "id": 52,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -35504,7 +37124,7 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 112,
+ "line": 137,
"character": 6
}
],
@@ -35518,10 +37138,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 45,
- 44
- ]
+ "children": [53, 52]
}
]
}
@@ -35531,7 +37148,7 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
@@ -35548,7 +37165,7 @@
},
"objectType": {
"type": "reference",
- "id": 39,
+ "id": 47,
"name": "Function_"
}
},
@@ -35624,9 +37241,123 @@
},
"objectType": {
"type": "reference",
- "id": 39,
+ "id": 47,
"name": "Function_"
}
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "schema",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 41,
+ "name": "schema",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Select a schema to query or perform an function (rpc) call.",
+ "text": "The schema needs to be on the list of exposed schemas inside Supabase.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 42,
+ "name": "DynamicSchema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 43,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The schema to query\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 42,
+ "name": "DynamicSchema",
+ "dereferenced": {}
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 42,
+ "name": "DynamicSchema"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 42,
+ "name": "DynamicSchema"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
}
],
"name": "default"
@@ -35639,27 +37370,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 2
- ]
+ "children": [2]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 20,
- 18,
- 19,
- 17
- ]
+ "children": [20, 18, 19, 17]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 25,
- 36
- ]
+ "children": [25, 44, 40]
}
],
"sources": [
@@ -35671,7 +37392,7 @@
],
"typeParameter": [
{
- "id": 46,
+ "id": 54,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -35685,7 +37406,7 @@
}
},
{
- "id": 47,
+ "id": 55,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -35751,7 +37472,7 @@
}
},
{
- "id": 48,
+ "id": 56,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -35801,28 +37522,28 @@
]
},
{
- "id": 114,
+ "id": 142,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 115,
+ "id": 143,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 116,
+ "id": 144,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 117,
+ "id": 145,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -35833,7 +37554,7 @@
}
},
{
- "id": 118,
+ "id": 146,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -35856,33 +37577,44 @@
}
},
{
- "id": 119,
+ "id": 147,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
+ },
+ {
+ "id": 148,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"parameters": [
{
- "id": 120,
+ "id": 149,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 536,
+ "id": 568,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -35891,7 +37623,7 @@
},
"children": [
{
- "id": 537,
+ "id": 569,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -35905,14 +37637,14 @@
],
"signatures": [
{
- "id": 538,
+ "id": 570,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 539,
+ "id": 571,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -35921,18 +37653,18 @@
],
"parameters": [
{
- "id": 540,
+ "id": 572,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -35943,11 +37675,11 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -35957,7 +37689,7 @@
]
},
{
- "id": 545,
+ "id": 577,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -35978,7 +37710,7 @@
}
},
{
- "id": 548,
+ "id": 580,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -35995,21 +37727,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 581,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 550,
+ "id": 582,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 551,
+ "id": 583,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -36033,7 +37765,7 @@
}
},
{
- "id": 552,
+ "id": 584,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -36068,7 +37800,7 @@
}
},
{
- "id": 543,
+ "id": 575,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -36100,7 +37832,7 @@
}
},
{
- "id": 553,
+ "id": 585,
"name": "isMaybeSingle",
"kind": 1024,
"kindString": "Property",
@@ -36120,7 +37852,7 @@
}
},
{
- "id": 541,
+ "id": 573,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -36161,7 +37893,7 @@
}
},
{
- "id": 544,
+ "id": 576,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -36182,7 +37914,7 @@
}
},
{
- "id": 546,
+ "id": 578,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -36203,7 +37935,7 @@
"defaultValue": "false"
},
{
- "id": 547,
+ "id": 579,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -36226,7 +37958,7 @@
}
},
{
- "id": 542,
+ "id": 574,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -36248,7 +37980,7 @@
}
},
{
- "id": 556,
+ "id": 588,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -36262,25 +37994,25 @@
],
"signatures": [
{
- "id": 557,
+ "id": 589,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 558,
+ "id": 590,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -36288,7 +38020,7 @@
}
},
{
- "id": 559,
+ "id": 591,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -36301,7 +38033,7 @@
],
"parameters": [
{
- "id": 560,
+ "id": 592,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -36318,32 +38050,32 @@
{
"type": "reflection",
"declaration": {
- "id": 561,
+ "id": 593,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 562,
+ "id": 594,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 563,
+ "id": 595,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -36356,7 +38088,7 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
@@ -36364,7 +38096,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
}
],
@@ -36382,7 +38114,7 @@
}
},
{
- "id": 564,
+ "id": 596,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -36399,21 +38131,21 @@
{
"type": "reflection",
"declaration": {
- "id": 565,
+ "id": 597,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 566,
+ "id": 598,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 567,
+ "id": 599,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -36429,7 +38161,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
},
{
@@ -36437,7 +38169,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
],
@@ -36463,12 +38195,12 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
]
@@ -36490,7 +38222,7 @@
}
},
{
- "id": 554,
+ "id": 586,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -36504,7 +38236,7 @@
],
"signatures": [
{
- "id": 555,
+ "id": 587,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -36515,11 +38247,11 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -36533,32 +38265,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 537
- ]
+ "children": [569]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 545,
- 548,
- 543,
- 553,
- 541,
- 544,
- 546,
- 547,
- 542
- ]
+ "children": [577, 580, 575, 585, 573, 576, 578, 579, 574]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 556,
- 554
- ]
+ "children": [588, 586]
}
],
"sources": [
@@ -36570,7 +38287,7 @@
],
"typeParameter": [
{
- "id": 568,
+ "id": 600,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -36580,7 +38297,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 437,
+ "id": 467,
"name": "PostgrestTransformBuilder"
}
],
@@ -36590,11 +38307,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -36612,41 +38329,46 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 439,
+ "id": 469,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 438,
+ "id": 468,
"name": "default.constructor"
}
},
{
- "id": 411,
+ "id": 440,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -36667,12 +38389,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 510,
+ "id": 541,
"name": "default.body"
}
},
{
- "id": 414,
+ "id": 443,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -36689,21 +38411,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 415,
+ "id": 444,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 416,
+ "id": 445,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 417,
+ "id": 446,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -36727,7 +38449,7 @@
}
},
{
- "id": 418,
+ "id": 447,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -36762,12 +38484,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 513,
+ "id": 544,
"name": "default.fetch"
}
},
{
- "id": 409,
+ "id": 438,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -36799,12 +38521,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 508,
+ "id": 539,
"name": "default.headers"
}
},
{
- "id": 419,
+ "id": 448,
"name": "isMaybeSingle",
"kind": 1024,
"kindString": "Property",
@@ -36824,12 +38546,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 518,
+ "id": 549,
"name": "default.isMaybeSingle"
}
},
{
- "id": 407,
+ "id": 436,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -36870,12 +38592,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 506,
+ "id": 537,
"name": "default.method"
}
},
{
- "id": 410,
+ "id": 439,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -36896,12 +38618,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 509,
+ "id": 540,
"name": "default.schema"
}
},
{
- "id": 412,
+ "id": 441,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -36922,12 +38644,12 @@
"defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 511,
+ "id": 542,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 413,
+ "id": 442,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -36950,12 +38672,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 512,
+ "id": 543,
"name": "default.signal"
}
},
{
- "id": 408,
+ "id": 437,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -36977,12 +38699,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 507,
+ "id": 538,
"name": "default.url"
}
},
{
- "id": 379,
+ "id": 408,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -36990,13 +38712,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 125,
+ "line": 130,
"character": 2
}
],
"signatures": [
{
- "id": 380,
+ "id": 409,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
@@ -37006,7 +38728,7 @@
},
"parameters": [
{
- "id": 381,
+ "id": 410,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
@@ -37024,41 +38746,46 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 479,
+ "id": 510,
"name": "default.abortSignal"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 478,
+ "id": 509,
"name": "default.abortSignal"
}
},
{
- "id": 241,
+ "id": 270,
"name": "containedBy",
"kind": 2048,
"kindString": "Method",
@@ -37066,13 +38793,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 261,
+ "line": 277,
"character": 2
}
],
"signatures": [
{
- "id": 242,
+ "id": 271,
"name": "containedBy",
"kind": 4096,
"kindString": "Call signature",
@@ -37082,7 +38809,7 @@
},
"typeParameter": [
{
- "id": 243,
+ "id": 272,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -37095,7 +38822,7 @@
],
"parameters": [
{
- "id": 244,
+ "id": 273,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -37105,13 +38832,13 @@
},
"type": {
"type": "reference",
- "id": 243,
+ "id": 272,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 245,
+ "id": 274,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -37143,18 +38870,22 @@
"name": "Record"
},
{
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 243,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 272,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
}
}
}
@@ -37164,29 +38895,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 246,
+ "id": 275,
"name": "containedBy",
"kind": 4096,
"kindString": "Call signature",
@@ -37196,7 +38932,7 @@
},
"parameters": [
{
- "id": 247,
+ "id": 276,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -37210,7 +38946,7 @@
}
},
{
- "id": 248,
+ "id": 277,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -37226,10 +38962,14 @@
"name": "string"
},
{
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
},
{
@@ -37254,22 +38994,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -37278,7 +39023,7 @@
]
},
{
- "id": 233,
+ "id": 262,
"name": "contains",
"kind": 2048,
"kindString": "Method",
@@ -37286,13 +39031,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 234,
+ "line": 250,
"character": 2
}
],
"signatures": [
{
- "id": 234,
+ "id": 263,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
@@ -37302,7 +39047,7 @@
},
"typeParameter": [
{
- "id": 235,
+ "id": 264,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -37315,7 +39060,7 @@
],
"parameters": [
{
- "id": 236,
+ "id": 265,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -37325,13 +39070,13 @@
},
"type": {
"type": "reference",
- "id": 235,
+ "id": 264,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 237,
+ "id": 266,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -37363,18 +39108,22 @@
"name": "Record"
},
{
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 235,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 264,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
}
}
}
@@ -37384,29 +39133,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 238,
+ "id": 267,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
@@ -37416,7 +39170,7 @@
},
"parameters": [
{
- "id": 239,
+ "id": 268,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -37430,7 +39184,7 @@
}
},
{
- "id": 240,
+ "id": 269,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -37446,10 +39200,14 @@
"name": "string"
},
{
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
},
{
@@ -37474,22 +39232,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -37498,7 +39261,7 @@
]
},
{
- "id": 388,
+ "id": 417,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -37506,13 +39269,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 166,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 389,
+ "id": 418,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
@@ -37522,7 +39285,7 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "intrinsic",
@@ -37533,19 +39296,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 488,
+ "id": 519,
"name": "default.csv"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 487,
+ "id": 518,
"name": "default.csv"
}
},
{
- "id": 121,
+ "id": 150,
"name": "eq",
"kind": 2048,
"kindString": "Method",
@@ -37553,13 +39316,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 33,
+ "line": 34,
"character": 2
}
],
"signatures": [
{
- "id": 122,
+ "id": 151,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
@@ -37570,7 +39333,7 @@
},
"typeParameter": [
{
- "id": 123,
+ "id": 152,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -37583,7 +39346,7 @@
],
"parameters": [
{
- "id": 124,
+ "id": 153,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -37593,13 +39356,13 @@
},
"type": {
"type": "reference",
- "id": 123,
+ "id": 152,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 125,
+ "id": 154,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -37611,12 +39374,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 123,
+ "id": 152,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -37624,29 +39387,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 126,
+ "id": 155,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
@@ -37657,7 +39425,7 @@
},
"parameters": [
{
- "id": 127,
+ "id": 156,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -37671,7 +39439,7 @@
}
},
{
- "id": 128,
+ "id": 157,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -37687,22 +39455,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -37711,7 +39484,7 @@
]
},
{
- "id": 392,
+ "id": 421,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -37719,13 +39492,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
+ "line": 205,
"character": 2
}
],
"signatures": [
{
- "id": 393,
+ "id": 422,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
@@ -37735,7 +39508,7 @@
},
"parameters": [
{
- "id": 394,
+ "id": 423,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -37747,14 +39520,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 395,
+ "id": 424,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 396,
+ "id": 425,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -37767,7 +39540,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 208,
+ "line": 213,
"character": 4
}
],
@@ -37777,7 +39550,7 @@
}
},
{
- "id": 399,
+ "id": 428,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -37790,7 +39563,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 211,
+ "line": 216,
"character": 4
}
],
@@ -37800,7 +39573,7 @@
}
},
{
- "id": 401,
+ "id": 430,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -37813,7 +39586,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 213,
+ "line": 218,
"character": 4
}
],
@@ -37832,7 +39605,7 @@
}
},
{
- "id": 398,
+ "id": 427,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -37845,7 +39618,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 210,
+ "line": 215,
"character": 4
}
],
@@ -37855,7 +39628,7 @@
}
},
{
- "id": 397,
+ "id": 426,
"name": "verbose",
"kind": 1024,
"kindString": "Property",
@@ -37868,7 +39641,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 209,
+ "line": 214,
"character": 4
}
],
@@ -37878,7 +39651,7 @@
}
},
{
- "id": 400,
+ "id": 429,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -37891,7 +39664,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 212,
+ "line": 217,
"character": 4
}
],
@@ -37905,14 +39678,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 396,
- 399,
- 401,
- 398,
- 397,
- 400
- ]
+ "children": [425, 428, 430, 427, 426, 429]
}
]
}
@@ -37925,7 +39691,7 @@
"types": [
{
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "intrinsic",
@@ -37936,7 +39702,7 @@
},
{
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "array",
@@ -37964,19 +39730,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 492,
+ "id": 523,
"name": "default.explain"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 491,
+ "id": 522,
"name": "default.explain"
}
},
{
- "id": 335,
+ "id": 364,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -37984,13 +39750,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 480,
+ "line": 496,
"character": 2
}
],
"signatures": [
{
- "id": 336,
+ "id": 365,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -38001,7 +39767,7 @@
},
"typeParameter": [
{
- "id": 337,
+ "id": 366,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -38014,7 +39780,7 @@
],
"parameters": [
{
- "id": 338,
+ "id": 367,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -38024,13 +39790,13 @@
},
"type": {
"type": "reference",
- "id": 337,
+ "id": 366,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 339,
+ "id": 368,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -38137,7 +39903,7 @@
}
},
{
- "id": 340,
+ "id": 369,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -38153,29 +39919,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 341,
+ "id": 370,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -38186,7 +39957,7 @@
},
"parameters": [
{
- "id": 342,
+ "id": 371,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -38200,7 +39971,7 @@
}
},
{
- "id": 343,
+ "id": 372,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -38214,7 +39985,7 @@
}
},
{
- "id": 344,
+ "id": 373,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -38230,22 +40001,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -38254,7 +40030,7 @@
]
},
{
- "id": 390,
+ "id": 419,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -38262,13 +40038,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 174,
+ "line": 179,
"character": 2
}
],
"signatures": [
{
- "id": 391,
+ "id": 420,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
@@ -38278,7 +40054,7 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
@@ -38301,19 +40077,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 490,
+ "id": 521,
"name": "default.geojson"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 489,
+ "id": 520,
"name": "default.geojson"
}
},
{
- "id": 137,
+ "id": 166,
"name": "gt",
"kind": 2048,
"kindString": "Method",
@@ -38321,13 +40097,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
"signatures": [
{
- "id": 138,
+ "id": 167,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
@@ -38337,7 +40113,7 @@
},
"typeParameter": [
{
- "id": 139,
+ "id": 168,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -38350,7 +40126,7 @@
],
"parameters": [
{
- "id": 140,
+ "id": 169,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -38360,13 +40136,13 @@
},
"type": {
"type": "reference",
- "id": 139,
+ "id": 168,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 141,
+ "id": 170,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -38378,12 +40154,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 139,
+ "id": 168,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -38391,29 +40167,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 142,
+ "id": 171,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
@@ -38423,7 +40204,7 @@
},
"parameters": [
{
- "id": 143,
+ "id": 172,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -38437,7 +40218,7 @@
}
},
{
- "id": 144,
+ "id": 173,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -38453,22 +40234,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -38477,7 +40263,7 @@
]
},
{
- "id": 145,
+ "id": 174,
"name": "gte",
"kind": 2048,
"kindString": "Method",
@@ -38485,13 +40271,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 74,
+ "line": 75,
"character": 2
}
],
"signatures": [
{
- "id": 146,
+ "id": 175,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
@@ -38501,7 +40287,7 @@
},
"typeParameter": [
{
- "id": 147,
+ "id": 176,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -38514,7 +40300,7 @@
],
"parameters": [
{
- "id": 148,
+ "id": 177,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -38524,13 +40310,13 @@
},
"type": {
"type": "reference",
- "id": 147,
+ "id": 176,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 149,
+ "id": 178,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -38542,12 +40328,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 147,
+ "id": 176,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -38555,29 +40341,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 150,
+ "id": 179,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
@@ -38587,7 +40378,7 @@
},
"parameters": [
{
- "id": 151,
+ "id": 180,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -38601,7 +40392,7 @@
}
},
{
- "id": 152,
+ "id": 181,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -38617,22 +40408,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -38641,7 +40437,7 @@
]
},
{
- "id": 193,
+ "id": 222,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
@@ -38649,13 +40445,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 152,
+ "line": 159,
"character": 2
}
],
"signatures": [
{
- "id": 194,
+ "id": 223,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
@@ -38665,7 +40461,7 @@
},
"typeParameter": [
{
- "id": 195,
+ "id": 224,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -38678,7 +40474,7 @@
],
"parameters": [
{
- "id": 196,
+ "id": 225,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -38688,13 +40484,13 @@
},
"type": {
"type": "reference",
- "id": 195,
+ "id": 224,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 197,
+ "id": 226,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -38710,29 +40506,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 198,
+ "id": 227,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
@@ -38740,419 +40541,6 @@
"comment": {
"shortText": "Match only rows where `column` matches `pattern` case-insensitively."
},
- "parameters": [
- {
- "id": 199,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 200,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to match with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 201,
- "name": "ilikeAllOf",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 165,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 202,
- "name": "ilikeAllOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
- },
- "typeParameter": [
- {
- "id": 203,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 204,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 203,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "id": 205,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 206,
- "name": "ilikeAllOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
- },
- "parameters": [
- {
- "id": 207,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 208,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 209,
- "name": "ilikeAnyOf",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 178,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 210,
- "name": "ilikeAnyOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
- },
- "typeParameter": [
- {
- "id": 211,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 212,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 211,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "id": 213,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 214,
- "name": "ilikeAnyOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
- },
- "parameters": [
- {
- "id": 215,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 216,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 225,
- "name": "in",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 213,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 226,
- "name": "in",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
- },
- "typeParameter": [
- {
- "id": 227,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
"parameters": [
{
"id": 228,
@@ -39163,123 +40551,49 @@
"comment": {
"shortText": "The column to filter on"
},
- "type": {
- "type": "reference",
- "id": 227,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "id": 229,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values array to filter with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 227,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 230,
- "name": "in",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
- },
- "parameters": [
- {
- "id": 231,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
- "id": 232,
- "name": "values",
+ "id": 229,
+ "name": "pattern",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The values array to filter with\n"
+ "shortText": "The pattern to match with\n"
},
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
- }
+ "type": "intrinsic",
+ "name": "string"
}
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -39288,32 +40602,31 @@
]
},
{
- "id": 217,
- "name": "is",
+ "id": 230,
+ "name": "ilikeAllOf",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 191,
+ "line": 172,
"character": 2
}
],
"signatures": [
{
- "id": 218,
- "name": "is",
+ "id": 231,
+ "name": "ilikeAllOf",
"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"
+ "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
},
"typeParameter": [
{
- "id": 219,
+ "id": 232,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -39326,7 +40639,7 @@
],
"parameters": [
{
- "id": 220,
+ "id": 233,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -39336,13 +40649,560 @@
},
"type": {
"type": "reference",
- "id": 219,
+ "id": 232,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 221,
+ "id": 234,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 235,
+ "name": "ilikeAllOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
+ },
+ "parameters": [
+ {
+ "id": 236,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 237,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 238,
+ "name": "ilikeAnyOf",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 188,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 239,
+ "name": "ilikeAnyOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
+ },
+ "typeParameter": [
+ {
+ "id": 240,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 241,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 240,
+ "name": "ColumnName",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 242,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 243,
+ "name": "ilikeAnyOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
+ },
+ "parameters": [
+ {
+ "id": 244,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 245,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 254,
+ "name": "in",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 226,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 255,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is included in the `values` array."
+ },
+ "typeParameter": [
+ {
+ "id": 256,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 257,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 256,
+ "name": "ColumnName",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 258,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values array to filter with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 256,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 259,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is included in the `values` array."
+ },
+ "parameters": [
+ {
+ "id": 260,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 261,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values array to filter with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 246,
+ "name": "is",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 204,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 247,
+ "name": "is",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` IS `value`.",
+ "text": "For non-boolean columns, this is only relevant for checking if the value of\n`column` is NULL by setting `value` to `null`.\n\nFor boolean columns, you can also set `value` to `true` or `false` and it\nwill behave the same way as `.eq()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 248,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 249,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 248,
+ "name": "ColumnName",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 250,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -39360,12 +41220,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 219,
+ "id": 248,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
},
@@ -39382,12 +41242,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 219,
+ "id": 248,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
},
@@ -39404,12 +41264,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 219,
+ "id": 248,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
},
@@ -39425,29 +41285,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 222,
+ "id": 251,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
@@ -39458,7 +41323,7 @@
},
"parameters": [
{
- "id": 223,
+ "id": 252,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -39472,7 +41337,7 @@
}
},
{
- "id": 224,
+ "id": 253,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -39497,22 +41362,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -39521,7 +41391,7 @@
]
},
{
- "id": 169,
+ "id": 198,
"name": "like",
"kind": 2048,
"kindString": "Method",
@@ -39529,13 +41399,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 113,
+ "line": 114,
"character": 2
}
],
"signatures": [
{
- "id": 170,
+ "id": 199,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
@@ -39545,7 +41415,7 @@
},
"typeParameter": [
{
- "id": 171,
+ "id": 200,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -39558,7 +41428,7 @@
],
"parameters": [
{
- "id": 172,
+ "id": 201,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -39568,13 +41438,13 @@
},
"type": {
"type": "reference",
- "id": 171,
+ "id": 200,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 173,
+ "id": 202,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -39590,29 +41460,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 174,
+ "id": 203,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
@@ -39622,7 +41497,7 @@
},
"parameters": [
{
- "id": 175,
+ "id": 204,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -39636,7 +41511,7 @@
}
},
{
- "id": 176,
+ "id": 205,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -39652,22 +41527,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -39676,7 +41556,7 @@
]
},
{
- "id": 177,
+ "id": 206,
"name": "likeAllOf",
"kind": 2048,
"kindString": "Method",
@@ -39684,13 +41564,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
"signatures": [
{
- "id": 178,
+ "id": 207,
"name": "likeAllOf",
"kind": 4096,
"kindString": "Call signature",
@@ -39700,7 +41580,7 @@
},
"typeParameter": [
{
- "id": 179,
+ "id": 208,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -39713,7 +41593,7 @@
],
"parameters": [
{
- "id": 180,
+ "id": 209,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -39723,13 +41603,13 @@
},
"type": {
"type": "reference",
- "id": 179,
+ "id": 208,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 181,
+ "id": 210,
"name": "patterns",
"kind": 32768,
"kindString": "Parameter",
@@ -39738,39 +41618,48 @@
"shortText": "The patterns to match with\n"
},
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
}
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 182,
+ "id": 211,
"name": "likeAllOf",
"kind": 4096,
"kindString": "Call signature",
@@ -39780,7 +41669,7 @@
},
"parameters": [
{
- "id": 183,
+ "id": 212,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -39794,7 +41683,7 @@
}
},
{
- "id": 184,
+ "id": 213,
"name": "patterns",
"kind": 32768,
"kindString": "Parameter",
@@ -39803,32 +41692,41 @@
"shortText": "The patterns to match with\n"
},
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
}
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -39837,7 +41735,7 @@
]
},
{
- "id": 185,
+ "id": 214,
"name": "likeAnyOf",
"kind": 2048,
"kindString": "Method",
@@ -39845,13 +41743,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 139,
+ "line": 143,
"character": 2
}
],
"signatures": [
{
- "id": 186,
+ "id": 215,
"name": "likeAnyOf",
"kind": 4096,
"kindString": "Call signature",
@@ -39861,7 +41759,7 @@
},
"typeParameter": [
{
- "id": 187,
+ "id": 216,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -39874,7 +41772,7 @@
],
"parameters": [
{
- "id": 188,
+ "id": 217,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -39884,13 +41782,13 @@
},
"type": {
"type": "reference",
- "id": 187,
+ "id": 216,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 189,
+ "id": 218,
"name": "patterns",
"kind": 32768,
"kindString": "Parameter",
@@ -39899,39 +41797,48 @@
"shortText": "The patterns to match with\n"
},
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
}
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 190,
+ "id": 219,
"name": "likeAnyOf",
"kind": 4096,
"kindString": "Call signature",
@@ -39941,7 +41848,7 @@
},
"parameters": [
{
- "id": 191,
+ "id": 220,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -39955,7 +41862,7 @@
}
},
{
- "id": 192,
+ "id": 221,
"name": "patterns",
"kind": 32768,
"kindString": "Parameter",
@@ -39964,32 +41871,41 @@
"shortText": "The patterns to match with\n"
},
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
}
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -39998,7 +41914,7 @@
]
},
{
- "id": 366,
+ "id": 395,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -40006,13 +41922,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
+ "line": 97,
"character": 2
}
],
"signatures": [
{
- "id": 367,
+ "id": 396,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -40022,7 +41938,7 @@
},
"parameters": [
{
- "id": 368,
+ "id": 397,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -40036,7 +41952,7 @@
}
},
{
- "id": 369,
+ "id": 398,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -40048,14 +41964,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 370,
+ "id": 399,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 371,
+ "id": 400,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -40068,7 +41984,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
+ "line": 97,
"character": 43
}
],
@@ -40082,9 +41998,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 371
- ]
+ "children": [400]
}
]
}
@@ -40094,41 +42008,46 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 466,
+ "id": 497,
"name": "default.limit"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 465,
+ "id": 496,
"name": "default.limit"
}
},
{
- "id": 153,
+ "id": 182,
"name": "lt",
"kind": 2048,
"kindString": "Method",
@@ -40136,13 +42055,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 87,
+ "line": 88,
"character": 2
}
],
"signatures": [
{
- "id": 154,
+ "id": 183,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
@@ -40152,7 +42071,7 @@
},
"typeParameter": [
{
- "id": 155,
+ "id": 184,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -40165,7 +42084,7 @@
],
"parameters": [
{
- "id": 156,
+ "id": 185,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -40175,13 +42094,13 @@
},
"type": {
"type": "reference",
- "id": 155,
+ "id": 184,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 157,
+ "id": 186,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -40193,12 +42112,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 155,
+ "id": 184,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -40206,29 +42125,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 158,
+ "id": 187,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
@@ -40238,7 +42162,7 @@
},
"parameters": [
{
- "id": 159,
+ "id": 188,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -40252,7 +42176,7 @@
}
},
{
- "id": 160,
+ "id": 189,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -40268,22 +42192,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -40292,7 +42221,7 @@
]
},
{
- "id": 161,
+ "id": 190,
"name": "lte",
"kind": 2048,
"kindString": "Method",
@@ -40300,13 +42229,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 100,
+ "line": 101,
"character": 2
}
],
"signatures": [
{
- "id": 162,
+ "id": 191,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
@@ -40316,7 +42245,7 @@
},
"typeParameter": [
{
- "id": 163,
+ "id": 192,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -40329,7 +42258,7 @@
],
"parameters": [
{
- "id": 164,
+ "id": 193,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -40339,13 +42268,13 @@
},
"type": {
"type": "reference",
- "id": 163,
+ "id": 192,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 165,
+ "id": 194,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -40357,12 +42286,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 163,
+ "id": 192,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -40370,29 +42299,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 166,
+ "id": 195,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
@@ -40402,7 +42336,7 @@
},
"parameters": [
{
- "id": 167,
+ "id": 196,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -40416,7 +42350,7 @@
}
},
{
- "id": 168,
+ "id": 197,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -40432,22 +42366,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -40456,7 +42395,7 @@
]
},
{
- "id": 313,
+ "id": 342,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -40464,13 +42403,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 421,
+ "line": 437,
"character": 2
}
],
"signatures": [
{
- "id": 314,
+ "id": 343,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -40480,7 +42419,7 @@
},
"typeParameter": [
{
- "id": 315,
+ "id": 344,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -40493,7 +42432,7 @@
],
"parameters": [
{
- "id": 316,
+ "id": 345,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -40506,19 +42445,19 @@
"typeArguments": [
{
"type": "reference",
- "id": 315,
+ "id": 344,
"name": "ColumnName"
},
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 315,
+ "id": 344,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -40531,29 +42470,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 317,
+ "id": 346,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -40563,7 +42507,7 @@
},
"parameters": [
{
- "id": 318,
+ "id": 347,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -40591,22 +42535,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -40615,7 +42564,7 @@
]
},
{
- "id": 385,
+ "id": 414,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -40623,13 +42572,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 149,
+ "line": 154,
"character": 2
}
],
"signatures": [
{
- "id": 386,
+ "id": 415,
"name": "maybeSingle",
"kind": 4096,
"kindString": "Call signature",
@@ -40640,7 +42589,7 @@
},
"typeParameter": [
{
- "id": 387,
+ "id": 416,
"name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -40649,7 +42598,7 @@
"type": "conditional",
"checkType": {
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
},
"extendsType": {
@@ -40672,7 +42621,7 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "union",
@@ -40683,7 +42632,7 @@
},
{
"type": "reference",
- "id": 387,
+ "id": 416,
"name": "ResultOne"
}
]
@@ -40693,19 +42642,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 485,
+ "id": 516,
"name": "default.maybeSingle"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 484,
+ "id": 515,
"name": "default.maybeSingle"
}
},
{
- "id": 129,
+ "id": 158,
"name": "neq",
"kind": 2048,
"kindString": "Method",
@@ -40713,13 +42662,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
"signatures": [
{
- "id": 130,
+ "id": 159,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
@@ -40729,7 +42678,7 @@
},
"typeParameter": [
{
- "id": 131,
+ "id": 160,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -40742,7 +42691,7 @@
],
"parameters": [
{
- "id": 132,
+ "id": 161,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -40752,13 +42701,13 @@
},
"type": {
"type": "reference",
- "id": 131,
+ "id": 160,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 133,
+ "id": 162,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -40770,12 +42719,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 131,
+ "id": 160,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -40783,29 +42732,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 134,
+ "id": 163,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
@@ -40815,7 +42769,7 @@
},
"parameters": [
{
- "id": 135,
+ "id": 164,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -40829,7 +42783,7 @@
}
},
{
- "id": 136,
+ "id": 165,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -40845,22 +42799,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -40869,7 +42828,7 @@
]
},
{
- "id": 319,
+ "id": 348,
"name": "not",
"kind": 2048,
"kindString": "Method",
@@ -40877,13 +42836,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 437,
+ "line": 453,
"character": 2
}
],
"signatures": [
{
- "id": 320,
+ "id": 349,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
@@ -40894,7 +42853,7 @@
},
"typeParameter": [
{
- "id": 321,
+ "id": 350,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -40907,7 +42866,7 @@
],
"parameters": [
{
- "id": 322,
+ "id": 351,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -40917,13 +42876,13 @@
},
"type": {
"type": "reference",
- "id": 321,
+ "id": 350,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 323,
+ "id": 352,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -40937,7 +42896,7 @@
}
},
{
- "id": 324,
+ "id": 353,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -40949,12 +42908,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 321,
+ "id": 350,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -40962,29 +42921,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 325,
+ "id": 354,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
@@ -40995,7 +42959,7 @@
},
"parameters": [
{
- "id": 326,
+ "id": 355,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -41009,7 +42973,7 @@
}
},
{
- "id": 327,
+ "id": 356,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -41023,7 +42987,7 @@
}
},
{
- "id": 328,
+ "id": 357,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -41039,22 +43003,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -41063,7 +43032,7 @@
]
},
{
- "id": 329,
+ "id": 358,
"name": "or",
"kind": 2048,
"kindString": "Method",
@@ -41071,13 +43040,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 474,
+ "line": 490,
"character": 2
}
],
"signatures": [
{
- "id": 330,
+ "id": 359,
"name": "or",
"kind": 4096,
"kindString": "Call signature",
@@ -41088,7 +43057,7 @@
},
"parameters": [
{
- "id": 331,
+ "id": 360,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
@@ -41102,7 +43071,7 @@
}
},
{
- "id": 332,
+ "id": 361,
"name": "foreignTable",
"kind": 32768,
"kindString": "Parameter",
@@ -41114,14 +43083,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 362,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 334,
+ "id": 363,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -41131,7 +43100,7 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 474,
+ "line": 490,
"character": 42
}
],
@@ -41145,9 +43114,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 334
- ]
+ "children": [363]
}
]
}
@@ -41157,22 +43124,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -41181,7 +43153,7 @@
]
},
{
- "id": 350,
+ "id": 379,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -41189,13 +43161,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
"signatures": [
{
- "id": 351,
+ "id": 380,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -41206,7 +43178,7 @@
},
"typeParameter": [
{
- "id": 352,
+ "id": 381,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -41219,7 +43191,7 @@
],
"parameters": [
{
- "id": 353,
+ "id": 382,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -41229,13 +43201,13 @@
},
"type": {
"type": "reference",
- "id": 352,
+ "id": 381,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 354,
+ "id": 383,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -41248,14 +43220,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 355,
+ "id": 384,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 356,
+ "id": 385,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -41268,7 +43240,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 16
}
],
@@ -41278,7 +43250,7 @@
}
},
{
- "id": 358,
+ "id": 387,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -41291,7 +43263,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 59
}
],
@@ -41301,7 +43273,7 @@
}
},
{
- "id": 357,
+ "id": 386,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -41314,7 +43286,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 37
}
],
@@ -41328,11 +43300,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 356,
- 358,
- 357
- ]
+ "children": [385, 387, 386]
}
]
}
@@ -41341,34 +43309,39 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 450,
+ "id": 481,
"name": "default.order"
}
},
{
- "id": 359,
+ "id": 388,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -41379,7 +43352,7 @@
},
"parameters": [
{
- "id": 360,
+ "id": 389,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -41393,7 +43366,7 @@
}
},
{
- "id": 361,
+ "id": 390,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -41406,14 +43379,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 362,
+ "id": 391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 363,
+ "id": 392,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -41426,7 +43399,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 16
}
],
@@ -41436,18 +43409,20 @@
}
},
{
- "id": 365,
+ "id": 394,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"comment": {
"shortText": "Set this to order a foreign table by foreign\ncolumns\n"
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 59
}
],
@@ -41457,7 +43432,7 @@
}
},
{
- "id": 364,
+ "id": 393,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -41470,7 +43445,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 37
}
],
@@ -41484,11 +43459,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 363,
- 365,
- 364
- ]
+ "children": [392, 394, 393]
}
]
}
@@ -41497,41 +43468,46 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 458,
+ "id": 489,
"name": "default.order"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 449,
+ "id": 480,
"name": "default.order"
}
},
{
- "id": 289,
+ "id": 318,
"name": "overlaps",
"kind": 2048,
"kindString": "Method",
@@ -41539,13 +43515,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 360,
+ "line": 376,
"character": 2
}
],
"signatures": [
{
- "id": 290,
+ "id": 319,
"name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
@@ -41555,7 +43531,7 @@
},
"typeParameter": [
{
- "id": 291,
+ "id": 320,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -41568,7 +43544,7 @@
],
"parameters": [
{
- "id": 292,
+ "id": 321,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -41578,13 +43554,13 @@
},
"type": {
"type": "reference",
- "id": 291,
+ "id": 320,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 293,
+ "id": 322,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -41600,18 +43576,22 @@
"name": "string"
},
{
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 291,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 320,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
}
}
}
@@ -41621,29 +43601,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 294,
+ "id": 323,
"name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
@@ -41653,7 +43638,7 @@
},
"parameters": [
{
- "id": 295,
+ "id": 324,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -41667,7 +43652,7 @@
}
},
{
- "id": 296,
+ "id": 325,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -41683,10 +43668,14 @@
"name": "string"
},
{
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
}
]
@@ -41695,22 +43684,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -41719,7 +43713,7 @@
]
},
{
- "id": 372,
+ "id": 401,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -41727,23 +43721,23 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
+ "line": 116,
"character": 2
}
],
"signatures": [
{
- "id": 373,
+ "id": 402,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
+ "shortText": "Limit the query result by starting at an offset (`from`) and ending at the offset (`from + to`).\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query."
},
"parameters": [
{
- "id": 374,
+ "id": 403,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -41757,7 +43751,7 @@
}
},
{
- "id": 375,
+ "id": 404,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -41771,7 +43765,7 @@
}
},
{
- "id": 376,
+ "id": 405,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -41783,14 +43777,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 377,
+ "id": 406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 378,
+ "id": 407,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -41803,7 +43797,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
+ "line": 116,
"character": 54
}
],
@@ -41817,9 +43811,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 378
- ]
+ "children": [407]
}
]
}
@@ -41829,41 +43821,46 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 472,
+ "id": 503,
"name": "default.range"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 471,
+ "id": 502,
"name": "default.range"
}
},
{
- "id": 281,
+ "id": 310,
"name": "rangeAdjacent",
"kind": 2048,
"kindString": "Method",
@@ -41871,13 +43868,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 345,
+ "line": 361,
"character": 2
}
],
"signatures": [
{
- "id": 282,
+ "id": 311,
"name": "rangeAdjacent",
"kind": 4096,
"kindString": "Call signature",
@@ -41887,7 +43884,7 @@
},
"typeParameter": [
{
- "id": 283,
+ "id": 312,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -41900,7 +43897,7 @@
],
"parameters": [
{
- "id": 284,
+ "id": 313,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -41910,11 +43907,243 @@
},
"type": {
"type": "reference",
- "id": 283,
+ "id": 312,
"name": "ColumnName",
"dereferenced": {}
}
},
+ {
+ "id": 314,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 315,
+ "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."
+ },
+ "parameters": [
+ {
+ "id": 316,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 317,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "rangeGt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 303,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 279,
+ "name": "rangeGt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`."
+ },
+ "typeParameter": [
+ {
+ "id": 280,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 281,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 280,
+ "name": "ColumnName",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 282,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 283,
+ "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`."
+ },
+ "parameters": [
+ {
+ "id": 284,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
{
"id": 285,
"name": "range",
@@ -41932,84 +44161,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 286,
- "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."
- },
- "parameters": [
- {
- "id": 287,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 288,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
},
{
"type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -42018,162 +44190,7 @@
]
},
{
- "id": 249,
- "name": "rangeGt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 287,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 250,
- "name": "rangeGt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`."
- },
- "typeParameter": [
- {
- "id": 251,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 252,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 251,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "id": 253,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 254,
- "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`."
- },
- "parameters": [
- {
- "id": 255,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 256,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 257,
+ "id": 286,
"name": "rangeGte",
"kind": 2048,
"kindString": "Method",
@@ -42181,13 +44198,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 301,
+ "line": 317,
"character": 2
}
],
"signatures": [
{
- "id": 258,
+ "id": 287,
"name": "rangeGte",
"kind": 4096,
"kindString": "Call signature",
@@ -42197,7 +44214,7 @@
},
"typeParameter": [
{
- "id": 259,
+ "id": 288,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -42210,7 +44227,7 @@
],
"parameters": [
{
- "id": 260,
+ "id": 289,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42220,13 +44237,13 @@
},
"type": {
"type": "reference",
- "id": 259,
+ "id": 288,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 261,
+ "id": 290,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -42242,29 +44259,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 262,
+ "id": 291,
"name": "rangeGte",
"kind": 4096,
"kindString": "Call signature",
@@ -42274,7 +44296,7 @@
},
"parameters": [
{
- "id": 263,
+ "id": 292,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42288,7 +44310,7 @@
}
},
{
- "id": 264,
+ "id": 293,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -42304,22 +44326,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -42328,7 +44355,7 @@
]
},
{
- "id": 265,
+ "id": 294,
"name": "rangeLt",
"kind": 2048,
"kindString": "Method",
@@ -42336,13 +44363,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 316,
+ "line": 332,
"character": 2
}
],
"signatures": [
{
- "id": 266,
+ "id": 295,
"name": "rangeLt",
"kind": 4096,
"kindString": "Call signature",
@@ -42352,7 +44379,7 @@
},
"typeParameter": [
{
- "id": 267,
+ "id": 296,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -42365,7 +44392,7 @@
],
"parameters": [
{
- "id": 268,
+ "id": 297,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42375,13 +44402,13 @@
},
"type": {
"type": "reference",
- "id": 267,
+ "id": 296,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 269,
+ "id": 298,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -42397,29 +44424,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 270,
+ "id": 299,
"name": "rangeLt",
"kind": 4096,
"kindString": "Call signature",
@@ -42429,7 +44461,7 @@
},
"parameters": [
{
- "id": 271,
+ "id": 300,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42443,7 +44475,7 @@
}
},
{
- "id": 272,
+ "id": 301,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -42459,22 +44491,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -42483,7 +44520,7 @@
]
},
{
- "id": 273,
+ "id": 302,
"name": "rangeLte",
"kind": 2048,
"kindString": "Method",
@@ -42491,13 +44528,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 330,
+ "line": 346,
"character": 2
}
],
"signatures": [
{
- "id": 274,
+ "id": 303,
"name": "rangeLte",
"kind": 4096,
"kindString": "Call signature",
@@ -42507,7 +44544,7 @@
},
"typeParameter": [
{
- "id": 275,
+ "id": 304,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -42520,7 +44557,7 @@
],
"parameters": [
{
- "id": 276,
+ "id": 305,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42530,13 +44567,13 @@
},
"type": {
"type": "reference",
- "id": 275,
+ "id": 304,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 277,
+ "id": 306,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -42552,29 +44589,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 278,
+ "id": 307,
"name": "rangeLte",
"kind": 4096,
"kindString": "Call signature",
@@ -42584,7 +44626,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 308,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42598,7 +44640,7 @@
}
},
{
- "id": 280,
+ "id": 309,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -42614,22 +44656,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -42638,7 +44685,7 @@
]
},
{
- "id": 404,
+ "id": 433,
"name": "returns",
"kind": 2048,
"kindString": "Method",
@@ -42646,13 +44693,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 252,
+ "line": 257,
"character": 2
}
],
"signatures": [
{
- "id": 405,
+ "id": 434,
"name": "returns",
"kind": 4096,
"kindString": "Call signature",
@@ -42662,7 +44709,7 @@
},
"typeParameter": [
{
- "id": 406,
+ "id": 435,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -42674,41 +44721,46 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 406,
+ "id": 435,
"name": "NewResult"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 504,
+ "id": 535,
"name": "default.returns"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 503,
+ "id": 534,
"name": "default.returns"
}
},
{
- "id": 402,
+ "id": 431,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -42716,13 +44768,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 238,
+ "line": 243,
"character": 2
}
],
"signatures": [
{
- "id": 403,
+ "id": 432,
"name": "rollback",
"kind": 4096,
"kindString": "Call signature",
@@ -42733,41 +44785,46 @@
},
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 502,
+ "id": 533,
"name": "default.rollback"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 501,
+ "id": 532,
"name": "default.rollback"
}
},
{
- "id": 345,
+ "id": 374,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -42775,13 +44832,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 19,
+ "line": 20,
"character": 2
}
],
"signatures": [
{
- "id": 346,
+ "id": 375,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -42792,7 +44849,7 @@
},
"typeParameter": [
{
- "id": 347,
+ "id": 376,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -42807,7 +44864,7 @@
}
},
{
- "id": 348,
+ "id": 377,
"name": "NewResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -42817,17 +44874,22 @@
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 347,
+ "id": 148,
+ "name": "Relationships"
+ },
+ {
+ "type": "reference",
+ "id": 376,
"name": "Query"
}
],
@@ -42837,7 +44899,7 @@
],
"parameters": [
{
- "id": 349,
+ "id": 378,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -42849,7 +44911,7 @@
},
"type": {
"type": "reference",
- "id": 347,
+ "id": 376,
"name": "Query",
"dereferenced": {}
}
@@ -42857,44 +44919,49 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 348,
+ "id": 377,
"name": "NewResultOne"
}
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 445,
+ "id": 476,
"name": "default.select"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 444,
+ "id": 475,
"name": "default.select"
}
},
{
- "id": 382,
+ "id": 411,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -42902,13 +44969,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 136,
+ "line": 141,
"character": 2
}
],
"signatures": [
{
- "id": 383,
+ "id": 412,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -42919,7 +44986,7 @@
},
"typeParameter": [
{
- "id": 384,
+ "id": 413,
"name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -42928,7 +44995,7 @@
"type": "conditional",
"checkType": {
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
},
"extendsType": {
@@ -42951,11 +45018,11 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 384,
+ "id": 413,
"name": "ResultOne"
}
],
@@ -42963,19 +45030,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 482,
+ "id": 513,
"name": "default.single"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 481,
+ "id": 512,
"name": "default.single"
}
},
{
- "id": 297,
+ "id": 326,
"name": "textSearch",
"kind": 2048,
"kindString": "Method",
@@ -42983,13 +45050,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 383,
+ "line": 399,
"character": 2
}
],
"signatures": [
{
- "id": 298,
+ "id": 327,
"name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
@@ -42999,7 +45066,7 @@
},
"typeParameter": [
{
- "id": 299,
+ "id": 328,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -43012,7 +45079,7 @@
],
"parameters": [
{
- "id": 300,
+ "id": 329,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43022,13 +45089,13 @@
},
"type": {
"type": "reference",
- "id": 299,
+ "id": 328,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 301,
+ "id": 330,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -43042,7 +45109,7 @@
}
},
{
- "id": 302,
+ "id": 331,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -43055,14 +45122,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 303,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 304,
+ "id": 333,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -43075,7 +45142,7 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 386,
+ "line": 402,
"character": 16
}
],
@@ -43085,7 +45152,7 @@
}
},
{
- "id": 305,
+ "id": 334,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -43098,7 +45165,7 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 386,
+ "line": 402,
"character": 33
}
],
@@ -43125,10 +45192,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304,
- 305
- ]
+ "children": [333, 334]
}
]
}
@@ -43137,29 +45201,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 306,
+ "id": 335,
"name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
@@ -43169,7 +45238,7 @@
},
"parameters": [
{
- "id": 307,
+ "id": 336,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -43183,7 +45252,7 @@
}
},
{
- "id": 308,
+ "id": 337,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -43197,7 +45266,7 @@
}
},
{
- "id": 309,
+ "id": 338,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -43210,14 +45279,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 310,
+ "id": 339,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 311,
+ "id": 340,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -43230,7 +45299,7 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 391,
+ "line": 407,
"character": 16
}
],
@@ -43240,7 +45309,7 @@
}
},
{
- "id": 312,
+ "id": 341,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -43253,7 +45322,7 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 391,
+ "line": 407,
"character": 33
}
],
@@ -43280,10 +45349,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 311,
- 312
- ]
+ "children": [340, 341]
}
]
}
@@ -43292,22 +45358,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -43316,7 +45387,7 @@
]
},
{
- "id": 422,
+ "id": 451,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -43330,25 +45401,25 @@
],
"signatures": [
{
- "id": 423,
+ "id": 452,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 424,
+ "id": 453,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
}
],
@@ -43356,7 +45427,7 @@
}
},
{
- "id": 425,
+ "id": 454,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -43369,7 +45440,7 @@
],
"parameters": [
{
- "id": 426,
+ "id": 455,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -43386,32 +45457,32 @@
{
"type": "reflection",
"declaration": {
- "id": 427,
+ "id": 456,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 428,
+ "id": 457,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 429,
+ "id": 458,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
}
],
@@ -43424,7 +45495,7 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
@@ -43432,7 +45503,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
}
],
@@ -43450,7 +45521,7 @@
}
},
{
- "id": 430,
+ "id": 459,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -43467,21 +45538,21 @@
{
"type": "reflection",
"declaration": {
- "id": 431,
+ "id": 460,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 432,
+ "id": 461,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 433,
+ "id": 462,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -43497,7 +45568,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
},
{
@@ -43505,7 +45576,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
],
@@ -43531,12 +45602,12 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
]
@@ -43548,19 +45619,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 522,
+ "id": 553,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 521,
+ "id": 552,
"name": "default.then"
}
},
{
- "id": 420,
+ "id": 449,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -43574,7 +45645,7 @@
],
"signatures": [
{
- "id": 421,
+ "id": 450,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -43585,36 +45656,41 @@
},
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 520,
+ "id": 551,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 519,
+ "id": 550,
"name": "default.throwOnError"
}
}
@@ -43623,70 +45699,20 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 115
- ]
+ "children": [143]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 411,
- 414,
- 409,
- 419,
- 407,
- 410,
- 412,
- 413,
- 408
- ]
+ "children": [440, 443, 438, 448, 436, 439, 441, 442, 437]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 379,
- 241,
- 233,
- 388,
- 121,
- 392,
- 335,
- 390,
- 137,
- 145,
- 193,
- 201,
- 209,
- 225,
- 217,
- 169,
- 177,
- 185,
- 366,
- 153,
- 161,
- 313,
- 385,
- 129,
- 319,
- 329,
- 350,
- 289,
- 372,
- 281,
- 249,
- 257,
- 265,
- 273,
- 404,
- 402,
- 345,
- 382,
- 297,
- 422,
- 420
+ 408, 270, 262, 417, 150, 421, 364, 419, 166, 174, 222, 230, 238, 254, 246, 198, 206,
+ 214, 395, 182, 190, 342, 414, 158, 348, 358, 379, 318, 401, 310, 278, 286, 294, 302,
+ 433, 431, 374, 411, 326, 451, 449
]
}
],
@@ -43699,7 +45725,7 @@
],
"typeParameter": [
{
- "id": 434,
+ "id": 463,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -43710,7 +45736,7 @@
}
},
{
- "id": 435,
+ "id": 464,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -43733,32 +45759,48 @@
}
},
{
- "id": 436,
+ "id": 465,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
+ },
+ {
+ "id": 466,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -43766,14 +45808,14 @@
]
},
{
- "id": 49,
+ "id": 57,
"name": "PostgrestQueryBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 50,
+ "id": 58,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -43781,20 +45823,20 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 16,
+ "line": 17,
"character": 2
}
],
"signatures": [
{
- "id": 51,
+ "id": 59,
"name": "new PostgrestQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 52,
+ "id": 60,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -43805,7 +45847,7 @@
}
},
{
- "id": 53,
+ "id": 61,
"name": "Relation",
"kind": 131072,
"kindString": "Type parameter",
@@ -43823,11 +45865,71 @@
}
]
}
+ },
+ {
+ "id": 64,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 62,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 63,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [63]
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
}
],
"parameters": [
{
- "id": 54,
+ "id": 65,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -43840,7 +45942,7 @@
}
},
{
- "id": 55,
+ "id": 66,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -43848,14 +45950,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 56,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 59,
+ "id": 70,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -43865,28 +45967,28 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 25,
+ "line": 26,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 60,
+ "id": 71,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 61,
+ "id": 72,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 62,
+ "id": 73,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -43910,7 +46012,7 @@
}
},
{
- "id": 63,
+ "id": 74,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -43945,7 +46047,7 @@
}
},
{
- "id": 57,
+ "id": 68,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -43955,7 +46057,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 23,
+ "line": 24,
"character": 6
}
],
@@ -43977,7 +46079,7 @@
}
},
{
- "id": 58,
+ "id": 69,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -43987,7 +46089,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 24,
+ "line": 25,
"character": 6
}
],
@@ -44001,11 +46103,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 59,
- 57,
- 58
- ]
+ "children": [70, 68, 69]
}
]
}
@@ -44014,17 +46112,22 @@
],
"type": {
"type": "reference",
- "id": 49,
+ "id": 57,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -44033,7 +46136,7 @@
]
},
{
- "id": 68,
+ "id": 79,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -44043,28 +46146,28 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 14,
+ "line": 15,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 69,
+ "id": 80,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 70,
+ "id": 81,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 71,
+ "id": 82,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -44088,7 +46191,7 @@
}
},
{
- "id": 72,
+ "id": 83,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -44123,7 +46226,7 @@
}
},
{
- "id": 65,
+ "id": 76,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -44131,7 +46234,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 11,
+ "line": 12,
"character": 2
}
],
@@ -44153,33 +46256,13 @@
}
},
{
- "id": 66,
+ "id": 77,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 67,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
@@ -44187,6 +46270,26 @@
"character": 2
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 78,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
"type": {
"type": "reference",
"qualifiedName": "AbortSignal",
@@ -44195,7 +46298,7 @@
}
},
{
- "id": 64,
+ "id": 75,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -44203,7 +46306,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 10,
+ "line": 11,
"character": 2
}
],
@@ -44215,7 +46318,7 @@
}
},
{
- "id": 107,
+ "id": 132,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -44223,13 +46326,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 319,
+ "line": 356,
"character": 2
}
],
"signatures": [
{
- "id": 108,
+ "id": 133,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -44240,7 +46343,7 @@
},
"parameters": [
{
- "id": 109,
+ "id": 134,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -44252,14 +46355,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 110,
+ "id": 135,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 111,
+ "id": 136,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -44272,7 +46375,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 322,
+ "line": 359,
"character": 4
}
],
@@ -44299,9 +46402,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 111
- ]
+ "children": [136]
}
]
}
@@ -44311,11 +46412,11 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -44326,13 +46427,18 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
{
"type": "literal",
"value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -44341,7 +46447,7 @@
]
},
{
- "id": 82,
+ "id": 93,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -44349,13 +46455,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 120,
+ "line": 100,
"character": 2
}
],
"signatures": [
{
- "id": 83,
+ "id": 94,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -44366,7 +46472,7 @@
},
"typeParameter": [
{
- "id": 84,
+ "id": 95,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -44391,7 +46497,7 @@
],
"parameters": [
{
- "id": 85,
+ "id": 96,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -44400,45 +46506,34 @@
"shortText": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows.\n"
},
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 84,
- "name": "Row"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 84,
- "name": "Row"
- }
- }
- ]
+ "type": "reference",
+ "id": 95,
+ "name": "Row",
+ "dereferenced": {}
}
},
{
- "id": 86,
+ "id": 97,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"comment": {
"shortText": "Named parameters\n"
},
- "originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 87,
+ "id": 98,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 88,
+ "id": 99,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -44451,7 +46546,163 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 126,
+ "line": 103,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [99]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 100,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform an INSERT into the table or view.",
+ "text": "By default, inserted rows are not returned. To return it, chain the call\nwith `.select()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 101,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 102,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows.\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 101,
+ "name": "Row"
+ }
+ }
+ },
+ {
+ "id": 103,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 104,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 105,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count inserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 109,
"character": 6
}
],
@@ -44474,7 +46725,7 @@
}
},
{
- "id": 89,
+ "id": 106,
"name": "defaultToNull",
"kind": 1024,
"kindString": "Property",
@@ -44482,12 +46733,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column.\n"
+ "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. Only applies for bulk\ninserts.\n"
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 127,
+ "line": 110,
"character": 6
}
],
@@ -44501,24 +46752,20 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 88,
- 89
- ]
+ "children": [105, 106]
}
]
}
- },
- "defaultValue": "{}"
+ }
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -44529,13 +46776,18 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
{
"type": "literal",
"value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -44544,7 +46796,7 @@
]
},
{
- "id": 73,
+ "id": 84,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -44552,13 +46804,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
"signatures": [
{
- "id": 74,
+ "id": 85,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -44568,7 +46820,7 @@
},
"typeParameter": [
{
- "id": 75,
+ "id": 86,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -44583,7 +46835,7 @@
}
},
{
- "id": 76,
+ "id": 87,
"name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -44593,7 +46845,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -44604,13 +46856,18 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
{
"type": "reference",
- "id": 75,
+ "id": 64,
+ "name": "Relationships"
+ },
+ {
+ "type": "reference",
+ "id": 86,
"name": "Query"
}
],
@@ -44620,7 +46877,7 @@
],
"parameters": [
{
- "id": 77,
+ "id": 88,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -44632,13 +46889,13 @@
},
"type": {
"type": "reference",
- "id": 75,
+ "id": 86,
"name": "Query",
"dereferenced": {}
}
},
{
- "id": 78,
+ "id": 89,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -44650,14 +46907,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 79,
+ "id": 90,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 81,
+ "id": 92,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -44670,7 +46927,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 6
}
],
@@ -44693,7 +46950,7 @@
}
},
{
- "id": 80,
+ "id": 91,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -44706,7 +46963,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 61,
+ "line": 65,
"character": 6
}
],
@@ -44720,10 +46977,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 80
- ]
+ "children": [92, 91]
}
]
}
@@ -44733,11 +46987,11 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -44748,7 +47002,7 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
@@ -44756,9 +47010,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 76,
+ "id": 87,
"name": "ResultOne"
}
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -44767,7 +47026,7 @@
]
},
{
- "id": 100,
+ "id": 125,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -44775,13 +47034,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 271,
+ "line": 308,
"character": 2
}
],
"signatures": [
{
- "id": 101,
+ "id": 126,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -44792,7 +47051,7 @@
},
"typeParameter": [
{
- "id": 102,
+ "id": 127,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -44817,7 +47076,7 @@
],
"parameters": [
{
- "id": 103,
+ "id": 128,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -44827,13 +47086,13 @@
},
"type": {
"type": "reference",
- "id": 102,
+ "id": 127,
"name": "Row",
"dereferenced": {}
}
},
{
- "id": 104,
+ "id": 129,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -44845,14 +47104,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 105,
+ "id": 130,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 106,
+ "id": 131,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -44865,7 +47124,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 276,
+ "line": 313,
"character": 6
}
],
@@ -44892,9 +47151,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 106
- ]
+ "children": [131]
}
]
}
@@ -44904,11 +47161,11 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -44919,13 +47176,18 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
{
"type": "literal",
"value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -44934,7 +47196,7 @@
]
},
{
- "id": 90,
+ "id": 107,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
@@ -44942,13 +47204,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 201,
+ "line": 183,
"character": 2
}
],
"signatures": [
{
- "id": 91,
+ "id": 108,
"name": "upsert",
"kind": 4096,
"kindString": "Call signature",
@@ -44959,7 +47221,7 @@
},
"typeParameter": [
{
- "id": 92,
+ "id": 109,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -44984,7 +47246,7 @@
],
"parameters": [
{
- "id": 93,
+ "id": 110,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -44993,45 +47255,34 @@
"shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n"
},
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 92,
- "name": "Row"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 92,
- "name": "Row"
- }
- }
- ]
+ "type": "reference",
+ "id": 109,
+ "name": "Row",
+ "dereferenced": {}
}
},
{
- "id": 94,
+ "id": 111,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"comment": {
"shortText": "Named parameters\n"
},
- "originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 95,
+ "id": 112,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 98,
+ "id": 115,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -45044,7 +47295,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 211,
+ "line": 188,
"character": 6
}
],
@@ -45067,30 +47318,7 @@
}
},
{
- "id": 99,
- "name": "defaultToNull",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n`ignoreDuplicates: false`.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 212,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 97,
+ "id": 114,
"name": "ignoreDuplicates",
"kind": 1024,
"kindString": "Property",
@@ -45103,7 +47331,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 210,
+ "line": 187,
"character": 6
}
],
@@ -45113,7 +47341,7 @@
}
},
{
- "id": 96,
+ "id": 113,
"name": "onConflict",
"kind": 1024,
"kindString": "Property",
@@ -45126,7 +47354,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 209,
+ "line": 186,
"character": 6
}
],
@@ -45140,26 +47368,20 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 98,
- 99,
- 97,
- 96
- ]
+ "children": [115, 114, 113]
}
]
}
- },
- "defaultValue": "{}"
+ }
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -45170,13 +47392,243 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
{
"type": "literal",
"value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 116,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto `onConflict`, `.upsert()` allows you to perform the equivalent of\n`.insert()` if a row with the corresponding `onConflict` columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n`ignoreDuplicates`.",
+ "text": "By default, upserted rows are not returned. To return it, chain the call\nwith `.select()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 117,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 118,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 117,
+ "name": "Row"
+ }
+ }
+ },
+ {
+ "id": 119,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 120,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 123,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count upserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 196,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 124,
+ "name": "defaultToNull",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n`ignoreDuplicates: false`. This also only applies when doing bulk upserts.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 197,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 122,
+ "name": "ignoreDuplicates",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 195,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 121,
+ "name": "onConflict",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n`onConflict` columns are equal.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 194,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [123, 124, 122, 121]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -45189,31 +47641,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 50
- ]
+ "children": [58]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 65,
- 66,
- 67,
- 64
- ]
+ "children": [79, 76, 77, 78, 75]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 107,
- 82,
- 73,
- 100,
- 90
- ]
+ "children": [132, 93, 84, 125, 107]
}
],
"sources": [
@@ -45225,7 +47663,7 @@
],
"typeParameter": [
{
- "id": 112,
+ "id": 137,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -45236,7 +47674,7 @@
}
},
{
- "id": 113,
+ "id": 138,
"name": "Relation",
"kind": 131072,
"kindString": "Type parameter",
@@ -45254,32 +47692,99 @@
}
]
}
+ },
+ {
+ "id": 141,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 139,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 140,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "inferred",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [140]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 35
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
}
]
},
{
- "id": 437,
+ "id": 467,
"name": "PostgrestTransformBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 438,
+ "id": 468,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 439,
+ "id": 469,
"name": "new PostgrestTransformBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 440,
+ "id": 470,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -45290,7 +47795,7 @@
}
},
{
- "id": 441,
+ "id": 471,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -45313,33 +47818,44 @@
}
},
{
- "id": 442,
+ "id": 472,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
+ },
+ {
+ "id": 473,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"parameters": [
{
- "id": 443,
+ "id": 474,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 536,
+ "id": 568,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -45348,7 +47864,7 @@
},
"children": [
{
- "id": 537,
+ "id": 569,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -45362,14 +47878,14 @@
],
"signatures": [
{
- "id": 538,
+ "id": 570,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 539,
+ "id": 571,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -45378,18 +47894,18 @@
],
"parameters": [
{
- "id": 540,
+ "id": 572,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -45400,11 +47916,11 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -45414,7 +47930,7 @@
]
},
{
- "id": 545,
+ "id": 577,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -45435,7 +47951,7 @@
}
},
{
- "id": 548,
+ "id": 580,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -45452,21 +47968,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 581,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 550,
+ "id": 582,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 551,
+ "id": 583,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -45490,7 +48006,7 @@
}
},
{
- "id": 552,
+ "id": 584,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -45525,7 +48041,7 @@
}
},
{
- "id": 543,
+ "id": 575,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -45557,7 +48073,7 @@
}
},
{
- "id": 553,
+ "id": 585,
"name": "isMaybeSingle",
"kind": 1024,
"kindString": "Property",
@@ -45577,7 +48093,7 @@
}
},
{
- "id": 541,
+ "id": 573,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -45618,7 +48134,7 @@
}
},
{
- "id": 544,
+ "id": 576,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -45639,7 +48155,7 @@
}
},
{
- "id": 546,
+ "id": 578,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -45660,7 +48176,7 @@
"defaultValue": "false"
},
{
- "id": 547,
+ "id": 579,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -45683,7 +48199,7 @@
}
},
{
- "id": 542,
+ "id": 574,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -45705,7 +48221,7 @@
}
},
{
- "id": 556,
+ "id": 588,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -45719,25 +48235,25 @@
],
"signatures": [
{
- "id": 557,
+ "id": 589,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 558,
+ "id": 590,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -45745,7 +48261,7 @@
}
},
{
- "id": 559,
+ "id": 591,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -45758,7 +48274,7 @@
],
"parameters": [
{
- "id": 560,
+ "id": 592,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -45775,32 +48291,32 @@
{
"type": "reflection",
"declaration": {
- "id": 561,
+ "id": 593,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 562,
+ "id": 594,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 563,
+ "id": 595,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -45813,7 +48329,7 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
@@ -45821,7 +48337,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
}
],
@@ -45839,7 +48355,7 @@
}
},
{
- "id": 564,
+ "id": 596,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -45856,21 +48372,21 @@
{
"type": "reflection",
"declaration": {
- "id": 565,
+ "id": 597,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 566,
+ "id": 598,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 567,
+ "id": 599,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -45886,7 +48402,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
},
{
@@ -45894,7 +48410,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
],
@@ -45920,12 +48436,12 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
]
@@ -45947,7 +48463,7 @@
}
},
{
- "id": 554,
+ "id": 586,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -45961,7 +48477,7 @@
],
"signatures": [
{
- "id": 555,
+ "id": 587,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -45972,11 +48488,11 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -45990,32 +48506,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 537
- ]
+ "children": [569]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 545,
- 548,
- 543,
- 553,
- 541,
- 544,
- 546,
- 547,
- 542
- ]
+ "children": [577, 580, 575, 585, 573, 576, 578, 579, 574]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 556,
- 554
- ]
+ "children": [588, 586]
}
],
"sources": [
@@ -46027,7 +48528,7 @@
],
"typeParameter": [
{
- "id": 568,
+ "id": 600,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -46037,7 +48538,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 437,
+ "id": 467,
"name": "PostgrestTransformBuilder"
}
],
@@ -46047,11 +48548,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -46069,41 +48570,46 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 538,
+ "id": 570,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 537,
+ "id": 569,
"name": "default.constructor"
}
},
{
- "id": 510,
+ "id": 541,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -46124,12 +48630,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 545,
+ "id": 577,
"name": "default.body"
}
},
{
- "id": 513,
+ "id": 544,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -46146,21 +48652,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 514,
+ "id": 545,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 515,
+ "id": 546,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 516,
+ "id": 547,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -46184,7 +48690,7 @@
}
},
{
- "id": 517,
+ "id": 548,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -46219,12 +48725,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 548,
+ "id": 580,
"name": "default.fetch"
}
},
{
- "id": 508,
+ "id": 539,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -46256,12 +48762,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 543,
+ "id": 575,
"name": "default.headers"
}
},
{
- "id": 518,
+ "id": 549,
"name": "isMaybeSingle",
"kind": 1024,
"kindString": "Property",
@@ -46281,12 +48787,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 553,
+ "id": 585,
"name": "default.isMaybeSingle"
}
},
{
- "id": 506,
+ "id": 537,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -46327,12 +48833,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 541,
+ "id": 573,
"name": "default.method"
}
},
{
- "id": 509,
+ "id": 540,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -46353,12 +48859,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 544,
+ "id": 576,
"name": "default.schema"
}
},
{
- "id": 511,
+ "id": 542,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -46379,12 +48885,12 @@
"defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 546,
+ "id": 578,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 512,
+ "id": 543,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -46407,12 +48913,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 547,
+ "id": 579,
"name": "default.signal"
}
},
{
- "id": 507,
+ "id": 538,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -46434,12 +48940,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 542,
+ "id": 574,
"name": "default.url"
}
},
{
- "id": 478,
+ "id": 509,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -46447,13 +48953,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 125,
+ "line": 130,
"character": 2
}
],
"signatures": [
{
- "id": 479,
+ "id": 510,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
@@ -46463,7 +48969,7 @@
},
"parameters": [
{
- "id": 480,
+ "id": 511,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
@@ -46481,22 +48987,27 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -46505,7 +49016,7 @@
]
},
{
- "id": 487,
+ "id": 518,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -46513,13 +49024,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 166,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 488,
+ "id": 519,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
@@ -46529,7 +49040,7 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "intrinsic",
@@ -46542,7 +49053,7 @@
]
},
{
- "id": 491,
+ "id": 522,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -46550,13 +49061,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
+ "line": 205,
"character": 2
}
],
"signatures": [
{
- "id": 492,
+ "id": 523,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
@@ -46566,7 +49077,7 @@
},
"parameters": [
{
- "id": 493,
+ "id": 524,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -46578,14 +49089,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 494,
+ "id": 525,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 495,
+ "id": 526,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -46598,7 +49109,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 208,
+ "line": 213,
"character": 4
}
],
@@ -46608,7 +49119,7 @@
}
},
{
- "id": 498,
+ "id": 529,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -46621,7 +49132,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 211,
+ "line": 216,
"character": 4
}
],
@@ -46631,7 +49142,7 @@
}
},
{
- "id": 500,
+ "id": 531,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -46644,7 +49155,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 213,
+ "line": 218,
"character": 4
}
],
@@ -46663,7 +49174,7 @@
}
},
{
- "id": 497,
+ "id": 528,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -46676,7 +49187,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 210,
+ "line": 215,
"character": 4
}
],
@@ -46686,7 +49197,7 @@
}
},
{
- "id": 496,
+ "id": 527,
"name": "verbose",
"kind": 1024,
"kindString": "Property",
@@ -46699,7 +49210,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 209,
+ "line": 214,
"character": 4
}
],
@@ -46709,7 +49220,7 @@
}
},
{
- "id": 499,
+ "id": 530,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -46722,7 +49233,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 212,
+ "line": 217,
"character": 4
}
],
@@ -46736,14 +49247,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 495,
- 498,
- 500,
- 497,
- 496,
- 499
- ]
+ "children": [526, 529, 531, 528, 527, 530]
}
]
}
@@ -46756,7 +49260,7 @@
"types": [
{
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "intrinsic",
@@ -46767,7 +49271,7 @@
},
{
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "array",
@@ -46797,7 +49301,7 @@
]
},
{
- "id": 489,
+ "id": 520,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -46805,13 +49309,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 174,
+ "line": 179,
"character": 2
}
],
"signatures": [
{
- "id": 490,
+ "id": 521,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
@@ -46821,7 +49325,7 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
@@ -46846,7 +49350,7 @@
]
},
{
- "id": 465,
+ "id": 496,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -46854,13 +49358,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
+ "line": 97,
"character": 2
}
],
"signatures": [
{
- "id": 466,
+ "id": 497,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -46870,7 +49374,7 @@
},
"parameters": [
{
- "id": 467,
+ "id": 498,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -46884,7 +49388,7 @@
}
},
{
- "id": 468,
+ "id": 499,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -46896,14 +49400,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 469,
+ "id": 500,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 470,
+ "id": 501,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -46916,7 +49420,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
+ "line": 97,
"character": 43
}
],
@@ -46930,9 +49434,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 470
- ]
+ "children": [501]
}
]
}
@@ -46942,22 +49444,27 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -46966,7 +49473,7 @@
]
},
{
- "id": 484,
+ "id": 515,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -46974,13 +49481,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 149,
+ "line": 154,
"character": 2
}
],
"signatures": [
{
- "id": 485,
+ "id": 516,
"name": "maybeSingle",
"kind": 4096,
"kindString": "Call signature",
@@ -46991,7 +49498,7 @@
},
"typeParameter": [
{
- "id": 486,
+ "id": 517,
"name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -47000,7 +49507,7 @@
"type": "conditional",
"checkType": {
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
},
"extendsType": {
@@ -47023,7 +49530,7 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "union",
@@ -47034,7 +49541,7 @@
},
{
"type": "reference",
- "id": 387,
+ "id": 416,
"name": "ResultOne"
}
]
@@ -47046,7 +49553,7 @@
]
},
{
- "id": 449,
+ "id": 480,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -47054,13 +49561,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
"signatures": [
{
- "id": 450,
+ "id": 481,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -47071,7 +49578,7 @@
},
"typeParameter": [
{
- "id": 451,
+ "id": 482,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -47084,7 +49591,7 @@
],
"parameters": [
{
- "id": 452,
+ "id": 483,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -47094,13 +49601,13 @@
},
"type": {
"type": "reference",
- "id": 352,
+ "id": 381,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 453,
+ "id": 484,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -47113,14 +49620,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 454,
+ "id": 485,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 455,
+ "id": 486,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -47133,7 +49640,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 16
}
],
@@ -47143,7 +49650,7 @@
}
},
{
- "id": 457,
+ "id": 488,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -47156,7 +49663,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 59
}
],
@@ -47166,7 +49673,7 @@
}
},
{
- "id": 456,
+ "id": 487,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -47179,7 +49686,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 37
}
],
@@ -47193,11 +49700,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 455,
- 457,
- 456
- ]
+ "children": [486, 488, 487]
}
]
}
@@ -47206,29 +49709,34 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 458,
+ "id": 489,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -47239,7 +49747,7 @@
},
"parameters": [
{
- "id": 459,
+ "id": 490,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -47253,7 +49761,7 @@
}
},
{
- "id": 460,
+ "id": 491,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -47266,14 +49774,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 461,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 462,
+ "id": 493,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -47286,7 +49794,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 16
}
],
@@ -47296,18 +49804,20 @@
}
},
{
- "id": 464,
+ "id": 495,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"comment": {
"shortText": "Set this to order a foreign table by foreign\ncolumns\n"
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 59
}
],
@@ -47317,7 +49827,7 @@
}
},
{
- "id": 463,
+ "id": 494,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -47330,7 +49840,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 37
}
],
@@ -47344,11 +49854,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 462,
- 464,
- 463
- ]
+ "children": [493, 495, 494]
}
]
}
@@ -47357,22 +49863,27 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -47381,7 +49892,7 @@
]
},
{
- "id": 471,
+ "id": 502,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -47389,23 +49900,23 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
+ "line": 116,
"character": 2
}
],
"signatures": [
{
- "id": 472,
+ "id": 503,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
+ "shortText": "Limit the query result by starting at an offset (`from`) and ending at the offset (`from + to`).\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query."
},
"parameters": [
{
- "id": 473,
+ "id": 504,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -47419,7 +49930,7 @@
}
},
{
- "id": 474,
+ "id": 505,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -47433,7 +49944,7 @@
}
},
{
- "id": 475,
+ "id": 506,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -47445,14 +49956,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 476,
+ "id": 507,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 477,
+ "id": 508,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -47465,7 +49976,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
+ "line": 116,
"character": 54
}
],
@@ -47479,9 +49990,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 477
- ]
+ "children": [508]
}
]
}
@@ -47491,22 +50000,27 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -47515,7 +50029,7 @@
]
},
{
- "id": 503,
+ "id": 534,
"name": "returns",
"kind": 2048,
"kindString": "Method",
@@ -47523,13 +50037,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 252,
+ "line": 257,
"character": 2
}
],
"signatures": [
{
- "id": 504,
+ "id": 535,
"name": "returns",
"kind": 4096,
"kindString": "Call signature",
@@ -47539,7 +50053,7 @@
},
"typeParameter": [
{
- "id": 505,
+ "id": 536,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -47551,22 +50065,27 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 406,
+ "id": 435,
"name": "NewResult"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -47575,7 +50094,7 @@
]
},
{
- "id": 501,
+ "id": 532,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -47583,13 +50102,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 238,
+ "line": 243,
"character": 2
}
],
"signatures": [
{
- "id": 502,
+ "id": 533,
"name": "rollback",
"kind": 4096,
"kindString": "Call signature",
@@ -47600,22 +50119,27 @@
},
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -47624,7 +50148,7 @@
]
},
{
- "id": 444,
+ "id": 475,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -47632,13 +50156,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 19,
+ "line": 20,
"character": 2
}
],
"signatures": [
{
- "id": 445,
+ "id": 476,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -47649,7 +50173,7 @@
},
"typeParameter": [
{
- "id": 446,
+ "id": 477,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -47664,7 +50188,7 @@
}
},
{
- "id": 447,
+ "id": 478,
"name": "NewResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -47674,17 +50198,22 @@
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 347,
+ "id": 473,
+ "name": "Relationships"
+ },
+ {
+ "type": "reference",
+ "id": 376,
"name": "Query"
}
],
@@ -47694,7 +50223,7 @@
],
"parameters": [
{
- "id": 448,
+ "id": 479,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -47706,7 +50235,7 @@
},
"type": {
"type": "reference",
- "id": 347,
+ "id": 376,
"name": "Query",
"dereferenced": {}
}
@@ -47714,25 +50243,30 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 348,
+ "id": 377,
"name": "NewResultOne"
}
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -47741,7 +50275,7 @@
]
},
{
- "id": 481,
+ "id": 512,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -47749,13 +50283,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 136,
+ "line": 141,
"character": 2
}
],
"signatures": [
{
- "id": 482,
+ "id": 513,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -47766,7 +50300,7 @@
},
"typeParameter": [
{
- "id": 483,
+ "id": 514,
"name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -47775,7 +50309,7 @@
"type": "conditional",
"checkType": {
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
},
"extendsType": {
@@ -47798,11 +50332,11 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 384,
+ "id": 413,
"name": "ResultOne"
}
],
@@ -47812,7 +50346,7 @@
]
},
{
- "id": 521,
+ "id": 552,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -47826,25 +50360,25 @@
],
"signatures": [
{
- "id": 522,
+ "id": 553,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 523,
+ "id": 554,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
}
],
@@ -47852,7 +50386,7 @@
}
},
{
- "id": 524,
+ "id": 555,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -47865,7 +50399,7 @@
],
"parameters": [
{
- "id": 525,
+ "id": 556,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -47882,32 +50416,32 @@
{
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 527,
+ "id": 558,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 528,
+ "id": 559,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
}
],
@@ -47920,7 +50454,7 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
@@ -47928,7 +50462,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
}
],
@@ -47946,7 +50480,7 @@
}
},
{
- "id": 529,
+ "id": 560,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -47963,21 +50497,21 @@
{
"type": "reflection",
"declaration": {
- "id": 530,
+ "id": 561,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 531,
+ "id": 562,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 532,
+ "id": 563,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -47993,7 +50527,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
},
{
@@ -48001,7 +50535,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
],
@@ -48027,12 +50561,12 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
]
@@ -48044,19 +50578,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 557,
+ "id": 589,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 556,
+ "id": 588,
"name": "default.then"
}
},
{
- "id": 519,
+ "id": 550,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -48070,7 +50604,7 @@
],
"signatures": [
{
- "id": 520,
+ "id": 551,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -48081,36 +50615,41 @@
},
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 555,
+ "id": 587,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 554,
+ "id": 586,
"name": "default.throwOnError"
}
}
@@ -48119,44 +50658,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 438
- ]
+ "children": [468]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 510,
- 513,
- 508,
- 518,
- 506,
- 509,
- 511,
- 512,
- 507
- ]
+ "children": [541, 544, 539, 549, 537, 540, 542, 543, 538]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 478,
- 487,
- 491,
- 489,
- 465,
- 484,
- 449,
- 471,
- 503,
- 501,
- 444,
- 481,
- 521,
- 519
- ]
+ "children": [509, 518, 522, 520, 496, 515, 480, 502, 534, 532, 475, 512, 552, 550]
}
],
"sources": [
@@ -48168,7 +50680,7 @@
],
"typeParameter": [
{
- "id": 533,
+ "id": 564,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -48179,7 +50691,7 @@
}
},
{
- "id": 534,
+ "id": 565,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -48202,21 +50714,32 @@
}
},
{
- "id": 535,
+ "id": 566,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
+ },
+ {
+ "id": 567,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
}
],
@@ -48226,20 +50749,20 @@
"extendedBy": [
{
"type": "reference",
- "id": 114,
+ "id": 142,
"name": "PostgrestFilterBuilder"
}
]
},
{
- "id": 571,
+ "id": 603,
"name": "PostgrestResponseFailure",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 574,
+ "id": 606,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -48257,7 +50780,7 @@
}
},
{
- "id": 573,
+ "id": 605,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -48275,7 +50798,7 @@
}
},
{
- "id": 572,
+ "id": 604,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -48289,10 +50812,10 @@
],
"type": {
"type": "reference",
- "id": 588,
+ "id": 620,
"name": "PostgrestError",
"dereferenced": {
- "id": 588,
+ "id": 620,
"name": "PostgrestError",
"kind": 4194304,
"kindString": "Type alias",
@@ -48311,14 +50834,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 621,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -48336,7 +50859,7 @@
}
},
{
- "id": 591,
+ "id": 623,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -48354,7 +50877,7 @@
}
},
{
- "id": 592,
+ "id": 624,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -48372,7 +50895,7 @@
}
},
{
- "id": 590,
+ "id": 622,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -48394,12 +50917,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 593,
- 591,
- 592,
- 590
- ]
+ "children": [625, 623, 624, 622]
}
],
"sources": [
@@ -48415,7 +50933,7 @@
}
},
{
- "id": 575,
+ "id": 607,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -48437,7 +50955,7 @@
}
},
{
- "id": 576,
+ "id": 608,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -48463,13 +50981,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 574,
- 573,
- 572,
- 575,
- 576
- ]
+ "children": [606, 605, 604, 607, 608]
}
],
"sources": [
@@ -48487,14 +50999,14 @@
]
},
{
- "id": 577,
+ "id": 609,
"name": "PostgrestResponseSuccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 580,
+ "id": 612,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -48521,7 +51033,7 @@
}
},
{
- "id": 579,
+ "id": 611,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -48535,13 +51047,13 @@
],
"type": {
"type": "reference",
- "id": 583,
+ "id": 615,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 578,
+ "id": 610,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -48559,7 +51071,7 @@
}
},
{
- "id": 581,
+ "id": 613,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -48581,7 +51093,7 @@
}
},
{
- "id": 582,
+ "id": 614,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -48607,13 +51119,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 580,
- 579,
- 578,
- 581,
- 582
- ]
+ "children": [612, 611, 610, 613, 614]
}
],
"sources": [
@@ -48625,7 +51131,7 @@
],
"typeParameter": [
{
- "id": 583,
+ "id": 615,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -48640,7 +51146,7 @@
]
},
{
- "id": 588,
+ "id": 620,
"name": "PostgrestError",
"kind": 4194304,
"kindString": "Type alias",
@@ -48659,14 +51165,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 621,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -48684,7 +51190,7 @@
}
},
{
- "id": 591,
+ "id": 623,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -48702,7 +51208,7 @@
}
},
{
- "id": 592,
+ "id": 624,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -48720,7 +51226,7 @@
}
},
{
- "id": 590,
+ "id": 622,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -48742,12 +51248,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 593,
- 591,
- 592,
- 590
- ]
+ "children": [625, 623, 624, 622]
}
],
"sources": [
@@ -48761,7 +51262,7 @@
}
},
{
- "id": 586,
+ "id": 618,
"name": "PostgrestMaybeSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -48775,7 +51276,7 @@
],
"typeParameter": [
{
- "id": 587,
+ "id": 619,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -48784,14 +51285,14 @@
],
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
- "id": 587,
+ "id": 619,
"name": "T"
},
{
@@ -48805,7 +51306,7 @@
}
},
{
- "id": 569,
+ "id": 601,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -48819,7 +51320,7 @@
],
"typeParameter": [
{
- "id": 570,
+ "id": 602,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -48828,13 +51329,13 @@
],
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 570,
+ "id": 602,
"name": "T"
}
}
@@ -48843,7 +51344,7 @@
}
},
{
- "id": 584,
+ "id": 616,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -48857,7 +51358,7 @@
],
"typeParameter": [
{
- "id": 585,
+ "id": 617,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -48868,14 +51369,14 @@
"type": "union",
"types": [
{
- "id": 577,
+ "id": 609,
"name": "PostgrestResponseSuccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 580,
+ "id": 612,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -48902,7 +51403,7 @@
}
},
{
- "id": 579,
+ "id": 611,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -48916,13 +51417,13 @@
],
"type": {
"type": "reference",
- "id": 583,
+ "id": 615,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 578,
+ "id": 610,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -48940,7 +51441,7 @@
}
},
{
- "id": 581,
+ "id": 613,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -48962,7 +51463,7 @@
}
},
{
- "id": 582,
+ "id": 614,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -48988,13 +51489,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 580,
- 579,
- 578,
- 581,
- 582
- ]
+ "children": [612, 611, 610, 613, 614]
}
],
"sources": [
@@ -49006,7 +51501,7 @@
],
"typeParameter": [
{
- "id": 583,
+ "id": 615,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -49021,14 +51516,14 @@
]
},
{
- "id": 571,
+ "id": 603,
"name": "PostgrestResponseFailure",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 574,
+ "id": 606,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -49046,7 +51541,7 @@
}
},
{
- "id": 573,
+ "id": 605,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -49064,7 +51559,7 @@
}
},
{
- "id": 572,
+ "id": 604,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -49078,10 +51573,10 @@
],
"type": {
"type": "reference",
- "id": 588,
+ "id": 620,
"name": "PostgrestError",
"dereferenced": {
- "id": 588,
+ "id": 620,
"name": "PostgrestError",
"kind": 4194304,
"kindString": "Type alias",
@@ -49100,14 +51595,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 621,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -49125,7 +51620,7 @@
}
},
{
- "id": 591,
+ "id": 623,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -49143,7 +51638,7 @@
}
},
{
- "id": 592,
+ "id": 624,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -49161,7 +51656,7 @@
}
},
{
- "id": 590,
+ "id": 622,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -49183,12 +51678,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 593,
- 591,
- 592,
- 590
- ]
+ "children": [625, 623, 624, 622]
}
],
"sources": [
@@ -49204,7 +51694,7 @@
}
},
{
- "id": 575,
+ "id": 607,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -49226,7 +51716,7 @@
}
},
{
- "id": 576,
+ "id": 608,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -49252,13 +51742,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 574,
- 573,
- 572,
- 575,
- 576
- ]
+ "children": [606, 605, 604, 607, 608]
}
],
"sources": [
@@ -49283,31 +51767,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 536,
- 1,
- 114,
- 49,
- 437
- ]
+ "children": [568, 1, 142, 57, 467]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [
- 571,
- 577
- ]
+ "children": [603, 609]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [
- 588,
- 586,
- 569,
- 584
- ]
+ "children": [620, 618, 601, 616]
}
],
"sources": [
@@ -49327,14 +51797,14 @@
"originalName": "",
"children": [
{
- "id": 535,
+ "id": 536,
"name": "REALTIME_LISTEN_TYPES",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 537,
"name": "BROADCAST",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49353,7 +51823,7 @@
"defaultValue": "\"broadcast\""
},
{
- "id": 538,
+ "id": 539,
"name": "POSTGRES_CHANGES",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49375,7 +51845,7 @@
"defaultValue": "\"postgres_changes\""
},
{
- "id": 537,
+ "id": 538,
"name": "PRESENCE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49398,11 +51868,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 536,
- 538,
- 537
- ]
+ "children": [537, 539, 538]
}
],
"sources": [
@@ -49414,14 +51880,14 @@
]
},
{
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 540,
+ "id": 541,
"name": "ALL",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49440,7 +51906,7 @@
"defaultValue": "\"*\""
},
{
- "id": 543,
+ "id": 544,
"name": "DELETE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49459,7 +51925,7 @@
"defaultValue": "\"DELETE\""
},
{
- "id": 541,
+ "id": 542,
"name": "INSERT",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49478,7 +51944,7 @@
"defaultValue": "\"INSERT\""
},
{
- "id": 542,
+ "id": 543,
"name": "UPDATE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49501,12 +51967,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 540,
- 543,
- 541,
- 542
- ]
+ "children": [541, 544, 542, 543]
}
],
"sources": [
@@ -49518,14 +51979,14 @@
]
},
{
- "id": 544,
+ "id": 545,
"name": "REALTIME_PRESENCE_LISTEN_EVENTS",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 547,
"name": "JOIN",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49544,7 +52005,7 @@
"defaultValue": "\"join\""
},
{
- "id": 547,
+ "id": 548,
"name": "LEAVE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49563,7 +52024,7 @@
"defaultValue": "\"leave\""
},
{
- "id": 545,
+ "id": 546,
"name": "SYNC",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49586,11 +52047,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 546,
- 547,
- 545
- ]
+ "children": [547, 548, 546]
}
],
"sources": [
@@ -49602,14 +52059,14 @@
]
},
{
- "id": 548,
+ "id": 549,
"name": "REALTIME_SUBSCRIBE_STATES",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 552,
+ "id": 553,
"name": "CHANNEL_ERROR",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49628,7 +52085,7 @@
"defaultValue": "\"CHANNEL_ERROR\""
},
{
- "id": 551,
+ "id": 552,
"name": "CLOSED",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49647,7 +52104,7 @@
"defaultValue": "\"CLOSED\""
},
{
- "id": 549,
+ "id": 550,
"name": "SUBSCRIBED",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49666,7 +52123,7 @@
"defaultValue": "\"SUBSCRIBED\""
},
{
- "id": 550,
+ "id": 551,
"name": "TIMED_OUT",
"kind": 16,
"kindString": "Enumeration Member",
@@ -49689,12 +52146,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 552,
- 551,
- 549,
- 550
- ]
+ "children": [553, 552, 550, 551]
}
],
"sources": [
@@ -49873,10 +52325,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -49941,9 +52390,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -49961,10 +52408,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -49982,9 +52426,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -50026,7 +52468,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -50209,6 +52651,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -50357,15 +52836,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
+ 447, 446, 449, 444, 457, 445, 453, 448, 443, 442
]
}
],
@@ -50399,7 +52870,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -50427,7 +52898,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -50450,7 +52921,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -50480,7 +52951,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -50500,7 +52971,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -50520,7 +52991,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -50539,7 +53010,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -50560,7 +53031,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -50608,7 +53079,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -50627,7 +53098,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -50657,7 +53128,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -50676,7 +53147,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -50699,7 +53170,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -50747,7 +53218,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -50775,7 +53246,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -50795,7 +53266,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -50813,7 +53284,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -50832,7 +53303,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -50856,7 +53327,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -50875,7 +53346,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -50897,7 +53368,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -50920,7 +53391,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -50943,7 +53414,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -50966,7 +53437,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -50985,12 +53456,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -51006,7 +53472,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -51025,7 +53491,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -51044,7 +53510,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -51193,10 +53659,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -51261,9 +53724,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -51281,10 +53742,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -51302,9 +53760,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -51338,7 +53794,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -51368,7 +53824,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -51398,7 +53854,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -51462,7 +53918,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -51496,7 +53952,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -51526,7 +53982,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -51594,7 +54050,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -51618,10 +54074,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -51629,25 +54085,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -51659,99 +54189,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -51786,7 +54236,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -51807,7 +54257,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -51828,7 +54278,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -51870,40 +54320,19 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
+ 80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -51922,7 +54351,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -51942,7 +54371,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -51993,60 +54422,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340,
+ 348, 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
- ]
+ "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -52229,12 +54624,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 90,
- 86,
- 91,
- 85
- ]
+ "children": [90, 86, 91, 85]
}
],
"sources": [
@@ -52417,10 +54807,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -52485,9 +54872,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -52505,10 +54890,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -52526,9 +54908,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -52619,40 +54999,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -52786,17 +55143,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 46,
- 47
- ]
+ "children": [46, 47]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 48
- ]
+ "children": [48]
}
]
}
@@ -52829,40 +55181,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -52940,7 +55269,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reflection",
@@ -52955,7 +55284,7 @@
],
"name": "RealtimePresenceState",
"dereferenced": {
- "id": 525,
+ "id": 526,
"name": "RealtimePresenceState",
"kind": 4194304,
"kindString": "Type alias",
@@ -52969,7 +55298,7 @@
],
"typeParameter": [
{
- "id": 533,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -52977,7 +55306,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 530,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -52990,14 +55319,14 @@
}
],
"indexSignature": {
- "id": 530,
+ "id": 531,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 531,
+ "id": 532,
"name": "key",
"kind": 32768,
"flags": {},
@@ -53017,7 +55346,7 @@
"default": {
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 533,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -53036,7 +55365,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -53049,14 +55378,14 @@
}
],
"indexSignature": {
- "id": 527,
+ "id": 528,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 528,
+ "id": 529,
"name": "key",
"kind": 32768,
"flags": {},
@@ -53073,7 +55402,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 533,
+ "id": 534,
"name": "T"
}
],
@@ -53092,20 +55421,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [36]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
+ "children": [44, 50, 43, 42, 40]
}
],
"sources": [
@@ -53186,7 +55507,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -53369,6 +55690,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -53517,15 +55875,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
+ 447, 446, 449, 444, 457, 445, 453, 448, 443, 442
]
}
],
@@ -53559,7 +55909,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -53587,7 +55937,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -53610,7 +55960,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -53640,7 +55990,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -53660,7 +56010,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -53680,7 +56030,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -53699,7 +56049,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -53720,7 +56070,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -53768,7 +56118,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -53787,7 +56137,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -53817,7 +56167,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -53836,7 +56186,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -53859,7 +56209,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -53907,7 +56257,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -53935,7 +56285,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -53955,7 +56305,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -53973,7 +56323,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -53992,7 +56342,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -54016,7 +56366,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -54035,7 +56385,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -54057,7 +56407,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -54080,7 +56430,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -54103,7 +56453,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -54126,7 +56476,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -54145,12 +56495,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -54166,7 +56511,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -54185,7 +56530,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -54204,7 +56549,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -54353,10 +56698,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -54421,9 +56763,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -54441,10 +56781,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -54462,9 +56799,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -54498,7 +56833,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -54528,7 +56863,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -54558,7 +56893,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -54622,7 +56957,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -54656,7 +56991,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -54686,7 +57021,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -54754,7 +57089,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -54778,10 +57113,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -54789,25 +57124,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -54819,99 +57228,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -54946,7 +57275,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -54967,7 +57296,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -54988,7 +57317,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -55030,40 +57359,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -55082,7 +57388,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -55102,7 +57408,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -55153,60 +57459,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, 354,
+ 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
- ]
+ "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -55336,9 +57608,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -55479,9 +57749,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 150
- ]
+ "children": [150]
}
]
}
@@ -55517,7 +57785,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 505,
+ "id": 506,
"typeArguments": [
{
"type": "reference",
@@ -55643,9 +57911,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 163
- ]
+ "children": [163]
}
]
}
@@ -55681,7 +57947,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 515,
+ "id": 516,
"typeArguments": [
{
"type": "reference",
@@ -55777,7 +58043,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -55786,7 +58052,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -55800,7 +58066,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -55812,7 +58078,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -55824,14 +58090,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -55848,13 +58114,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -55877,7 +58143,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -55898,7 +58164,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -55925,12 +58191,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -55975,7 +58236,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 471,
+ "id": 472,
"typeArguments": [
{
"type": "reference",
@@ -56071,7 +58332,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -56080,7 +58341,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -56094,7 +58355,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -56106,7 +58367,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -56118,14 +58379,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -56142,13 +58403,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -56171,7 +58432,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -56192,7 +58453,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -56219,12 +58480,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -56269,7 +58525,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 476,
+ "id": 477,
"typeArguments": [
{
"type": "reference",
@@ -56365,7 +58621,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -56374,7 +58630,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -56388,7 +58644,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -56400,7 +58656,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -56412,14 +58668,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -56436,13 +58692,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -56465,7 +58721,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -56486,7 +58742,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -56513,12 +58769,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -56563,7 +58814,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 487,
"typeArguments": [
{
"type": "reference",
@@ -56659,7 +58910,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -56668,7 +58919,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -56682,7 +58933,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -56694,7 +58945,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -56706,14 +58957,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -56730,13 +58981,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -56759,7 +59010,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -56780,7 +59031,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -56807,12 +59058,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -56857,7 +59103,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 495,
+ "id": 496,
"typeArguments": [
{
"type": "reference",
@@ -56950,9 +59196,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 216
- ]
+ "children": [216]
}
]
}
@@ -57039,10 +59283,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223,
- 222
- ]
+ "children": [223, 222]
}
],
"indexSignature": {
@@ -57164,7 +59405,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reference",
@@ -57236,9 +59477,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 230
- ]
+ "children": [230]
}
],
"indexSignature": {
@@ -57785,40 +60024,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -57845,7 +60061,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -58028,6 +60244,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -58175,17 +60428,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
- ]
+ "children": [447, 446, 449, 444, 457, 445, 453, 448, 443, 442]
}
],
"sources": [
@@ -58218,7 +60461,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -58246,7 +60489,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -58269,7 +60512,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -58299,7 +60542,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -58319,7 +60562,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -58339,7 +60582,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -58358,7 +60601,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -58379,7 +60622,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -58427,7 +60670,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -58446,7 +60689,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -58476,7 +60719,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -58495,7 +60738,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -58518,7 +60761,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -58566,7 +60809,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -58594,7 +60837,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -58614,7 +60857,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -58632,7 +60875,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -58651,7 +60894,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -58675,7 +60918,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -58694,7 +60937,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -58716,7 +60959,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -58739,7 +60982,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -58762,7 +61005,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -58785,7 +61028,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -58804,12 +61047,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -58825,7 +61063,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -58844,7 +61082,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -58863,7 +61101,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -59012,10 +61250,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -59080,9 +61315,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -59100,10 +61333,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -59121,9 +61351,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -59157,7 +61385,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -59187,7 +61415,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -59217,7 +61445,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -59281,7 +61509,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -59315,7 +61543,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -59345,7 +61573,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -59413,7 +61641,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -59437,10 +61665,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -59448,25 +61676,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -59478,99 +61780,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -59605,7 +61827,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -59626,7 +61848,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -59647,7 +61869,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -59843,10 +62065,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -59911,9 +62130,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -59931,10 +62148,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -59952,9 +62166,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -59991,52 +62203,22 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347,
+ 365, 351, 340, 348, 354, 350, 349, 356, 357, 358,
+ 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
+ 388, 366, 384, 368, 372, 386, 379, 392, 377, 374,
395
]
}
@@ -60044,7 +62226,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -60227,12 +62409,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 90,
- 86,
- 91,
- 85
- ]
+ "children": [90, 86, 91, 85]
}
],
"sources": [
@@ -60415,10 +62592,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -60483,9 +62657,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -60503,10 +62675,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -60524,9 +62693,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -60727,17 +62894,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 46,
- 47
- ]
+ "children": [46, 47]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 48
- ]
+ "children": [48]
}
]
}
@@ -60824,7 +62986,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reflection",
@@ -60839,7 +63001,7 @@
],
"name": "RealtimePresenceState",
"dereferenced": {
- "id": 525,
+ "id": 526,
"name": "RealtimePresenceState",
"kind": 4194304,
"kindString": "Type alias",
@@ -60853,7 +63015,7 @@
],
"typeParameter": [
{
- "id": 533,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -60861,7 +63023,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 530,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -60874,14 +63036,14 @@
}
],
"indexSignature": {
- "id": 530,
+ "id": 531,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 531,
+ "id": 532,
"name": "key",
"kind": 32768,
"flags": {},
@@ -60901,7 +63063,7 @@
"default": {
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 533,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -60920,7 +63082,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -60933,14 +63095,14 @@
}
],
"indexSignature": {
- "id": 527,
+ "id": 528,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 528,
+ "id": 529,
"name": "key",
"kind": 32768,
"flags": {},
@@ -60957,7 +63119,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 533,
+ "id": 534,
"name": "T"
}
],
@@ -60976,20 +63138,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [36]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
+ "children": [44, 50, 43, 42, 40]
}
],
"sources": [
@@ -61065,60 +63219,28 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351,
+ 340, 348, 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
+ 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -61248,9 +63370,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -61391,9 +63511,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 150
- ]
+ "children": [150]
}
]
}
@@ -61429,7 +63547,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 505,
+ "id": 506,
"typeArguments": [
{
"type": "reference",
@@ -61555,9 +63673,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 163
- ]
+ "children": [163]
}
]
}
@@ -61593,7 +63709,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 515,
+ "id": 516,
"typeArguments": [
{
"type": "reference",
@@ -61689,7 +63805,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -61698,7 +63814,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -61712,7 +63828,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -61724,7 +63840,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -61736,14 +63852,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -61760,13 +63876,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -61789,7 +63905,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -61810,7 +63926,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -61837,12 +63953,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -61887,7 +63998,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 471,
+ "id": 472,
"typeArguments": [
{
"type": "reference",
@@ -61983,7 +64094,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -61992,7 +64103,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -62006,7 +64117,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -62018,7 +64129,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -62030,14 +64141,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -62054,13 +64165,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -62083,7 +64194,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -62104,7 +64215,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -62131,12 +64242,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -62181,7 +64287,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 476,
+ "id": 477,
"typeArguments": [
{
"type": "reference",
@@ -62277,7 +64383,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -62286,7 +64392,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -62300,7 +64406,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -62312,7 +64418,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -62324,14 +64430,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -62348,13 +64454,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -62377,7 +64483,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -62398,7 +64504,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -62425,12 +64531,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -62475,7 +64576,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 487,
"typeArguments": [
{
"type": "reference",
@@ -62571,7 +64672,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -62580,7 +64681,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -62594,7 +64695,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -62606,7 +64707,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -62618,14 +64719,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -62642,13 +64743,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -62671,7 +64772,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -62692,7 +64793,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -62719,12 +64820,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -62769,7 +64865,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 495,
+ "id": 496,
"typeArguments": [
{
"type": "reference",
@@ -62862,9 +64958,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 216
- ]
+ "children": [216]
}
]
}
@@ -62951,10 +65045,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223,
- 222
- ]
+ "children": [223, 222]
}
],
"indexSignature": {
@@ -63076,7 +65167,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reference",
@@ -63148,9 +65239,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 230
- ]
+ "children": [230]
}
],
"indexSignature": {
@@ -63697,40 +65786,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -63749,7 +65815,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -63769,7 +65835,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -63820,60 +65886,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, 354, 350, 349,
+ 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
- ]
+ "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -64090,10 +66122,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -64158,9 +66187,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -64178,10 +66205,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -64199,9 +66223,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -64243,7 +66265,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -64426,6 +66448,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -64574,15 +66633,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
+ 447, 446, 449, 444, 457, 445,
+ 453, 448, 443, 442
]
}
],
@@ -64616,7 +66668,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -64644,7 +66696,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -64667,7 +66719,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -64697,7 +66749,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -64717,7 +66769,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -64737,7 +66789,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -64756,7 +66808,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -64777,7 +66829,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -64825,7 +66877,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -64844,7 +66896,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -64874,7 +66926,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -64893,7 +66945,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -64916,7 +66968,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -64964,7 +67016,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -64992,7 +67044,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -65012,7 +67064,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -65030,7 +67082,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -65049,7 +67101,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -65073,7 +67125,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -65092,7 +67144,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -65114,7 +67166,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -65137,7 +67189,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -65160,7 +67212,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -65183,7 +67235,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -65202,12 +67254,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -65223,7 +67270,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -65242,7 +67289,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -65261,7 +67308,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -65411,8 +67458,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 323,
- 322
+ 323, 322
]
}
],
@@ -65478,9 +67524,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -65498,10 +67542,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -65519,9 +67560,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -65555,7 +67594,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -65585,7 +67624,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -65615,7 +67654,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -65679,7 +67718,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -65713,7 +67752,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -65743,7 +67782,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -65811,7 +67850,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -65835,10 +67874,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -65846,25 +67885,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -65876,80 +67989,6 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
@@ -65957,18 +67996,14 @@
"title": "Properties",
"kind": 1024,
"children": [
- 460,
- 463,
- 461,
- 462,
- 459
+ 461, 464, 462, 463, 460
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -66003,7 +68038,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -66024,7 +68059,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -66045,7 +68080,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -66082,7 +68117,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -66102,7 +68137,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -66153,52 +68188,22 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347,
+ 365, 351, 340, 348, 354, 350, 349, 356, 357, 358,
+ 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
+ 388, 366, 384, 368, 372, 386, 379, 392, 377, 374,
395
]
}
@@ -66206,7 +68211,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -66389,12 +68394,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 90,
- 86,
- 91,
- 85
- ]
+ "children": [90, 86, 91, 85]
}
],
"sources": [
@@ -66577,10 +68577,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -66645,9 +68642,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -66665,10 +68660,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -66686,9 +68678,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -66732,20 +68722,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [36]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
+ "children": [44, 50, 43, 42, 40]
}
],
"sources": [
@@ -66826,7 +68808,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -67009,6 +68991,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -67157,15 +69176,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
+ 447, 446, 449, 444, 457, 445, 453, 448,
+ 443, 442
]
}
],
@@ -67199,7 +69211,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -67227,7 +69239,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -67250,7 +69262,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -67280,7 +69292,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -67300,7 +69312,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -67320,7 +69332,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -67339,7 +69351,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -67360,7 +69372,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -67408,7 +69420,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -67427,7 +69439,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -67457,7 +69469,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -67476,7 +69488,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -67499,7 +69511,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -67547,7 +69559,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -67575,7 +69587,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -67595,7 +69607,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -67613,7 +69625,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -67632,7 +69644,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -67656,7 +69668,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -67675,7 +69687,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -67697,7 +69709,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -67720,7 +69732,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -67743,7 +69755,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -67766,7 +69778,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -67785,12 +69797,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -67806,7 +69813,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -67825,7 +69832,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -67844,7 +69851,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -67993,10 +70000,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -68061,9 +70065,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -68081,10 +70083,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -68102,9 +70101,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -68138,7 +70135,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -68168,7 +70165,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -68198,7 +70195,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -68262,7 +70259,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -68296,7 +70293,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -68326,7 +70323,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -68394,7 +70391,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -68418,10 +70415,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -68429,25 +70426,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -68459,99 +70530,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -68586,7 +70577,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -68607,7 +70598,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -68628,7 +70619,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -68665,7 +70656,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -68685,7 +70676,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -68736,60 +70727,28 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351,
+ 340, 348, 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
+ 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -68919,9 +70878,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -69062,9 +71019,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 150
- ]
+ "children": [150]
}
]
}
@@ -69100,7 +71055,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 505,
+ "id": 506,
"typeArguments": [
{
"type": "reference",
@@ -69226,9 +71181,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 163
- ]
+ "children": [163]
}
]
}
@@ -69264,7 +71217,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 515,
+ "id": 516,
"typeArguments": [
{
"type": "reference",
@@ -69360,7 +71313,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -69369,7 +71322,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -69383,7 +71336,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -69395,7 +71348,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -69407,14 +71360,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -69431,13 +71384,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -69460,7 +71413,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -69481,7 +71434,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -69508,12 +71461,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -69558,7 +71506,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 471,
+ "id": 472,
"typeArguments": [
{
"type": "reference",
@@ -69654,7 +71602,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -69663,7 +71611,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -69677,7 +71625,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -69689,7 +71637,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -69701,14 +71649,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -69725,13 +71673,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -69754,7 +71702,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -69775,7 +71723,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -69802,12 +71750,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -69852,7 +71795,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 476,
+ "id": 477,
"typeArguments": [
{
"type": "reference",
@@ -69948,7 +71891,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -69957,7 +71900,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -69971,7 +71914,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -69983,7 +71926,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -69995,14 +71938,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -70019,13 +71962,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -70048,7 +71991,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -70069,7 +72012,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -70096,12 +72039,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -70146,7 +72084,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 487,
"typeArguments": [
{
"type": "reference",
@@ -70242,7 +72180,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -70251,7 +72189,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -70265,7 +72203,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -70277,7 +72215,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -70289,14 +72227,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -70313,13 +72251,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -70342,7 +72280,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -70363,7 +72301,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -70390,12 +72328,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -70440,7 +72373,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 495,
+ "id": 496,
"typeArguments": [
{
"type": "reference",
@@ -70533,9 +72466,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 216
- ]
+ "children": [216]
}
]
}
@@ -70622,10 +72553,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223,
- 222
- ]
+ "children": [223, 222]
}
],
"indexSignature": {
@@ -70747,7 +72675,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reference",
@@ -70819,9 +72747,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 230
- ]
+ "children": [230]
}
],
"indexSignature": {
@@ -71368,40 +73294,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -71535,17 +73438,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 46,
- 47
- ]
+ "children": [46, 47]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 48
- ]
+ "children": [48]
}
]
}
@@ -71732,10 +73630,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -71800,9 +73695,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -71820,10 +73713,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -71841,9 +73731,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -71885,7 +73773,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -72068,6 +73956,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -72216,15 +74141,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
+ 447, 446, 449, 444, 457, 445, 453, 448,
+ 443, 442
]
}
],
@@ -72258,7 +74176,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -72286,7 +74204,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -72309,7 +74227,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -72339,7 +74257,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -72359,7 +74277,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -72379,7 +74297,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -72398,7 +74316,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -72419,7 +74337,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -72467,7 +74385,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -72486,7 +74404,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -72516,7 +74434,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -72535,7 +74453,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -72558,7 +74476,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -72606,7 +74524,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -72634,7 +74552,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -72654,7 +74572,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -72672,7 +74590,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -72691,7 +74609,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -72715,7 +74633,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -72734,7 +74652,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -72756,7 +74674,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -72779,7 +74697,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -72802,7 +74720,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -72825,7 +74743,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -72844,12 +74762,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -72865,7 +74778,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -72884,7 +74797,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -72903,7 +74816,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -73052,10 +74965,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -73120,9 +75030,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -73140,10 +75048,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -73161,9 +75066,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -73197,7 +75100,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -73227,7 +75130,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -73257,7 +75160,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -73321,7 +75224,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -73355,7 +75258,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -73385,7 +75288,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -73453,7 +75356,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -73477,10 +75380,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -73488,25 +75391,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -73518,99 +75495,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -73645,7 +75542,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -73666,7 +75563,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -73687,7 +75584,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -73724,7 +75621,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -73744,7 +75641,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -73795,60 +75692,28 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351,
+ 340, 348, 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
+ 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -74031,12 +75896,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 90,
- 86,
- 91,
- 85
- ]
+ "children": [90, 86, 91, 85]
}
],
"sources": [
@@ -74219,10 +76079,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -74287,9 +76144,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -74307,10 +76162,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -74328,9 +76180,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -74374,20 +76224,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [36]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
+ "children": [44, 50, 43, 42, 40]
}
],
"sources": [
@@ -74468,7 +76310,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -74651,6 +76493,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -74799,15 +76678,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
+ 447, 446, 449, 444, 457, 445, 453, 448, 443, 442
]
}
],
@@ -74841,7 +76712,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -74869,7 +76740,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -74892,7 +76763,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -74922,7 +76793,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -74942,7 +76813,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -74962,7 +76833,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -74981,7 +76852,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -75002,7 +76873,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -75050,7 +76921,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -75069,7 +76940,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -75099,7 +76970,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -75118,7 +76989,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -75141,7 +77012,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -75189,7 +77060,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -75217,7 +77088,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -75237,7 +77108,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -75255,7 +77126,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -75274,7 +77145,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -75298,7 +77169,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -75317,7 +77188,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -75339,7 +77210,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -75362,7 +77233,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -75385,7 +77256,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -75408,7 +77279,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -75427,12 +77298,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -75448,7 +77314,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -75467,7 +77333,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -75486,7 +77352,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -75635,10 +77501,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -75703,9 +77566,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -75723,10 +77584,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -75744,9 +77602,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -75780,7 +77636,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -75810,7 +77666,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -75840,7 +77696,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -75904,7 +77760,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -75938,7 +77794,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -75968,7 +77824,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -76036,7 +77892,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -76060,10 +77916,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -76071,25 +77927,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -76101,99 +78031,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -76228,7 +78078,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -76249,7 +78099,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -76270,7 +78120,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -76307,7 +78157,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -76327,7 +78177,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -76378,60 +78228,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340,
+ 348, 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
- ]
+ "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -76561,9 +78377,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -76704,9 +78518,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 150
- ]
+ "children": [150]
}
]
}
@@ -76742,7 +78554,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 505,
+ "id": 506,
"typeArguments": [
{
"type": "reference",
@@ -76868,9 +78680,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 163
- ]
+ "children": [163]
}
]
}
@@ -76906,7 +78716,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 515,
+ "id": 516,
"typeArguments": [
{
"type": "reference",
@@ -77002,7 +78812,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -77011,7 +78821,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -77025,7 +78835,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -77037,7 +78847,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -77049,14 +78859,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -77073,13 +78883,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -77102,7 +78912,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -77123,7 +78933,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -77150,12 +78960,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -77200,7 +79005,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 471,
+ "id": 472,
"typeArguments": [
{
"type": "reference",
@@ -77296,7 +79101,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -77305,7 +79110,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -77319,7 +79124,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -77331,7 +79136,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -77343,14 +79148,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -77367,13 +79172,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -77396,7 +79201,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -77417,7 +79222,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -77444,12 +79249,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -77494,7 +79294,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 476,
+ "id": 477,
"typeArguments": [
{
"type": "reference",
@@ -77590,7 +79390,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -77599,7 +79399,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -77613,7 +79413,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -77625,7 +79425,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -77637,14 +79437,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -77661,13 +79461,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -77690,7 +79490,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -77711,7 +79511,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -77738,12 +79538,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -77788,7 +79583,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 487,
"typeArguments": [
{
"type": "reference",
@@ -77884,7 +79679,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -77893,7 +79688,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -77907,7 +79702,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -77919,7 +79714,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -77931,14 +79726,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -77955,13 +79750,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -77984,7 +79779,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -78005,7 +79800,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -78032,12 +79827,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -78082,7 +79872,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 495,
+ "id": 496,
"typeArguments": [
{
"type": "reference",
@@ -78175,9 +79965,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 216
- ]
+ "children": [216]
}
]
}
@@ -78264,10 +80052,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223,
- 222
- ]
+ "children": [223, 222]
}
],
"indexSignature": {
@@ -78389,7 +80174,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reference",
@@ -78461,9 +80246,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 230
- ]
+ "children": [230]
}
],
"indexSignature": {
@@ -79010,40 +80793,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -79121,7 +80881,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reflection",
@@ -79136,7 +80896,7 @@
],
"name": "RealtimePresenceState",
"dereferenced": {
- "id": 525,
+ "id": 526,
"name": "RealtimePresenceState",
"kind": 4194304,
"kindString": "Type alias",
@@ -79150,7 +80910,7 @@
],
"typeParameter": [
{
- "id": 533,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -79158,7 +80918,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 530,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -79171,14 +80931,14 @@
}
],
"indexSignature": {
- "id": 530,
+ "id": 531,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 531,
+ "id": 532,
"name": "key",
"kind": 32768,
"flags": {},
@@ -79198,7 +80958,7 @@
"default": {
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 533,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -79217,7 +80977,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -79230,14 +80990,14 @@
}
],
"indexSignature": {
- "id": 527,
+ "id": 528,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 528,
+ "id": 529,
"name": "key",
"kind": 32768,
"flags": {},
@@ -79254,7 +81014,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 533,
+ "id": 534,
"name": "T"
}
],
@@ -79273,20 +81033,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [36]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
+ "children": [44, 50, 43, 42, 40]
}
],
"sources": [
@@ -79413,10 +81165,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -79481,9 +81230,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -79501,10 +81248,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -79522,9 +81266,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -79710,6 +81452,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -79857,17 +81636,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
- ]
+ "children": [447, 446, 449, 444, 457, 445, 453, 448, 443, 442]
}
],
"sources": [
@@ -79881,7 +81650,7 @@
}
},
{
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -79889,25 +81658,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -79919,99 +81762,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -80019,7 +81782,7 @@
}
},
{
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -80033,7 +81796,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -80045,7 +81808,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -80057,14 +81820,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -80081,13 +81844,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -80110,7 +81873,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -80131,7 +81894,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -80158,12 +81921,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -80177,7 +81935,7 @@
}
},
{
- "id": 471,
+ "id": 472,
"name": "RealtimePostgresChangesPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -80191,7 +81949,7 @@
],
"typeParameter": [
{
- "id": 475,
+ "id": 476,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -80199,7 +81957,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 472,
+ "id": 473,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -80212,14 +81970,14 @@
}
],
"indexSignature": {
- "id": 473,
+ "id": 474,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 474,
+ "id": 475,
"name": "key",
"kind": 32768,
"flags": {},
@@ -80242,7 +82000,7 @@
"type": "union",
"types": [
{
- "id": 476,
+ "id": 477,
"name": "RealtimePostgresInsertPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -80256,7 +82014,7 @@
],
"typeParameter": [
{
- "id": 485,
+ "id": 486,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -80264,7 +82022,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 482,
+ "id": 483,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -80277,14 +82035,14 @@
}
],
"indexSignature": {
- "id": 483,
+ "id": 484,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 484,
+ "id": 485,
"name": "key",
"kind": 32768,
"flags": {},
@@ -80313,14 +82071,14 @@
{
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 478,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 478,
+ "id": 479,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -80339,7 +82097,7 @@
[
{
"type": "reference",
- "id": 541,
+ "id": 542,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
},
""
@@ -80348,7 +82106,7 @@
}
},
{
- "id": 479,
+ "id": 480,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -80362,12 +82120,12 @@
],
"type": {
"type": "reference",
- "id": 485,
+ "id": 486,
"name": "T"
}
},
{
- "id": 480,
+ "id": 481,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -80382,7 +82140,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -80402,11 +82160,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 478,
- 479,
- 480
- ]
+ "children": [479, 480, 481]
}
],
"sources": [
@@ -80422,7 +82176,7 @@
}
},
{
- "id": 486,
+ "id": 487,
"name": "RealtimePostgresUpdatePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -80436,7 +82190,7 @@
],
"typeParameter": [
{
- "id": 494,
+ "id": 495,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -80444,7 +82198,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -80457,14 +82211,14 @@
}
],
"indexSignature": {
- "id": 492,
+ "id": 493,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 493,
+ "id": 494,
"name": "key",
"kind": 32768,
"flags": {},
@@ -80493,14 +82247,14 @@
{
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 488,
+ "id": 489,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -80519,7 +82273,7 @@
[
{
"type": "reference",
- "id": 542,
+ "id": 543,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
},
""
@@ -80528,7 +82282,7 @@
}
},
{
- "id": 489,
+ "id": 490,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -80542,12 +82296,12 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 495,
"name": "T"
}
},
{
- "id": 490,
+ "id": 491,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -80564,7 +82318,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 494,
+ "id": 495,
"name": "T"
}
],
@@ -80578,11 +82332,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 488,
- 489,
- 490
- ]
+ "children": [489, 490, 491]
}
],
"sources": [
@@ -80598,7 +82348,7 @@
}
},
{
- "id": 495,
+ "id": 496,
"name": "RealtimePostgresDeletePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -80612,7 +82362,7 @@
],
"typeParameter": [
{
- "id": 504,
+ "id": 505,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -80620,7 +82370,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 501,
+ "id": 502,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -80633,14 +82383,14 @@
}
],
"indexSignature": {
- "id": 502,
+ "id": 503,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 503,
+ "id": 504,
"name": "key",
"kind": 32768,
"flags": {},
@@ -80669,14 +82419,14 @@
{
"type": "reflection",
"declaration": {
- "id": 496,
+ "id": 497,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 497,
+ "id": 498,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -80695,7 +82445,7 @@
[
{
"type": "reference",
- "id": 543,
+ "id": 544,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
},
""
@@ -80704,7 +82454,7 @@
}
},
{
- "id": 498,
+ "id": 499,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -80719,7 +82469,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 500,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -80735,7 +82485,7 @@
}
},
{
- "id": 500,
+ "id": 501,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -80752,7 +82502,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 504,
+ "id": 505,
"name": "T"
}
],
@@ -80766,11 +82516,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 497,
- 498,
- 500
- ]
+ "children": [498, 499, 501]
}
],
"sources": [
@@ -80789,7 +82535,7 @@
}
},
{
- "id": 495,
+ "id": 496,
"name": "RealtimePostgresDeletePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -80803,7 +82549,7 @@
],
"typeParameter": [
{
- "id": 504,
+ "id": 505,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -80811,7 +82557,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 501,
+ "id": 502,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -80824,14 +82570,14 @@
}
],
"indexSignature": {
- "id": 502,
+ "id": 503,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 503,
+ "id": 504,
"name": "key",
"kind": 32768,
"flags": {},
@@ -80860,14 +82606,14 @@
{
"type": "reflection",
"declaration": {
- "id": 496,
+ "id": 497,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 497,
+ "id": 498,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -80886,7 +82632,7 @@
[
{
"type": "reference",
- "id": 543,
+ "id": 544,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
},
""
@@ -80895,7 +82641,7 @@
}
},
{
- "id": 498,
+ "id": 499,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -80910,7 +82656,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 500,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -80926,7 +82672,7 @@
}
},
{
- "id": 500,
+ "id": 501,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -80943,7 +82689,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 504,
+ "id": 505,
"name": "T"
}
],
@@ -80957,11 +82703,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 497,
- 498,
- 500
- ]
+ "children": [498, 499, 501]
}
],
"sources": [
@@ -80977,7 +82719,7 @@
}
},
{
- "id": 476,
+ "id": 477,
"name": "RealtimePostgresInsertPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -80991,7 +82733,7 @@
],
"typeParameter": [
{
- "id": 485,
+ "id": 486,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -80999,7 +82741,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 482,
+ "id": 483,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -81012,14 +82754,14 @@
}
],
"indexSignature": {
- "id": 483,
+ "id": 484,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 484,
+ "id": 485,
"name": "key",
"kind": 32768,
"flags": {},
@@ -81048,14 +82790,14 @@
{
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 478,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 478,
+ "id": 479,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -81074,7 +82816,7 @@
[
{
"type": "reference",
- "id": 541,
+ "id": 542,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
},
""
@@ -81083,7 +82825,7 @@
}
},
{
- "id": 479,
+ "id": 480,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -81097,12 +82839,12 @@
],
"type": {
"type": "reference",
- "id": 485,
+ "id": 486,
"name": "T"
}
},
{
- "id": 480,
+ "id": 481,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -81117,7 +82859,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -81137,11 +82879,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 478,
- 479,
- 480
- ]
+ "children": [479, 480, 481]
}
],
"sources": [
@@ -81157,7 +82895,7 @@
}
},
{
- "id": 486,
+ "id": 487,
"name": "RealtimePostgresUpdatePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -81171,7 +82909,7 @@
],
"typeParameter": [
{
- "id": 494,
+ "id": 495,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -81179,7 +82917,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -81192,14 +82930,14 @@
}
],
"indexSignature": {
- "id": 492,
+ "id": 493,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 493,
+ "id": 494,
"name": "key",
"kind": 32768,
"flags": {},
@@ -81228,14 +82966,14 @@
{
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 488,
+ "id": 489,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -81254,7 +82992,7 @@
[
{
"type": "reference",
- "id": 542,
+ "id": 543,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
},
""
@@ -81263,7 +83001,7 @@
}
},
{
- "id": 489,
+ "id": 490,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -81277,12 +83015,12 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 495,
"name": "T"
}
},
{
- "id": 490,
+ "id": 491,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -81299,7 +83037,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 494,
+ "id": 495,
"name": "T"
}
],
@@ -81313,11 +83051,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 488,
- 489,
- 490
- ]
+ "children": [489, 490, 491]
}
],
"sources": [
@@ -81333,7 +83067,7 @@
}
},
{
- "id": 505,
+ "id": 506,
"name": "RealtimePresenceJoinPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -81347,7 +83081,7 @@
],
"typeParameter": [
{
- "id": 514,
+ "id": 515,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -81355,7 +83089,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 512,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -81368,14 +83102,14 @@
}
],
"indexSignature": {
- "id": 512,
+ "id": 513,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 513,
+ "id": 514,
"name": "key",
"kind": 32768,
"flags": {},
@@ -81397,14 +83131,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 506,
+ "id": 507,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 509,
+ "id": 510,
"name": "currentPresences",
"kind": 1024,
"kindString": "Property",
@@ -81423,7 +83157,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 514,
+ "id": 515,
"name": "T"
}
],
@@ -81432,7 +83166,7 @@
}
},
{
- "id": 507,
+ "id": 508,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -81451,7 +83185,7 @@
[
{
"type": "reference",
- "id": 546,
+ "id": 547,
"name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
},
""
@@ -81460,7 +83194,7 @@
}
},
{
- "id": 508,
+ "id": 509,
"name": "key",
"kind": 1024,
"kindString": "Property",
@@ -81478,7 +83212,7 @@
}
},
{
- "id": 510,
+ "id": 511,
"name": "newPresences",
"kind": 1024,
"kindString": "Property",
@@ -81497,7 +83231,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 514,
+ "id": 515,
"name": "T"
}
],
@@ -81510,12 +83244,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 509,
- 507,
- 508,
- 510
- ]
+ "children": [510, 508, 509, 511]
}
],
"sources": [
@@ -81529,7 +83258,7 @@
}
},
{
- "id": 515,
+ "id": 516,
"name": "RealtimePresenceLeavePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -81543,7 +83272,7 @@
],
"typeParameter": [
{
- "id": 524,
+ "id": 525,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -81551,7 +83280,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 521,
+ "id": 522,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -81564,14 +83293,14 @@
}
],
"indexSignature": {
- "id": 522,
+ "id": 523,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 523,
+ "id": 524,
"name": "key",
"kind": 32768,
"flags": {},
@@ -81593,14 +83322,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 516,
+ "id": 517,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 519,
+ "id": 520,
"name": "currentPresences",
"kind": 1024,
"kindString": "Property",
@@ -81619,7 +83348,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 524,
+ "id": 525,
"name": "T"
}
],
@@ -81628,7 +83357,7 @@
}
},
{
- "id": 517,
+ "id": 518,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -81647,7 +83376,7 @@
[
{
"type": "reference",
- "id": 547,
+ "id": 548,
"name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
},
""
@@ -81656,7 +83385,7 @@
}
},
{
- "id": 518,
+ "id": 519,
"name": "key",
"kind": 1024,
"kindString": "Property",
@@ -81674,7 +83403,7 @@
}
},
{
- "id": 520,
+ "id": 521,
"name": "leftPresences",
"kind": 1024,
"kindString": "Property",
@@ -81693,7 +83422,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 524,
+ "id": 525,
"name": "T"
}
],
@@ -81706,12 +83435,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 519,
- 517,
- 518,
- 520
- ]
+ "children": [520, 518, 519, 521]
}
],
"sources": [
@@ -81725,7 +83449,7 @@
}
},
{
- "id": 525,
+ "id": 526,
"name": "RealtimePresenceState",
"kind": 4194304,
"kindString": "Type alias",
@@ -81739,7 +83463,7 @@
],
"typeParameter": [
{
- "id": 533,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -81747,7 +83471,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 530,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -81760,14 +83484,14 @@
}
],
"indexSignature": {
- "id": 530,
+ "id": 531,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 531,
+ "id": 532,
"name": "key",
"kind": 32768,
"flags": {},
@@ -81787,7 +83511,7 @@
"default": {
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 533,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -81806,7 +83530,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -81819,14 +83543,14 @@
}
],
"indexSignature": {
- "id": 527,
+ "id": 528,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 528,
+ "id": 529,
"name": "key",
"kind": 32768,
"flags": {},
@@ -81843,7 +83567,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 533,
+ "id": 534,
"name": "T"
}
],
@@ -81855,7 +83579,7 @@
}
},
{
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -81863,7 +83587,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 37,
+ "line": 38,
"character": 12
}
],
@@ -81890,40 +83614,17 @@
{
"title": "Enumerations",
"kind": 8,
- "children": [
- 535,
- 539,
- 544,
- 548
- ]
+ "children": [536, 540, 545, 549]
},
{
"title": "Classes",
"kind": 128,
- "children": [
- 64,
- 328,
- 1
- ]
+ "children": [64, 328, 1]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [
- 316,
- 327,
- 440,
- 457,
- 464,
- 471,
- 495,
- 476,
- 486,
- 505,
- 515,
- 525,
- 534
- ]
+ "children": [316, 327, 440, 458, 465, 472, 496, 477, 487, 506, 516, 526, 535]
}
],
"sources": [
@@ -82126,11 +83827,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 452,
- 451,
- 453
- ]
+ "children": [452, 451, 453]
}
]
}
@@ -82143,23 +83840,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 443
- ]
+ "children": [443]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 447
- ]
+ "children": [447]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 448
- ]
+ "children": [448]
}
],
"sources": [
@@ -82499,11 +84190,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 347,
- 346,
- 345
- ]
+ "children": [347, 346, 345]
}
]
}
@@ -82580,10 +84267,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 349,
- 350
- ]
+ "children": [349, 350]
}
]
}
@@ -82639,10 +84323,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 352,
- 353
- ]
+ "children": [352, 353]
}
]
}
@@ -82766,9 +84447,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 387
- ]
+ "children": [387]
}
]
}
@@ -82797,10 +84476,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 385,
- 388
- ]
+ "children": [385, 388]
}
]
}
@@ -82856,10 +84532,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 390,
- 391
- ]
+ "children": [390, 391]
}
]
}
@@ -82983,9 +84656,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 376
- ]
+ "children": [376]
}
]
}
@@ -83014,10 +84685,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 374,
- 377
- ]
+ "children": [374, 377]
}
]
}
@@ -83073,10 +84741,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 379,
- 380
- ]
+ "children": [379, 380]
}
]
}
@@ -83244,10 +84909,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 335,
- 336
- ]
+ "children": [335, 336]
}
]
}
@@ -83303,10 +84965,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 338,
- 339
- ]
+ "children": [338, 339]
}
]
}
@@ -83414,10 +85073,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326,
- 327
- ]
+ "children": [326, 327]
}
]
}
@@ -83473,10 +85129,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 329,
- 330
- ]
+ "children": [329, 330]
}
]
}
@@ -83651,11 +85304,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 360,
- 359
- ]
+ "children": [361, 360, 359]
}
]
}
@@ -83722,9 +85371,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 365
- ]
+ "children": [365]
}
]
}
@@ -83753,10 +85400,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 363,
- 366
- ]
+ "children": [363, 366]
}
]
}
@@ -83812,10 +85456,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 368,
- 369
- ]
+ "children": [368, 369]
}
]
}
@@ -83845,22 +85486,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 298
- ]
+ "children": [298]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 340,
- 381,
- 370,
- 310,
- 331,
- 323,
- 354
- ]
+ "children": [340, 381, 370, 310, 331, 323, 354]
}
],
"sources": [
@@ -83939,9 +85570,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 438
- ]
+ "children": [438]
}
],
"sources": [
@@ -84064,16 +85693,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 456
- ]
+ "children": [456]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460
- ]
+ "children": [460]
}
],
"sources": [
@@ -84254,16 +85879,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 397,
- 398,
- 396,
- 393,
- 394,
- 395,
- 400,
- 399
- ]
+ "children": [397, 398, 396, 393, 394, 395, 400, 399]
}
],
"sources": [
@@ -84311,9 +85927,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 425
- ]
+ "children": [425]
}
],
"sources": [
@@ -84529,16 +86143,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 397,
- 398,
- 396,
- 393,
- 394,
- 395,
- 400,
- 399
- ]
+ "children": [397, 398, 396, 393, 394, 395, 400, 399]
}
],
"sources": [
@@ -84694,17 +86299,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 403,
- 410,
- 407,
- 405,
- 408,
- 409,
- 402,
- 404,
- 406
- ]
+ "children": [403, 410, 407, 405, 408, 409, 402, 404, 406]
}
],
"sources": [
@@ -84819,12 +86414,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 415,
- 416,
- 418,
- 417
- ]
+ "children": [415, 416, 418, 417]
}
],
"sources": [
@@ -84865,9 +86455,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 427
- ]
+ "children": [427]
}
],
"sources": [
@@ -85028,10 +86616,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 412,
- 413
- ]
+ "children": [412, 413]
}
],
"sources": [
@@ -85049,12 +86634,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 420,
- 421,
- 423,
- 422
- ]
+ "children": [420, 421, 423, 422]
}
],
"sources": [
@@ -85117,10 +86697,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 412,
- 413
- ]
+ "children": [412, 413]
}
],
"sources": [
@@ -85272,13 +86849,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 433,
- 430,
- 432,
- 431,
- 429
- ]
+ "children": [433, 430, 432, 431, 429]
}
],
"sources": [
@@ -85340,33 +86911,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 442,
- 297,
- 437,
- 455
- ]
+ "children": [442, 297, 437, 455]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [
- 392,
- 424,
- 401,
- 414,
- 426,
- 419,
- 411,
- 428
- ]
+ "children": [392, 424, 401, 414, 426, 419, 411, 428]
},
{
"title": "Functions",
"kind": 64,
- "children": [
- 434
- ]
+ "children": [434]
}
],
"sources": [
@@ -85696,11 +87251,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 50,
- 49,
- 48
- ]
+ "children": [50, 49, 48]
}
]
}
@@ -85777,10 +87328,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 52,
- 53
- ]
+ "children": [52, 53]
}
]
}
@@ -85836,10 +87384,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 55,
- 56
- ]
+ "children": [55, 56]
}
]
}
@@ -85953,9 +87498,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 90
- ]
+ "children": [90]
}
]
}
@@ -85984,10 +87527,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 88,
- 91
- ]
+ "children": [88, 91]
}
]
}
@@ -86043,10 +87583,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 93,
- 94
- ]
+ "children": [93, 94]
}
]
}
@@ -86160,9 +87697,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 79
- ]
+ "children": [79]
}
]
}
@@ -86191,10 +87726,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 80
- ]
+ "children": [77, 80]
}
]
}
@@ -86250,10 +87782,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 82,
- 83
- ]
+ "children": [82, 83]
}
]
}
@@ -86364,10 +87893,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 38,
- 39
- ]
+ "children": [38, 39]
}
]
}
@@ -86423,10 +87949,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 41,
- 42
- ]
+ "children": [41, 42]
}
]
}
@@ -86524,10 +88047,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 29,
- 30
- ]
+ "children": [29, 30]
}
]
}
@@ -86583,10 +88103,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 32,
- 33
- ]
+ "children": [32, 33]
}
]
}
@@ -86751,11 +88268,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 64,
- 63,
- 62
- ]
+ "children": [64, 63, 62]
}
]
}
@@ -86822,9 +88335,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68
- ]
+ "children": [68]
}
]
}
@@ -86853,10 +88364,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 69
- ]
+ "children": [66, 69]
}
]
}
@@ -86912,10 +88420,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 71,
- 72
- ]
+ "children": [71, 72]
}
]
}
@@ -86935,21 +88440,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 4
- ]
+ "children": [4]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 43,
- 84,
- 73,
- 34,
- 26,
- 57
- ]
+ "children": [43, 84, 73, 34, 26, 57]
}
],
"sources": [
@@ -86972,9 +88468,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 3
- ]
+ "children": [3]
}
],
"sources": [
@@ -87279,9 +88773,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 207
- ]
+ "children": [207]
}
]
}
@@ -87310,10 +88802,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 205,
- 208
- ]
+ "children": [205, 208]
}
]
}
@@ -87369,10 +88858,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 210,
- 211
- ]
+ "children": [210, 211]
}
]
}
@@ -87522,11 +89008,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 170,
- 168,
- 169
- ]
+ "children": [170, 168, 169]
}
]
}
@@ -87555,10 +89037,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 166,
- 171
- ]
+ "children": [166, 171]
}
]
}
@@ -87614,10 +89093,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 173,
- 174
- ]
+ "children": [173, 174]
}
]
}
@@ -87896,13 +89372,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 433,
- 430,
- 432,
- 431,
- 429
- ]
+ "children": [433, 430, 432, 431, 429]
}
],
"sources": [
@@ -87920,10 +89390,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 218,
- 219
- ]
+ "children": [218, 219]
}
]
}
@@ -87990,9 +89457,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223
- ]
+ "children": [223]
}
]
}
@@ -88021,10 +89486,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 221,
- 224
- ]
+ "children": [221, 224]
}
]
}
@@ -88080,10 +89542,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 226,
- 227
- ]
+ "children": [226, 227]
}
]
}
@@ -88205,9 +89664,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 234
- ]
+ "children": [234]
}
]
}
@@ -88330,11 +89787,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 238,
- 239,
- 240
- ]
+ "children": [238, 239, 240]
}
]
}
@@ -88364,10 +89817,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 236,
- 241
- ]
+ "children": [236, 241]
}
]
}
@@ -88423,10 +89873,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 243,
- 244
- ]
+ "children": [243, 244]
}
]
}
@@ -88659,13 +90106,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 433,
- 430,
- 432,
- 431,
- 429
- ]
+ "children": [433, 430, 432, 431, 429]
}
],
"sources": [
@@ -88683,9 +90124,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 250
- ]
+ "children": [250]
}
]
}
@@ -88750,10 +90189,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 252,
- 253
- ]
+ "children": [252, 253]
}
]
}
@@ -88809,10 +90245,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 255,
- 256
- ]
+ "children": [255, 256]
}
]
}
@@ -89077,13 +90510,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 433,
- 430,
- 432,
- 431,
- 429
- ]
+ "children": [433, 430, 432, 431, 429]
}
],
"sources": [
@@ -89101,10 +90528,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 262,
- 263
- ]
+ "children": [262, 263]
}
]
}
@@ -89165,9 +90589,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 267
- ]
+ "children": [267]
}
]
}
@@ -89178,9 +90600,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 265
- ]
+ "children": [265]
}
]
}
@@ -89390,10 +90810,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 412,
- 413
- ]
+ "children": [412, 413]
}
],
"sources": [
@@ -89411,12 +90828,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 420,
- 421,
- 423,
- 422
- ]
+ "children": [420, 421, 423, 422]
}
],
"sources": [
@@ -89478,9 +90890,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 425
- ]
+ "children": [425]
}
],
"sources": [
@@ -89554,10 +90964,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 283,
- 284
- ]
+ "children": [283, 284]
}
]
}
@@ -89613,10 +91020,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 286,
- 287
- ]
+ "children": [286, 287]
}
]
}
@@ -89744,9 +91148,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 195
- ]
+ "children": [195]
}
]
}
@@ -89775,10 +91177,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 193,
- 196
- ]
+ "children": [193, 196]
}
]
}
@@ -89834,10 +91233,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 198,
- 199
- ]
+ "children": [198, 199]
}
]
}
@@ -89954,10 +91350,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 272,
- 273
- ]
+ "children": [272, 273]
}
]
}
@@ -90013,10 +91406,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 275,
- 276
- ]
+ "children": [275, 276]
}
]
}
@@ -90266,12 +91656,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 415,
- 416,
- 418,
- 417
- ]
+ "children": [415, 416, 418, 417]
}
],
"sources": [
@@ -90345,9 +91730,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 183
- ]
+ "children": [183]
}
]
}
@@ -90376,10 +91759,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 181,
- 184
- ]
+ "children": [181, 184]
}
]
}
@@ -90435,10 +91815,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 186,
- 187
- ]
+ "children": [186, 187]
}
]
}
@@ -90621,12 +91998,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 415,
- 416,
- 418,
- 417
- ]
+ "children": [415, 416, 418, 417]
}
],
"sources": [
@@ -90700,9 +92072,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 143
- ]
+ "children": [143]
}
]
}
@@ -90731,10 +92101,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 141,
- 144
- ]
+ "children": [141, 144]
}
]
}
@@ -90790,10 +92157,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 146,
- 147
- ]
+ "children": [146, 147]
}
]
}
@@ -90990,12 +92354,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 415,
- 416,
- 418,
- 417
- ]
+ "children": [415, 416, 418, 417]
}
],
"sources": [
@@ -91070,9 +92429,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 157
- ]
+ "children": [157]
}
]
}
@@ -91103,10 +92460,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 155,
- 158
- ]
+ "children": [155, 158]
}
]
}
@@ -91155,10 +92509,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 160,
- 161
- ]
+ "children": [160, 161]
}
]
}
@@ -91178,27 +92529,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 97
- ]
+ "children": [97]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 200,
- 162,
- 212,
- 228,
- 245,
- 257,
- 277,
- 188,
- 268,
- 175,
- 135,
- 148
- ]
+ "children": [200, 162, 212, 228, 245, 257, 277, 188, 268, 175, 135, 148]
}
],
"sources": [
@@ -91214,9 +92550,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 96
- ]
+ "children": [96]
}
],
"sources": [
@@ -91232,11 +92566,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [
- 1,
- 2,
- 95
- ]
+ "children": [1, 2, 95]
}
]
},
@@ -91429,10 +92759,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 8,
- 7
- ]
+ "children": [8, 7]
}
]
}
@@ -91866,11 +93193,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 35,
- 30,
- 34
- ]
+ "children": [35, 30, 34]
}
],
"sources": [
@@ -91961,26 +93284,17 @@
{
"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": [
@@ -92095,16 +93409,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 37
- ]
+ "children": [37]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 42
- ]
+ "children": [42]
}
],
"sources": [
@@ -92226,16 +93536,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 44
- ]
+ "children": [44]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 47
- ]
+ "children": [47]
}
],
"sources": [
@@ -92339,16 +93645,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 49
- ]
+ "children": [49]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 52
- ]
+ "children": [52]
}
],
"sources": [
@@ -92452,16 +93754,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 54
- ]
+ "children": [54]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 57
- ]
+ "children": [57]
}
],
"sources": [
@@ -92691,11 +93989,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 35,
- 30,
- 34
- ]
+ "children": [35, 30, 34]
}
],
"sources": [
@@ -92732,10 +94026,7 @@
],
"type": {
"type": "union",
- "types": [
- null,
- null
- ]
+ "types": [null, null]
}
}
],
@@ -92743,21 +94034,12 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 1,
- 36,
- 43,
- 48,
- 53
- ]
+ "children": [1, 36, 43, 48, 53]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [
- 28,
- 58
- ]
+ "children": [28, 58]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v2/functions.json b/spec/enrichments/tsdoc_v2/functions.json
index bee062bb846..419e9def96f 100644
--- a/spec/enrichments/tsdoc_v2/functions.json
+++ b/spec/enrichments/tsdoc_v2/functions.json
@@ -1,1312 +1,1271 @@
{
- "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/FunctionsClient.ts",
- "line": 16,
- "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/FunctionsClient.ts",
- "line": 23,
- "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": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- },
- {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- ]
- }
- },
- {
- "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/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
- },
- "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/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": 13,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "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": 44,
- "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": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Options for invoking the Function.\n"
- },
- "type": {
- "type": "reference",
- "id": 28,
- "name": "FunctionInvokeOptions"
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 58,
- "typeArguments": [
- {
- "type": "reference",
- "id": 25,
- "name": "T"
- }
- ],
- "name": "FunctionsResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 20,
- "name": "setAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/FunctionsClient.ts",
- "line": 35,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 21,
- "name": "setAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates the authorization header"
- },
- "parameters": [
- {
- "id": 22,
- "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": [
- 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": 36,
- "name": "FunctionsError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 37,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 19,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 38,
- "name": "new FunctionsError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 39,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 40,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "'FunctionsError'"
- },
- {
- "id": 41,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 36,
- "name": "FunctionsError"
- },
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- },
- {
- "id": 42,
- "name": "context",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 37
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 42
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 17,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 43,
- "name": "FunctionsFetchError"
- },
- {
- "type": "reference",
- "id": 48,
- "name": "FunctionsHttpError"
- },
- {
- "type": "reference",
- "id": 53,
- "name": "FunctionsRelayError"
- }
- ]
- },
- {
- "id": 43,
- "name": "FunctionsFetchError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 44,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 27,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 45,
- "name": "new FunctionsFetchError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 46,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 43,
- "name": "FunctionsFetchError"
- },
- "overwrites": {
- "type": "reference",
- "id": 38,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 37,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 47,
- "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": 42,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 44
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 47
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 26,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 36,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 48,
- "name": "FunctionsHttpError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 49,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 39,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 50,
- "name": "new FunctionsHttpError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 51,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 48,
- "name": "FunctionsHttpError"
- },
- "overwrites": {
- "type": "reference",
- "id": 38,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 37,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 52,
- "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": 42,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 49
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 52
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 38,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 36,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 53,
- "name": "FunctionsRelayError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 54,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 33,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 55,
- "name": "new FunctionsRelayError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 56,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 53,
- "name": "FunctionsRelayError"
- },
- "overwrites": {
- "type": "reference",
- "id": 38,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 37,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 57,
- "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": 42,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 54
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 57
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 32,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 36,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 28,
- "name": "FunctionInvokeOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 44,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 29,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 35,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The body of the request."
- },
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 56,
- "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"
- }
- ]
- }
- },
- {
- "id": 30,
- "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
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 31,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 48,
- "character": 12
- }
- ],
- "indexSignature": {
- "id": 32,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 33,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 34,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The HTTP verb of the request"
- },
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 52,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "POST"
- },
- {
- "type": "literal",
- "value": "GET"
- },
- {
- "type": "literal",
- "value": "PUT"
- },
- {
- "type": "literal",
- "value": "PATCH"
- },
- {
- "type": "literal",
- "value": "DELETE"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 35,
- 30,
- 34
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 44,
- "character": 36
- }
- ]
- }
- }
- },
- {
- "id": 58,
- "name": "FunctionsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 15,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 59,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 59,
- "name": "T"
- }
- ],
- "name": "FunctionsResponseSuccess"
- },
- {
- "type": "reference",
- "name": "FunctionsResponseFailure"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 1,
- 36,
- 43,
- 48,
- 53
- ]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [
- 28,
- 58
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
-}
\ No newline at end of file
+ "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/FunctionsClient.ts",
+ "line": 16,
+ "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/FunctionsClient.ts",
+ "line": 23,
+ "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": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "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/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
+ },
+ "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/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": 13,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "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": 44,
+ "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": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Options for invoking the Function.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 28,
+ "name": "FunctionInvokeOptions"
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 58,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 25,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 20,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/FunctionsClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 21,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the authorization header"
+ },
+ "parameters": [
+ {
+ "id": 22,
+ "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": [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": 36,
+ "name": "FunctionsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 38,
+ "name": "new FunctionsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 39,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 40,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "'FunctionsError'"
+ },
+ {
+ "id": 41,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 36,
+ "name": "FunctionsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 42,
+ "name": "context",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [37]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [42]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 43,
+ "name": "FunctionsFetchError"
+ },
+ {
+ "type": "reference",
+ "id": 48,
+ "name": "FunctionsHttpError"
+ },
+ {
+ "type": "reference",
+ "id": 53,
+ "name": "FunctionsRelayError"
+ }
+ ]
+ },
+ {
+ "id": 43,
+ "name": "FunctionsFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 44,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 45,
+ "name": "new FunctionsFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 46,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 43,
+ "name": "FunctionsFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 38,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 37,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 47,
+ "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": 42,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [44]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [47]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 26,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 36,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 48,
+ "name": "FunctionsHttpError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 49,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 39,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 50,
+ "name": "new FunctionsHttpError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 51,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 48,
+ "name": "FunctionsHttpError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 38,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 37,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 52,
+ "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": 42,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [49]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [52]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 38,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 36,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 53,
+ "name": "FunctionsRelayError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 54,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 55,
+ "name": "new FunctionsRelayError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 56,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 53,
+ "name": "FunctionsRelayError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 38,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 37,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 57,
+ "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": 42,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [54]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [57]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 36,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 28,
+ "name": "FunctionInvokeOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 29,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 35,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The body of the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 56,
+ "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"
+ }
+ ]
+ }
+ },
+ {
+ "id": 30,
+ "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
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 31,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 48,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 32,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 33,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 34,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The HTTP verb of the request"
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "POST"
+ },
+ {
+ "type": "literal",
+ "value": "GET"
+ },
+ {
+ "type": "literal",
+ "value": "PUT"
+ },
+ {
+ "type": "literal",
+ "value": "PATCH"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [35, 30, 34]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 58,
+ "name": "FunctionsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 59,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 59,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "FunctionsResponseFailure"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [1, 36, 43, 48, 53]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [28, 58]
+ }
+ ],
+ "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 09487d9edca..f648d5f02df 100644
--- a/spec/enrichments/tsdoc_v2/functions_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/functions_dereferenced.json
@@ -187,10 +187,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 8,
- 7
- ]
+ "children": [8, 7]
}
]
}
@@ -624,11 +621,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 35,
- 30,
- 34
- ]
+ "children": [35, 30, 34]
}
],
"sources": [
@@ -719,26 +712,17 @@
{
"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": [
@@ -853,16 +837,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 37
- ]
+ "children": [37]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 42
- ]
+ "children": [42]
}
],
"sources": [
@@ -984,16 +964,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 44
- ]
+ "children": [44]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 47
- ]
+ "children": [47]
}
],
"sources": [
@@ -1097,16 +1073,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 49
- ]
+ "children": [49]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 52
- ]
+ "children": [52]
}
],
"sources": [
@@ -1210,16 +1182,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 54
- ]
+ "children": [54]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 57
- ]
+ "children": [57]
}
],
"sources": [
@@ -1449,11 +1417,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 35,
- 30,
- 34
- ]
+ "children": [35, 30, 34]
}
],
"sources": [
@@ -1490,10 +1454,7 @@
],
"type": {
"type": "union",
- "types": [
- null,
- null
- ]
+ "types": [null, null]
}
}
],
@@ -1501,21 +1462,12 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 1,
- 36,
- 43,
- 48,
- 53
- ]
+ "children": [1, 36, 43, 48, 53]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [
- 28,
- 58
- ]
+ "children": [28, 58]
}
],
"sources": [
@@ -1525,4 +1477,4 @@
"character": 0
}
]
-}
\ No newline at end of file
+}
diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.json
index b5b1728dc19..1662d2507f8 100644
--- a/spec/enrichments/tsdoc_v2/gotrue.json
+++ b/spec/enrichments/tsdoc_v2/gotrue.json
@@ -1,16514 +1,17501 @@
{
- "id": 0,
- "name": "@supabase/gotrue-js",
- "kind": 1,
- "kindString": "Project",
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 811,
- "name": "AuthApiError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 812,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 19,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 813,
- "name": "new AuthApiError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 814,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 815,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 811,
- "name": "AuthApiError"
- },
- "overwrites": {
- "type": "reference",
- "id": 806,
- "name": "AuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 805,
- "name": "AuthError.constructor"
- }
- },
- {
- "id": 816,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 17,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "overwrites": {
- "type": "reference",
- "id": 809,
- "name": "AuthError.status"
- }
- },
- {
- "id": 817,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 25,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 818,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 819,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 821,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 28,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 820,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 27,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 822,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 29,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 821,
- 820,
- 822
- ]
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 812
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 816
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 817
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 16,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- ]
- },
- {
- "id": 804,
- "name": "AuthError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 805,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 5,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 806,
- "name": "new AuthError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 807,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 808,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- },
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- },
- {
- "id": 809,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 805
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 809
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 1,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 811,
- "name": "AuthApiError"
- },
- {
- "type": "reference",
- "id": 824,
- "name": "AuthUnknownError"
- },
- {
- "type": "reference",
- "id": 832,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 872,
- "name": "AuthImplicitGrantRedirectError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 873,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 80,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 874,
- "name": "new AuthImplicitGrantRedirectError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 875,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 876,
- "name": "details",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 877,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 879,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 80,
- "character": 57
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 878,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 80,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 879,
- 878
- ]
- }
- ]
- }
- }
- ]
- },
- "defaultValue": "null"
- }
- ],
- "type": {
- "type": "reference",
- "id": 872,
- "name": "AuthImplicitGrantRedirectError"
- },
- "overwrites": {
- "type": "reference",
- "id": 834,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 833,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 880,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 79,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 881,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 883,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 79,
- "character": 28
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 882,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 79,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 883,
- 882
- ]
- }
- ]
- }
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 894,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 838,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 895,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 839,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 884,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 85,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 885,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 886,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 890,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 90,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 891,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 893,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 79,
- "character": 28
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 892,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 79,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 893,
- 892
- ]
- }
- ]
- }
- }
- ]
- },
- "defaultValue": "..."
- },
- {
- "id": 888,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 88,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 887,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 87,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 889,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 89,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 890,
- 888,
- 887,
- 889
- ]
- }
- ]
- }
- },
- "overwrites": {
- "type": "reference",
- "id": 841,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 840,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 873
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 880,
- 894,
- 895
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 884
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 78,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 832,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 859,
- "name": "AuthInvalidCredentialsError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 860,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 73,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 861,
- "name": "new AuthInvalidCredentialsError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 862,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 859,
- "name": "AuthInvalidCredentialsError"
- },
- "overwrites": {
- "type": "reference",
- "id": 834,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 833,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 863,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 838,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 864,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 839,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 865,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 866,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 867,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 869,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 60,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 868,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 870,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 61,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 869,
- 868,
- 870
- ]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 841,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 840,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 860
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 863,
- 864
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 865
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 72,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 832,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 897,
- "name": "AuthPKCEGrantCodeExchangeError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 898,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 97,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 899,
- "name": "new AuthPKCEGrantCodeExchangeError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 900,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 901,
- "name": "details",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 902,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 904,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 97,
- "character": 57
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 903,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 97,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 904,
- 903
- ]
- }
- ]
- }
- }
- ]
- },
- "defaultValue": "null"
- }
- ],
- "type": {
- "type": "reference",
- "id": 897,
- "name": "AuthPKCEGrantCodeExchangeError"
- },
- "overwrites": {
- "type": "reference",
- "id": 834,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 833,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 905,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 96,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 906,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 908,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 96,
- "character": 28
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 907,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 96,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 908,
- 907
- ]
- }
- ]
- }
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 919,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 838,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 920,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 839,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 909,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 102,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 910,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 911,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 915,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 107,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 916,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 918,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 96,
- "character": 28
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 917,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 96,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 918,
- 917
- ]
- }
- ]
- }
- }
- ]
- },
- "defaultValue": "..."
- },
- {
- "id": 913,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 105,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 912,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 104,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 914,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 106,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 915,
- 913,
- 912,
- 914
- ]
- }
- ]
- }
- },
- "overwrites": {
- "type": "reference",
- "id": 841,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 840,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 898
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 905,
- 919,
- 920
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 909
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 95,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 832,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 922,
- "name": "AuthRetryableFetchError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 923,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 113,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 924,
- "name": "new AuthRetryableFetchError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 925,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 926,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 922,
- "name": "AuthRetryableFetchError"
- },
- "overwrites": {
- "type": "reference",
- "id": 834,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 833,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 927,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 838,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 928,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 839,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 929,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 930,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 931,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 933,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 60,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 932,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 934,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 61,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 933,
- 932,
- 934
- ]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 841,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 840,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 923
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 927,
- 928
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 929
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 112,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 832,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 847,
- "name": "AuthSessionMissingError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 848,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 67,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 849,
- "name": "new AuthSessionMissingError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 847,
- "name": "AuthSessionMissingError"
- },
- "overwrites": {
- "type": "reference",
- "id": 834,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 833,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 850,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 838,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 851,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 839,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 852,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 853,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 854,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 856,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 60,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 855,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 857,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 61,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 856,
- 855,
- 857
- ]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 841,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 840,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 848
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 850,
- 851
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 852
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 66,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 832,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 824,
- "name": "AuthUnknownError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 825,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 41,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 826,
- "name": "new AuthUnknownError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 827,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 828,
- "name": "originalError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 824,
- "name": "AuthUnknownError"
- },
- "overwrites": {
- "type": "reference",
- "id": 806,
- "name": "AuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 805,
- "name": "AuthError.constructor"
- }
- },
- {
- "id": 829,
- "name": "originalError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 39,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- },
- {
- "id": 830,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 809,
- "name": "AuthError.status"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 825
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 829,
- 830
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 38,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- ]
- },
- {
- "id": 832,
- "name": "CustomAuthError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 833,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 51,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 834,
- "name": "new CustomAuthError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 835,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 836,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 837,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 832,
- "name": "CustomAuthError"
- },
- "overwrites": {
- "type": "reference",
- "id": 806,
- "name": "AuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 805,
- "name": "AuthError.constructor"
- }
- },
- {
- "id": 838,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "overwrites": {
- "type": "reference",
- "name": "AuthError.name"
- }
- },
- {
- "id": 839,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "overwrites": {
- "type": "reference",
- "id": 809,
- "name": "AuthError.status"
- }
- },
- {
- "id": 840,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 841,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 842,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 844,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 60,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 843,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 845,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 61,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 844,
- 843,
- 845
- ]
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 833
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 838,
- 839
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 840
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 48,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 847,
- "name": "AuthSessionMissingError"
- },
- {
- "type": "reference",
- "id": 859,
- "name": "AuthInvalidCredentialsError"
- },
- {
- "type": "reference",
- "id": 872,
- "name": "AuthImplicitGrantRedirectError"
- },
- {
- "type": "reference",
- "id": 897,
- "name": "AuthPKCEGrantCodeExchangeError"
- },
- {
- "type": "reference",
- "id": 922,
- "name": "AuthRetryableFetchError"
- }
- ]
- },
- {
- "id": 1,
- "name": "GoTrueAdminApi",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 2,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 35,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 3,
- "name": "new GoTrueAdminApi",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 4,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 5,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 11,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 44,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 12,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 13,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 14,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- },
- {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- ]
- }
- },
- {
- "id": 15,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 7,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 41,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 8,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 9,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 10,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 6,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 40,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 11,
- 7,
- 6
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 16,
- "name": "mfa",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Contains all MFA administration methods."
- },
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 27,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 769,
- "name": "GoTrueAdminMFAApi"
- }
- },
- {
- "id": 43,
- "name": "createUser",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 148,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 44,
- "name": "createUser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."
- },
- "parameters": [
- {
- "id": 45,
- "name": "attributes",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 454,
- "name": "AdminUserAttributes"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 377,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 67,
- "name": "deleteUser",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 264,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 68,
- "name": "deleteUser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Delete a user. Requires a `service_role` key."
- },
- "parameters": [
- {
- "id": 69,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The user id you want to remove."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 70,
- "name": "shouldSoftDelete",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "If true, then the user will be soft-deleted from the auth schema.\nDefaults to false for backward compatibility.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 377,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 40,
- "name": "generateLink",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 114,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 41,
- "name": "generateLink",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Generates email links and OTPs to be sent via a custom email provider."
- },
- "parameters": [
- {
- "id": 42,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 613,
- "name": "GenerateLinkParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 614,
- "name": "GenerateLinkResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 60,
- "name": "getUserById",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 217,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 61,
- "name": "getUserById",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Get user by id."
- },
- "parameters": [
- {
- "id": 62,
- "name": "uid",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 377,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 33,
- "name": "inviteUserByEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 81,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 34,
- "name": "inviteUserByEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Sends an invite link to an email address."
- },
- "parameters": [
- {
- "id": 35,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The email address of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 36,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Additional options to be included when inviting.\n"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 37,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 38,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store additional metadata about the user. This maps to the `auth.users.user_metadata` column."
- },
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 85,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 39,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The URL which will be appended to the email link sent to the user's email address. Once clicked the user will end up on this URL."
- },
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 88,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 38,
- 39
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 377,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 46,
- "name": "listUsers",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 170,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 47,
- "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."
- },
- "parameters": [
- {
- "id": 48,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "An object which supports `page` and `perPage` as numbers, to alter the paginated results.\n"
- },
- "type": {
- "type": "reference",
- "id": 794,
- "name": "PageParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 49,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 50,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
- "character": 8
- }
- ],
- "type": {
- "type": "intersection",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 51,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 53,
- "name": "aud",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
- "character": 31
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 52,
- "name": "users",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
- "character": 16
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 425,
- "name": "User"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 53,
- 52
- ]
- }
- ]
- }
- },
- {
- "type": "reference",
- "id": 787,
- "name": "Pagination"
- }
- ]
- }
- },
- {
- "id": 54,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
- "character": 59
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 50,
- 54
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 55,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 56,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 57,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 58,
- "name": "users",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
- "character": 16
- }
- ],
- "type": {
- "type": "tuple"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 58
- ]
- }
- ]
- }
- }
- },
- {
- "id": 59,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
- "character": 29
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 56,
- 59
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 27,
- "name": "signOut",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 28,
- "name": "signOut",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Removes a logged-in session."
- },
- "parameters": [
- {
- "id": 29,
- "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": 30,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 31,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 40
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 32,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 52
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 31,
- 32
- ]
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 63,
- "name": "updateUserById",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 239,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 64,
- "name": "updateUserById",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates the user data."
- },
- "parameters": [
- {
- "id": 65,
- "name": "uid",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 66,
- "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": 454,
- "name": "AdminUserAttributes"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 377,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 2
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 16
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 43,
- 67,
- 40,
- 60,
- 33,
- 46,
- 27,
- 63
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 25,
- "character": 21
- }
- ]
- },
- {
- "id": 77,
- "name": "GoTrueClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 78,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 145,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 79,
- "name": "new GoTrueClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "comment": {
- "shortText": "Create a new client for use in the browser."
- },
- "parameters": [
- {
- "id": 80,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 328,
- "name": "GoTrueClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 77,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 81,
- "name": "admin",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment."
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 98,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "name": "default"
- }
- },
- {
- "id": 82,
- "name": "mfa",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Namespace for the MFA methods."
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 102,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 724,
- "name": "GoTrueMFAApi"
- }
- },
- {
- "id": 121,
- "name": "exchangeCodeForSession",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 411,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 122,
- "name": "exchangeCodeForSession",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in an existing user by exchanging an Auth Code issued during the PKCE flow."
- },
- "parameters": [
- {
- "id": 123,
- "name": "authCode",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 342,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 141,
- "name": "getSession",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 693,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 142,
- "name": "getSession",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns the session, refreshing it if necessary.\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 143,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 144,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 695,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 145,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 146,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 696,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "id": 388,
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 146
- ]
- }
- ]
- }
- }
- },
- {
- "id": 147,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 698,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 144,
- 147
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 148,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 149,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 701,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 150,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 151,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 702,
- "character": 10
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 151
- ]
- }
- ]
- }
- }
- },
- {
- "id": 152,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 704,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 149,
- 152
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 153,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 154,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 707,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 155,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 156,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 708,
- "character": 10
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 156
- ]
- }
- ]
- }
- }
- },
- {
- "id": 157,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 710,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 154,
- 157
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 158,
- "name": "getUser",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 756,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 159,
- "name": "getUser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Gets the current user details if there is an existing session."
- },
- "parameters": [
- {
- "id": 160,
- "name": "jwt",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 377,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 108,
- "name": "initialize",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 197,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 109,
- "name": "initialize",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 777,
- "name": "InitializeResult"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 208,
- "name": "onAuthStateChange",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1071,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 209,
- "name": "onAuthStateChange",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Receive a notification every time an auth event happens."
- },
- "parameters": [
- {
- "id": 210,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "A callback function to be invoked when an auth event happens.\n"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 211,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 212,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 213,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 327,
- "name": "AuthChangeEvent"
- }
- },
- {
- "id": 214,
- "name": "session",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 388,
- "name": "Session"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 215,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 216,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1072,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 217,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 218,
- "name": "subscription",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1072,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "id": 464,
- "name": "Subscription"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 218
- ]
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 216
- ]
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 136,
- "name": "reauthenticate",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 626,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 137,
- "name": "reauthenticate",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Sends a reauthentication OTP to the user's email or phone number.\nRequires the user to be signed-in."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 342,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 180,
- "name": "refreshSession",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 902,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 181,
- "name": "refreshSession",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns a new session, regardless of expiry status.\nTakes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\nIf the current session's refresh token is invalid, an error will be thrown."
- },
- "parameters": [
- {
- "id": 182,
- "name": "currentSession",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The current session. If passed in, it must contain a refresh token.\n"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 183,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 184,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 902,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 184
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 342,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 138,
- "name": "resend",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 651,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 139,
- "name": "resend",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP."
- },
- "parameters": [
- {
- "id": 140,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 562,
- "name": "ResendParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 342,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 222,
- "name": "resetPasswordForEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1111,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 223,
- "name": "resetPasswordForEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Sends a password reset request to an email address."
- },
- "parameters": [
- {
- "id": 224,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The email address of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 225,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 226,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 228,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site.\n"
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1115,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 227,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The URL to send the user to after they click the password reset link."
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1114,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 228,
- 227
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 229,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 230,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1119,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 231,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- },
- {
- "id": 232,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1120,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 230,
- 232
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 233,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 234,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1122,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 235,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1122,
- "character": 20
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 234,
- 235
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 174,
- "name": "setSession",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 838,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 175,
- "name": "setSession",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token or access token in the current session is invalid, an error will be thrown."
- },
- "parameters": [
- {
- "id": 176,
- "name": "currentSession",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The current session that minimally contains an access token and refresh token.\n"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 177,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 178,
- "name": "access_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 839,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 179,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 840,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 178,
- 179
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 342,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 124,
- "name": "signInWithIdToken",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 441,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 125,
- "name": "signInWithIdToken",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Allows signing in with an ID token issued by certain supported providers.\nThe ID token is verified for validity and a new session is established.",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 126,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 535,
- "name": "SignInWithIdTokenCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 342,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 118,
- "name": "signInWithOAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 397,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 119,
- "name": "signInWithOAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in an existing user via a third-party provider."
- },
- "parameters": [
- {
- "id": 120,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 523,
- "name": "SignInWithOAuthCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 355,
- "name": "OAuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 127,
- "name": "signInWithOtp",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 489,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 128,
- "name": "signInWithOtp",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in a user using magiclink or a one-time password (OTP).",
- "text": "If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\n"
- },
- "parameters": [
- {
- "id": 129,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 505,
- "name": "SignInWithPasswordlessCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 342,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 115,
- "name": "signInWithPassword",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 347,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 116,
- "name": "signInWithPassword",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in an existing user with an email and password or phone and password.",
- "text": "Be aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login.\n"
- },
- "parameters": [
- {
- "id": 117,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 491,
- "name": "SignInWithPasswordCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 342,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 133,
- "name": "signInWithSSO",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 597,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 134,
- "name": "signInWithSSO",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Attempts a single-sign on using an enterprise Identity Provider. A\nsuccessful SSO attempt will redirect the current page to the identity\nprovider authorization page. The redirect URL is implementation and SSO\nprotocol specific.",
- "text": "You can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead.\n"
- },
- "parameters": [
- {
- "id": 135,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 575,
- "name": "SignInWithSSO"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 368,
- "name": "SSOResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 204,
- "name": "signOut",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1045,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 205,
- "name": "signOut",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a `\"SIGNED_OUT\"` event.",
- "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 206,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 207,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1045,
- "character": 29
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 207
- ]
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 112,
- "name": "signUp",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 268,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 113,
- "name": "signUp",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a new user.",
- "text": "Be aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\n",
- "returns": "A logged-in session if the server has \"autoconfirm\" ON"
- },
- "parameters": [
- {
- "id": 114,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 474,
- "name": "SignUpWithPasswordCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 342,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 284,
- "name": "startAutoRefresh",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1415,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 285,
- "name": "startAutoRefresh",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.",
- "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "void"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 286,
- "name": "stopAutoRefresh",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 1428,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 287,
- "name": "stopAutoRefresh",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Stops an active auto refresh process running in the background (if any).",
- "text": "If you call this method any managed visibility change callback will be\nremoved and you must manage visibility changes on your own.\n\nSee {@link #startAutoRefresh} for more details.\n"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "void"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 161,
- "name": "updateUser",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 785,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 162,
- "name": "updateUser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates user data for a logged in user."
- },
- "parameters": [
- {
- "id": 163,
- "name": "attributes",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 448,
- "name": "UserAttributes"
- }
- },
- {
- "id": 164,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 165,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 166,
- "name": "emailRedirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 788,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 166
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 377,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 130,
- "name": "verifyOtp",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 544,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 131,
- "name": "verifyOtp",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in a user given a User supplied OTP received via mobile."
- },
- "parameters": [
- {
- "id": 132,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 543,
- "name": "VerifyOtpParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 342,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 78
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 81,
- 82
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 121,
- 141,
- 158,
- 108,
- 208,
- 136,
- 180,
- 138,
- 222,
- 174,
- 124,
- 118,
- 127,
- 115,
- 133,
- 204,
- 112,
- 284,
- 286,
- 161,
- 130
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 93,
- "character": 21
- }
- ]
- },
- {
- "id": 397,
- "name": "AMREntry",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "An authentication methord reference (AMR) entry.",
- "text": "An entry designates what method was used by the user to verify their\nidentity and at what time.\n",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}.\n"
- }
- ]
- },
- "children": [
- {
- "id": 398,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Authentication method name."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 161,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 399,
- "name": "timestamp",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Timestamp when the method was successfully used. Represents number of\nseconds since 1st January 1970 (UNIX epoch) in UTC."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 167,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 398,
- 399
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 159,
- "character": 17
- }
- ]
- },
- {
- "id": 454,
- "name": "AdminUserAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 456,
- "name": "app_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",
- "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 296,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 459,
- "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": 322,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 462,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "Omit.email"
- }
- },
- {
- "id": 457,
- "name": "email_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's email address if set to true.",
- "text": "Only a service role can modify.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 303,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 461,
- "name": "nonce",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The nonce sent for reauthentication if the user's password is to be updated.",
- "text": "Call reauthenticate() to obtain the nonce first.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 264,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "Omit.nonce"
- }
- },
- {
- "id": 460,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 257,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "Omit.password"
- }
- },
- {
- "id": 463,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 252,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "Omit.phone"
- }
- },
- {
- "id": 458,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 310,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 455,
- "name": "user_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 286,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 275,
- "character": 17
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 448,
- "name": "UserAttributes"
- },
- {
- "type": "literal",
- "value": "data"
- }
- ],
- "qualifiedName": "Omit",
- "package": "typescript",
- "name": "Omit"
- }
- ]
- },
- {
- "id": 411,
- "name": "Factor",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "A MFA factor.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#enroll}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#listFactors}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAAdminApi#listFactors}\n"
- }
- ]
- },
- "children": [
- {
- "id": 416,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 205,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 414,
- "name": "factor_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Type of factor. Only `totp` supported with this version but may change in\nfuture versions."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 200,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 413,
- "name": "friendly_name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 194,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 412,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 191,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 415,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Factor's status."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 203,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "verified"
- },
- {
- "type": "literal",
- "value": "unverified"
- }
- ]
- }
- },
- {
- "id": 417,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 206,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 416,
- 414,
- 413,
- 412,
- 415,
- 417
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 189,
- "character": 17
- }
- ]
- },
- {
- "id": 610,
- "name": "GenerateLinkOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 611,
- "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": 596,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 612,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The URL which will be appended to the email link generated."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 598,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 611,
- 612
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 590,
- "character": 17
- }
- ]
- },
- {
- "id": 769,
- "name": "GoTrueAdminMFAApi",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Contains the full multi-factor authentication administration API.",
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "children": [
- {
- "id": 773,
- "name": "deleteFactor",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 774,
- "name": "deleteFactor",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#unenroll}\n"
- },
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 775,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 753,
- "name": "AuthMFAAdminDeleteFactorParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 744,
- "name": "AuthMFAAdminDeleteFactorResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 770,
- "name": "listFactors",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 771,
- "name": "listFactors",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Lists all factors associated to a user."
- },
- "parameters": [
- {
- "id": 772,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 766,
- "name": "AuthMFAAdminListFactorsParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 757,
- "name": "AuthMFAAdminListFactorsResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 773,
- 770
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 928,
- "character": 17
- }
- ]
- },
- {
- "id": 724,
- "name": "GoTrueMFAApi",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Contains the full multi-factor authentication API."
- },
- "children": [
- {
- "id": 728,
- "name": "challenge",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 729,
- "name": "challenge",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor."
- },
- "parameters": [
- {
- "id": 730,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 648,
- "name": "MFAChallengeParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 692,
- "name": "AuthMFAChallengeResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 737,
- "name": "challengeAndVerify",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 738,
- "name": "challengeAndVerify",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
- },
- "parameters": [
- {
- "id": 739,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 651,
- "name": "MFAChallengeAndVerifyParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 655,
- "name": "AuthMFAVerifyResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 725,
- "name": "enroll",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 726,
- "name": "enroll",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new `unverified` factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.",
- "text": "Upon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to `aal2`.\n\n"
- },
- "parameters": [
- {
- "id": 727,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 635,
- "name": "MFAEnrollParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 668,
- "name": "AuthMFAEnrollResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 742,
- "name": "getAuthenticatorAssuranceLevel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 743,
- "name": "getAuthenticatorAssuranceLevel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns the Authenticator Assurance Level (AAL) for the active session.",
- "text": "- `aal1` (or `null`) means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- `aal2` means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors.\n\n"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 713,
- "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 740,
- "name": "listFactors",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 741,
- "name": "listFactors",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns the list of MFA factors enabled for this user.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#enroll}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueClient#getUser}\n\n"
- }
- ]
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 702,
- "name": "AuthMFAListFactorsResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 734,
- "name": "unenroll",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 735,
- "name": "unenroll",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor."
- },
- "parameters": [
- {
- "id": 736,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 640,
- "name": "MFAUnenrollParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 683,
- "name": "AuthMFAUnenrollResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 731,
- "name": "verify",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 732,
- "name": "verify",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
- },
- "parameters": [
- {
- "id": 733,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 643,
- "name": "MFAVerifyParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 655,
- "name": "AuthMFAVerifyResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 728,
- 737,
- 725,
- 742,
- 740,
- 734,
- 731
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 815,
- "character": 17
- }
- ]
- },
- {
- "id": 388,
- "name": "Session",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 391,
- "name": "access_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 134,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 394,
- "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": 146,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 393,
- "name": "expires_in",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 142,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 390,
- "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": 130,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 389,
- "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": 125,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 392,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "A one-time used refresh token that never expires."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 138,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 395,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 147,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 396,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 148,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 425,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 391,
- 394,
- 393,
- 390,
- 389,
- 392,
- 395,
- 396
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 121,
- "character": 17
- }
- ]
- },
- {
- "id": 464,
- "name": "Subscription",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 465,
- "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": 329,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 466,
- "name": "callback",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 333,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 467,
- "name": "callback",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
- },
- "parameters": [
- {
- "id": 468,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 327,
- "name": "AuthChangeEvent"
- }
- },
- {
- "id": 469,
- "name": "session",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 388,
- "name": "Session"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 470,
- "name": "unsubscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 337,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 471,
- "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": [
- 465
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 466,
- 470
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 325,
- "character": 17
- }
- ]
- },
- {
- "id": 472,
- "name": "UpdatableFactorAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 473,
- "name": "friendlyName",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 341,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 473
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 340,
- "character": 17
- }
- ]
- },
- {
- "id": 425,
- "name": "User",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 436,
- "name": "action_link",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 229,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 427,
- "name": "app_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 220,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 418,
- "name": "UserAppMetadata"
- }
- },
- {
- "id": 429,
- "name": "aud",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 222,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 430,
- "name": "confirmation_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 223,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 440,
- "name": "confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 233,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 439,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 232,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 437,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 230,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 432,
- "name": "email_change_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 441,
- "name": "email_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 234,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 447,
- "name": "factors",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 240,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 411,
- "name": "Factor"
- }
- }
- },
- {
- "id": 426,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 219,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 446,
- "name": "identities",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 239,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 400,
- "name": "UserIdentity"
- }
- }
- },
- {
- "id": 435,
- "name": "invited_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 228,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 443,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 236,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 433,
- "name": "new_email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 226,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 434,
- "name": "new_phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 227,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 438,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 231,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 442,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 235,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 431,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 224,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 444,
- "name": "role",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 237,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 445,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 238,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 428,
- "name": "user_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 422,
- "name": "UserMetadata"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 436,
- 427,
- 429,
- 430,
- 440,
- 439,
- 437,
- 432,
- 441,
- 447,
- 426,
- 446,
- 435,
- 443,
- 433,
- 434,
- 438,
- 442,
- 431,
- 444,
- 445,
- 428
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 218,
- "character": 17
- }
- ]
- },
- {
- "id": 418,
- "name": "UserAppMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 419,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 210,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 419
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 209,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 420,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 421,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 448,
- "name": "UserAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 453,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 272,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 449,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 452,
- "name": "nonce",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The nonce sent for reauthentication if the user's password is to be updated.",
- "text": "Call reauthenticate() to obtain the nonce first.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 264,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 451,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 257,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 450,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 252,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 453,
- 449,
- 452,
- 451,
- 450
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 243,
- "character": 17
- }
- ]
- },
- {
- "id": 400,
- "name": "UserIdentity",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 408,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 177,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 401,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 171,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 403,
- "name": "identity_data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 173,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 404,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 405,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 406,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 409,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 178,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 407,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 176,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 410,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 179,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 402,
- "name": "user_id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 172,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 408,
- 401,
- 403,
- 409,
- 407,
- 410,
- 402
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 170,
- "character": 17
- }
- ]
- },
- {
- "id": 422,
- "name": "UserMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 214,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 423,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 424,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 552,
- "name": "VerifyEmailOtpParams",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 553,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 500,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 556,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 505,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 557,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 559,
- "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": 509,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 558,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to send the user to after they are confirmed."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 507,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 559,
- 558
- ]
- }
- ]
- }
- }
- },
- {
- "id": 554,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The otp sent to the user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 502,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 555,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's verification type."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 504,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 561,
- "name": "EmailOtpType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 553,
- 556,
- 554,
- 555
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 498,
- "character": 17
- }
- ]
- },
- {
- "id": 544,
- "name": "VerifyMobileOtpParams",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 548,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 486,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 549,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 551,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site.",
- "tags": [
- {
- "tag": "deprecated",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 495,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 550,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to send the user to after they are confirmed."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 488,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 551,
- 550
- ]
- }
- ]
- }
- }
- },
- {
- "id": 545,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 481,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 546,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The otp sent to the user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 483,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 547,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's verification type."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 485,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 560,
- "name": "MobileOtpType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 548,
- 545,
- 546,
- 547
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 479,
- "character": 17
- }
- ]
- },
- {
- "id": 327,
- "name": "AuthChangeEvent",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 26,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "INITIAL_SESSION"
- },
- {
- "type": "literal",
- "value": "PASSWORD_RECOVERY"
- },
- {
- "type": "literal",
- "value": "SIGNED_IN"
- },
- {
- "type": "literal",
- "value": "SIGNED_OUT"
- },
- {
- "type": "literal",
- "value": "TOKEN_REFRESHED"
- },
- {
- "type": "literal",
- "value": "USER_UPDATED"
- },
- {
- "type": "reference",
- "id": 326,
- "name": "AuthChangeEventMFA"
- }
- ]
- }
- },
- {
- "id": 326,
- "name": "AuthChangeEventMFA",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 24,
- "character": 12
- }
- ],
- "type": {
- "type": "literal",
- "value": "MFA_CHALLENGE_VERIFIED"
- }
- },
- {
- "id": 522,
- "name": "AuthFlowType",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 447,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "implicit"
- },
- {
- "type": "literal",
- "value": "pkce"
- }
- ]
- }
- },
- {
- "id": 753,
- "name": "AuthMFAAdminDeleteFactorParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 894,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 754,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 755,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the MFA factor to delete."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 896,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 756,
- "name": "userId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the user whose factor is being deleted."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 899,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 755,
- 756
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 894,
- "character": 45
- }
- ]
- }
- }
- },
- {
- "id": 744,
- "name": "AuthMFAAdminDeleteFactorResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 881,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 745,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 746,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 883,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 747,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 748,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor that was successfully deleted."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 885,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 748
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 883,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 749,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 887,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 746,
- 749
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 882,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 750,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 751,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 889,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 752,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 889,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 751,
- 752
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 889,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 766,
- "name": "AuthMFAAdminListFactorsParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 918,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 767,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 768,
- "name": "userId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the user."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 920,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 768
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 918,
- "character": 44
- }
- ]
- }
- }
- },
- {
- "id": 757,
- "name": "AuthMFAAdminListFactorsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 905,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 758,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 759,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 907,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 760,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 761,
- "name": "factors",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "All factors attached to the user."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 909,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 411,
- "name": "Factor"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 761
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 907,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 762,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 911,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 759,
- 762
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 906,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 763,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 764,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 913,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 765,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 913,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 764,
- 765
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 913,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 692,
- "name": "AuthMFAChallengeResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 758,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 693,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 694,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 760,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 695,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 697,
- "name": "expires_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 765,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 696,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the newly created challenge."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 762,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 697,
- 696
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 760,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 698,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 767,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 694,
- 698
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 759,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 699,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 700,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 769,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 701,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 769,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 700,
- 701
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 769,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 668,
- "name": "AuthMFAEnrollResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 715,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 669,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 670,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 717,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 671,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 672,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor that was just enrolled (in an unverified state)."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 719,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 674,
- "name": "totp",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "TOTP enrollment information."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 725,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 675,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 676,
- "name": "qr_code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 729,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 677,
- "name": "secret",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 734,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 678,
- "name": "uri",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 738,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 676,
- 677,
- 678
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 725,
- "character": 14
- }
- ]
- }
- }
- },
- {
- "id": 673,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Type of MFA factor. Only `totp` supported for now."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 722,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "totp"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 672,
- 674,
- 673
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 717,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 679,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 741,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 670,
- 679
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 716,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 680,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 681,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 744,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 682,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 745,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 681,
- 682
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 743,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 713,
- "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 786,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 714,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 715,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 788,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 716,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 719,
- "name": "currentAuthenticationMethods",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 805,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 397,
- "name": "AMREntry"
- }
- }
- },
- {
- "id": 717,
- "name": "currentLevel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Current AAL level of the session."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 790,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 712,
- "name": "AuthenticatorAssuranceLevels"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- },
- {
- "id": 718,
- "name": "nextLevel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challenge}\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 798,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 712,
- "name": "AuthenticatorAssuranceLevels"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 719,
- 717,
- 718
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 788,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 720,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 807,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 715,
- 720
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 787,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 721,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 722,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 809,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 723,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 809,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 722,
- 723
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 809,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 702,
- "name": "AuthMFAListFactorsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 771,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 703,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 704,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 773,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 705,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 706,
- "name": "all",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "All available factors (verified and unverified)."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 775,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 411,
- "name": "Factor"
- }
- }
- },
- {
- "id": 707,
- "name": "totp",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Only verified TOTP factors. (A subset of `all`.)"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 778,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 411,
- "name": "Factor"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 706,
- 707
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 773,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 708,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 780,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 704,
- 708
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 772,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 709,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 710,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 782,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 711,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 782,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 710,
- 711
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 782,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 683,
- "name": "AuthMFAUnenrollResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 748,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 684,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 685,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 750,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 686,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 687,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor that was successfully unenrolled."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 752,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 687
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 750,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 688,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 754,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 685,
- 688
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 749,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 689,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 690,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 756,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 691,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 756,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 690,
- 691
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 756,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 655,
- "name": "AuthMFAVerifyResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 690,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 656,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 657,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 692,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 658,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 659,
- "name": "access_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "New access token (JWT) after successful verification."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 694,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 661,
- "name": "expires_in",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Number of seconds in which the access token will expire."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 700,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 662,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Refresh token you can use to obtain new access tokens when expired."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 703,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 660,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Type of token, typically `Bearer`."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 697,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 663,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Updated user profile."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 706,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 425,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 659,
- 661,
- 662,
- 660,
- 663
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 692,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 664,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 708,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 657,
- 664
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 691,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 665,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 666,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 711,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 667,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 712,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 666,
- 667
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 710,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 342,
- "name": "AuthResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 343,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 344,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 345,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 347,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 388,
- "name": "Session"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- },
- {
- "id": 346,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 425,
- "name": "User"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 347,
- 346
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 348,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 344,
- 348
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 349,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 350,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 65,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 351,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 353,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 67,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 352,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 353,
- 352
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 65,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 354,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 69,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 350,
- 354
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 64,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 712,
- "name": "AuthenticatorAssuranceLevels",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 784,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "aal1"
- },
- {
- "type": "literal",
- "value": "aal2"
- }
- ]
- }
- },
- {
- "id": 780,
- "name": "CallRefreshTokenResult",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 959,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 781,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 783,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 962,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 782,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 961,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 388,
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 783,
- 782
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 960,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 784,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 786,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 966,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- },
- {
- "id": 785,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 965,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 786,
- 785
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 964,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 561,
- "name": "EmailOtpType",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 514,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "signup"
- },
- {
- "type": "literal",
- "value": "invite"
- },
- {
- "type": "literal",
- "value": "magiclink"
- },
- {
- "type": "literal",
- "value": "recovery"
- },
- {
- "type": "literal",
- "value": "email_change"
- },
- {
- "type": "literal",
- "value": "email"
- }
- ]
- }
- },
- {
- "id": 604,
- "name": "GenerateEmailChangeLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 579,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 605,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 607,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 582,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 608,
- "name": "newEmail",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 586,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 609,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 587,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 610,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 606,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 580,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "email_change_current"
- },
- {
- "type": "literal",
- "value": "email_change_new"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 607,
- 608,
- 609,
- 606
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 579,
- "character": 44
- }
- ]
- }
- }
- },
- {
- "id": 594,
- "name": "GenerateInviteOrMagiclinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 565,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 595,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 597,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 568,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 598,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 569,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 610,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "data"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ]
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 596,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 566,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "invite"
- },
- {
- "type": "literal",
- "value": "magiclink"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 597,
- 598,
- 596
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 565,
- "character": 46
- }
- ]
- }
- }
- },
- {
- "id": 613,
- "name": "GenerateLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 601,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 588,
- "name": "GenerateSignupLinkParams"
- },
- {
- "type": "reference",
- "id": 594,
- "name": "GenerateInviteOrMagiclinkParams"
- },
- {
- "type": "reference",
- "id": 599,
- "name": "GenerateRecoveryLinkParams"
- },
- {
- "type": "reference",
- "id": 604,
- "name": "GenerateEmailChangeLinkParams"
- }
- ]
- }
- },
- {
- "id": 627,
- "name": "GenerateLinkProperties",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "shortText": "The properties related to the email link generated"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 624,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 628,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 629,
- "name": "action_link",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The email link to send to the user.\nThe action_link follows the following format: auth/v1/verify?type={verification_type}&token={hashed_token}&redirect_to={redirect_to}"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 629,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 630,
- "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": 634,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 631,
- "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": 638,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 632,
- "name": "redirect_to",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The URL appended to the action link."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 640,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 633,
- "name": "verification_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The verification type that the email link is associated to."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 642,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 634,
- "name": "GenerateLinkType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 629,
- 630,
- 631,
- 632,
- 633
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 624,
- "character": 37
- }
- ]
- }
- }
- },
- {
- "id": 614,
- "name": "GenerateLinkResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 607,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 615,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 616,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 609,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 617,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 618,
- "name": "properties",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 610,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 627,
- "name": "GenerateLinkProperties"
- }
- },
- {
- "id": 619,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 611,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 425,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 618,
- 619
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 609,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 620,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 613,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 616,
- 620
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 608,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 621,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 622,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 616,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 623,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 624,
- "name": "properties",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 617,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 625,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 618,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 624,
- 625
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 616,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 626,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 620,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 622,
- 626
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 615,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 634,
- "name": "GenerateLinkType",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 645,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "signup"
- },
- {
- "type": "literal",
- "value": "invite"
- },
- {
- "type": "literal",
- "value": "magiclink"
- },
- {
- "type": "literal",
- "value": "recovery"
- },
- {
- "type": "literal",
- "value": "email_change_current"
- },
- {
- "type": "literal",
- "value": "email_change_new"
- }
- ]
- }
- },
- {
- "id": 599,
- "name": "GenerateRecoveryLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 572,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 600,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 602,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 575,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 603,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 576,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 610,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 601,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 573,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "recovery"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 602,
- 603,
- 601
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 572,
- "character": 41
- }
- ]
- }
- }
- },
- {
- "id": 588,
- "name": "GenerateSignupLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 558,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 589,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 591,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 560,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 593,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 562,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 610,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "data"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ]
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 592,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 561,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 590,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 559,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "signup"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 591,
- 593,
- 592,
- 590
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 558,
- "character": 39
- }
- ]
- }
- }
- },
- {
- "id": 328,
- "name": "GoTrueClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 35,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 329,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 337,
- "name": "autoRefreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 45,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 336,
- "name": "detectSessionInUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 43,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 340,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 51,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "Fetch"
- }
- },
- {
- "id": 341,
- "name": "flowType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 53,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 522,
- "name": "AuthFlowType"
- }
- },
- {
- "id": 331,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 39,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 332,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 39,
- "character": 12
- }
- ],
- "indexSignature": {
- "id": 333,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 334,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 338,
- "name": "persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 339,
- "name": "storage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 776,
- "name": "SupportedStorage"
- }
- },
- {
- "id": 335,
- "name": "storageKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 41,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 330,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 37,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 337,
- 336,
- 340,
- 341,
- 331,
- 338,
- 339,
- 335,
- 330
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 35,
- "character": 34
- }
- ]
- }
- }
- },
- {
- "id": 777,
- "name": "InitializeResult",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 957,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 778,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 779,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 957,
- "character": 33
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 779
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 957,
- "character": 31
- }
- ]
- }
- }
- },
- {
- "id": 651,
- "name": "MFAChallengeAndVerifyParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 683,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 652,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 654,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Verification code provided by the user."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 687,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 653,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor being verified. Returned in enroll()."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 685,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 654,
- 653
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 683,
- "character": 42
- }
- ]
- }
- }
- },
- {
- "id": 648,
- "name": "MFAChallengeParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 678,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 649,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 650,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor to be challenged. Returned in enroll()."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 680,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 650
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 678,
- "character": 33
- }
- ]
- }
- }
- },
- {
- "id": 635,
- "name": "MFAEnrollParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 653,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 636,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 637,
- "name": "factorType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The type of factor being enrolled."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 655,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "totp"
- }
- },
- {
- "id": 639,
- "name": "friendlyName",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Human readable name assigned to the factor."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 659,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 638,
- "name": "issuer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Domain which the user is enrolled with."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 657,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 637,
- 639,
- 638
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 653,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 640,
- "name": "MFAUnenrollParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 662,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 641,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 642,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor being unenrolled."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 664,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 642
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 662,
- "character": 32
- }
- ]
- }
- }
- },
- {
- "id": 643,
- "name": "MFAVerifyParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 667,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 644,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 646,
- "name": "challengeId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the challenge being verified. Returned in challenge()."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 672,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 647,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Verification code provided by the user."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 675,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 645,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor being verified. Returned in enroll()."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 669,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 646,
- 647,
- 645
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 667,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 560,
- "name": "MobileOtpType",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 513,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "phone_change"
- }
- ]
- }
- },
- {
- "id": 355,
- "name": "OAuthResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 356,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 357,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 358,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 359,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 75,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 325,
- "name": "Provider"
- }
- },
- {
- "id": 360,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 76,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 359,
- 360
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 361,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 78,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 357,
- 361
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 73,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 362,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 363,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 81,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 364,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 365,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 82,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 325,
- "name": "Provider"
- }
- },
- {
- "id": 366,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 365,
- 366
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 81,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 367,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 85,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 363,
- 367
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 80,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 794,
- "name": "PageParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 976,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 795,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 796,
- "name": "page",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The page number"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 978,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 797,
- "name": "perPage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Number of items returned per page"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 980,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 796,
- 797
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 976,
- "character": 25
- }
- ]
- }
- }
- },
- {
- "id": 787,
- "name": "Pagination",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 969,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 788,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 790,
- "name": "lastPage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 972,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 789,
- "name": "nextPage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 971,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "number"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- },
- {
- "id": 791,
- "name": "total",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 973,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 790,
- 789,
- 791
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 969,
- "character": 25
- }
- ],
- "indexSignature": {
- "id": 792,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 793,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 325,
- "name": "Provider",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "shortText": "One of the providers supported by GoTrue."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 5,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "apple"
- },
- {
- "type": "literal",
- "value": "azure"
- },
- {
- "type": "literal",
- "value": "bitbucket"
- },
- {
- "type": "literal",
- "value": "discord"
- },
- {
- "type": "literal",
- "value": "facebook"
- },
- {
- "type": "literal",
- "value": "github"
- },
- {
- "type": "literal",
- "value": "gitlab"
- },
- {
- "type": "literal",
- "value": "google"
- },
- {
- "type": "literal",
- "value": "keycloak"
- },
- {
- "type": "literal",
- "value": "linkedin"
- },
- {
- "type": "literal",
- "value": "notion"
- },
- {
- "type": "literal",
- "value": "slack"
- },
- {
- "type": "literal",
- "value": "spotify"
- },
- {
- "type": "literal",
- "value": "twitch"
- },
- {
- "type": "literal",
- "value": "twitter"
- },
- {
- "type": "literal",
- "value": "workos"
- },
- {
- "type": "literal",
- "value": "zoom"
- }
- ]
- }
- },
- {
- "id": 562,
- "name": "ResendParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 516,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 563,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 565,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 519,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 566,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 520,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 567,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 568,
- "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": 522,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 568
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 520,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 564,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 518,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 561,
- "name": "EmailOtpType"
- },
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "signup"
- },
- {
- "type": "literal",
- "value": "email_change"
- }
- ]
- }
- ],
- "qualifiedName": "Extract",
- "package": "typescript",
- "name": "Extract"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 565,
- 566,
- 564
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 517,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 569,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 572,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 528,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 573,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 574,
- "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": 530,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 574
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 528,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 571,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 527,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 570,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 526,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 560,
- "name": "MobileOtpType"
- },
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "phone_change"
- }
- ]
- }
- ],
- "qualifiedName": "Extract",
- "package": "typescript",
- "name": "Extract"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 572,
- 571,
- 570
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 525,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 368,
- "name": "SSOResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 88,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 369,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 370,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 90,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 371,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 372,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "URL to open in a browser which will complete the sign-in flow by\ntaking the user to the identity provider's authentication flow.",
- "text": "On browsers you can set the URL to `window.location.href` to take\nthe user to the authentication flow.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 98,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 372
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 90,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 373,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 100,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 370,
- 373
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 89,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 374,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 375,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 103,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 376,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 104,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 375,
- 376
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 102,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 535,
- "name": "SignInWithIdTokenCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 463,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 536,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 539,
- "name": "nonce",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If the ID token contains a `nonce`, then the hash of this value is compared to the value in the ID token."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 471,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 540,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 472,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 541,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 542,
- "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": 474,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 542
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 472,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 537,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Only Apple and Google ID tokens are supported for use from within iOS or Android applications."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 467,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "google"
- },
- {
- "type": "literal",
- "value": "apple"
- }
- ]
- }
- },
- {
- "id": 538,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID token issued by Apple or Google."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 469,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 539,
- 540,
- 537,
- 538
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 463,
- "character": 43
- }
- ]
- }
- }
- },
- {
- "id": 523,
- "name": "SignInWithOAuthCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 448,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 524,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 526,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 451,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 527,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 530,
- "name": "queryParams",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "An object of query params"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 457,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 531,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 457,
- "character": 18
- }
- ],
- "indexSignature": {
- "id": 532,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 533,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 528,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to send the user to after they are confirmed."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 453,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 529,
- "name": "scopes",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A space-separated list of scopes granted to the OAuth application."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 455,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 534,
- "name": "skipBrowserRedirect",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 459,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 530,
- 528,
- 529,
- 534
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 451,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 525,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "One of the providers supported by GoTrue."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 450,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 325,
- "name": "Provider"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 526,
- 525
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 448,
- "character": 41
- }
- ]
- }
- }
- },
- {
- "id": 491,
- "name": "SignInWithPasswordCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 381,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 492,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 493,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 384,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 495,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 387,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 496,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 497,
- "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": 389,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 497
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 387,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 494,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 386,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 493,
- 495,
- 494
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 382,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 498,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 501,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 397,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 502,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 504,
- "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": 405,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 503,
- "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": 403,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 504,
- 503
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 397,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 500,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 396,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 499,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 394,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 501,
- 500,
- 499
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 392,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 505,
- "name": "SignInWithPasswordlessCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 409,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 506,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 507,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 412,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 508,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 413,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 509,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 513,
- "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": 425,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 512,
- "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": 423,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 510,
- "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": 415,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 511,
- "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": 417,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 513,
- 512,
- 510,
- 511
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 413,
- "character": 16
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 507,
- 508
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 410,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 514,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 516,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 431,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 517,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 520,
- "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": 441,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 521,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 443,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "whatsapp"
- }
- ]
- }
- },
- {
- "id": 519,
- "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": 439,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 518,
- "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": 433,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 520,
- 521,
- 519,
- 518
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 431,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 515,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 430,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 516,
- 515
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 428,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 575,
- "name": "SignInWithSSO",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 534,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 576,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 578,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 539,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 579,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 581,
- "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": 543,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 580,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to send the user to after they have signed-in."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 541,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 581,
- 580
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 539,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 577,
- "name": "providerId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "UUID of the SSO provider to invoke single-sign on to."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 537,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 578,
- 577
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 535,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 582,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 583,
- "name": "domain",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Domain name of the organization for which to invoke single-sign on."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 548,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 584,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 550,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 585,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 587,
- "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": 554,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 586,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to send the user to after they have signed-in."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 552,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 587,
- 586
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 550,
- "character": 16
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 583,
- 584
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 546,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 474,
- "name": "SignUpWithPasswordCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 344,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 475,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 476,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 347,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 478,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 350,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 479,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 482,
- "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": 360,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 481,
- "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": 358,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 480,
- "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": 352,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 482,
- 481,
- 480
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 350,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 477,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 349,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 476,
- 478,
- 477
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 345,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 483,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 486,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 368,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 487,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 489,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 376,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 490,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 378,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "whatsapp"
- }
- ]
- }
- },
- {
- "id": 488,
- "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": 374,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 489,
- 490,
- 488
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 368,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 485,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 367,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 484,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 365,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 486,
- 485,
- 484
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 363,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 776,
- "name": "SupportedStorage",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 955,
- "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": 377,
- "name": "UserResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 107,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 378,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 379,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 109,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 380,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 381,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 110,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 425,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 381
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 109,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 382,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 112,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 379,
- 382
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 108,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 383,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 384,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 115,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 385,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 386,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 116,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 386
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 115,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 387,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 118,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 384,
- 387
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 114,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 543,
- "name": "VerifyOtpParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 478,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 544,
- "name": "VerifyMobileOtpParams"
- },
- {
- "type": "reference",
- "id": 552,
- "name": "VerifyEmailOtpParams"
- }
- ]
- }
- },
- {
- "id": 801,
- "name": "isAuthApiError",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 34,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 802,
- "name": "isAuthApiError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 803,
- "name": "error",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "predicate",
- "name": "error",
- "asserts": false,
- "targetType": {
- "type": "reference",
- "id": 811,
- "name": "AuthApiError"
- }
- }
- }
- ]
- },
- {
- "id": 798,
- "name": "isAuthError",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 12,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 799,
- "name": "isAuthError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 800,
- "name": "error",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "predicate",
- "name": "error",
- "asserts": false,
- "targetType": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 811,
- 804,
- 872,
- 859,
- 897,
- 922,
- 847,
- 824,
- 832,
- 1,
- 77
- ]
- },
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [
- 397,
- 454,
- 411,
- 610,
- 769,
- 724,
- 388,
- 464,
- 472,
- 425,
- 418,
- 448,
- 400,
- 422,
- 552,
- 544
- ]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [
- 327,
- 326,
- 522,
- 753,
- 744,
- 766,
- 757,
- 692,
- 668,
- 713,
- 702,
- 683,
- 655,
- 342,
- 712,
- 780,
- 561,
- 604,
- 594,
- 613,
- 627,
- 614,
- 634,
- 599,
- 588,
- 328,
- 777,
- 651,
- 648,
- 635,
- 640,
- 643,
- 560,
- 355,
- 794,
- 787,
- 325,
- 562,
- 368,
- 535,
- 523,
- 491,
- 505,
- 575,
- 474,
- 776,
- 377,
- 543
- ]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [
- 801,
- 798
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
-}
\ No newline at end of file
+ "id": 0,
+ "name": "@supabase/gotrue-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 964,
+ "name": "AuthApiError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 965,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 966,
+ "name": "new AuthApiError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 967,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 968,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 964,
+ "name": "AuthApiError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 959,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 958,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 969,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 962,
+ "name": "AuthError.status"
+ }
+ },
+ {
+ "id": 970,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 971,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 972,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 974,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 28,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 973,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 27,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 975,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 29,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [974, 973, 975]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [965]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [969]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [970]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 16,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 957,
+ "name": "AuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 958,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 959,
+ "name": "new AuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 960,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 961,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 962,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [958]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [962]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 1,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 964,
+ "name": "AuthApiError"
+ },
+ {
+ "type": "reference",
+ "id": 977,
+ "name": "AuthUnknownError"
+ },
+ {
+ "type": "reference",
+ "id": 985,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 1037,
+ "name": "AuthImplicitGrantRedirectError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 1038,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 86,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1039,
+ "name": "new AuthImplicitGrantRedirectError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 1040,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1041,
+ "name": "details",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1042,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1044,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 86,
+ "character": 57
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1043,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 86,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1044, 1043]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1037,
+ "name": "AuthImplicitGrantRedirectError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 987,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 986,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1045,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1046,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1048,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 85,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1047,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 85,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1048, 1047]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 1059,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 991,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1060,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 992,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1049,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 91,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1050,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1051,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1055,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 96,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1056,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1058,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 85,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1057,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 85,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1058, 1057]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1053,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 94,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1052,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 93,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1054,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 95,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1055, 1053, 1052, 1054]
+ }
+ ]
+ }
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 994,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 993,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [1038]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1045, 1059, 1060]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [1049]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 84,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 985,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 1024,
+ "name": "AuthInvalidCredentialsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 1025,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 79,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1026,
+ "name": "new AuthInvalidCredentialsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 1027,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1024,
+ "name": "AuthInvalidCredentialsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 987,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 986,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1028,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 991,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1029,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 992,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1030,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1031,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1032,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1034,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1033,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1035,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1034, 1033, 1035]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 994,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 993,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [1025]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1028, 1029]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [1030]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 78,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 985,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 1012,
+ "name": "AuthInvalidTokenResponseError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 1013,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1014,
+ "name": "new AuthInvalidTokenResponseError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 1012,
+ "name": "AuthInvalidTokenResponseError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 987,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 986,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1015,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 991,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1016,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 992,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1017,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1018,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1019,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1021,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1020,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1022,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1021, 1020, 1022]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 994,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 993,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [1013]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1015, 1016]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [1017]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 72,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 985,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 1062,
+ "name": "AuthPKCEGrantCodeExchangeError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 1063,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 103,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1064,
+ "name": "new AuthPKCEGrantCodeExchangeError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 1065,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1066,
+ "name": "details",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1067,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1069,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 103,
+ "character": 57
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1068,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 103,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1069, 1068]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1062,
+ "name": "AuthPKCEGrantCodeExchangeError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 987,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 986,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1070,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1071,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1073,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 102,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1072,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 102,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1073, 1072]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 1084,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 991,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1085,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 992,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1074,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 108,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1075,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1076,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1080,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 113,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1081,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1083,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 102,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1082,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 102,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1083, 1082]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1078,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 111,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1077,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 110,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1079,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 112,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1080, 1078, 1077, 1079]
+ }
+ ]
+ }
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 994,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 993,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [1063]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1070, 1084, 1085]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [1074]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 101,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 985,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 1087,
+ "name": "AuthRetryableFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 1088,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 119,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1089,
+ "name": "new AuthRetryableFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 1090,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1091,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1087,
+ "name": "AuthRetryableFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 987,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 986,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1092,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 991,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1093,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 992,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1094,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1095,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1096,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1098,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1097,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1099,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1098, 1097, 1099]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 994,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 993,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [1088]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1092, 1093]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [1094]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 118,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 985,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 1000,
+ "name": "AuthSessionMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 1001,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1002,
+ "name": "new AuthSessionMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 1000,
+ "name": "AuthSessionMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 987,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 986,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1003,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 991,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1004,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 992,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1005,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1006,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1007,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1009,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1008,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1010,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1009, 1008, 1010]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 994,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 993,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [1001]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1003, 1004]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [1005]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 66,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 985,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 977,
+ "name": "AuthUnknownError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 978,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 979,
+ "name": "new AuthUnknownError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 980,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 981,
+ "name": "originalError",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 977,
+ "name": "AuthUnknownError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 959,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 958,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 982,
+ "name": "originalError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 39,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ },
+ {
+ "id": 983,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 2,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 962,
+ "name": "AuthError.status"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [978]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [982, 983]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 38,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 985,
+ "name": "CustomAuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 986,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 987,
+ "name": "new CustomAuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 988,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 989,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 990,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 985,
+ "name": "CustomAuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 959,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 958,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 991,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "AuthError.name"
+ }
+ },
+ {
+ "id": 992,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 962,
+ "name": "AuthError.status"
+ }
+ },
+ {
+ "id": 993,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 994,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 995,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 997,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 996,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 998,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [997, 996, 998]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [986]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [991, 992]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [993]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 48,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 1000,
+ "name": "AuthSessionMissingError"
+ },
+ {
+ "type": "reference",
+ "id": 1012,
+ "name": "AuthInvalidTokenResponseError"
+ },
+ {
+ "type": "reference",
+ "id": 1024,
+ "name": "AuthInvalidCredentialsError"
+ },
+ {
+ "type": "reference",
+ "id": 1037,
+ "name": "AuthImplicitGrantRedirectError"
+ },
+ {
+ "type": "reference",
+ "id": 1062,
+ "name": "AuthPKCEGrantCodeExchangeError"
+ },
+ {
+ "type": "reference",
+ "id": 1087,
+ "name": "AuthRetryableFetchError"
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "GoTrueAdminApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "new GoTrueAdminApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 4,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 5,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 11,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 44,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 12,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 13,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 14,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 15,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 7,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 41,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 8,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 9,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 10,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 6,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 40,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [11, 7, 6]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 16,
+ "name": "mfa",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains all MFA administration methods."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 916,
+ "name": "GoTrueAdminMFAApi"
+ }
+ },
+ {
+ "id": 44,
+ "name": "createUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 152,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 45,
+ "name": "createUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."
+ },
+ "parameters": [
+ {
+ "id": 46,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 596,
+ "name": "AdminUserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 519,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 68,
+ "name": "deleteUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 268,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 69,
+ "name": "deleteUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Delete a user. Requires a `service_role` key."
+ },
+ "parameters": [
+ {
+ "id": 70,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user id you want to remove."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 71,
+ "name": "shouldSoftDelete",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If true, then the user will be soft-deleted from the auth schema.\nDefaults to false for backward compatibility.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 519,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 41,
+ "name": "generateLink",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 118,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 42,
+ "name": "generateLink",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Generates email links and OTPs to be sent via a custom email provider."
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 760,
+ "name": "GenerateLinkParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 761,
+ "name": "GenerateLinkResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 61,
+ "name": "getUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 221,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 62,
+ "name": "getUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get user by id."
+ },
+ "parameters": [
+ {
+ "id": 63,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 519,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 34,
+ "name": "inviteUserByEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 85,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 35,
+ "name": "inviteUserByEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends an invite link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 36,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 37,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Additional options to be included when inviting.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 38,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 39,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store additional metadata about the user. This maps to the `auth.users.user_metadata` column."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 89,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 40,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The URL which will be appended to the email link sent to the user's email address. Once clicked the user will end up on this URL."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 92,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [39, 40]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 519,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 47,
+ "name": "listUsers",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 174,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 48,
+ "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."
+ },
+ "parameters": [
+ {
+ "id": 49,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An object which supports `page` and `perPage` as numbers, to alter the paginated results.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 941,
+ "name": "PageParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 50,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 51,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 177,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 54,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 177,
+ "character": 31
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 53,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 177,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [54, 53]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reference",
+ "id": 934,
+ "name": "Pagination"
+ }
+ ]
+ }
+ },
+ {
+ "id": 55,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 177,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [51, 55]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 57,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 178,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 58,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 59,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 178,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "tuple"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [59]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 60,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 178,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [57, 60]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 27,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 60,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 28,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes a logged-in session."
+ },
+ "parameters": [
+ {
+ "id": 29,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid, logged-in JWT."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 30,
+ "name": "scope",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The logout sope.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ },
+ "defaultValue": "'global'"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "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/GoTrueAdminApi.ts",
+ "line": 63,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 33,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 63,
+ "character": 27
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [32, 33]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 64,
+ "name": "updateUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 65,
+ "name": "updateUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 66,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 67,
+ "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": 596,
+ "name": "AdminUserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 519,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [2]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [16]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [44, 68, 41, 61, 34, 47, 27, 64]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 25,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 78,
+ "name": "GoTrueClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 80,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 167,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 81,
+ "name": "new GoTrueClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 82,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 440,
+ "name": "GoTrueClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 78,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 84,
+ "name": "admin",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 115,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ },
+ {
+ "id": 85,
+ "name": "mfa",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Namespace for the MFA methods."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 119,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 871,
+ "name": "GoTrueMFAApi"
+ }
+ },
+ {
+ "id": 131,
+ "name": "exchangeCodeForSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 485,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 132,
+ "name": "exchangeCodeForSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in an existing user by exchanging an Auth Code issued during the PKCE flow."
+ },
+ "parameters": [
+ {
+ "id": 133,
+ "name": "authCode",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 484,
+ "name": "AuthTokenResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 156,
+ "name": "getSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 810,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 157,
+ "name": "getSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the session, refreshing it if necessary.\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 158,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 159,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 901,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 160,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 161,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 902,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 530,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [161]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 162,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 904,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [159, 162]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 163,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 164,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 907,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 165,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 166,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 908,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [166]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 167,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 910,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [164, 167]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 169,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 913,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 170,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 171,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 914,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [171]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 172,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 916,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [169, 172]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 219,
+ "name": "getUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1018,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 220,
+ "name": "getUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Gets the current user details if there is an existing session."
+ },
+ "parameters": [
+ {
+ "id": 221,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 519,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 118,
+ "name": "initialize",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 250,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 119,
+ "name": "initialize",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 924,
+ "name": "InitializeResult"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 295,
+ "name": "onAuthStateChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1412,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 296,
+ "name": "onAuthStateChange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Receive a notification every time an auth event happens."
+ },
+ "parameters": [
+ {
+ "id": 297,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A callback function to be invoked when an auth event happens.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 298,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 299,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 300,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 430,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 301,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 530,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 302,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 303,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1415,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 304,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 305,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1415,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 606,
+ "name": "Subscription"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [305]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [303]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 149,
+ "name": "reauthenticate",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 729,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 150,
+ "name": "reauthenticate",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends a reauthentication OTP to the user's email or phone number.\nRequires the user to be signed-in."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 456,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 256,
+ "name": "refreshSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1207,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 257,
+ "name": "refreshSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns a new session, regardless of expiry status.\nTakes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\nIf the current session's refresh token is invalid, an error will be thrown."
+ },
+ "parameters": [
+ {
+ "id": 258,
+ "name": "currentSession",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The current session. If passed in, it must contain a refresh token.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 259,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 260,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1207,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [260]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 456,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 153,
+ "name": "resend",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 764,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 154,
+ "name": "resend",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP."
+ },
+ "parameters": [
+ {
+ "id": 155,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 708,
+ "name": "ResendParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 469,
+ "name": "AuthOtpResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 309,
+ "name": "resetPasswordForEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1468,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 310,
+ "name": "resetPasswordForEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends a password reset request to an email address.\nThis method supports the PKCE flow."
+ },
+ "parameters": [
+ {
+ "id": 311,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 312,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 313,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 315,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1472,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 314,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The URL to send the user to after they click the password reset link."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1471,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [315, 314]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 316,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 317,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1476,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 318,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ },
+ {
+ "id": 319,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1477,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [317, 319]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 320,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 321,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1479,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 322,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1479,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [321, 322]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 244,
+ "name": "setSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1132,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 245,
+ "name": "setSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token or access token in the current session is invalid, an error will be thrown."
+ },
+ "parameters": [
+ {
+ "id": 246,
+ "name": "currentSession",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The current session that minimally contains an access token and refresh token.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 247,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 248,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1133,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 249,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1134,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [248, 249]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 456,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 137,
+ "name": "signInWithIdToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 525,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 138,
+ "name": "signInWithIdToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Allows signing in with an OIDC ID token. The authentication provider used\nshould be enabled and configured."
+ },
+ "parameters": [
+ {
+ "id": 139,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 677,
+ "name": "SignInWithIdTokenCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 484,
+ "name": "AuthTokenResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 128,
+ "name": "signInWithOAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 471,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 129,
+ "name": "signInWithOAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in an existing user via a third-party provider.\nThis method supports the PKCE flow."
+ },
+ "parameters": [
+ {
+ "id": 130,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 665,
+ "name": "SignInWithOAuthCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 497,
+ "name": "OAuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 140,
+ "name": "signInWithOtp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 582,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 141,
+ "name": "signInWithOtp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in a user using magiclink or a one-time password (OTP).",
+ "text": "If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\nThis method supports PKCE when an email is passed.\n"
+ },
+ "parameters": [
+ {
+ "id": 142,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 647,
+ "name": "SignInWithPasswordlessCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 469,
+ "name": "AuthOtpResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 125,
+ "name": "signInWithPassword",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 415,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 126,
+ "name": "signInWithPassword",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in an existing user with an email and password or phone and password.",
+ "text": "Be aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login.\n"
+ },
+ "parameters": [
+ {
+ "id": 127,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 633,
+ "name": "SignInWithPasswordCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 484,
+ "name": "AuthTokenResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 146,
+ "name": "signInWithSSO",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 700,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 147,
+ "name": "signInWithSSO",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Attempts a single-sign on using an enterprise Identity Provider. A\nsuccessful SSO attempt will redirect the current page to the identity\nprovider authorization page. The redirect URL is implementation and SSO\nprotocol specific.",
+ "text": "You can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead.\n"
+ },
+ "parameters": [
+ {
+ "id": 148,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "SignInWithSSO"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 510,
+ "name": "SSOResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 285,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1372,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 286,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a `\"SIGNED_OUT\"` event.",
+ "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n\nIf using others scope, no `SIGNED_OUT` event is fired!\n"
+ },
+ "parameters": [
+ {
+ "id": 287,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 945,
+ "name": "SignOut"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 288,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 289,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1372,
+ "character": 67
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [289]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 122,
+ "name": "signUp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 336,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 123,
+ "name": "signUp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new user.",
+ "text": "Be aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\nThis method has support for PKCE via email signups. The PKCE flow cannot be used when autoconfirm is enabled.\n",
+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 616,
+ "name": "SignUpWithPasswordCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 456,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 371,
+ "name": "startAutoRefresh",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1861,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 372,
+ "name": "startAutoRefresh",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.",
+ "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "stopAutoRefresh",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1874,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "name": "stopAutoRefresh",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Stops an active auto refresh process running in the background (if any).",
+ "text": "If you call this method any managed visibility change callback will be\nremoved and you must manage visibility changes on your own.\n\nSee {@link #startAutoRefresh} for more details.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "updateUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1064,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 226,
+ "name": "updateUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates user data for a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 227,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 590,
+ "name": "UserAttributes"
+ }
+ },
+ {
+ "id": 228,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 229,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 230,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 1067,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [230]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 519,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 143,
+ "name": "verifyOtp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 637,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 144,
+ "name": "verifyOtp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in a user given a User supplied OTP received via mobile."
+ },
+ "parameters": [
+ {
+ "id": 145,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 686,
+ "name": "VerifyOtpParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 456,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [80]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [84, 85]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 131, 156, 219, 118, 295, 149, 256, 153, 309, 244, 137, 128, 140, 125, 146, 285, 122,
+ 371, 373, 225, 143
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 106,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 420,
+ "name": "NavigatorLockAcquireTimeoutError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 421,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 422,
+ "name": "new NavigatorLockAcquireTimeoutError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 423,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 420,
+ "name": "NavigatorLockAcquireTimeoutError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 424,
+ "name": "isAcquireTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isReadonly": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": true
+ },
+ "defaultValue": "true"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [421]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [424]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 18,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ]
+ },
+ {
+ "id": 539,
+ "name": "AMREntry",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "An authentication methord reference (AMR) entry.",
+ "text": "An entry designates what method was used by the user to verify their\nidentity and at what time.\n",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}.\n"
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 540,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Authentication method name."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 219,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 541,
+ "name": "timestamp",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Timestamp when the method was successfully used. Represents number of\nseconds since 1st January 1970 (UNIX epoch) in UTC."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [540, 541]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 217,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 596,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 598,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",
+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 354,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 601,
+ "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": 380,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 604,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 305,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.email"
+ }
+ },
+ {
+ "id": 599,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's email address if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 361,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 603,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The nonce sent for reauthentication if the user's password is to be updated.",
+ "text": "Call reauthenticate() to obtain the nonce first.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 322,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.nonce"
+ }
+ },
+ {
+ "id": 602,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 315,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 605,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 310,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 600,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 368,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 597,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 344,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 333,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 590,
+ "name": "UserAttributes"
+ },
+ {
+ "type": "literal",
+ "value": "data"
+ }
+ ],
+ "qualifiedName": "Omit",
+ "package": "typescript",
+ "name": "Omit"
+ }
+ ]
+ },
+ {
+ "id": 553,
+ "name": "Factor",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "A MFA factor.",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#enroll}"
+ },
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#listFactors}"
+ },
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAAdminApi#listFactors}\n"
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 558,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 556,
+ "name": "factor_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Type of factor. Only `totp` supported with this version but may change in\nfuture versions."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 258,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 555,
+ "name": "friendly_name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 252,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 554,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 249,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 557,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Factor's status."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 261,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "verified"
+ },
+ {
+ "type": "literal",
+ "value": "unverified"
+ }
+ ]
+ }
+ },
+ {
+ "id": 559,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 264,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [558, 556, 555, 554, 557, 559]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 247,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 757,
+ "name": "GenerateLinkOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 758,
+ "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": 668,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 759,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The URL which will be appended to the email link generated."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 670,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [758, 759]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 662,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 916,
+ "name": "GoTrueAdminMFAApi",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains the full multi-factor authentication administration API.",
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 920,
+ "name": "deleteFactor",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 921,
+ "name": "deleteFactor",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#unenroll}\n"
+ },
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 922,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 900,
+ "name": "AuthMFAAdminDeleteFactorParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 891,
+ "name": "AuthMFAAdminDeleteFactorResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 917,
+ "name": "listFactors",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 918,
+ "name": "listFactors",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Lists all factors associated to a user."
+ },
+ "parameters": [
+ {
+ "id": 919,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 913,
+ "name": "AuthMFAAdminListFactorsParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 904,
+ "name": "AuthMFAAdminListFactorsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [920, 917]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1000,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 871,
+ "name": "GoTrueMFAApi",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains the full multi-factor authentication API."
+ },
+ "children": [
+ {
+ "id": 875,
+ "name": "challenge",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 876,
+ "name": "challenge",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor."
+ },
+ "parameters": [
+ {
+ "id": 877,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 795,
+ "name": "MFAChallengeParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 839,
+ "name": "AuthMFAChallengeResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 884,
+ "name": "challengeAndVerify",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 885,
+ "name": "challengeAndVerify",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
+ },
+ "parameters": [
+ {
+ "id": 886,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 798,
+ "name": "MFAChallengeAndVerifyParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 802,
+ "name": "AuthMFAVerifyResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 872,
+ "name": "enroll",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 873,
+ "name": "enroll",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new `unverified` factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.",
+ "text": "Upon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to `aal2`.\n\n"
+ },
+ "parameters": [
+ {
+ "id": 874,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 782,
+ "name": "MFAEnrollParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 815,
+ "name": "AuthMFAEnrollResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 889,
+ "name": "getAuthenticatorAssuranceLevel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 890,
+ "name": "getAuthenticatorAssuranceLevel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the Authenticator Assurance Level (AAL) for the active session.",
+ "text": "- `aal1` (or `null`) means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- `aal2` means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors.\n\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 860,
+ "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 887,
+ "name": "listFactors",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 888,
+ "name": "listFactors",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the list of MFA factors enabled for this user.",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#enroll}"
+ },
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}"
+ },
+ {
+ "tag": "see",
+ "text": "{@link GoTrueClient#getUser}\n\n"
+ }
+ ]
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 849,
+ "name": "AuthMFAListFactorsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 881,
+ "name": "unenroll",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 882,
+ "name": "unenroll",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor."
+ },
+ "parameters": [
+ {
+ "id": 883,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 787,
+ "name": "MFAUnenrollParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 830,
+ "name": "AuthMFAUnenrollResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 878,
+ "name": "verify",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 879,
+ "name": "verify",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
+ },
+ "parameters": [
+ {
+ "id": 880,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 790,
+ "name": "MFAVerifyParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 802,
+ "name": "AuthMFAVerifyResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [875, 884, 872, 889, 887, 881, 878]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 887,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 530,
+ "name": "Session",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 533,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 192,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 536,
+ "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": 204,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 535,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 200,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 532,
+ "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": 188,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 531,
+ "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": 183,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 534,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "A one-time used refresh token that never expires."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 196,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 537,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 205,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 538,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 206,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [533, 536, 535, 532, 531, 534, 537, 538]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 179,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 606,
+ "name": "Subscription",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 607,
+ "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": 387,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 608,
+ "name": "callback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 391,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 609,
+ "name": "callback",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
+ },
+ "parameters": [
+ {
+ "id": 610,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 430,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 611,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 530,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 612,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 395,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 613,
+ "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": [607]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [608, 612]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 383,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 614,
+ "name": "UpdatableFactorAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 615,
+ "name": "friendlyName",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 399,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [615]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 398,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 567,
+ "name": "User",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 578,
+ "name": "action_link",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 287,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 569,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 278,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 560,
+ "name": "UserAppMetadata"
+ }
+ },
+ {
+ "id": 571,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 280,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 572,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 281,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 582,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 291,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 581,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 290,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 579,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 288,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 574,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 283,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 583,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 292,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 589,
+ "name": "factors",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 298,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 553,
+ "name": "Factor"
+ }
+ }
+ },
+ {
+ "id": 568,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 277,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 588,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 297,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 542,
+ "name": "UserIdentity"
+ }
+ }
+ },
+ {
+ "id": 577,
+ "name": "invited_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 286,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 585,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 294,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 575,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 576,
+ "name": "new_phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 285,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 580,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 289,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 584,
+ "name": "phone_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 293,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 573,
+ "name": "recovery_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 282,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 586,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 295,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 587,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 296,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 570,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 279,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 564,
+ "name": "UserMetadata"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 578, 569, 571, 572, 582, 581, 579, 574, 583, 589, 568, 588, 577, 585, 575, 576, 580,
+ 584, 573, 586, 587, 570
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 276,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 560,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 561,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 268,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [561]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 267,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 562,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 563,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
+ {
+ "id": 590,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 595,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 330,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 591,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 305,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 594,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The nonce sent for reauthentication if the user's password is to be updated.",
+ "text": "Call reauthenticate() to obtain the nonce first.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 322,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 593,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 315,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 592,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 310,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [595, 591, 594, 593, 592]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 542,
+ "name": "UserIdentity",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 550,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 235,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 543,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 545,
+ "name": "identity_data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 546,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 547,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 548,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 551,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 549,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 234,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 552,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 237,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 544,
+ "name": "user_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 230,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [550, 543, 545, 551, 549, 552, 544]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 228,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 564,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 272,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 565,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 566,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
+ {
+ "id": 695,
+ "name": "VerifyEmailOtpParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 696,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 558,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 699,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 563,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 700,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 702,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site.",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 571,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 701,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 565,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [702, 701]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 697,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The otp sent to the user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 560,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 698,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 562,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 707,
+ "name": "EmailOtpType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [696, 699, 697, 698]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 556,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 687,
+ "name": "VerifyMobileOtpParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 691,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 544,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 692,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 694,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site.",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 553,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 693,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 546,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [694, 693]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 688,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 539,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 689,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The otp sent to the user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 541,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 690,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 543,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 706,
+ "name": "MobileOtpType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [691, 688, 689, 690]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 537,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 703,
+ "name": "VerifyTokenHashParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 704,
+ "name": "token_hash",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The token hash used in an email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 577,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 705,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 580,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 707,
+ "name": "EmailOtpType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [704, 705]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 575,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 430,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "INITIAL_SESSION"
+ },
+ {
+ "type": "literal",
+ "value": "PASSWORD_RECOVERY"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_IN"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "TOKEN_REFRESHED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_UPDATED"
+ },
+ {
+ "type": "reference",
+ "id": 429,
+ "name": "AuthChangeEventMFA"
+ }
+ ]
+ }
+ },
+ {
+ "id": 429,
+ "name": "AuthChangeEventMFA",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 26,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "MFA_CHALLENGE_VERIFIED"
+ }
+ },
+ {
+ "id": 664,
+ "name": "AuthFlowType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 505,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "implicit"
+ },
+ {
+ "type": "literal",
+ "value": "pkce"
+ }
+ ]
+ }
+ },
+ {
+ "id": 900,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 966,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 901,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 902,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the MFA factor to delete."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 968,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 903,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user whose factor is being deleted."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 971,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [902, 903]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 966,
+ "character": 45
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 891,
+ "name": "AuthMFAAdminDeleteFactorResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 953,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 892,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 893,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 955,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 894,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 895,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor that was successfully deleted."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 957,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [895]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 955,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 896,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 959,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [893, 896]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 954,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 897,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 898,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 961,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 899,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 961,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [898, 899]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 961,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 913,
+ "name": "AuthMFAAdminListFactorsParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 990,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 914,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 915,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 992,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [915]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 990,
+ "character": 44
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 904,
+ "name": "AuthMFAAdminListFactorsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 977,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 905,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 906,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 979,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 907,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 908,
+ "name": "factors",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "All factors attached to the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 981,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 553,
+ "name": "Factor"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [908]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 979,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 909,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 983,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [906, 909]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 978,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 910,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 911,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 985,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 912,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 985,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [911, 912]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 985,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 839,
+ "name": "AuthMFAChallengeResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 830,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 840,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 841,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 832,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 842,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 844,
+ "name": "expires_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 837,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 843,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the newly created challenge."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 834,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [844, 843]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 832,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 845,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 839,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [841, 845]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 831,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 846,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 847,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 841,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 848,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 841,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [847, 848]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 841,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 815,
+ "name": "AuthMFAEnrollResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 787,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 816,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 817,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 789,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 818,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 819,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor that was just enrolled (in an unverified state)."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 791,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 821,
+ "name": "totp",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "TOTP enrollment information."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 797,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 822,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 823,
+ "name": "qr_code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 801,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 824,
+ "name": "secret",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 806,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 825,
+ "name": "uri",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 810,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [823, 824, 825]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 797,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 820,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Type of MFA factor. Only `totp` supported for now."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 794,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "totp"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [819, 821, 820]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 789,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 826,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 813,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [817, 826]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 788,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 827,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 828,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 816,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 829,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 817,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [828, 829]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 815,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 860,
+ "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 858,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 861,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 862,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 860,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 863,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 866,
+ "name": "currentAuthenticationMethods",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 877,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 539,
+ "name": "AMREntry"
+ }
+ }
+ },
+ {
+ "id": 864,
+ "name": "currentLevel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Current AAL level of the session."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 862,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 859,
+ "name": "AuthenticatorAssuranceLevels"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 865,
+ "name": "nextLevel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#challenge}\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 870,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 859,
+ "name": "AuthenticatorAssuranceLevels"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [866, 864, 865]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 860,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 867,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 879,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [862, 867]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 859,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 868,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 869,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 881,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 870,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 881,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [869, 870]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 881,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 849,
+ "name": "AuthMFAListFactorsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 843,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 850,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 851,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 845,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 852,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 853,
+ "name": "all",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "All available factors (verified and unverified)."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 847,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 553,
+ "name": "Factor"
+ }
+ }
+ },
+ {
+ "id": 854,
+ "name": "totp",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Only verified TOTP factors. (A subset of `all`.)"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 850,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 553,
+ "name": "Factor"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [853, 854]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 845,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 855,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 852,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [851, 855]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 844,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 856,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 857,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 854,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 858,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 854,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [857, 858]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 854,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 830,
+ "name": "AuthMFAUnenrollResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 820,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 831,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 832,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 822,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 833,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 834,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor that was successfully unenrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 824,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [834]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 822,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 835,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 826,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [832, 835]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 821,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 836,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 837,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 828,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 838,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 828,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [837, 838]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 828,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 802,
+ "name": "AuthMFAVerifyResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 762,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 803,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 804,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 764,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 805,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 806,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "New access token (JWT) after successful verification."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 766,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 808,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Number of seconds in which the access token will expire."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 772,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 809,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Refresh token you can use to obtain new access tokens when expired."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 775,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 807,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Type of token, typically `Bearer`."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 769,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 810,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Updated user profile."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 778,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [806, 808, 809, 807, 810]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 764,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 811,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 780,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [804, 811]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 763,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 812,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 813,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 783,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 814,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 784,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [813, 814]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 782,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 469,
+ "name": "AuthOtpResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "AuthOtpResponse is returned when OTP is used.",
+ "text": "{@see AuthRsponse}\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 104,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 470,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 471,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 472,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 475,
+ "name": "messageId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 41
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 474,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 473,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [475, 474, 473]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 476,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 107,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [471, 476]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 105,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 477,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 478,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 479,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 482,
+ "name": "messageId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 41
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 481,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 480,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [482, 481, 480]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 483,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 111,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [478, 483]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 109,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 456,
+ "name": "AuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 83,
+ "character": 12
+ }
+ ],
+ "type": {
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 85,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 459,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 461,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 530,
+ "name": "Session"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 460,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 86,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [461, 460]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 85,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 462,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 89,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [458, 462]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 463,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 464,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 465,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 467,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 94,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 466,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 93,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [467, 466]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 92,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 468,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 96,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [464, 468]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 91,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 484,
+ "name": "AuthTokenResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 114,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 485,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 486,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 116,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 487,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 489,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 118,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 530,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 488,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 117,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [489, 488]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 116,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 490,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 120,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [486, 490]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 115,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 491,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 492,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 123,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 493,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 495,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 125,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 494,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 124,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [495, 494]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 123,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 496,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 127,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [492, 496]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 122,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 859,
+ "name": "AuthenticatorAssuranceLevels",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 856,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "aal1"
+ },
+ {
+ "type": "literal",
+ "value": "aal2"
+ }
+ ]
+ }
+ },
+ {
+ "id": 927,
+ "name": "CallRefreshTokenResult",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1031,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 928,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 930,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1034,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 929,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1033,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 530,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [930, 929]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1032,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 931,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 933,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1038,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 932,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1037,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [933, 932]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1036,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 707,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 584,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
+ }
+ ]
+ }
+ },
+ {
+ "id": 751,
+ "name": "GenerateEmailChangeLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 651,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 752,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 754,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 654,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 755,
+ "name": "newEmail",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 658,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 756,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 659,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 757,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 753,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 652,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "email_change_current"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_new"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [754, 755, 756, 753]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 651,
+ "character": 44
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 741,
+ "name": "GenerateInviteOrMagiclinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 637,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 742,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 744,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 640,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 745,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 641,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 757,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "data"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 743,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 638,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [744, 745, 743]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 637,
+ "character": 46
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 760,
+ "name": "GenerateLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 673,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 735,
+ "name": "GenerateSignupLinkParams"
+ },
+ {
+ "type": "reference",
+ "id": 741,
+ "name": "GenerateInviteOrMagiclinkParams"
+ },
+ {
+ "type": "reference",
+ "id": 746,
+ "name": "GenerateRecoveryLinkParams"
+ },
+ {
+ "type": "reference",
+ "id": 751,
+ "name": "GenerateEmailChangeLinkParams"
+ }
+ ]
+ }
+ },
+ {
+ "id": 774,
+ "name": "GenerateLinkProperties",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "The properties related to the email link generated"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 696,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 775,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 776,
+ "name": "action_link",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The email link to send to the user.\nThe action_link follows the following format: auth/v1/verify?type={verification_type}&token={hashed_token}&redirect_to={redirect_to}"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 701,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 777,
+ "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": 706,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 778,
+ "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": 710,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 779,
+ "name": "redirect_to",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The URL appended to the action link."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 712,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 780,
+ "name": "verification_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The verification type that the email link is associated to."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 714,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 781,
+ "name": "GenerateLinkType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [776, 777, 778, 779, 780]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 696,
+ "character": 37
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 761,
+ "name": "GenerateLinkResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 679,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 762,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 763,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 681,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 764,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 765,
+ "name": "properties",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 682,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 774,
+ "name": "GenerateLinkProperties"
+ }
+ },
+ {
+ "id": 766,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 683,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [765, 766]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 681,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 767,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 685,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [763, 767]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 680,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 768,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 769,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 688,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 770,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 771,
+ "name": "properties",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 689,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 772,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 690,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [771, 772]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 688,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 773,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 692,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [769, 773]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 687,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 781,
+ "name": "GenerateLinkType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 717,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_current"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_new"
+ }
+ ]
+ }
+ },
+ {
+ "id": 746,
+ "name": "GenerateRecoveryLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 644,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 747,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 749,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 647,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 750,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 648,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 757,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 748,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 645,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "recovery"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [749, 750, 748]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 644,
+ "character": 41
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 735,
+ "name": "GenerateSignupLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 630,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 736,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 738,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 632,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 740,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 634,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 757,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "data"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 739,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 633,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 737,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 631,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "signup"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [738, 740, 739, 737]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 630,
+ "character": 39
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 440,
+ "name": "GoTrueClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 54,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 441,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 449,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 454,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 448,
+ "name": "detectSessionInUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 452,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 70,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 453,
+ "name": "flowType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 664,
+ "name": "AuthFlowType"
+ }
+ },
+ {
+ "id": 443,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 444,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 58,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 445,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 446,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 455,
+ "name": "lock",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Provide your own locking mechanism based on the environment. By default no locking is done at this time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 431,
+ "name": "LockFunc"
+ }
+ },
+ {
+ "id": 450,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 451,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 923,
+ "name": "SupportedStorage"
+ }
+ },
+ {
+ "id": 447,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 442,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [449, 454, 448, 452, 453, 443, 455, 450, 451, 447, 442]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 54,
+ "character": 34
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 924,
+ "name": "InitializeResult",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1029,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 925,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 926,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1029,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [926]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1029,
+ "character": 31
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 431,
+ "name": "LockFunc",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 433,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n`fn` async function, such that no other client instances will be able to\nhold it at the same time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 439,
+ "name": "R",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 434,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Name of the lock to be acquired."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "acquireTimeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If negative, no timeout should occur. If positive it\n should throw an Error with an `isAcquireTimeout`\n property set to true if the operation fails to be\n acquired after this much time (ms)."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 436,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operation to execute when the lock is acquired.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 437,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 69
+ }
+ ],
+ "signatures": [
+ {
+ "id": 438,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 798,
+ "name": "MFAChallengeAndVerifyParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 755,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 799,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 801,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Verification code provided by the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 759,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 800,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor being verified. Returned in enroll()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 757,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [801, 800]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 755,
+ "character": 42
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 795,
+ "name": "MFAChallengeParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 750,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 796,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 797,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor to be challenged. Returned in enroll()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 752,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [797]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 750,
+ "character": 33
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 782,
+ "name": "MFAEnrollParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 725,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 783,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 784,
+ "name": "factorType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The type of factor being enrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 727,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "totp"
+ }
+ },
+ {
+ "id": 786,
+ "name": "friendlyName",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Human readable name assigned to the factor."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 731,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 785,
+ "name": "issuer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Domain which the user is enrolled with."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 729,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [784, 786, 785]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 725,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 787,
+ "name": "MFAUnenrollParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 734,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 788,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 789,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor being unenrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 736,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [789]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 734,
+ "character": 32
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 790,
+ "name": "MFAVerifyParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 739,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 791,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 793,
+ "name": "challengeId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the challenge being verified. Returned in challenge()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 744,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 794,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Verification code provided by the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 747,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 792,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor being verified. Returned in enroll()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 741,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [793, 794, 792]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 739,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 706,
+ "name": "MobileOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 583,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ },
+ {
+ "id": 497,
+ "name": "OAuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 130,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 498,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 499,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 132,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 500,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 501,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 133,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 428,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 502,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 134,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [501, 502]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 132,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 503,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 136,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [499, 503]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 131,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 504,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 505,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 139,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 506,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 507,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 140,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 428,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 508,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 141,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [507, 508]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 139,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 509,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 143,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [505, 509]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 138,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 941,
+ "name": "PageParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1048,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 942,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 943,
+ "name": "page",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The page number"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1050,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 944,
+ "name": "perPage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Number of items returned per page"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1052,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [943, 944]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1048,
+ "character": 25
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 934,
+ "name": "Pagination",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1041,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 935,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 937,
+ "name": "lastPage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1044,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 936,
+ "name": "nextPage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1043,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 938,
+ "name": "total",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1045,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [937, 936, 938]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1041,
+ "character": 25
+ }
+ ],
+ "indexSignature": {
+ "id": 939,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 940,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 428,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "bitbucket"
+ },
+ {
+ "type": "literal",
+ "value": "discord"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "literal",
+ "value": "figma"
+ },
+ {
+ "type": "literal",
+ "value": "github"
+ },
+ {
+ "type": "literal",
+ "value": "gitlab"
+ },
+ {
+ "type": "literal",
+ "value": "google"
+ },
+ {
+ "type": "literal",
+ "value": "kakao"
+ },
+ {
+ "type": "literal",
+ "value": "keycloak"
+ },
+ {
+ "type": "literal",
+ "value": "linkedin"
+ },
+ {
+ "type": "literal",
+ "value": "notion"
+ },
+ {
+ "type": "literal",
+ "value": "slack"
+ },
+ {
+ "type": "literal",
+ "value": "spotify"
+ },
+ {
+ "type": "literal",
+ "value": "twitch"
+ },
+ {
+ "type": "literal",
+ "value": "twitter"
+ },
+ {
+ "type": "literal",
+ "value": "workos"
+ },
+ {
+ "type": "literal",
+ "value": "zoom"
+ }
+ ]
+ }
+ },
+ {
+ "id": 708,
+ "name": "ResendParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 586,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 709,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 711,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 589,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 712,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 590,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 713,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 715,
+ "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": 594,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 714,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 592,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [715, 714]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 590,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 710,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 588,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 707,
+ "name": "EmailOtpType"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Extract",
+ "package": "typescript",
+ "name": "Extract"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [711, 712, 710]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 587,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 716,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 719,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 600,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 720,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 721,
+ "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": 602,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [721]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 600,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 718,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 599,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 717,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 598,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 706,
+ "name": "MobileOtpType"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Extract",
+ "package": "typescript",
+ "name": "Extract"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [719, 718, 717]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 597,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 510,
+ "name": "SSOResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 146,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 511,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 512,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 148,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 513,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 514,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "URL to open in a browser which will complete the sign-in flow by\ntaking the user to the identity provider's authentication flow.",
+ "text": "On browsers you can set the URL to `window.location.href` to take\nthe user to the authentication flow.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 156,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [514]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 148,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 515,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 158,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [512, 515]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 147,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 516,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 517,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 161,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 518,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 162,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [517, 518]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 160,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 677,
+ "name": "SignInWithIdTokenCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 521,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 678,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 681,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 527,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 682,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 529,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 683,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 530,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 684,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 685,
+ "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": 532,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [685]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 530,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 679,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Provider name or OIDC `iss` value identifying which provider should be used to verify the provided token. Supported names: `google`, `apple`, `azure`, `facebook`, `keycloak` (deprecated)."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 523,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "google"
+ },
+ {
+ "type": "literal",
+ "value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 680,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "OIDC ID token issued by the specified provider. The `iss` claim in the ID token must match the supplied provider. Some ID tokens contain an `at_hash` which require that you provide an `access_token` value to be accepted properly. If the token contains a `nonce` claim you must supply the nonce used to obtain the ID token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 525,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [681, 682, 683, 679, 680]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 521,
+ "character": 43
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 665,
+ "name": "SignInWithOAuthCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 506,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 666,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 668,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 509,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 669,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 672,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An object of query params"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 515,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 673,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 515,
+ "character": 18
+ }
+ ],
+ "indexSignature": {
+ "id": 674,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 675,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 670,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 511,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 671,
+ "name": "scopes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A space-separated list of scopes granted to the OAuth application."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 513,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 676,
+ "name": "skipBrowserRedirect",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 517,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [672, 670, 671, 676]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 509,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 667,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 508,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 428,
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [668, 667]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 506,
+ "character": 41
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 633,
+ "name": "SignInWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 439,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 634,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 635,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 442,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 637,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 445,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 638,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 639,
+ "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": 447,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [639]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 445,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 636,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 444,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [635, 637, 636]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 440,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 640,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 643,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 455,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 644,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 646,
+ "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": 463,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 645,
+ "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": 461,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [646, 645]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 455,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 642,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 454,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 641,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 452,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [643, 642, 641]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 450,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 647,
+ "name": "SignInWithPasswordlessCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 467,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 648,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 649,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 470,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 650,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 471,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 651,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 655,
+ "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": 483,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 654,
+ "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": 481,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 652,
+ "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": 473,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 653,
+ "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": 475,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [655, 654, 652, 653]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 471,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [649, 650]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 468,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 656,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 658,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 489,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 659,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 662,
+ "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": 499,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 663,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 501,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 661,
+ "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": 497,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 660,
+ "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": 491,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [662, 663, 661, 660]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 489,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 657,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 488,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [658, 657]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 486,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 722,
+ "name": "SignInWithSSO",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 606,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 723,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 725,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 611,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 726,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 728,
+ "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": 615,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 727,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 613,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [728, 727]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 611,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 724,
+ "name": "providerId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "UUID of the SSO provider to invoke single-sign on to."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 609,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [725, 724]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 607,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 729,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 730,
+ "name": "domain",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Domain name of the organization for which to invoke single-sign on."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 620,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 731,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 622,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 732,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 734,
+ "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": 626,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 733,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 624,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [734, 733]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 622,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [730, 731]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 618,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 945,
+ "name": "SignOut",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1055,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 946,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 947,
+ "name": "scope",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines which sessions should be\nlogged out. Global means all\nsessions by this account. Local\nmeans only this session. Others\nmeans all other sessions except the\ncurrent one. When using others,\nthere is no sign-out event fired on\nthe current session!"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1066,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [947]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1055,
+ "character": 22
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 616,
+ "name": "SignUpWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 402,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 617,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 618,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 405,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 620,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 408,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 621,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 624,
+ "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": 418,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 623,
+ "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": 416,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 622,
+ "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": 410,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [624, 623, 622]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 408,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 619,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 407,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [618, 620, 619]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 403,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 625,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 628,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 426,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 629,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 631,
+ "name": "captchaToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 434,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 632,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 436,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 630,
+ "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": 432,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [631, 632, 630]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 426,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 627,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 425,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 626,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 423,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [628, 627, 626]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 421,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 923,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1027,
+ "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": 519,
+ "name": "UserResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 165,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 520,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 521,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 167,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 522,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 523,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 168,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [523]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 167,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 524,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 170,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [521, 524]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 166,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 525,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 526,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 173,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 527,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 528,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 174,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [528]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 173,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 529,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 176,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [526, 529]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 172,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 686,
+ "name": "VerifyOtpParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 536,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 687,
+ "name": "VerifyMobileOtpParams"
+ },
+ {
+ "type": "reference",
+ "id": 695,
+ "name": "VerifyEmailOtpParams"
+ },
+ {
+ "type": "reference",
+ "id": 703,
+ "name": "VerifyTokenHashParams"
+ }
+ ]
+ }
+ },
+ {
+ "id": 425,
+ "name": "lockInternals",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isConst": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 6,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 426,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 427,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 10,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "!!(\n globalThis &&\n supportsLocalStorage() &&\n globalThis.localStorage &&\n globalThis.localStorage.getItem('supabase.gotrue-js.locks.debug') === 'true'\n )"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [427]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 951,
+ "name": "isAuthApiError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 34,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 952,
+ "name": "isAuthApiError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 953,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 964,
+ "name": "AuthApiError"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 948,
+ "name": "isAuthError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 12,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 949,
+ "name": "isAuthError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 950,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 954,
+ "name": "isAuthRetryableFetchError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 124,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 955,
+ "name": "isAuthRetryableFetchError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 956,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 1087,
+ "name": "AuthRetryableFetchError"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 412,
+ "name": "navigatorLock",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 53,
+ "character": 22
+ }
+ ],
+ "signatures": [
+ {
+ "id": 413,
+ "name": "navigatorLock",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Implements a global exclusive lock using the Navigator LockManager API. It\nis available on all browsers released after 2022-03-15 with Safari being the\nlast one to release support. If the API is not available, this function will\nthrow. Make sure you check availablility before configuring {@link\nGoTrueClient}.",
+ "text": "You can turn on debugging by setting the `supabase.gotrue-js.locks.debug`\nlocal storage item to `true`.\n\nInternals:\n\nSince the LockManager API does not preserve stack traces for the async\nfunction passed in the `request` method, a trick is used where acquiring the\nlock releases a previously started promise to run the operation in the `fn`\nfunction. The lock waits for that promise to finish (with or without error),\nwhile the function will finally wait for the result anyway.\n",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 414,
+ "name": "R",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 415,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Name of the lock to be acquired."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 416,
+ "name": "acquireTimeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has `isAcquireTimeout` set to true."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 417,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operation to run once the lock is acquired.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 418,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 419,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 414,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 414,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [964, 957, 1037, 1024, 1012, 1062, 1087, 1000, 977, 985, 1, 78, 420]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 539, 596, 553, 757, 916, 871, 530, 606, 614, 567, 560, 590, 542, 564, 695, 687, 703
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 430, 429, 664, 900, 891, 913, 904, 839, 815, 860, 849, 830, 802, 469, 456, 484, 859, 927,
+ 707, 751, 741, 760, 774, 761, 781, 746, 735, 440, 924, 431, 798, 795, 782, 787, 790, 706,
+ 497, 941, 934, 428, 708, 510, 677, 665, 633, 647, 722, 945, 616, 923, 519, 686
+ ]
+ },
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [425]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [951, 948, 954, 412]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
index 1df0bc85cf5..0b98b630c72 100644
--- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
@@ -7,14 +7,14 @@
"originalName": "",
"children": [
{
- "id": 811,
+ "id": 964,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 812,
+ "id": 965,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -28,14 +28,14 @@
],
"signatures": [
{
- "id": 813,
+ "id": 966,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 814,
+ "id": 967,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -46,7 +46,7 @@
}
},
{
- "id": 815,
+ "id": 968,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -59,24 +59,24 @@
],
"type": {
"type": "reference",
- "id": 811,
+ "id": 964,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 806,
+ "id": 959,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 805,
+ "id": 958,
"name": "AuthError.constructor"
}
},
{
- "id": 816,
+ "id": 969,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -94,12 +94,12 @@
},
"overwrites": {
"type": "reference",
- "id": 809,
+ "id": 962,
"name": "AuthError.status"
}
},
{
- "id": 817,
+ "id": 970,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -113,7 +113,7 @@
],
"signatures": [
{
- "id": 818,
+ "id": 971,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -121,14 +121,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 819,
+ "id": 972,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 821,
+ "id": 974,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -147,7 +147,7 @@
"defaultValue": "..."
},
{
- "id": 820,
+ "id": 973,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -166,7 +166,7 @@
"defaultValue": "..."
},
{
- "id": 822,
+ "id": 975,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -189,11 +189,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 821,
- 820,
- 822
- ]
+ "children": [974, 973, 975]
}
]
}
@@ -206,23 +202,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 812
- ]
+ "children": [965]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 816
- ]
+ "children": [969]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 817
- ]
+ "children": [970]
}
],
"sources": [
@@ -235,20 +225,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
]
},
{
- "id": 804,
+ "id": 957,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 805,
+ "id": 958,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -262,14 +252,14 @@
],
"signatures": [
{
- "id": 806,
+ "id": 959,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 807,
+ "id": 960,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -280,7 +270,7 @@
}
},
{
- "id": 808,
+ "id": 961,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -295,7 +285,7 @@
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
},
"overwrites": {
@@ -310,7 +300,7 @@
}
},
{
- "id": 809,
+ "id": 962,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -341,16 +331,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 805
- ]
+ "children": [958]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 809
- ]
+ "children": [962]
}
],
"sources": [
@@ -371,30 +357,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 811,
+ "id": 964,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 824,
+ "id": 977,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 872,
+ "id": 1037,
"name": "AuthImplicitGrantRedirectError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 873,
+ "id": 1038,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -402,20 +388,20 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
"signatures": [
{
- "id": 874,
+ "id": 1039,
"name": "new AuthImplicitGrantRedirectError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 875,
+ "id": 1040,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -426,7 +412,7 @@
}
},
{
- "id": 876,
+ "id": 1041,
"name": "details",
"kind": 32768,
"kindString": "Parameter",
@@ -441,14 +427,14 @@
{
"type": "reflection",
"declaration": {
- "id": 877,
+ "id": 1042,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 879,
+ "id": 1044,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -456,7 +442,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 80,
+ "line": 86,
"character": 57
}
],
@@ -466,7 +452,7 @@
}
},
{
- "id": 878,
+ "id": 1043,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -474,7 +460,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 80,
+ "line": 86,
"character": 42
}
],
@@ -488,10 +474,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 879,
- 878
- ]
+ "children": [1044, 1043]
}
]
}
@@ -503,24 +486,24 @@
],
"type": {
"type": "reference",
- "id": 872,
+ "id": 1037,
"name": "AuthImplicitGrantRedirectError"
},
"overwrites": {
"type": "reference",
- "id": 834,
+ "id": 987,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 833,
+ "id": 986,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 880,
+ "id": 1045,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -528,7 +511,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 79,
+ "line": 85,
"character": 2
}
],
@@ -542,14 +525,14 @@
{
"type": "reflection",
"declaration": {
- "id": 881,
+ "id": 1046,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 883,
+ "id": 1048,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -557,7 +540,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 79,
+ "line": 85,
"character": 28
}
],
@@ -567,7 +550,7 @@
}
},
{
- "id": 882,
+ "id": 1047,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -575,7 +558,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 79,
+ "line": 85,
"character": 13
}
],
@@ -589,10 +572,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 883,
- 882
- ]
+ "children": [1048, 1047]
}
]
}
@@ -602,7 +582,7 @@
"defaultValue": "null"
},
{
- "id": 894,
+ "id": 1059,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -620,12 +600,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 991,
"name": "CustomAuthError.name"
}
},
{
- "id": 895,
+ "id": 1060,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -643,12 +623,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 992,
"name": "CustomAuthError.status"
}
},
{
- "id": 884,
+ "id": 1049,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -656,13 +636,13 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 85,
+ "line": 91,
"character": 2
}
],
"signatures": [
{
- "id": 885,
+ "id": 1050,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -670,14 +650,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 886,
+ "id": 1051,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 890,
+ "id": 1055,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -685,7 +665,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 90,
+ "line": 96,
"character": 6
}
],
@@ -699,14 +679,14 @@
{
"type": "reflection",
"declaration": {
- "id": 891,
+ "id": 1056,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 893,
+ "id": 1058,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -714,7 +694,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 79,
+ "line": 85,
"character": 28
}
],
@@ -724,7 +704,7 @@
}
},
{
- "id": 892,
+ "id": 1057,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -732,7 +712,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 79,
+ "line": 85,
"character": 13
}
],
@@ -746,10 +726,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 893,
- 892
- ]
+ "children": [1058, 1057]
}
]
}
@@ -759,7 +736,7 @@
"defaultValue": "..."
},
{
- "id": 888,
+ "id": 1053,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -767,7 +744,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 88,
+ "line": 94,
"character": 6
}
],
@@ -778,7 +755,7 @@
"defaultValue": "..."
},
{
- "id": 887,
+ "id": 1052,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -786,7 +763,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 87,
+ "line": 93,
"character": 6
}
],
@@ -797,7 +774,7 @@
"defaultValue": "..."
},
{
- "id": 889,
+ "id": 1054,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -805,7 +782,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 89,
+ "line": 95,
"character": 6
}
],
@@ -820,26 +797,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 890,
- 888,
- 887,
- 889
- ]
+ "children": [1055, 1053, 1052, 1054]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 841,
+ "id": 994,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
- "id": 840,
+ "id": 993,
"name": "CustomAuthError.toJSON"
}
}
@@ -848,25 +820,263 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 873
- ]
+ "children": [1038]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 880,
- 894,
- 895
- ]
+ "children": [1045, 1059, 1060]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 884
- ]
+ "children": [1049]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 84,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 985,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 1024,
+ "name": "AuthInvalidCredentialsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 1025,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 79,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1026,
+ "name": "new AuthInvalidCredentialsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 1027,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1024,
+ "name": "AuthInvalidCredentialsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 987,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 986,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1028,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 991,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1029,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 992,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1030,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1031,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1032,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 1034,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1033,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 1035,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1034, 1033, 1035]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 994,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 993,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [1025]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [1028, 1029]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [1030]
}
],
"sources": [
@@ -879,20 +1089,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 859,
- "name": "AuthInvalidCredentialsError",
+ "id": 1012,
+ "name": "AuthInvalidTokenResponseError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 860,
+ "id": 1013,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -906,44 +1116,31 @@
],
"signatures": [
{
- "id": 861,
- "name": "new AuthInvalidCredentialsError",
+ "id": 1014,
+ "name": "new AuthInvalidTokenResponseError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
- "parameters": [
- {
- "id": 862,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
"type": {
"type": "reference",
- "id": 859,
- "name": "AuthInvalidCredentialsError"
+ "id": 1012,
+ "name": "AuthInvalidTokenResponseError"
},
"overwrites": {
"type": "reference",
- "id": 834,
+ "id": 987,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 833,
+ "id": 986,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 863,
+ "id": 1015,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -961,12 +1158,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 991,
"name": "CustomAuthError.name"
}
},
{
- "id": 864,
+ "id": 1016,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -984,12 +1181,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 992,
"name": "CustomAuthError.status"
}
},
{
- "id": 865,
+ "id": 1017,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1003,7 +1200,7 @@
],
"signatures": [
{
- "id": 866,
+ "id": 1018,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1011,14 +1208,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 867,
+ "id": 1019,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 869,
+ "id": 1021,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1037,7 +1234,7 @@
"defaultValue": "..."
},
{
- "id": 868,
+ "id": 1020,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1056,7 +1253,7 @@
"defaultValue": "..."
},
{
- "id": 870,
+ "id": 1022,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1079,25 +1276,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 869,
- 868,
- 870
- ]
+ "children": [1021, 1020, 1022]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 841,
+ "id": 994,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 840,
+ "id": 993,
"name": "CustomAuthError.toJSON"
}
}
@@ -1106,24 +1299,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 860
- ]
+ "children": [1013]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 863,
- 864
- ]
+ "children": [1015, 1016]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 865
- ]
+ "children": [1017]
}
],
"sources": [
@@ -1136,20 +1322,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 897,
+ "id": 1062,
"name": "AuthPKCEGrantCodeExchangeError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 898,
+ "id": 1063,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1157,20 +1343,20 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 97,
+ "line": 103,
"character": 2
}
],
"signatures": [
{
- "id": 899,
+ "id": 1064,
"name": "new AuthPKCEGrantCodeExchangeError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 900,
+ "id": 1065,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1181,7 +1367,7 @@
}
},
{
- "id": 901,
+ "id": 1066,
"name": "details",
"kind": 32768,
"kindString": "Parameter",
@@ -1196,14 +1382,14 @@
{
"type": "reflection",
"declaration": {
- "id": 902,
+ "id": 1067,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 904,
+ "id": 1069,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -1211,7 +1397,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 97,
+ "line": 103,
"character": 57
}
],
@@ -1221,7 +1407,7 @@
}
},
{
- "id": 903,
+ "id": 1068,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1229,7 +1415,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 97,
+ "line": 103,
"character": 42
}
],
@@ -1243,10 +1429,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 904,
- 903
- ]
+ "children": [1069, 1068]
}
]
}
@@ -1258,24 +1441,24 @@
],
"type": {
"type": "reference",
- "id": 897,
+ "id": 1062,
"name": "AuthPKCEGrantCodeExchangeError"
},
"overwrites": {
"type": "reference",
- "id": 834,
+ "id": 987,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 833,
+ "id": 986,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 905,
+ "id": 1070,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -1283,7 +1466,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 96,
+ "line": 102,
"character": 2
}
],
@@ -1297,14 +1480,14 @@
{
"type": "reflection",
"declaration": {
- "id": 906,
+ "id": 1071,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 908,
+ "id": 1073,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -1312,7 +1495,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 96,
+ "line": 102,
"character": 28
}
],
@@ -1322,7 +1505,7 @@
}
},
{
- "id": 907,
+ "id": 1072,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1330,7 +1513,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 96,
+ "line": 102,
"character": 13
}
],
@@ -1344,10 +1527,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 908,
- 907
- ]
+ "children": [1073, 1072]
}
]
}
@@ -1357,7 +1537,7 @@
"defaultValue": "null"
},
{
- "id": 919,
+ "id": 1084,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1375,12 +1555,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 991,
"name": "CustomAuthError.name"
}
},
{
- "id": 920,
+ "id": 1085,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1398,12 +1578,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 992,
"name": "CustomAuthError.status"
}
},
{
- "id": 909,
+ "id": 1074,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1411,13 +1591,13 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 102,
+ "line": 108,
"character": 2
}
],
"signatures": [
{
- "id": 910,
+ "id": 1075,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1425,14 +1605,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 911,
+ "id": 1076,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 915,
+ "id": 1080,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -1440,7 +1620,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 107,
+ "line": 113,
"character": 6
}
],
@@ -1454,14 +1634,14 @@
{
"type": "reflection",
"declaration": {
- "id": 916,
+ "id": 1081,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 918,
+ "id": 1083,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -1469,7 +1649,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 96,
+ "line": 102,
"character": 28
}
],
@@ -1479,7 +1659,7 @@
}
},
{
- "id": 917,
+ "id": 1082,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1487,7 +1667,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 96,
+ "line": 102,
"character": 13
}
],
@@ -1501,10 +1681,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 918,
- 917
- ]
+ "children": [1083, 1082]
}
]
}
@@ -1514,7 +1691,7 @@
"defaultValue": "..."
},
{
- "id": 913,
+ "id": 1078,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1522,7 +1699,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 105,
+ "line": 111,
"character": 6
}
],
@@ -1533,7 +1710,7 @@
"defaultValue": "..."
},
{
- "id": 912,
+ "id": 1077,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1541,7 +1718,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 104,
+ "line": 110,
"character": 6
}
],
@@ -1552,7 +1729,7 @@
"defaultValue": "..."
},
{
- "id": 914,
+ "id": 1079,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1560,7 +1737,7 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 106,
+ "line": 112,
"character": 6
}
],
@@ -1575,26 +1752,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 915,
- 913,
- 912,
- 914
- ]
+ "children": [1080, 1078, 1077, 1079]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 841,
+ "id": 994,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
- "id": 840,
+ "id": 993,
"name": "CustomAuthError.toJSON"
}
}
@@ -1603,51 +1775,43 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 898
- ]
+ "children": [1063]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 905,
- 919,
- 920
- ]
+ "children": [1070, 1084, 1085]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 909
- ]
+ "children": [1074]
}
],
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 95,
+ "line": 101,
"character": 13
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 922,
+ "id": 1087,
"name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 923,
+ "id": 1088,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1655,20 +1819,20 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 113,
+ "line": 119,
"character": 2
}
],
"signatures": [
{
- "id": 924,
+ "id": 1089,
"name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 925,
+ "id": 1090,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1679,7 +1843,7 @@
}
},
{
- "id": 926,
+ "id": 1091,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -1692,24 +1856,24 @@
],
"type": {
"type": "reference",
- "id": 922,
+ "id": 1087,
"name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 834,
+ "id": 987,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 833,
+ "id": 986,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 927,
+ "id": 1092,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1727,12 +1891,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 991,
"name": "CustomAuthError.name"
}
},
{
- "id": 928,
+ "id": 1093,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1750,12 +1914,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 992,
"name": "CustomAuthError.status"
}
},
{
- "id": 929,
+ "id": 1094,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1769,7 +1933,7 @@
],
"signatures": [
{
- "id": 930,
+ "id": 1095,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1777,14 +1941,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 931,
+ "id": 1096,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 933,
+ "id": 1098,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1803,7 +1967,7 @@
"defaultValue": "..."
},
{
- "id": 932,
+ "id": 1097,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1822,7 +1986,7 @@
"defaultValue": "..."
},
{
- "id": 934,
+ "id": 1099,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1845,25 +2009,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 933,
- 932,
- 934
- ]
+ "children": [1098, 1097, 1099]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 841,
+ "id": 994,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 840,
+ "id": 993,
"name": "CustomAuthError.toJSON"
}
}
@@ -1872,50 +2032,43 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 923
- ]
+ "children": [1088]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 927,
- 928
- ]
+ "children": [1092, 1093]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 929
- ]
+ "children": [1094]
}
],
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 112,
+ "line": 118,
"character": 13
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 847,
+ "id": 1000,
"name": "AuthSessionMissingError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 848,
+ "id": 1001,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1929,31 +2082,31 @@
],
"signatures": [
{
- "id": 849,
+ "id": 1002,
"name": "new AuthSessionMissingError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 847,
+ "id": 1000,
"name": "AuthSessionMissingError"
},
"overwrites": {
"type": "reference",
- "id": 834,
+ "id": 987,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 833,
+ "id": 986,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 850,
+ "id": 1003,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1971,12 +2124,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 838,
+ "id": 991,
"name": "CustomAuthError.name"
}
},
{
- "id": 851,
+ "id": 1004,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1994,12 +2147,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 839,
+ "id": 992,
"name": "CustomAuthError.status"
}
},
{
- "id": 852,
+ "id": 1005,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -2013,7 +2166,7 @@
],
"signatures": [
{
- "id": 853,
+ "id": 1006,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -2021,14 +2174,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 854,
+ "id": 1007,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 856,
+ "id": 1009,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -2047,7 +2200,7 @@
"defaultValue": "..."
},
{
- "id": 855,
+ "id": 1008,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2066,7 +2219,7 @@
"defaultValue": "..."
},
{
- "id": 857,
+ "id": 1010,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -2089,25 +2242,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 856,
- 855,
- 857
- ]
+ "children": [1009, 1008, 1010]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 841,
+ "id": 994,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 840,
+ "id": 993,
"name": "CustomAuthError.toJSON"
}
}
@@ -2116,24 +2265,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 848
- ]
+ "children": [1001]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 850,
- 851
- ]
+ "children": [1003, 1004]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 852
- ]
+ "children": [1005]
}
],
"sources": [
@@ -2146,20 +2288,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
}
]
},
{
- "id": 824,
+ "id": 977,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 825,
+ "id": 978,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2173,14 +2315,14 @@
],
"signatures": [
{
- "id": 826,
+ "id": 979,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 827,
+ "id": 980,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -2191,7 +2333,7 @@
}
},
{
- "id": 828,
+ "id": 981,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -2204,24 +2346,24 @@
],
"type": {
"type": "reference",
- "id": 824,
+ "id": 977,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 806,
+ "id": 959,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 805,
+ "id": 958,
"name": "AuthError.constructor"
}
},
{
- "id": 829,
+ "id": 982,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -2239,7 +2381,7 @@
}
},
{
- "id": 830,
+ "id": 983,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -2266,7 +2408,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 809,
+ "id": 962,
"name": "AuthError.status"
}
}
@@ -2275,17 +2417,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 825
- ]
+ "children": [978]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 829,
- 830
- ]
+ "children": [982, 983]
}
],
"sources": [
@@ -2298,20 +2435,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
]
},
{
- "id": 832,
+ "id": 985,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 833,
+ "id": 986,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2325,14 +2462,14 @@
],
"signatures": [
{
- "id": 834,
+ "id": 987,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 835,
+ "id": 988,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -2343,7 +2480,7 @@
}
},
{
- "id": 836,
+ "id": 989,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -2354,7 +2491,7 @@
}
},
{
- "id": 837,
+ "id": 990,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -2367,24 +2504,24 @@
],
"type": {
"type": "reference",
- "id": 832,
+ "id": 985,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 806,
+ "id": 959,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 805,
+ "id": 958,
"name": "AuthError.constructor"
}
},
{
- "id": 838,
+ "id": 991,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2406,7 +2543,7 @@
}
},
{
- "id": 839,
+ "id": 992,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -2424,12 +2561,12 @@
},
"overwrites": {
"type": "reference",
- "id": 809,
+ "id": 962,
"name": "AuthError.status"
}
},
{
- "id": 840,
+ "id": 993,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -2443,7 +2580,7 @@
],
"signatures": [
{
- "id": 841,
+ "id": 994,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -2451,14 +2588,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 842,
+ "id": 995,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 844,
+ "id": 997,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -2477,7 +2614,7 @@
"defaultValue": "..."
},
{
- "id": 843,
+ "id": 996,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2496,7 +2633,7 @@
"defaultValue": "..."
},
{
- "id": 845,
+ "id": 998,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -2519,11 +2656,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 844,
- 843,
- 845
- ]
+ "children": [997, 996, 998]
}
]
}
@@ -2536,24 +2669,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 833
- ]
+ "children": [986]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 838,
- 839
- ]
+ "children": [991, 992]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 840
- ]
+ "children": [993]
}
],
"sources": [
@@ -2566,34 +2692,39 @@
"extendedTypes": [
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 847,
+ "id": 1000,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 859,
+ "id": 1012,
+ "name": "AuthInvalidTokenResponseError"
+ },
+ {
+ "type": "reference",
+ "id": 1024,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 872,
+ "id": 1037,
"name": "AuthImplicitGrantRedirectError"
},
{
"type": "reference",
- "id": 897,
+ "id": 1062,
"name": "AuthPKCEGrantCodeExchangeError"
},
{
"type": "reference",
- "id": 922,
+ "id": 1087,
"name": "AuthRetryableFetchError"
}
]
@@ -2803,11 +2934,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 11,
- 7,
- 6
- ]
+ "children": [11, 7, 6]
}
]
}
@@ -2840,10 +2967,10 @@
],
"type": {
"type": "reference",
- "id": 769,
+ "id": 916,
"name": "GoTrueAdminMFAApi",
"dereferenced": {
- "id": 769,
+ "id": 916,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -2859,14 +2986,14 @@
},
"children": [
{
- "id": 773,
+ "id": 920,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 774,
+ "id": 921,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -2886,17 +3013,17 @@
},
"parameters": [
{
- "id": 775,
+ "id": 922,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -2912,21 +3039,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 754,
+ "id": 901,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 755,
+ "id": 902,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2937,7 +3064,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 896,
+ "line": 968,
"character": 2
}
],
@@ -2947,7 +3074,7 @@
}
},
{
- "id": 756,
+ "id": 903,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -2958,7 +3085,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 899,
+ "line": 971,
"character": 2
}
],
@@ -2972,16 +3099,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 755,
- 756
- ]
+ "children": [902, 903]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 45
}
]
@@ -2996,7 +3120,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 744,
+ "id": 891,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -3008,14 +3132,14 @@
]
},
{
- "id": 770,
+ "id": 917,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 771,
+ "id": 918,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -3025,17 +3149,17 @@
},
"parameters": [
{
- "id": 772,
+ "id": 919,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -3051,21 +3175,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 767,
+ "id": 914,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 768,
+ "id": 915,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -3076,7 +3200,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 920,
+ "line": 992,
"character": 2
}
],
@@ -3090,15 +3214,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 768
- ]
+ "children": [915]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 44
}
]
@@ -3113,7 +3235,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 757,
+ "id": 904,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -3129,16 +3251,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 773,
- 770
- ]
+ "children": [920, 917]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 928,
+ "line": 1000,
"character": 17
}
]
@@ -3146,7 +3265,7 @@
}
},
{
- "id": 43,
+ "id": 44,
"name": "createUser",
"kind": 2048,
"kindString": "Method",
@@ -3154,13 +3273,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 148,
+ "line": 152,
"character": 8
}
],
"signatures": [
{
- "id": 44,
+ "id": 45,
"name": "createUser",
"kind": 4096,
"kindString": "Call signature",
@@ -3170,24 +3289,24 @@
},
"parameters": [
{
- "id": 45,
+ "id": 46,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 598,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -3201,7 +3320,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 296,
+ "line": 354,
"character": 2
}
],
@@ -3211,7 +3330,7 @@
}
},
{
- "id": 459,
+ "id": 601,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -3225,7 +3344,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 380,
"character": 2
}
],
@@ -3235,7 +3354,7 @@
}
},
{
- "id": 462,
+ "id": 604,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -3248,7 +3367,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -3262,7 +3381,7 @@
}
},
{
- "id": 457,
+ "id": 599,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -3276,7 +3395,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 303,
+ "line": 361,
"character": 2
}
],
@@ -3286,7 +3405,7 @@
}
},
{
- "id": 461,
+ "id": 603,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -3300,7 +3419,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -3314,7 +3433,7 @@
}
},
{
- "id": 460,
+ "id": 602,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -3327,7 +3446,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -3341,7 +3460,7 @@
}
},
{
- "id": 463,
+ "id": 605,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -3354,7 +3473,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -3368,7 +3487,7 @@
}
},
{
- "id": 458,
+ "id": 600,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -3382,7 +3501,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 368,
"character": 2
}
],
@@ -3392,7 +3511,7 @@
}
},
{
- "id": 455,
+ "id": 597,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -3406,7 +3525,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 344,
"character": 2
}
],
@@ -3420,23 +3539,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
+ "line": 333,
"character": 17
}
],
@@ -3446,7 +3555,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes"
},
{
@@ -3468,7 +3577,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -3480,7 +3589,7 @@
]
},
{
- "id": 67,
+ "id": 68,
"name": "deleteUser",
"kind": 2048,
"kindString": "Method",
@@ -3488,13 +3597,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 264,
+ "line": 268,
"character": 8
}
],
"signatures": [
{
- "id": 68,
+ "id": 69,
"name": "deleteUser",
"kind": 4096,
"kindString": "Call signature",
@@ -3504,7 +3613,7 @@
},
"parameters": [
{
- "id": 69,
+ "id": 70,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -3518,7 +3627,7 @@
}
},
{
- "id": 70,
+ "id": 71,
"name": "shouldSoftDelete",
"kind": 32768,
"kindString": "Parameter",
@@ -3538,7 +3647,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -3550,7 +3659,7 @@
]
},
{
- "id": 40,
+ "id": 41,
"name": "generateLink",
"kind": 2048,
"kindString": "Method",
@@ -3558,13 +3667,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 114,
+ "line": 118,
"character": 8
}
],
"signatures": [
{
- "id": 41,
+ "id": 42,
"name": "generateLink",
"kind": 4096,
"kindString": "Call signature",
@@ -3574,17 +3683,17 @@
},
"parameters": [
{
- "id": 42,
+ "id": 43,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 613,
+ "id": 760,
"name": "GenerateLinkParams",
"dereferenced": {
- "id": 613,
+ "id": 760,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -3592,7 +3701,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 673,
"character": 12
}
],
@@ -3600,7 +3709,7 @@
"type": "union",
"types": [
{
- "id": 588,
+ "id": 735,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -3608,21 +3717,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 591,
+ "id": 738,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -3630,7 +3739,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 560,
+ "line": 632,
"character": 2
}
],
@@ -3640,7 +3749,7 @@
}
},
{
- "id": 593,
+ "id": 740,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -3650,7 +3759,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 634,
"character": 2
}
],
@@ -3659,7 +3768,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -3682,7 +3791,7 @@
}
},
{
- "id": 592,
+ "id": 739,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -3690,7 +3799,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 633,
"character": 2
}
],
@@ -3700,7 +3809,7 @@
}
},
{
- "id": 590,
+ "id": 737,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -3708,7 +3817,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 631,
"character": 2
}
],
@@ -3722,18 +3831,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 591,
- 593,
- 592,
- 590
- ]
+ "children": [738, 740, 739, 737]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 39
}
]
@@ -3741,7 +3845,7 @@
}
},
{
- "id": 594,
+ "id": 741,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -3749,21 +3853,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 742,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 597,
+ "id": 744,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -3774,7 +3878,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 568,
+ "line": 640,
"character": 2
}
],
@@ -3784,7 +3888,7 @@
}
},
{
- "id": 598,
+ "id": 745,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -3794,7 +3898,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 569,
+ "line": 641,
"character": 2
}
],
@@ -3803,7 +3907,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -3826,7 +3930,7 @@
}
},
{
- "id": 596,
+ "id": 743,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -3834,7 +3938,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 638,
"character": 2
}
],
@@ -3857,17 +3961,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 597,
- 598,
- 596
- ]
+ "children": [744, 745, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 46
}
]
@@ -3875,7 +3975,7 @@
}
},
{
- "id": 599,
+ "id": 746,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -3883,21 +3983,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 600,
+ "id": 747,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 602,
+ "id": 749,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -3908,7 +4008,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 647,
"character": 2
}
],
@@ -3918,7 +4018,7 @@
}
},
{
- "id": 603,
+ "id": 750,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -3928,7 +4028,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 576,
+ "line": 648,
"character": 2
}
],
@@ -3937,7 +4037,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -3951,7 +4051,7 @@
}
},
{
- "id": 601,
+ "id": 748,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -3959,7 +4059,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 573,
+ "line": 645,
"character": 2
}
],
@@ -3973,17 +4073,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 602,
- 603,
- 601
- ]
+ "children": [749, 750, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 41
}
]
@@ -3991,7 +4087,7 @@
}
},
{
- "id": 604,
+ "id": 751,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -3999,21 +4095,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 605,
+ "id": 752,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 607,
+ "id": 754,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -4024,7 +4120,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 582,
+ "line": 654,
"character": 2
}
],
@@ -4034,7 +4130,7 @@
}
},
{
- "id": 608,
+ "id": 755,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -4045,7 +4141,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 658,
"character": 2
}
],
@@ -4055,7 +4151,7 @@
}
},
{
- "id": 609,
+ "id": 756,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -4065,7 +4161,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 587,
+ "line": 659,
"character": 2
}
],
@@ -4074,7 +4170,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -4088,7 +4184,7 @@
}
},
{
- "id": 606,
+ "id": 753,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -4096,7 +4192,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 652,
"character": 2
}
],
@@ -4119,18 +4215,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 607,
- 608,
- 609,
- 606
- ]
+ "children": [754, 755, 756, 753]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 44
}
]
@@ -4148,7 +4239,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 614,
+ "id": 761,
"name": "GenerateLinkResponse"
}
],
@@ -4160,7 +4251,7 @@
]
},
{
- "id": 60,
+ "id": 61,
"name": "getUserById",
"kind": 2048,
"kindString": "Method",
@@ -4168,13 +4259,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 217,
+ "line": 221,
"character": 8
}
],
"signatures": [
{
- "id": 61,
+ "id": 62,
"name": "getUserById",
"kind": 4096,
"kindString": "Call signature",
@@ -4184,7 +4275,7 @@
},
"parameters": [
{
- "id": 62,
+ "id": 63,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -4203,7 +4294,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -4215,7 +4306,7 @@
]
},
{
- "id": 33,
+ "id": 34,
"name": "inviteUserByEmail",
"kind": 2048,
"kindString": "Method",
@@ -4223,13 +4314,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 81,
+ "line": 85,
"character": 8
}
],
"signatures": [
{
- "id": 34,
+ "id": 35,
"name": "inviteUserByEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -4239,7 +4330,7 @@
},
"parameters": [
{
- "id": 35,
+ "id": 36,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -4253,7 +4344,7 @@
}
},
{
- "id": 36,
+ "id": 37,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4264,14 +4355,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 37,
+ "id": 38,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 38,
+ "id": 39,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4284,7 +4375,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 85,
+ "line": 89,
"character": 6
}
],
@@ -4294,7 +4385,7 @@
}
},
{
- "id": 39,
+ "id": 40,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -4307,7 +4398,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 88,
+ "line": 92,
"character": 6
}
],
@@ -4321,10 +4412,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 38,
- 39
- ]
+ "children": [39, 40]
}
]
}
@@ -4337,7 +4425,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -4349,7 +4437,7 @@
]
},
{
- "id": 46,
+ "id": 47,
"name": "listUsers",
"kind": 2048,
"kindString": "Method",
@@ -4357,13 +4445,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 170,
+ "line": 174,
"character": 8
}
],
"signatures": [
{
- "id": 47,
+ "id": 48,
"name": "listUsers",
"kind": 4096,
"kindString": "Call signature",
@@ -4374,7 +4462,7 @@
},
"parameters": [
{
- "id": 48,
+ "id": 49,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -4386,10 +4474,10 @@
},
"type": {
"type": "reference",
- "id": 794,
+ "id": 941,
"name": "PageParams",
"dereferenced": {
- "id": 794,
+ "id": 941,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -4397,21 +4485,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 795,
+ "id": 942,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 796,
+ "id": 943,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -4424,7 +4512,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 978,
+ "line": 1050,
"character": 2
}
],
@@ -4434,7 +4522,7 @@
}
},
{
- "id": 797,
+ "id": 944,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -4447,7 +4535,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 980,
+ "line": 1052,
"character": 2
}
],
@@ -4461,16 +4549,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 796,
- 797
- ]
+ "children": [943, 944]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 25
}
]
@@ -4489,14 +4574,14 @@
{
"type": "reflection",
"declaration": {
- "id": 49,
+ "id": 50,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 50,
+ "id": 51,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4504,7 +4589,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 8
}
],
@@ -4514,14 +4599,14 @@
{
"type": "reflection",
"declaration": {
- "id": 51,
+ "id": 52,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 53,
+ "id": 54,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -4529,7 +4614,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 31
}
],
@@ -4539,7 +4624,7 @@
}
},
{
- "id": 52,
+ "id": 53,
"name": "users",
"kind": 1024,
"kindString": "Property",
@@ -4547,7 +4632,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 16
}
],
@@ -4555,7 +4640,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User"
}
}
@@ -4565,24 +4650,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 53,
- 52
- ]
+ "children": [54, 53]
}
]
}
},
{
"type": "reference",
- "id": 787,
+ "id": 934,
"name": "Pagination"
}
]
}
},
{
- "id": 54,
+ "id": 55,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4590,7 +4672,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 59
}
],
@@ -4604,10 +4686,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 50,
- 54
- ]
+ "children": [51, 55]
}
]
}
@@ -4615,14 +4694,14 @@
{
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 56,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 56,
+ "id": 57,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4630,21 +4709,21 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 57,
+ "id": 58,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 58,
+ "id": 59,
"name": "users",
"kind": 1024,
"kindString": "Property",
@@ -4652,7 +4731,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 16
}
],
@@ -4665,16 +4744,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 58
- ]
+ "children": [59]
}
]
}
}
},
{
- "id": 59,
+ "id": 60,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4682,13 +4759,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 29
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -4697,10 +4774,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 56,
- 59
- ]
+ "children": [57, 60]
}
]
}
@@ -4724,7 +4798,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
+ "line": 60,
"character": 8
}
],
@@ -4746,12 +4820,40 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A valid, logged-in JWT.\n"
+ "shortText": "A valid, logged-in JWT."
},
"type": {
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 30,
+ "name": "scope",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The logout sope.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ },
+ "defaultValue": "'global'"
}
],
"type": {
@@ -4760,14 +4862,14 @@
{
"type": "reflection",
"declaration": {
- "id": 30,
+ "id": 31,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 31,
+ "id": 32,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4775,8 +4877,8 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 40
+ "line": 63,
+ "character": 15
}
],
"type": {
@@ -4785,7 +4887,7 @@
}
},
{
- "id": 32,
+ "id": 33,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4793,8 +4895,8 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 52
+ "line": 63,
+ "character": 27
}
],
"type": {
@@ -4806,7 +4908,7 @@
},
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
]
@@ -4817,10 +4919,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 31,
- 32
- ]
+ "children": [32, 33]
}
]
}
@@ -4834,7 +4933,7 @@
]
},
{
- "id": 63,
+ "id": 64,
"name": "updateUserById",
"kind": 2048,
"kindString": "Method",
@@ -4842,13 +4941,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 239,
+ "line": 243,
"character": 8
}
],
"signatures": [
{
- "id": 64,
+ "id": 65,
"name": "updateUserById",
"kind": 4096,
"kindString": "Call signature",
@@ -4858,7 +4957,7 @@
},
"parameters": [
{
- "id": 65,
+ "id": 66,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -4869,7 +4968,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -4879,17 +4978,17 @@
},
"type": {
"type": "reference",
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 598,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -4903,7 +5002,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 296,
+ "line": 354,
"character": 2
}
],
@@ -4913,7 +5012,7 @@
}
},
{
- "id": 459,
+ "id": 601,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -4927,7 +5026,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 380,
"character": 2
}
],
@@ -4937,7 +5036,7 @@
}
},
{
- "id": 462,
+ "id": 604,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -4950,7 +5049,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -4964,7 +5063,7 @@
}
},
{
- "id": 457,
+ "id": 599,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -4978,7 +5077,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 303,
+ "line": 361,
"character": 2
}
],
@@ -4988,7 +5087,7 @@
}
},
{
- "id": 461,
+ "id": 603,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -5002,7 +5101,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -5016,7 +5115,7 @@
}
},
{
- "id": 460,
+ "id": 602,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -5029,7 +5128,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -5043,7 +5142,7 @@
}
},
{
- "id": 463,
+ "id": 605,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -5056,7 +5155,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -5070,7 +5169,7 @@
}
},
{
- "id": 458,
+ "id": 600,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -5084,7 +5183,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 368,
"character": 2
}
],
@@ -5094,7 +5193,7 @@
}
},
{
- "id": 455,
+ "id": 597,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -5108,7 +5207,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 344,
"character": 2
}
],
@@ -5122,23 +5221,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
+ "line": 333,
"character": 17
}
],
@@ -5148,7 +5237,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes"
},
{
@@ -5170,7 +5259,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -5186,30 +5275,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 2
- ]
+ "children": [2]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 16
- ]
+ "children": [16]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 43,
- 67,
- 40,
- 60,
- 33,
- 46,
- 27,
- 63
- ]
+ "children": [44, 68, 41, 61, 34, 47, 27, 64]
}
],
"sources": [
@@ -5221,14 +5297,14 @@
]
},
{
- "id": 77,
+ "id": 78,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 78,
+ "id": 80,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -5236,13 +5312,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 145,
+ "line": 167,
"character": 2
}
],
"signatures": [
{
- "id": 79,
+ "id": 81,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -5252,17 +5328,17 @@
},
"parameters": [
{
- "id": 80,
+ "id": 82,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 328,
+ "id": 440,
"name": "GoTrueClientOptions",
"dereferenced": {
- "id": 328,
+ "id": 440,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -5270,21 +5346,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 54,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 329,
+ "id": 441,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 337,
+ "id": 449,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -5294,7 +5370,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 45,
+ "line": 64,
"character": 2
}
],
@@ -5304,7 +5380,27 @@
}
},
{
- "id": 336,
+ "id": 454,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 448,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -5314,7 +5410,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 43,
+ "line": 62,
"character": 2
}
],
@@ -5324,7 +5420,7 @@
}
},
{
- "id": 340,
+ "id": 452,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -5334,7 +5430,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 70,
"character": 2
}
],
@@ -5344,7 +5440,7 @@
}
},
{
- "id": 341,
+ "id": 453,
"name": "flowType",
"kind": 1024,
"kindString": "Property",
@@ -5354,16 +5450,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 53,
+ "line": 72,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 522,
+ "id": 664,
"name": "AuthFlowType",
"dereferenced": {
- "id": 522,
+ "id": 664,
"name": "AuthFlowType",
"kind": 4194304,
"kindString": "Type alias",
@@ -5371,7 +5467,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 447,
+ "line": 505,
"character": 12
}
],
@@ -5392,7 +5488,7 @@
}
},
{
- "id": 331,
+ "id": 443,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -5402,14 +5498,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 58,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 444,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5417,19 +5513,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 58,
"character": 12
}
],
"indexSignature": {
- "id": 333,
+ "id": 445,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 334,
+ "id": 446,
"name": "key",
"kind": 32768,
"flags": {},
@@ -5448,7 +5544,187 @@
}
},
{
- "id": 338,
+ "id": 455,
+ "name": "lock",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Provide your own locking mechanism based on the environment. By default no locking is done at this time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 431,
+ "name": "LockFunc",
+ "dereferenced": {
+ "id": 431,
+ "name": "LockFunc",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 433,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n`fn` async function, such that no other client instances will be able to\nhold it at the same time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 439,
+ "name": "R",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 434,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Name of the lock to be acquired."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "acquireTimeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If negative, no timeout should occur. If positive it\n should throw an Error with an `isAcquireTimeout`\n property set to true if the operation fails to be\n acquired after this much time (ms)."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 436,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operation to execute when the lock is acquired.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 437,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 69
+ }
+ ],
+ "signatures": [
+ {
+ "id": 438,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 450,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -5458,7 +5734,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 66,
"character": 2
}
],
@@ -5468,7 +5744,7 @@
}
},
{
- "id": 339,
+ "id": 451,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -5478,16 +5754,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 68,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 776,
+ "id": 923,
"name": "SupportedStorage",
"dereferenced": {
- "id": 776,
+ "id": 923,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -5495,7 +5771,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 955,
+ "line": 1027,
"character": 12
}
],
@@ -5540,7 +5816,7 @@
}
},
{
- "id": 335,
+ "id": 447,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -5550,7 +5826,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 60,
"character": 2
}
],
@@ -5560,7 +5836,7 @@
}
},
{
- "id": 330,
+ "id": 442,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -5570,7 +5846,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 37,
+ "line": 56,
"character": 2
}
],
@@ -5584,23 +5860,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 337,
- 336,
- 340,
- 341,
- 331,
- 338,
- 339,
- 335,
- 330
- ]
+ "children": [449, 454, 448, 452, 453, 443, 455, 450, 451, 447, 442]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 54,
"character": 34
}
]
@@ -5612,14 +5878,14 @@
],
"type": {
"type": "reference",
- "id": 77,
+ "id": 78,
"name": "default"
}
}
]
},
{
- "id": 81,
+ "id": 84,
"name": "admin",
"kind": 1024,
"kindString": "Property",
@@ -5630,7 +5896,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 98,
+ "line": 115,
"character": 2
}
],
@@ -5843,11 +6109,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 11,
- 7,
- 6
- ]
+ "children": [11, 7, 6]
}
]
}
@@ -5880,10 +6142,10 @@
],
"type": {
"type": "reference",
- "id": 769,
+ "id": 916,
"name": "GoTrueAdminMFAApi",
"dereferenced": {
- "id": 769,
+ "id": 916,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -5899,14 +6161,14 @@
},
"children": [
{
- "id": 773,
+ "id": 920,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 774,
+ "id": 921,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -5926,17 +6188,17 @@
},
"parameters": [
{
- "id": 775,
+ "id": 922,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -5952,21 +6214,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 754,
+ "id": 901,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 755,
+ "id": 902,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -5977,7 +6239,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 896,
+ "line": 968,
"character": 2
}
],
@@ -5987,7 +6249,7 @@
}
},
{
- "id": 756,
+ "id": 903,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -5998,7 +6260,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 899,
+ "line": 971,
"character": 2
}
],
@@ -6012,16 +6274,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 755,
- 756
- ]
+ "children": [902, 903]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 45
}
]
@@ -6036,7 +6295,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 744,
+ "id": 891,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -6048,14 +6307,14 @@
]
},
{
- "id": 770,
+ "id": 917,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 771,
+ "id": 918,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -6065,17 +6324,17 @@
},
"parameters": [
{
- "id": 772,
+ "id": 919,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6091,21 +6350,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 767,
+ "id": 914,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 768,
+ "id": 915,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -6116,7 +6375,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 920,
+ "line": 992,
"character": 2
}
],
@@ -6130,15 +6389,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 768
- ]
+ "children": [915]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 44
}
]
@@ -6153,7 +6410,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 757,
+ "id": 904,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -6169,16 +6426,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 773,
- 770
- ]
+ "children": [920, 917]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 928,
+ "line": 1000,
"character": 17
}
]
@@ -6186,7 +6440,7 @@
}
},
{
- "id": 43,
+ "id": 44,
"name": "createUser",
"kind": 2048,
"kindString": "Method",
@@ -6194,13 +6448,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 148,
+ "line": 152,
"character": 8
}
],
"signatures": [
{
- "id": 44,
+ "id": 45,
"name": "createUser",
"kind": 4096,
"kindString": "Call signature",
@@ -6210,24 +6464,24 @@
},
"parameters": [
{
- "id": 45,
+ "id": 46,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 598,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -6241,7 +6495,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 296,
+ "line": 354,
"character": 2
}
],
@@ -6251,7 +6505,7 @@
}
},
{
- "id": 459,
+ "id": 601,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -6265,7 +6519,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 380,
"character": 2
}
],
@@ -6275,7 +6529,7 @@
}
},
{
- "id": 462,
+ "id": 604,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6288,7 +6542,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -6302,7 +6556,7 @@
}
},
{
- "id": 457,
+ "id": 599,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -6316,7 +6570,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 303,
+ "line": 361,
"character": 2
}
],
@@ -6326,7 +6580,7 @@
}
},
{
- "id": 461,
+ "id": 603,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -6340,7 +6594,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -6354,7 +6608,7 @@
}
},
{
- "id": 460,
+ "id": 602,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -6367,7 +6621,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -6381,7 +6635,7 @@
}
},
{
- "id": 463,
+ "id": 605,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -6394,7 +6648,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -6408,7 +6662,7 @@
}
},
{
- "id": 458,
+ "id": 600,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -6422,7 +6676,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 368,
"character": 2
}
],
@@ -6432,7 +6686,7 @@
}
},
{
- "id": 455,
+ "id": 597,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -6446,7 +6700,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 344,
"character": 2
}
],
@@ -6460,23 +6714,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
+ "line": 333,
"character": 17
}
],
@@ -6486,7 +6730,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes"
},
{
@@ -6508,7 +6752,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -6520,7 +6764,7 @@
]
},
{
- "id": 67,
+ "id": 68,
"name": "deleteUser",
"kind": 2048,
"kindString": "Method",
@@ -6528,13 +6772,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 264,
+ "line": 268,
"character": 8
}
],
"signatures": [
{
- "id": 68,
+ "id": 69,
"name": "deleteUser",
"kind": 4096,
"kindString": "Call signature",
@@ -6544,7 +6788,7 @@
},
"parameters": [
{
- "id": 69,
+ "id": 70,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -6558,7 +6802,7 @@
}
},
{
- "id": 70,
+ "id": 71,
"name": "shouldSoftDelete",
"kind": 32768,
"kindString": "Parameter",
@@ -6578,7 +6822,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -6590,7 +6834,7 @@
]
},
{
- "id": 40,
+ "id": 41,
"name": "generateLink",
"kind": 2048,
"kindString": "Method",
@@ -6598,13 +6842,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 114,
+ "line": 118,
"character": 8
}
],
"signatures": [
{
- "id": 41,
+ "id": 42,
"name": "generateLink",
"kind": 4096,
"kindString": "Call signature",
@@ -6614,17 +6858,17 @@
},
"parameters": [
{
- "id": 42,
+ "id": 43,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 613,
+ "id": 760,
"name": "GenerateLinkParams",
"dereferenced": {
- "id": 613,
+ "id": 760,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6632,7 +6876,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 673,
"character": 12
}
],
@@ -6640,7 +6884,7 @@
"type": "union",
"types": [
{
- "id": 588,
+ "id": 735,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6648,21 +6892,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 591,
+ "id": 738,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6670,7 +6914,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 560,
+ "line": 632,
"character": 2
}
],
@@ -6680,7 +6924,7 @@
}
},
{
- "id": 593,
+ "id": 740,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -6690,7 +6934,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 634,
"character": 2
}
],
@@ -6699,7 +6943,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -6722,7 +6966,7 @@
}
},
{
- "id": 592,
+ "id": 739,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -6730,7 +6974,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 633,
"character": 2
}
],
@@ -6740,7 +6984,7 @@
}
},
{
- "id": 590,
+ "id": 737,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6748,7 +6992,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 631,
"character": 2
}
],
@@ -6762,18 +7006,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 591,
- 593,
- 592,
- 590
- ]
+ "children": [738, 740, 739, 737]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 39
}
]
@@ -6781,7 +7020,7 @@
}
},
{
- "id": 594,
+ "id": 741,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6789,21 +7028,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 742,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 597,
+ "id": 744,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6814,7 +7053,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 568,
+ "line": 640,
"character": 2
}
],
@@ -6824,7 +7063,7 @@
}
},
{
- "id": 598,
+ "id": 745,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -6834,7 +7073,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 569,
+ "line": 641,
"character": 2
}
],
@@ -6843,7 +7082,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -6866,7 +7105,7 @@
}
},
{
- "id": 596,
+ "id": 743,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6874,7 +7113,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 638,
"character": 2
}
],
@@ -6897,17 +7136,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 597,
- 598,
- 596
- ]
+ "children": [744, 745, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 46
}
]
@@ -6915,7 +7150,7 @@
}
},
{
- "id": 599,
+ "id": 746,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6923,21 +7158,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 600,
+ "id": 747,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 602,
+ "id": 749,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6948,7 +7183,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 647,
"character": 2
}
],
@@ -6958,7 +7193,7 @@
}
},
{
- "id": 603,
+ "id": 750,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -6968,7 +7203,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 576,
+ "line": 648,
"character": 2
}
],
@@ -6977,7 +7212,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -6991,7 +7226,7 @@
}
},
{
- "id": 601,
+ "id": 748,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6999,7 +7234,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 573,
+ "line": 645,
"character": 2
}
],
@@ -7013,17 +7248,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 602,
- 603,
- 601
- ]
+ "children": [749, 750, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 41
}
]
@@ -7031,7 +7262,7 @@
}
},
{
- "id": 604,
+ "id": 751,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -7039,21 +7270,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 605,
+ "id": 752,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 607,
+ "id": 754,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -7064,7 +7295,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 582,
+ "line": 654,
"character": 2
}
],
@@ -7074,7 +7305,7 @@
}
},
{
- "id": 608,
+ "id": 755,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -7085,7 +7316,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 658,
"character": 2
}
],
@@ -7095,7 +7326,7 @@
}
},
{
- "id": 609,
+ "id": 756,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -7105,7 +7336,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 587,
+ "line": 659,
"character": 2
}
],
@@ -7114,7 +7345,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -7128,7 +7359,7 @@
}
},
{
- "id": 606,
+ "id": 753,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7136,7 +7367,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 652,
"character": 2
}
],
@@ -7159,18 +7390,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 607,
- 608,
- 609,
- 606
- ]
+ "children": [754, 755, 756, 753]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 44
}
]
@@ -7188,7 +7414,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 614,
+ "id": 761,
"name": "GenerateLinkResponse"
}
],
@@ -7200,7 +7426,7 @@
]
},
{
- "id": 60,
+ "id": 61,
"name": "getUserById",
"kind": 2048,
"kindString": "Method",
@@ -7208,13 +7434,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 217,
+ "line": 221,
"character": 8
}
],
"signatures": [
{
- "id": 61,
+ "id": 62,
"name": "getUserById",
"kind": 4096,
"kindString": "Call signature",
@@ -7224,7 +7450,7 @@
},
"parameters": [
{
- "id": 62,
+ "id": 63,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -7243,7 +7469,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -7255,7 +7481,7 @@
]
},
{
- "id": 33,
+ "id": 34,
"name": "inviteUserByEmail",
"kind": 2048,
"kindString": "Method",
@@ -7263,13 +7489,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 81,
+ "line": 85,
"character": 8
}
],
"signatures": [
{
- "id": 34,
+ "id": 35,
"name": "inviteUserByEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -7279,7 +7505,7 @@
},
"parameters": [
{
- "id": 35,
+ "id": 36,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -7293,7 +7519,7 @@
}
},
{
- "id": 36,
+ "id": 37,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7304,14 +7530,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 37,
+ "id": 38,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 38,
+ "id": 39,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7324,7 +7550,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 85,
+ "line": 89,
"character": 6
}
],
@@ -7334,7 +7560,7 @@
}
},
{
- "id": 39,
+ "id": 40,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -7347,7 +7573,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 88,
+ "line": 92,
"character": 6
}
],
@@ -7361,10 +7587,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 38,
- 39
- ]
+ "children": [39, 40]
}
]
}
@@ -7377,7 +7600,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -7389,7 +7612,7 @@
]
},
{
- "id": 46,
+ "id": 47,
"name": "listUsers",
"kind": 2048,
"kindString": "Method",
@@ -7397,13 +7620,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 170,
+ "line": 174,
"character": 8
}
],
"signatures": [
{
- "id": 47,
+ "id": 48,
"name": "listUsers",
"kind": 4096,
"kindString": "Call signature",
@@ -7414,7 +7637,7 @@
},
"parameters": [
{
- "id": 48,
+ "id": 49,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -7426,10 +7649,10 @@
},
"type": {
"type": "reference",
- "id": 794,
+ "id": 941,
"name": "PageParams",
"dereferenced": {
- "id": 794,
+ "id": 941,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -7437,21 +7660,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 795,
+ "id": 942,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 796,
+ "id": 943,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -7464,7 +7687,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 978,
+ "line": 1050,
"character": 2
}
],
@@ -7474,7 +7697,7 @@
}
},
{
- "id": 797,
+ "id": 944,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -7487,7 +7710,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 980,
+ "line": 1052,
"character": 2
}
],
@@ -7501,16 +7724,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 796,
- 797
- ]
+ "children": [943, 944]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 25
}
]
@@ -7529,14 +7749,14 @@
{
"type": "reflection",
"declaration": {
- "id": 49,
+ "id": 50,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 50,
+ "id": 51,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7544,7 +7764,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 8
}
],
@@ -7554,14 +7774,14 @@
{
"type": "reflection",
"declaration": {
- "id": 51,
+ "id": 52,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 53,
+ "id": 54,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -7569,7 +7789,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 31
}
],
@@ -7579,7 +7799,7 @@
}
},
{
- "id": 52,
+ "id": 53,
"name": "users",
"kind": 1024,
"kindString": "Property",
@@ -7587,7 +7807,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 16
}
],
@@ -7595,7 +7815,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User"
}
}
@@ -7605,24 +7825,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 53,
- 52
- ]
+ "children": [54, 53]
}
]
}
},
{
"type": "reference",
- "id": 787,
+ "id": 934,
"name": "Pagination"
}
]
}
},
{
- "id": 54,
+ "id": 55,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7630,7 +7847,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 173,
+ "line": 177,
"character": 59
}
],
@@ -7644,10 +7861,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 50,
- 54
- ]
+ "children": [51, 55]
}
]
}
@@ -7655,14 +7869,14 @@
{
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 56,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 56,
+ "id": 57,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7670,21 +7884,21 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 57,
+ "id": 58,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 58,
+ "id": 59,
"name": "users",
"kind": 1024,
"kindString": "Property",
@@ -7692,7 +7906,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 16
}
],
@@ -7705,16 +7919,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 58
- ]
+ "children": [59]
}
]
}
}
},
{
- "id": 59,
+ "id": 60,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7722,13 +7934,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 174,
+ "line": 178,
"character": 29
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -7737,10 +7949,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 56,
- 59
- ]
+ "children": [57, 60]
}
]
}
@@ -7764,7 +7973,7 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
+ "line": 60,
"character": 8
}
],
@@ -7786,12 +7995,40 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A valid, logged-in JWT.\n"
+ "shortText": "A valid, logged-in JWT."
},
"type": {
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 30,
+ "name": "scope",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The logout sope.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ },
+ "defaultValue": "'global'"
}
],
"type": {
@@ -7800,14 +8037,14 @@
{
"type": "reflection",
"declaration": {
- "id": 30,
+ "id": 31,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 31,
+ "id": 32,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7815,8 +8052,8 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 40
+ "line": 63,
+ "character": 15
}
],
"type": {
@@ -7825,7 +8062,7 @@
}
},
{
- "id": 32,
+ "id": 33,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7833,8 +8070,8 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 59,
- "character": 52
+ "line": 63,
+ "character": 27
}
],
"type": {
@@ -7846,7 +8083,7 @@
},
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
]
@@ -7857,10 +8094,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 31,
- 32
- ]
+ "children": [32, 33]
}
]
}
@@ -7874,7 +8108,7 @@
]
},
{
- "id": 63,
+ "id": 64,
"name": "updateUserById",
"kind": 2048,
"kindString": "Method",
@@ -7882,13 +8116,13 @@
"sources": [
{
"fileName": "src/GoTrueAdminApi.ts",
- "line": 239,
+ "line": 243,
"character": 8
}
],
"signatures": [
{
- "id": 64,
+ "id": 65,
"name": "updateUserById",
"kind": 4096,
"kindString": "Call signature",
@@ -7898,7 +8132,7 @@
},
"parameters": [
{
- "id": 65,
+ "id": 66,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -7909,7 +8143,7 @@
}
},
{
- "id": 66,
+ "id": 67,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -7919,17 +8153,17 @@
},
"type": {
"type": "reference",
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"dereferenced": {
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 598,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -7943,7 +8177,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 296,
+ "line": 354,
"character": 2
}
],
@@ -7953,7 +8187,7 @@
}
},
{
- "id": 459,
+ "id": 601,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -7967,7 +8201,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 380,
"character": 2
}
],
@@ -7977,7 +8211,7 @@
}
},
{
- "id": 462,
+ "id": 604,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -7990,7 +8224,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -8004,7 +8238,7 @@
}
},
{
- "id": 457,
+ "id": 599,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -8018,7 +8252,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 303,
+ "line": 361,
"character": 2
}
],
@@ -8028,7 +8262,7 @@
}
},
{
- "id": 461,
+ "id": 603,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -8042,7 +8276,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -8056,7 +8290,7 @@
}
},
{
- "id": 460,
+ "id": 602,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -8069,7 +8303,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -8083,7 +8317,7 @@
}
},
{
- "id": 463,
+ "id": 605,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -8096,7 +8330,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -8110,7 +8344,7 @@
}
},
{
- "id": 458,
+ "id": 600,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -8124,7 +8358,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 368,
"character": 2
}
],
@@ -8134,7 +8368,7 @@
}
},
{
- "id": 455,
+ "id": 597,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -8148,7 +8382,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 344,
"character": 2
}
],
@@ -8162,23 +8396,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
+ "line": 333,
"character": 17
}
],
@@ -8188,7 +8412,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes"
},
{
@@ -8210,7 +8434,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -8226,30 +8450,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 2
- ]
+ "children": [2]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 16
- ]
+ "children": [16]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 43,
- 67,
- 40,
- 60,
- 33,
- 46,
- 27,
- 63
- ]
+ "children": [44, 68, 41, 61, 34, 47, 27, 64]
}
],
"sources": [
@@ -8263,7 +8474,7 @@
}
},
{
- "id": 82,
+ "id": 85,
"name": "mfa",
"kind": 1024,
"kindString": "Property",
@@ -8274,16 +8485,16 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 102,
+ "line": 119,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 724,
+ "id": 871,
"name": "GoTrueMFAApi",
"dereferenced": {
- "id": 724,
+ "id": 871,
"name": "GoTrueMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -8293,14 +8504,14 @@
},
"children": [
{
- "id": 728,
+ "id": 875,
"name": "challenge",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 729,
+ "id": 876,
"name": "challenge",
"kind": 4096,
"kindString": "Call signature",
@@ -8310,17 +8521,17 @@
},
"parameters": [
{
- "id": 730,
+ "id": 877,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 648,
+ "id": 795,
"name": "MFAChallengeParams",
"dereferenced": {
- "id": 648,
+ "id": 795,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8328,21 +8539,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 649,
+ "id": 796,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 650,
+ "id": 797,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -8353,7 +8564,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 680,
+ "line": 752,
"character": 2
}
],
@@ -8367,15 +8578,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 650
- ]
+ "children": [797]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 33
}
]
@@ -8390,7 +8599,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 692,
+ "id": 839,
"name": "AuthMFAChallengeResponse"
}
],
@@ -8402,14 +8611,14 @@
]
},
{
- "id": 737,
+ "id": 884,
"name": "challengeAndVerify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 738,
+ "id": 885,
"name": "challengeAndVerify",
"kind": 4096,
"kindString": "Call signature",
@@ -8419,17 +8628,17 @@
},
"parameters": [
{
- "id": 739,
+ "id": 886,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 651,
+ "id": 798,
"name": "MFAChallengeAndVerifyParams",
"dereferenced": {
- "id": 651,
+ "id": 798,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8437,21 +8646,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 652,
+ "id": 799,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 654,
+ "id": 801,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -8462,7 +8671,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 687,
+ "line": 759,
"character": 2
}
],
@@ -8472,7 +8681,7 @@
}
},
{
- "id": 653,
+ "id": 800,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -8483,7 +8692,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 685,
+ "line": 757,
"character": 2
}
],
@@ -8497,16 +8706,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 654,
- 653
- ]
+ "children": [801, 800]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 42
}
]
@@ -8521,7 +8727,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 655,
+ "id": 802,
"name": "AuthMFAVerifyResponse"
}
],
@@ -8533,14 +8739,14 @@
]
},
{
- "id": 725,
+ "id": 872,
"name": "enroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 726,
+ "id": 873,
"name": "enroll",
"kind": 4096,
"kindString": "Call signature",
@@ -8551,17 +8757,17 @@
},
"parameters": [
{
- "id": 727,
+ "id": 874,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 635,
+ "id": 782,
"name": "MFAEnrollParams",
"dereferenced": {
- "id": 635,
+ "id": 782,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8569,21 +8775,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 636,
+ "id": 783,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 637,
+ "id": 784,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -8594,7 +8800,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 655,
+ "line": 727,
"character": 2
}
],
@@ -8604,7 +8810,7 @@
}
},
{
- "id": 639,
+ "id": 786,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -8617,7 +8823,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 659,
+ "line": 731,
"character": 2
}
],
@@ -8627,7 +8833,7 @@
}
},
{
- "id": 638,
+ "id": 785,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -8640,7 +8846,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 729,
"character": 2
}
],
@@ -8654,17 +8860,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 637,
- 639,
- 638
- ]
+ "children": [784, 786, 785]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 30
}
]
@@ -8679,7 +8881,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 668,
+ "id": 815,
"name": "AuthMFAEnrollResponse"
}
],
@@ -8691,14 +8893,14 @@
]
},
{
- "id": 742,
+ "id": 889,
"name": "getAuthenticatorAssuranceLevel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 743,
+ "id": 890,
"name": "getAuthenticatorAssuranceLevel",
"kind": 4096,
"kindString": "Call signature",
@@ -8712,7 +8914,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 713,
+ "id": 860,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
}
],
@@ -8724,14 +8926,14 @@
]
},
{
- "id": 740,
+ "id": 887,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 741,
+ "id": 888,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -8758,7 +8960,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 702,
+ "id": 849,
"name": "AuthMFAListFactorsResponse"
}
],
@@ -8770,14 +8972,14 @@
]
},
{
- "id": 734,
+ "id": 881,
"name": "unenroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 735,
+ "id": 882,
"name": "unenroll",
"kind": 4096,
"kindString": "Call signature",
@@ -8787,17 +8989,17 @@
},
"parameters": [
{
- "id": 736,
+ "id": 883,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 640,
+ "id": 787,
"name": "MFAUnenrollParams",
"dereferenced": {
- "id": 640,
+ "id": 787,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8805,21 +9007,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 641,
+ "id": 788,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 642,
+ "id": 789,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -8830,7 +9032,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 664,
+ "line": 736,
"character": 2
}
],
@@ -8844,15 +9046,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 642
- ]
+ "children": [789]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 32
}
]
@@ -8867,7 +9067,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 830,
"name": "AuthMFAUnenrollResponse"
}
],
@@ -8879,14 +9079,14 @@
]
},
{
- "id": 731,
+ "id": 878,
"name": "verify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 732,
+ "id": 879,
"name": "verify",
"kind": 4096,
"kindString": "Call signature",
@@ -8896,17 +9096,17 @@
},
"parameters": [
{
- "id": 733,
+ "id": 880,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 643,
+ "id": 790,
"name": "MFAVerifyParams",
"dereferenced": {
- "id": 643,
+ "id": 790,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8914,21 +9114,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 644,
+ "id": 791,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 646,
+ "id": 793,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -8939,7 +9139,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 672,
+ "line": 744,
"character": 2
}
],
@@ -8949,7 +9149,7 @@
}
},
{
- "id": 647,
+ "id": 794,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -8960,7 +9160,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 747,
"character": 2
}
],
@@ -8970,7 +9170,7 @@
}
},
{
- "id": 645,
+ "id": 792,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -8981,7 +9181,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 669,
+ "line": 741,
"character": 2
}
],
@@ -8995,17 +9195,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 646,
- 647,
- 645
- ]
+ "children": [793, 794, 792]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 30
}
]
@@ -9020,7 +9216,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 655,
+ "id": 802,
"name": "AuthMFAVerifyResponse"
}
],
@@ -9036,21 +9232,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 728,
- 737,
- 725,
- 742,
- 740,
- 734,
- 731
- ]
+ "children": [875, 884, 872, 889, 887, 881, 878]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 815,
+ "line": 887,
"character": 17
}
]
@@ -9058,7 +9246,7 @@
}
},
{
- "id": 121,
+ "id": 131,
"name": "exchangeCodeForSession",
"kind": 2048,
"kindString": "Method",
@@ -9066,13 +9254,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 411,
+ "line": 485,
"character": 8
}
],
"signatures": [
{
- "id": 122,
+ "id": 132,
"name": "exchangeCodeForSession",
"kind": 4096,
"kindString": "Call signature",
@@ -9082,7 +9270,7 @@
},
"parameters": [
{
- "id": 123,
+ "id": 133,
"name": "authCode",
"kind": 32768,
"kindString": "Parameter",
@@ -9098,8 +9286,8 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
- "name": "AuthResponse"
+ "id": 484,
+ "name": "AuthTokenResponse"
}
],
"qualifiedName": "Promise",
@@ -9110,7 +9298,7 @@
]
},
{
- "id": 141,
+ "id": 156,
"name": "getSession",
"kind": 2048,
"kindString": "Method",
@@ -9118,13 +9306,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 693,
+ "line": 810,
"character": 8
}
],
"signatures": [
{
- "id": 142,
+ "id": 157,
"name": "getSession",
"kind": 4096,
"kindString": "Call signature",
@@ -9141,14 +9329,14 @@
{
"type": "reflection",
"declaration": {
- "id": 143,
+ "id": 158,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 144,
+ "id": 159,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9156,21 +9344,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 695,
- "character": 8
+ "line": 901,
+ "character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 145,
+ "id": 160,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 146,
+ "id": 161,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -9178,13 +9366,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 696,
- "character": 10
+ "line": 902,
+ "character": 14
}
],
"type": {
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
}
}
@@ -9193,16 +9381,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 146
- ]
+ "children": [161]
}
]
}
}
},
{
- "id": 147,
+ "id": 162,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9210,8 +9396,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 698,
- "character": 8
+ "line": 904,
+ "character": 12
}
],
"type": {
@@ -9224,10 +9410,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 144,
- 147
- ]
+ "children": [159, 162]
}
]
}
@@ -9235,14 +9418,14 @@
{
"type": "reflection",
"declaration": {
- "id": 148,
+ "id": 163,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 149,
+ "id": 164,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9250,21 +9433,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 701,
- "character": 8
+ "line": 907,
+ "character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 150,
+ "id": 165,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 151,
+ "id": 166,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -9272,8 +9455,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 702,
- "character": 10
+ "line": 908,
+ "character": 14
}
],
"type": {
@@ -9286,16 +9469,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 151
- ]
+ "children": [166]
}
]
}
}
},
{
- "id": 152,
+ "id": 167,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9303,13 +9484,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 704,
- "character": 8
+ "line": 910,
+ "character": 12
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -9318,10 +9499,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 149,
- 152
- ]
+ "children": [164, 167]
}
]
}
@@ -9329,14 +9507,14 @@
{
"type": "reflection",
"declaration": {
- "id": 153,
+ "id": 168,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 154,
+ "id": 169,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9344,21 +9522,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 707,
- "character": 8
+ "line": 913,
+ "character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 155,
+ "id": 170,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 156,
+ "id": 171,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -9366,8 +9544,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 708,
- "character": 10
+ "line": 914,
+ "character": 14
}
],
"type": {
@@ -9380,16 +9558,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 156
- ]
+ "children": [171]
}
]
}
}
},
{
- "id": 157,
+ "id": 172,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9397,8 +9573,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 710,
- "character": 8
+ "line": 916,
+ "character": 12
}
],
"type": {
@@ -9411,10 +9587,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 154,
- 157
- ]
+ "children": [169, 172]
}
]
}
@@ -9430,7 +9603,7 @@
]
},
{
- "id": 158,
+ "id": 219,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -9438,13 +9611,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 756,
+ "line": 1018,
"character": 8
}
],
"signatures": [
{
- "id": 159,
+ "id": 220,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -9454,7 +9627,7 @@
},
"parameters": [
{
- "id": 160,
+ "id": 221,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -9475,7 +9648,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -9487,7 +9660,7 @@
]
},
{
- "id": 108,
+ "id": 118,
"name": "initialize",
"kind": 2048,
"kindString": "Method",
@@ -9495,13 +9668,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 197,
- "character": 2
+ "line": 250,
+ "character": 8
}
],
"signatures": [
{
- "id": 109,
+ "id": 119,
"name": "initialize",
"kind": 4096,
"kindString": "Call signature",
@@ -9514,7 +9687,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 777,
+ "id": 924,
"name": "InitializeResult"
}
],
@@ -9526,7 +9699,7 @@
]
},
{
- "id": 208,
+ "id": 295,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -9534,13 +9707,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1071,
+ "line": 1412,
"character": 2
}
],
"signatures": [
{
- "id": 209,
+ "id": 296,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -9550,7 +9723,7 @@
},
"parameters": [
{
- "id": 210,
+ "id": 297,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -9561,33 +9734,33 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 211,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 212,
+ "id": 299,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 213,
+ "id": 300,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 327,
+ "id": 430,
"name": "AuthChangeEvent"
}
},
{
- "id": 214,
+ "id": 301,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -9601,7 +9774,7 @@
},
{
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
}
]
@@ -9609,8 +9782,25 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "void"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ ]
}
}
]
@@ -9621,14 +9811,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 215,
+ "id": 302,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 216,
+ "id": 303,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9636,21 +9826,21 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1072,
+ "line": 1415,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 217,
+ "id": 304,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 218,
+ "id": 305,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -9658,23 +9848,23 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1072,
+ "line": 1415,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 464,
+ "id": 606,
"name": "Subscription",
"dereferenced": {
- "id": 464,
+ "id": 606,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 465,
+ "id": 607,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -9685,7 +9875,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 329,
+ "line": 387,
"character": 2
}
],
@@ -9695,7 +9885,7 @@
}
},
{
- "id": 466,
+ "id": 608,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -9703,13 +9893,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 333,
+ "line": 391,
"character": 2
}
],
"signatures": [
{
- "id": 467,
+ "id": 609,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -9719,17 +9909,17 @@
},
"parameters": [
{
- "id": 468,
+ "id": 610,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 327,
+ "id": 430,
"name": "AuthChangeEvent",
"dereferenced": {
- "id": 327,
+ "id": 430,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -9737,7 +9927,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 26,
+ "line": 28,
"character": 12
}
],
@@ -9769,7 +9959,7 @@
"value": "USER_UPDATED"
},
{
- "id": 326,
+ "id": 429,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -9777,7 +9967,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 12
}
],
@@ -9792,7 +9982,7 @@
}
},
{
- "id": 469,
+ "id": 611,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -9806,7 +9996,7 @@
},
{
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
}
]
@@ -9821,7 +10011,7 @@
]
},
{
- "id": 470,
+ "id": 612,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -9829,13 +10019,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 337,
+ "line": 395,
"character": 2
}
],
"signatures": [
{
- "id": 471,
+ "id": 613,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -9855,23 +10045,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 465
- ]
+ "children": [607]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 466,
- 470
- ]
+ "children": [608, 612]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 383,
"character": 17
}
]
@@ -9883,9 +10068,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 218
- ]
+ "children": [305]
}
]
}
@@ -9896,9 +10079,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 216
- ]
+ "children": [303]
}
]
}
@@ -9907,7 +10088,7 @@
]
},
{
- "id": 136,
+ "id": 149,
"name": "reauthenticate",
"kind": 2048,
"kindString": "Method",
@@ -9915,13 +10096,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 626,
+ "line": 729,
"character": 8
}
],
"signatures": [
{
- "id": 137,
+ "id": 150,
"name": "reauthenticate",
"kind": 4096,
"kindString": "Call signature",
@@ -9934,7 +10115,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
+ "id": 456,
"name": "AuthResponse"
}
],
@@ -9946,7 +10127,7 @@
]
},
{
- "id": 180,
+ "id": 256,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -9954,13 +10135,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 902,
+ "line": 1207,
"character": 8
}
],
"signatures": [
{
- "id": 181,
+ "id": 257,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -9970,7 +10151,7 @@
},
"parameters": [
{
- "id": 182,
+ "id": 258,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
@@ -9983,14 +10164,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 183,
+ "id": 259,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 184,
+ "id": 260,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -9998,7 +10179,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 902,
+ "line": 1207,
"character": 42
}
],
@@ -10012,9 +10193,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 184
- ]
+ "children": [260]
}
]
}
@@ -10026,7 +10205,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
+ "id": 456,
"name": "AuthResponse"
}
],
@@ -10038,7 +10217,7 @@
]
},
{
- "id": 138,
+ "id": 153,
"name": "resend",
"kind": 2048,
"kindString": "Method",
@@ -10046,13 +10225,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 651,
+ "line": 764,
"character": 8
}
],
"signatures": [
{
- "id": 139,
+ "id": 154,
"name": "resend",
"kind": 4096,
"kindString": "Call signature",
@@ -10062,17 +10241,17 @@
},
"parameters": [
{
- "id": 140,
+ "id": 155,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 562,
+ "id": 708,
"name": "ResendParams",
"dereferenced": {
- "id": 562,
+ "id": 708,
"name": "ResendParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -10080,7 +10259,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 516,
+ "line": 586,
"character": 12
}
],
@@ -10090,14 +10269,14 @@
{
"type": "reflection",
"declaration": {
- "id": 563,
+ "id": 709,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 565,
+ "id": 711,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10105,7 +10284,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 589,
"character": 6
}
],
@@ -10115,7 +10294,7 @@
}
},
{
- "id": 566,
+ "id": 712,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10125,21 +10304,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 520,
+ "line": 590,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 567,
+ "id": 713,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 568,
+ "id": 715,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -10152,7 +10331,30 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 594,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 714,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 592,
"character": 8
}
],
@@ -10166,15 +10368,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 568
- ]
+ "children": [715, 714]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 520,
+ "line": 590,
"character": 16
}
]
@@ -10182,7 +10382,7 @@
}
},
{
- "id": 564,
+ "id": 710,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10190,7 +10390,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 588,
"character": 6
}
],
@@ -10199,7 +10399,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 561,
+ "id": 707,
"name": "EmailOtpType"
},
{
@@ -10226,17 +10426,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 565,
- 566,
- 564
- ]
+ "children": [711, 712, 710]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 517,
+ "line": 587,
"character": 4
}
]
@@ -10245,14 +10441,14 @@
{
"type": "reflection",
"declaration": {
- "id": 569,
+ "id": 716,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 572,
+ "id": 719,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10262,21 +10458,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 600,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 573,
+ "id": 720,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 574,
+ "id": 721,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -10289,7 +10485,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 530,
+ "line": 602,
"character": 8
}
],
@@ -10303,15 +10499,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 574
- ]
+ "children": [721]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 600,
"character": 16
}
]
@@ -10319,7 +10513,7 @@
}
},
{
- "id": 571,
+ "id": 718,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -10327,7 +10521,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 527,
+ "line": 599,
"character": 6
}
],
@@ -10337,7 +10531,7 @@
}
},
{
- "id": 570,
+ "id": 717,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10345,7 +10539,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 598,
"character": 6
}
],
@@ -10354,7 +10548,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 560,
+ "id": 706,
"name": "MobileOtpType"
},
{
@@ -10381,17 +10575,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 572,
- 571,
- 570
- ]
+ "children": [719, 718, 717]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 597,
"character": 4
}
]
@@ -10408,8 +10598,8 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
- "name": "AuthResponse"
+ "id": 469,
+ "name": "AuthOtpResponse"
}
],
"qualifiedName": "Promise",
@@ -10420,7 +10610,7 @@
]
},
{
- "id": 222,
+ "id": 309,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
@@ -10428,23 +10618,23 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1111,
+ "line": 1468,
"character": 8
}
],
"signatures": [
{
- "id": 223,
+ "id": 310,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Sends a password reset request to an email address."
+ "shortText": "Sends a password reset request to an email address.\nThis method supports the PKCE flow."
},
"parameters": [
{
- "id": 224,
+ "id": 311,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -10458,7 +10648,7 @@
}
},
{
- "id": 225,
+ "id": 312,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10466,14 +10656,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 226,
+ "id": 313,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 228,
+ "id": 315,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -10486,7 +10676,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1115,
+ "line": 1472,
"character": 6
}
],
@@ -10496,7 +10686,7 @@
}
},
{
- "id": 227,
+ "id": 314,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -10509,7 +10699,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1114,
+ "line": 1471,
"character": 6
}
],
@@ -10523,10 +10713,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 228,
- 227
- ]
+ "children": [315, 314]
}
]
}
@@ -10543,14 +10730,14 @@
{
"type": "reflection",
"declaration": {
- "id": 229,
+ "id": 316,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 230,
+ "id": 317,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10558,14 +10745,14 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1119,
+ "line": 1476,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 231,
+ "id": 318,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10574,7 +10761,7 @@
}
},
{
- "id": 232,
+ "id": 319,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -10582,7 +10769,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1120,
+ "line": 1477,
"character": 8
}
],
@@ -10596,10 +10783,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 230,
- 232
- ]
+ "children": [317, 319]
}
]
}
@@ -10607,14 +10791,14 @@
{
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 320,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 234,
+ "id": 321,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10622,7 +10806,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1122,
+ "line": 1479,
"character": 8
}
],
@@ -10632,7 +10816,7 @@
}
},
{
- "id": 235,
+ "id": 322,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -10640,13 +10824,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1122,
+ "line": 1479,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -10655,10 +10839,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 234,
- 235
- ]
+ "children": [321, 322]
}
]
}
@@ -10674,7 +10855,7 @@
]
},
{
- "id": 174,
+ "id": 244,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -10682,13 +10863,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 838,
+ "line": 1132,
"character": 8
}
],
"signatures": [
{
- "id": 175,
+ "id": 245,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -10698,7 +10879,7 @@
},
"parameters": [
{
- "id": 176,
+ "id": 246,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
@@ -10709,14 +10890,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 177,
+ "id": 247,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 178,
+ "id": 248,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -10724,7 +10905,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 839,
+ "line": 1133,
"character": 4
}
],
@@ -10734,7 +10915,7 @@
}
},
{
- "id": 179,
+ "id": 249,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -10742,7 +10923,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 840,
+ "line": 1134,
"character": 4
}
],
@@ -10756,10 +10937,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 178,
- 179
- ]
+ "children": [248, 249]
}
]
}
@@ -10771,7 +10949,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
+ "id": 456,
"name": "AuthResponse"
}
],
@@ -10783,7 +10961,7 @@
]
},
{
- "id": 124,
+ "id": 137,
"name": "signInWithIdToken",
"kind": 2048,
"kindString": "Method",
@@ -10791,39 +10969,33 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 441,
+ "line": 525,
"character": 8
}
],
"signatures": [
{
- "id": 125,
+ "id": 138,
"name": "signInWithIdToken",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Allows signing in with an ID token issued by certain supported providers.\nThe ID token is verified for validity and a new session is established.",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
+ "shortText": "Allows signing in with an OIDC ID token. The authentication provider used\nshould be enabled and configured."
},
"parameters": [
{
- "id": 126,
+ "id": 139,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 535,
+ "id": 677,
"name": "SignInWithIdTokenCredentials",
"dereferenced": {
- "id": 535,
+ "id": 677,
"name": "SignInWithIdTokenCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -10831,34 +11003,34 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 463,
+ "line": 521,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 536,
+ "id": 678,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 539,
- "name": "nonce",
+ "id": 681,
+ "name": "access_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "If the ID token contains a `nonce`, then the hash of this value is compared to the value in the ID token."
+ "shortText": "If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 471,
+ "line": 527,
"character": 2
}
],
@@ -10868,7 +11040,30 @@
}
},
{
- "id": 540,
+ "id": 682,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 529,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 683,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10878,21 +11073,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 530,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 541,
+ "id": 684,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 542,
+ "id": 685,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -10905,7 +11100,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 532,
"character": 4
}
],
@@ -10919,15 +11114,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 542
- ]
+ "children": [685]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 530,
"character": 12
}
]
@@ -10935,18 +11128,18 @@
}
},
{
- "id": 537,
+ "id": 679,
"name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "Only Apple and Google ID tokens are supported for use from within iOS or Android applications."
+ "shortText": "Provider name or OIDC `iss` value identifying which provider should be used to verify the provided token. Supported names: `google`, `apple`, `azure`, `facebook`, `keycloak` (deprecated)."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 467,
+ "line": 523,
"character": 2
}
],
@@ -10960,23 +11153,35 @@
{
"type": "literal",
"value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
}
]
}
},
{
- "id": 538,
+ "id": 680,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID token issued by Apple or Google."
+ "shortText": "OIDC ID token issued by the specified provider. The `iss` claim in the ID token must match the supplied provider. Some ID tokens contain an `at_hash` which require that you provide an `access_token` value to be accepted properly. If the token contains a `nonce` claim you must supply the nonce used to obtain the ID token."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 469,
+ "line": 525,
"character": 2
}
],
@@ -10990,18 +11195,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 539,
- 540,
- 537,
- 538
- ]
+ "children": [681, 682, 683, 679, 680]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 463,
+ "line": 521,
"character": 43
}
]
@@ -11016,8 +11216,8 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
- "name": "AuthResponse"
+ "id": 484,
+ "name": "AuthTokenResponse"
}
],
"qualifiedName": "Promise",
@@ -11028,7 +11228,7 @@
]
},
{
- "id": 118,
+ "id": 128,
"name": "signInWithOAuth",
"kind": 2048,
"kindString": "Method",
@@ -11036,33 +11236,33 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 397,
+ "line": 471,
"character": 8
}
],
"signatures": [
{
- "id": 119,
+ "id": 129,
"name": "signInWithOAuth",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Log in an existing user via a third-party provider."
+ "shortText": "Log in an existing user via a third-party provider.\nThis method supports the PKCE flow."
},
"parameters": [
{
- "id": 120,
+ "id": 130,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 523,
+ "id": 665,
"name": "SignInWithOAuthCredentials",
"dereferenced": {
- "id": 523,
+ "id": 665,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -11070,21 +11270,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 506,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 524,
+ "id": 666,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 526,
+ "id": 668,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -11094,21 +11294,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 509,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 527,
+ "id": 669,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 672,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -11121,14 +11321,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 457,
+ "line": 515,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 531,
+ "id": 673,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11136,19 +11336,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 457,
+ "line": 515,
"character": 18
}
],
"indexSignature": {
- "id": 532,
+ "id": 674,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 533,
+ "id": 675,
"name": "key",
"kind": 32768,
"flags": {},
@@ -11167,7 +11367,7 @@
}
},
{
- "id": 528,
+ "id": 670,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -11180,7 +11380,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 511,
"character": 4
}
],
@@ -11190,7 +11390,7 @@
}
},
{
- "id": 529,
+ "id": 671,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -11203,7 +11403,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 513,
"character": 4
}
],
@@ -11213,7 +11413,7 @@
}
},
{
- "id": 534,
+ "id": 676,
"name": "skipBrowserRedirect",
"kind": 1024,
"kindString": "Property",
@@ -11226,7 +11426,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 459,
+ "line": 517,
"character": 4
}
],
@@ -11240,18 +11440,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 530,
- 528,
- 529,
- 534
- ]
+ "children": [672, 670, 671, 676]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 509,
"character": 12
}
]
@@ -11259,7 +11454,7 @@
}
},
{
- "id": 525,
+ "id": 667,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -11270,16 +11465,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 450,
+ "line": 508,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 325,
+ "id": 428,
"name": "Provider",
"dereferenced": {
- "id": 325,
+ "id": 428,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -11317,6 +11512,10 @@
"type": "literal",
"value": "facebook"
},
+ {
+ "type": "literal",
+ "value": "figma"
+ },
{
"type": "literal",
"value": "github"
@@ -11329,6 +11528,10 @@
"type": "literal",
"value": "google"
},
+ {
+ "type": "literal",
+ "value": "kakao"
+ },
{
"type": "literal",
"value": "keycloak"
@@ -11375,16 +11578,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 526,
- 525
- ]
+ "children": [668, 667]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 506,
"character": 41
}
]
@@ -11399,7 +11599,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 355,
+ "id": 497,
"name": "OAuthResponse"
}
],
@@ -11411,7 +11611,7 @@
]
},
{
- "id": 127,
+ "id": 140,
"name": "signInWithOtp",
"kind": 2048,
"kindString": "Method",
@@ -11419,34 +11619,34 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 489,
+ "line": 582,
"character": 8
}
],
"signatures": [
{
- "id": 128,
+ "id": 141,
"name": "signInWithOtp",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Log in a user using magiclink or a one-time password (OTP).",
- "text": "If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\n"
+ "text": "If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\nThis method supports PKCE when an email is passed.\n"
},
"parameters": [
{
- "id": 129,
+ "id": 142,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 505,
+ "id": 647,
"name": "SignInWithPasswordlessCredentials",
"dereferenced": {
- "id": 505,
+ "id": 647,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -11454,7 +11654,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 409,
+ "line": 467,
"character": 12
}
],
@@ -11464,14 +11664,14 @@
{
"type": "reflection",
"declaration": {
- "id": 506,
+ "id": 648,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 507,
+ "id": 649,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -11482,7 +11682,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 412,
+ "line": 470,
"character": 6
}
],
@@ -11492,7 +11692,7 @@
}
},
{
- "id": 508,
+ "id": 650,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -11502,21 +11702,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 471,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 509,
+ "id": 651,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 513,
+ "id": 655,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -11529,7 +11729,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 425,
+ "line": 483,
"character": 8
}
],
@@ -11539,7 +11739,7 @@
}
},
{
- "id": 512,
+ "id": 654,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11553,7 +11753,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 423,
+ "line": 481,
"character": 8
}
],
@@ -11563,7 +11763,7 @@
}
},
{
- "id": 510,
+ "id": 652,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -11576,7 +11776,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 415,
+ "line": 473,
"character": 8
}
],
@@ -11586,7 +11786,7 @@
}
},
{
- "id": 511,
+ "id": 653,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -11599,7 +11799,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 417,
+ "line": 475,
"character": 8
}
],
@@ -11613,18 +11813,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 513,
- 512,
- 510,
- 511
- ]
+ "children": [655, 654, 652, 653]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 471,
"character": 16
}
]
@@ -11636,16 +11831,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 507,
- 508
- ]
+ "children": [649, 650]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 410,
+ "line": 468,
"character": 4
}
]
@@ -11654,14 +11846,14 @@
{
"type": "reflection",
"declaration": {
- "id": 514,
+ "id": 656,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 516,
+ "id": 658,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -11671,21 +11863,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 431,
+ "line": 489,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 517,
+ "id": 659,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 520,
+ "id": 662,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -11698,7 +11890,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 441,
+ "line": 499,
"character": 8
}
],
@@ -11708,7 +11900,7 @@
}
},
{
- "id": 521,
+ "id": 663,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -11721,7 +11913,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 443,
+ "line": 501,
"character": 8
}
],
@@ -11740,7 +11932,7 @@
}
},
{
- "id": 519,
+ "id": 661,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11754,7 +11946,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 439,
+ "line": 497,
"character": 8
}
],
@@ -11764,7 +11956,7 @@
}
},
{
- "id": 518,
+ "id": 660,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -11777,7 +11969,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 491,
"character": 8
}
],
@@ -11791,18 +11983,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 520,
- 521,
- 519,
- 518
- ]
+ "children": [662, 663, 661, 660]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 431,
+ "line": 489,
"character": 16
}
]
@@ -11810,7 +11997,7 @@
}
},
{
- "id": 515,
+ "id": 657,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -11821,7 +12008,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 430,
+ "line": 488,
"character": 6
}
],
@@ -11835,16 +12022,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 516,
- 515
- ]
+ "children": [658, 657]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 428,
+ "line": 486,
"character": 4
}
]
@@ -11861,8 +12045,8 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
- "name": "AuthResponse"
+ "id": 469,
+ "name": "AuthOtpResponse"
}
],
"qualifiedName": "Promise",
@@ -11873,7 +12057,7 @@
]
},
{
- "id": 115,
+ "id": 125,
"name": "signInWithPassword",
"kind": 2048,
"kindString": "Method",
@@ -11881,13 +12065,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 347,
+ "line": 415,
"character": 8
}
],
"signatures": [
{
- "id": 116,
+ "id": 126,
"name": "signInWithPassword",
"kind": 4096,
"kindString": "Call signature",
@@ -11898,17 +12082,17 @@
},
"parameters": [
{
- "id": 117,
+ "id": 127,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 491,
+ "id": 633,
"name": "SignInWithPasswordCredentials",
"dereferenced": {
- "id": 491,
+ "id": 633,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -11916,7 +12100,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 439,
"character": 12
}
],
@@ -11926,14 +12110,14 @@
{
"type": "reflection",
"declaration": {
- "id": 492,
+ "id": 634,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "id": 635,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -11944,7 +12128,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 384,
+ "line": 442,
"character": 6
}
],
@@ -11954,7 +12138,7 @@
}
},
{
- "id": 495,
+ "id": 637,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -11964,21 +12148,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 387,
+ "line": 445,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 496,
+ "id": 638,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 497,
+ "id": 639,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -11991,7 +12175,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 389,
+ "line": 447,
"character": 8
}
],
@@ -12005,15 +12189,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 497
- ]
+ "children": [639]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 387,
+ "line": 445,
"character": 16
}
]
@@ -12021,7 +12203,7 @@
}
},
{
- "id": 494,
+ "id": 636,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -12032,7 +12214,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 444,
"character": 6
}
],
@@ -12046,17 +12228,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 495,
- 494
- ]
+ "children": [635, 637, 636]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 382,
+ "line": 440,
"character": 4
}
]
@@ -12065,14 +12243,14 @@
{
"type": "reflection",
"declaration": {
- "id": 498,
+ "id": 640,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 501,
+ "id": 643,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -12082,21 +12260,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 455,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 502,
+ "id": 644,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 504,
+ "id": 646,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -12109,7 +12287,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 405,
+ "line": 463,
"character": 8
}
],
@@ -12119,7 +12297,7 @@
}
},
{
- "id": 503,
+ "id": 645,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -12133,7 +12311,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 403,
+ "line": 461,
"character": 8
}
],
@@ -12147,16 +12325,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 504,
- 503
- ]
+ "children": [646, 645]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 455,
"character": 16
}
]
@@ -12164,7 +12339,7 @@
}
},
{
- "id": 500,
+ "id": 642,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -12175,7 +12350,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 396,
+ "line": 454,
"character": 6
}
],
@@ -12185,7 +12360,7 @@
}
},
{
- "id": 499,
+ "id": 641,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -12196,7 +12371,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 394,
+ "line": 452,
"character": 6
}
],
@@ -12210,17 +12385,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 501,
- 500,
- 499
- ]
+ "children": [643, 642, 641]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 450,
"character": 4
}
]
@@ -12237,8 +12408,8 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
- "name": "AuthResponse"
+ "id": 484,
+ "name": "AuthTokenResponse"
}
],
"qualifiedName": "Promise",
@@ -12249,7 +12420,7 @@
]
},
{
- "id": 133,
+ "id": 146,
"name": "signInWithSSO",
"kind": 2048,
"kindString": "Method",
@@ -12257,13 +12428,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 597,
+ "line": 700,
"character": 8
}
],
"signatures": [
{
- "id": 134,
+ "id": 147,
"name": "signInWithSSO",
"kind": 4096,
"kindString": "Call signature",
@@ -12274,17 +12445,17 @@
},
"parameters": [
{
- "id": 135,
+ "id": 148,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 575,
+ "id": 722,
"name": "SignInWithSSO",
"dereferenced": {
- "id": 575,
+ "id": 722,
"name": "SignInWithSSO",
"kind": 4194304,
"kindString": "Type alias",
@@ -12292,7 +12463,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 534,
+ "line": 606,
"character": 12
}
],
@@ -12302,14 +12473,14 @@
{
"type": "reflection",
"declaration": {
- "id": 576,
+ "id": 723,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 578,
+ "id": 725,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -12319,21 +12490,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 539,
+ "line": 611,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 579,
+ "id": 726,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 728,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -12346,7 +12517,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 543,
+ "line": 615,
"character": 8
}
],
@@ -12356,7 +12527,7 @@
}
},
{
- "id": 580,
+ "id": 727,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -12369,7 +12540,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 541,
+ "line": 613,
"character": 8
}
],
@@ -12383,16 +12554,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 581,
- 580
- ]
+ "children": [728, 727]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 539,
+ "line": 611,
"character": 16
}
]
@@ -12400,7 +12568,7 @@
}
},
{
- "id": 577,
+ "id": 724,
"name": "providerId",
"kind": 1024,
"kindString": "Property",
@@ -12411,7 +12579,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 537,
+ "line": 609,
"character": 6
}
],
@@ -12425,16 +12593,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 578,
- 577
- ]
+ "children": [725, 724]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 535,
+ "line": 607,
"character": 4
}
]
@@ -12443,14 +12608,14 @@
{
"type": "reflection",
"declaration": {
- "id": 582,
+ "id": 729,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 583,
+ "id": 730,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -12461,7 +12626,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 548,
+ "line": 620,
"character": 6
}
],
@@ -12471,7 +12636,7 @@
}
},
{
- "id": 584,
+ "id": 731,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -12481,21 +12646,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 550,
+ "line": 622,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 585,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 587,
+ "id": 734,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -12508,7 +12673,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 554,
+ "line": 626,
"character": 8
}
],
@@ -12518,7 +12683,7 @@
}
},
{
- "id": 586,
+ "id": 733,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -12531,7 +12696,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 552,
+ "line": 624,
"character": 8
}
],
@@ -12545,16 +12710,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 587,
- 586
- ]
+ "children": [734, 733]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 550,
+ "line": 622,
"character": 16
}
]
@@ -12566,16 +12728,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 583,
- 584
- ]
+ "children": [730, 731]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 546,
+ "line": 618,
"character": 4
}
]
@@ -12592,7 +12751,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 368,
+ "id": 510,
"name": "SSOResponse"
}
],
@@ -12604,7 +12763,7 @@
]
},
{
- "id": 204,
+ "id": 285,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -12612,35 +12771,126 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1045,
+ "line": 1372,
"character": 8
}
],
"signatures": [
{
- "id": 205,
+ "id": 286,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a `\"SIGNED_OUT\"` event.",
- "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n"
+ "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n\nIf using others scope, no `SIGNED_OUT` event is fired!\n"
},
+ "parameters": [
+ {
+ "id": 287,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 945,
+ "name": "SignOut",
+ "dereferenced": {
+ "id": 945,
+ "name": "SignOut",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1055,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 946,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 947,
+ "name": "scope",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines which sessions should be\nlogged out. Global means all\nsessions by this account. Local\nmeans only this session. Others\nmeans all other sessions except the\ncurrent one. When using others,\nthere is no sign-out event fired on\nthe current session!"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1066,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [947]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1055,
+ "character": 22
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
- "id": 206,
+ "id": 288,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 207,
+ "id": 289,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -12648,8 +12898,8 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1045,
- "character": 29
+ "line": 1372,
+ "character": 67
}
],
"type": {
@@ -12661,7 +12911,7 @@
},
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
]
@@ -12672,9 +12922,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 207
- ]
+ "children": [289]
}
]
}
@@ -12688,7 +12936,7 @@
]
},
{
- "id": 112,
+ "id": 122,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -12696,35 +12944,35 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 268,
+ "line": 336,
"character": 8
}
],
"signatures": [
{
- "id": 113,
+ "id": 123,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Creates a new user.",
- "text": "Be aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\n",
+ "text": "Be aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\nThis method has support for PKCE via email signups. The PKCE flow cannot be used when autoconfirm is enabled.\n",
"returns": "A logged-in session if the server has \"autoconfirm\" ON"
},
"parameters": [
{
- "id": 114,
+ "id": 124,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 474,
+ "id": 616,
"name": "SignUpWithPasswordCredentials",
"dereferenced": {
- "id": 474,
+ "id": 616,
"name": "SignUpWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -12732,7 +12980,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 344,
+ "line": 402,
"character": 12
}
],
@@ -12742,14 +12990,14 @@
{
"type": "reflection",
"declaration": {
- "id": 475,
+ "id": 617,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 476,
+ "id": 618,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -12760,7 +13008,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 347,
+ "line": 405,
"character": 6
}
],
@@ -12770,7 +13018,7 @@
}
},
{
- "id": 478,
+ "id": 620,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -12780,21 +13028,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 408,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 479,
+ "id": 621,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 482,
+ "id": 624,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -12807,7 +13055,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 360,
+ "line": 418,
"character": 8
}
],
@@ -12817,7 +13065,7 @@
}
},
{
- "id": 481,
+ "id": 623,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -12831,7 +13079,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 358,
+ "line": 416,
"character": 8
}
],
@@ -12841,7 +13089,7 @@
}
},
{
- "id": 480,
+ "id": 622,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -12854,7 +13102,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 410,
"character": 8
}
],
@@ -12868,17 +13116,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 482,
- 481,
- 480
- ]
+ "children": [624, 623, 622]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 408,
"character": 16
}
]
@@ -12886,7 +13130,7 @@
}
},
{
- "id": 477,
+ "id": 619,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -12897,7 +13141,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 349,
+ "line": 407,
"character": 6
}
],
@@ -12911,17 +13155,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 476,
- 478,
- 477
- ]
+ "children": [618, 620, 619]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 345,
+ "line": 403,
"character": 4
}
]
@@ -12930,14 +13170,14 @@
{
"type": "reflection",
"declaration": {
- "id": 483,
+ "id": 625,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 486,
+ "id": 628,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -12947,21 +13187,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 426,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 629,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 489,
+ "id": 631,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -12974,7 +13214,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 434,
"character": 8
}
],
@@ -12984,7 +13224,7 @@
}
},
{
- "id": 490,
+ "id": 632,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -12997,7 +13237,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 436,
"character": 8
}
],
@@ -13016,7 +13256,7 @@
}
},
{
- "id": 488,
+ "id": 630,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13030,7 +13270,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 374,
+ "line": 432,
"character": 8
}
],
@@ -13044,17 +13284,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 489,
- 490,
- 488
- ]
+ "children": [631, 632, 630]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 426,
"character": 16
}
]
@@ -13062,7 +13298,7 @@
}
},
{
- "id": 485,
+ "id": 627,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -13073,7 +13309,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 367,
+ "line": 425,
"character": 6
}
],
@@ -13083,7 +13319,7 @@
}
},
{
- "id": 484,
+ "id": 626,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -13094,7 +13330,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 365,
+ "line": 423,
"character": 6
}
],
@@ -13108,17 +13344,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 486,
- 485,
- 484
- ]
+ "children": [628, 627, 626]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 363,
+ "line": 421,
"character": 4
}
]
@@ -13135,7 +13367,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
+ "id": 456,
"name": "AuthResponse"
}
],
@@ -13147,7 +13379,7 @@
]
},
{
- "id": 284,
+ "id": 371,
"name": "startAutoRefresh",
"kind": 2048,
"kindString": "Method",
@@ -13155,13 +13387,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1415,
+ "line": 1861,
"character": 8
}
],
"signatures": [
{
- "id": 285,
+ "id": 372,
"name": "startAutoRefresh",
"kind": 4096,
"kindString": "Call signature",
@@ -13186,7 +13418,7 @@
]
},
{
- "id": 286,
+ "id": 373,
"name": "stopAutoRefresh",
"kind": 2048,
"kindString": "Method",
@@ -13194,13 +13426,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1428,
+ "line": 1874,
"character": 8
}
],
"signatures": [
{
- "id": 287,
+ "id": 374,
"name": "stopAutoRefresh",
"kind": 4096,
"kindString": "Call signature",
@@ -13225,7 +13457,7 @@
]
},
{
- "id": 161,
+ "id": 225,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -13233,13 +13465,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 785,
+ "line": 1064,
"character": 8
}
],
"signatures": [
{
- "id": 162,
+ "id": 226,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -13249,24 +13481,24 @@
},
"parameters": [
{
- "id": 163,
+ "id": 227,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes",
"dereferenced": {
- "id": 448,
+ "id": 590,
"name": "UserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 453,
+ "id": 595,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13280,7 +13512,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 272,
+ "line": 330,
"character": 2
}
],
@@ -13290,7 +13522,7 @@
}
},
{
- "id": 449,
+ "id": 591,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -13303,7 +13535,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -13313,7 +13545,7 @@
}
},
{
- "id": 452,
+ "id": 594,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -13327,7 +13559,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -13337,7 +13569,7 @@
}
},
{
- "id": 451,
+ "id": 593,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -13350,7 +13582,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -13360,7 +13592,7 @@
}
},
{
- "id": 450,
+ "id": 592,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -13373,7 +13605,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -13387,19 +13619,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 453,
- 449,
- 452,
- 451,
- 450
- ]
+ "children": [595, 591, 594, 593, 592]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 243,
+ "line": 301,
"character": 17
}
]
@@ -13407,7 +13633,7 @@
}
},
{
- "id": 164,
+ "id": 228,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -13415,14 +13641,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 229,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 166,
+ "id": 230,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -13432,7 +13658,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 788,
+ "line": 1067,
"character": 6
}
],
@@ -13446,9 +13672,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 166
- ]
+ "children": [230]
}
]
}
@@ -13461,7 +13685,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 377,
+ "id": 519,
"name": "UserResponse"
}
],
@@ -13473,7 +13697,7 @@
]
},
{
- "id": 130,
+ "id": 143,
"name": "verifyOtp",
"kind": 2048,
"kindString": "Method",
@@ -13481,13 +13705,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 544,
+ "line": 637,
"character": 8
}
],
"signatures": [
{
- "id": 131,
+ "id": 144,
"name": "verifyOtp",
"kind": 4096,
"kindString": "Call signature",
@@ -13497,17 +13721,17 @@
},
"parameters": [
{
- "id": 132,
+ "id": 145,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 543,
+ "id": 686,
"name": "VerifyOtpParams",
"dereferenced": {
- "id": 543,
+ "id": 686,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13515,7 +13739,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 478,
+ "line": 536,
"character": 12
}
],
@@ -13523,14 +13747,14 @@
"type": "union",
"types": [
{
- "id": 544,
+ "id": 687,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 548,
+ "id": 691,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13540,21 +13764,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 544,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 692,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 551,
+ "id": 694,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -13573,7 +13797,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 495,
+ "line": 553,
"character": 4
}
],
@@ -13583,7 +13807,7 @@
}
},
{
- "id": 550,
+ "id": 693,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -13596,7 +13820,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 488,
+ "line": 546,
"character": 4
}
],
@@ -13610,17 +13834,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 551,
- 550
- ]
+ "children": [694, 693]
}
]
}
}
},
{
- "id": 545,
+ "id": 688,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -13631,7 +13852,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 481,
+ "line": 539,
"character": 2
}
],
@@ -13641,7 +13862,7 @@
}
},
{
- "id": 546,
+ "id": 689,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -13652,7 +13873,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 541,
"character": 2
}
],
@@ -13662,7 +13883,7 @@
}
},
{
- "id": 547,
+ "id": 690,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -13673,16 +13894,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 485,
+ "line": 543,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"dereferenced": {
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -13690,7 +13911,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 513,
+ "line": 583,
"character": 12
}
],
@@ -13715,31 +13936,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 548,
- 545,
- 546,
- 547
- ]
+ "children": [691, 688, 689, 690]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 537,
"character": 17
}
]
},
{
- "id": 552,
+ "id": 695,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 553,
+ "id": 696,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -13750,7 +13966,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 500,
+ "line": 558,
"character": 2
}
],
@@ -13760,7 +13976,7 @@
}
},
{
- "id": 556,
+ "id": 699,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13770,21 +13986,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 563,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 557,
+ "id": 700,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 559,
+ "id": 702,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -13792,12 +14008,18 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site.",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "\n"
+ }
+ ]
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 509,
+ "line": 571,
"character": 4
}
],
@@ -13807,7 +14029,7 @@
}
},
{
- "id": 558,
+ "id": 701,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -13820,7 +14042,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 565,
"character": 4
}
],
@@ -13834,17 +14056,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 559,
- 558
- ]
+ "children": [702, 701]
}
]
}
}
},
{
- "id": 554,
+ "id": 697,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -13855,7 +14074,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 502,
+ "line": 560,
"character": 2
}
],
@@ -13865,7 +14084,7 @@
}
},
{
- "id": 555,
+ "id": 698,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -13876,16 +14095,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 562,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"dereferenced": {
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -13893,7 +14112,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 584,
"character": 12
}
],
@@ -13934,18 +14153,122 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 553,
- 556,
- 554,
- 555
- ]
+ "children": [696, 699, 697, 698]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 498,
+ "line": 556,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 703,
+ "name": "VerifyTokenHashParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 704,
+ "name": "token_hash",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The token hash used in an email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 577,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 705,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 580,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 707,
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 707,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 584,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [704, 705]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 575,
"character": 17
}
]
@@ -13961,7 +14284,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 342,
+ "id": 456,
"name": "AuthResponse"
}
],
@@ -13977,56 +14300,139 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 78
- ]
+ "children": [80]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 82
- ]
+ "children": [84, 85]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 121,
- 141,
- 158,
- 108,
- 208,
- 136,
- 180,
- 138,
- 222,
- 174,
- 124,
- 118,
- 127,
- 115,
- 133,
- 204,
- 112,
- 284,
- 286,
- 161,
- 130
+ 131, 156, 219, 118, 295, 149, 256, 153, 309, 244, 137, 128, 140, 125, 146, 285, 122,
+ 371, 373, 225, 143
]
}
],
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 93,
+ "line": 106,
"character": 21
}
]
},
{
- "id": 397,
+ "id": 420,
+ "name": "NavigatorLockAcquireTimeoutError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 421,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 422,
+ "name": "new NavigatorLockAcquireTimeoutError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 423,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 420,
+ "name": "NavigatorLockAcquireTimeoutError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 424,
+ "name": "isAcquireTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isReadonly": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": true
+ },
+ "defaultValue": "true"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [421]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [424]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 18,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ]
+ },
+ {
+ "id": 539,
"name": "AMREntry",
"kind": 256,
"kindString": "Interface",
@@ -14043,7 +14449,7 @@
},
"children": [
{
- "id": 398,
+ "id": 540,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -14054,7 +14460,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 161,
+ "line": 219,
"character": 2
}
],
@@ -14064,7 +14470,7 @@
}
},
{
- "id": 399,
+ "id": 541,
"name": "timestamp",
"kind": 1024,
"kindString": "Property",
@@ -14075,7 +14481,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 225,
"character": 2
}
],
@@ -14089,29 +14495,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 398,
- 399
- ]
+ "children": [540, 541]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 159,
+ "line": 217,
"character": 17
}
]
},
{
- "id": 454,
+ "id": 596,
"name": "AdminUserAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 456,
+ "id": 598,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -14125,7 +14528,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 296,
+ "line": 354,
"character": 2
}
],
@@ -14135,7 +14538,7 @@
}
},
{
- "id": 459,
+ "id": 601,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -14149,7 +14552,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 322,
+ "line": 380,
"character": 2
}
],
@@ -14159,7 +14562,7 @@
}
},
{
- "id": 462,
+ "id": 604,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -14172,7 +14575,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 305,
"character": 2
}
],
@@ -14186,7 +14589,7 @@
}
},
{
- "id": 457,
+ "id": 599,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -14200,7 +14603,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 303,
+ "line": 361,
"character": 2
}
],
@@ -14210,7 +14613,7 @@
}
},
{
- "id": 461,
+ "id": 603,
"name": "nonce",
"kind": 1024,
"kindString": "Property",
@@ -14224,7 +14627,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 264,
+ "line": 322,
"character": 2
}
],
@@ -14238,7 +14641,7 @@
}
},
{
- "id": 460,
+ "id": 602,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -14251,7 +14654,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 257,
+ "line": 315,
"character": 2
}
],
@@ -14265,7 +14668,7 @@
}
},
{
- "id": 463,
+ "id": 605,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -14278,7 +14681,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 252,
+ "line": 310,
"character": 2
}
],
@@ -14292,7 +14695,7 @@
}
},
{
- "id": 458,
+ "id": 600,
"name": "phone_confirm",
"kind": 1024,
"kindString": "Property",
@@ -14306,7 +14709,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 310,
+ "line": 368,
"character": 2
}
],
@@ -14316,7 +14719,7 @@
}
},
{
- "id": 455,
+ "id": 597,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -14330,7 +14733,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 286,
+ "line": 344,
"character": 2
}
],
@@ -14344,23 +14747,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 459,
- 462,
- 457,
- 461,
- 460,
- 463,
- 458,
- 455
- ]
+ "children": [598, 601, 604, 599, 603, 602, 605, 600, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 275,
+ "line": 333,
"character": 17
}
],
@@ -14370,7 +14763,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 448,
+ "id": 590,
"name": "UserAttributes"
},
{
@@ -14385,7 +14778,7 @@
]
},
{
- "id": 411,
+ "id": 553,
"name": "Factor",
"kind": 256,
"kindString": "Interface",
@@ -14409,7 +14802,7 @@
},
"children": [
{
- "id": 416,
+ "id": 558,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -14417,7 +14810,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 263,
"character": 2
}
],
@@ -14427,7 +14820,7 @@
}
},
{
- "id": 414,
+ "id": 556,
"name": "factor_type",
"kind": 1024,
"kindString": "Property",
@@ -14438,7 +14831,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 200,
+ "line": 258,
"character": 2
}
],
@@ -14448,7 +14841,7 @@
}
},
{
- "id": 413,
+ "id": 555,
"name": "friendly_name",
"kind": 1024,
"kindString": "Property",
@@ -14461,7 +14854,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 194,
+ "line": 252,
"character": 2
}
],
@@ -14471,7 +14864,7 @@
}
},
{
- "id": 412,
+ "id": 554,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -14482,7 +14875,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 191,
+ "line": 249,
"character": 2
}
],
@@ -14492,7 +14885,7 @@
}
},
{
- "id": 415,
+ "id": 557,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -14503,7 +14896,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 203,
+ "line": 261,
"character": 2
}
],
@@ -14522,7 +14915,7 @@
}
},
{
- "id": 417,
+ "id": 559,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -14530,7 +14923,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 206,
+ "line": 264,
"character": 2
}
],
@@ -14544,33 +14937,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 416,
- 414,
- 413,
- 412,
- 415,
- 417
- ]
+ "children": [558, 556, 555, 554, 557, 559]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 189,
+ "line": 247,
"character": 17
}
]
},
{
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 611,
+ "id": 758,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -14584,7 +14970,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 596,
+ "line": 668,
"character": 2
}
],
@@ -14594,7 +14980,7 @@
}
},
{
- "id": 612,
+ "id": 759,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -14607,7 +14993,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 598,
+ "line": 670,
"character": 2
}
],
@@ -14621,22 +15007,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 611,
- 612
- ]
+ "children": [758, 759]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 590,
+ "line": 662,
"character": 17
}
]
},
{
- "id": 769,
+ "id": 916,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -14652,14 +15035,14 @@
},
"children": [
{
- "id": 773,
+ "id": 920,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 774,
+ "id": 921,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -14679,17 +15062,17 @@
},
"parameters": [
{
- "id": 775,
+ "id": 922,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -14705,21 +15088,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 754,
+ "id": 901,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 755,
+ "id": 902,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -14730,7 +15113,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 896,
+ "line": 968,
"character": 2
}
],
@@ -14740,7 +15123,7 @@
}
},
{
- "id": 756,
+ "id": 903,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -14751,7 +15134,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 899,
+ "line": 971,
"character": 2
}
],
@@ -14765,16 +15148,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 755,
- 756
- ]
+ "children": [902, 903]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 45
}
]
@@ -14789,7 +15169,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 744,
+ "id": 891,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -14801,14 +15181,14 @@
]
},
{
- "id": 770,
+ "id": 917,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 771,
+ "id": 918,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -14818,17 +15198,17 @@
},
"parameters": [
{
- "id": 772,
+ "id": 919,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -14844,21 +15224,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 767,
+ "id": 914,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 768,
+ "id": 915,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -14869,7 +15249,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 920,
+ "line": 992,
"character": 2
}
],
@@ -14883,15 +15263,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 768
- ]
+ "children": [915]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 44
}
]
@@ -14906,7 +15284,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 757,
+ "id": 904,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -14922,22 +15300,19 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 773,
- 770
- ]
+ "children": [920, 917]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 928,
+ "line": 1000,
"character": 17
}
]
},
{
- "id": 724,
+ "id": 871,
"name": "GoTrueMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -14947,14 +15322,14 @@
},
"children": [
{
- "id": 728,
+ "id": 875,
"name": "challenge",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 729,
+ "id": 876,
"name": "challenge",
"kind": 4096,
"kindString": "Call signature",
@@ -14964,17 +15339,17 @@
},
"parameters": [
{
- "id": 730,
+ "id": 877,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 648,
+ "id": 795,
"name": "MFAChallengeParams",
"dereferenced": {
- "id": 648,
+ "id": 795,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -14982,21 +15357,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 649,
+ "id": 796,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 650,
+ "id": 797,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -15007,7 +15382,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 680,
+ "line": 752,
"character": 2
}
],
@@ -15021,15 +15396,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 650
- ]
+ "children": [797]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 33
}
]
@@ -15044,7 +15417,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 692,
+ "id": 839,
"name": "AuthMFAChallengeResponse"
}
],
@@ -15056,14 +15429,14 @@
]
},
{
- "id": 737,
+ "id": 884,
"name": "challengeAndVerify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 738,
+ "id": 885,
"name": "challengeAndVerify",
"kind": 4096,
"kindString": "Call signature",
@@ -15073,17 +15446,17 @@
},
"parameters": [
{
- "id": 739,
+ "id": 886,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 651,
+ "id": 798,
"name": "MFAChallengeAndVerifyParams",
"dereferenced": {
- "id": 651,
+ "id": 798,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -15091,21 +15464,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 652,
+ "id": 799,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 654,
+ "id": 801,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -15116,7 +15489,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 687,
+ "line": 759,
"character": 2
}
],
@@ -15126,7 +15499,7 @@
}
},
{
- "id": 653,
+ "id": 800,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -15137,7 +15510,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 685,
+ "line": 757,
"character": 2
}
],
@@ -15151,16 +15524,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 654,
- 653
- ]
+ "children": [801, 800]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 42
}
]
@@ -15175,7 +15545,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 655,
+ "id": 802,
"name": "AuthMFAVerifyResponse"
}
],
@@ -15187,14 +15557,14 @@
]
},
{
- "id": 725,
+ "id": 872,
"name": "enroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 726,
+ "id": 873,
"name": "enroll",
"kind": 4096,
"kindString": "Call signature",
@@ -15205,17 +15575,17 @@
},
"parameters": [
{
- "id": 727,
+ "id": 874,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 635,
+ "id": 782,
"name": "MFAEnrollParams",
"dereferenced": {
- "id": 635,
+ "id": 782,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -15223,21 +15593,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 636,
+ "id": 783,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 637,
+ "id": 784,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -15248,7 +15618,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 655,
+ "line": 727,
"character": 2
}
],
@@ -15258,7 +15628,7 @@
}
},
{
- "id": 639,
+ "id": 786,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -15271,7 +15641,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 659,
+ "line": 731,
"character": 2
}
],
@@ -15281,7 +15651,7 @@
}
},
{
- "id": 638,
+ "id": 785,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -15294,7 +15664,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 729,
"character": 2
}
],
@@ -15308,17 +15678,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 637,
- 639,
- 638
- ]
+ "children": [784, 786, 785]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 30
}
]
@@ -15333,7 +15699,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 668,
+ "id": 815,
"name": "AuthMFAEnrollResponse"
}
],
@@ -15345,14 +15711,14 @@
]
},
{
- "id": 742,
+ "id": 889,
"name": "getAuthenticatorAssuranceLevel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 743,
+ "id": 890,
"name": "getAuthenticatorAssuranceLevel",
"kind": 4096,
"kindString": "Call signature",
@@ -15366,7 +15732,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 713,
+ "id": 860,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
}
],
@@ -15378,14 +15744,14 @@
]
},
{
- "id": 740,
+ "id": 887,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 741,
+ "id": 888,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -15412,7 +15778,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 702,
+ "id": 849,
"name": "AuthMFAListFactorsResponse"
}
],
@@ -15424,14 +15790,14 @@
]
},
{
- "id": 734,
+ "id": 881,
"name": "unenroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 735,
+ "id": 882,
"name": "unenroll",
"kind": 4096,
"kindString": "Call signature",
@@ -15441,17 +15807,17 @@
},
"parameters": [
{
- "id": 736,
+ "id": 883,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 640,
+ "id": 787,
"name": "MFAUnenrollParams",
"dereferenced": {
- "id": 640,
+ "id": 787,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -15459,21 +15825,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 641,
+ "id": 788,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 642,
+ "id": 789,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -15484,7 +15850,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 664,
+ "line": 736,
"character": 2
}
],
@@ -15498,15 +15864,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 642
- ]
+ "children": [789]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 32
}
]
@@ -15521,7 +15885,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 830,
"name": "AuthMFAUnenrollResponse"
}
],
@@ -15533,14 +15897,14 @@
]
},
{
- "id": 731,
+ "id": 878,
"name": "verify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 732,
+ "id": 879,
"name": "verify",
"kind": 4096,
"kindString": "Call signature",
@@ -15550,17 +15914,17 @@
},
"parameters": [
{
- "id": 733,
+ "id": 880,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 643,
+ "id": 790,
"name": "MFAVerifyParams",
"dereferenced": {
- "id": 643,
+ "id": 790,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -15568,21 +15932,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 644,
+ "id": 791,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 646,
+ "id": 793,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -15593,7 +15957,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 672,
+ "line": 744,
"character": 2
}
],
@@ -15603,7 +15967,7 @@
}
},
{
- "id": 647,
+ "id": 794,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -15614,7 +15978,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 747,
"character": 2
}
],
@@ -15624,7 +15988,7 @@
}
},
{
- "id": 645,
+ "id": 792,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -15635,7 +15999,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 669,
+ "line": 741,
"character": 2
}
],
@@ -15649,17 +16013,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 646,
- 647,
- 645
- ]
+ "children": [793, 794, 792]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 30
}
]
@@ -15674,7 +16034,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 655,
+ "id": 802,
"name": "AuthMFAVerifyResponse"
}
],
@@ -15690,34 +16050,26 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 728,
- 737,
- 725,
- 742,
- 740,
- 734,
- 731
- ]
+ "children": [875, 884, 872, 889, 887, 881, 878]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 815,
+ "line": 887,
"character": 17
}
]
},
{
- "id": 388,
+ "id": 530,
"name": "Session",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 391,
+ "id": 533,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -15728,7 +16080,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 134,
+ "line": 192,
"character": 2
}
],
@@ -15738,7 +16090,7 @@
}
},
{
- "id": 394,
+ "id": 536,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -15751,7 +16103,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 146,
+ "line": 204,
"character": 2
}
],
@@ -15761,7 +16113,7 @@
}
},
{
- "id": 393,
+ "id": 535,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -15772,7 +16124,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 142,
+ "line": 200,
"character": 2
}
],
@@ -15782,7 +16134,7 @@
}
},
{
- "id": 390,
+ "id": 532,
"name": "provider_refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -15795,7 +16147,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 130,
+ "line": 188,
"character": 2
}
],
@@ -15814,7 +16166,7 @@
}
},
{
- "id": 389,
+ "id": 531,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
@@ -15827,7 +16179,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 125,
+ "line": 183,
"character": 2
}
],
@@ -15846,7 +16198,7 @@
}
},
{
- "id": 392,
+ "id": 534,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -15857,7 +16209,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 138,
+ "line": 196,
"character": 2
}
],
@@ -15867,7 +16219,7 @@
}
},
{
- "id": 395,
+ "id": 537,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -15875,7 +16227,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 147,
+ "line": 205,
"character": 2
}
],
@@ -15885,7 +16237,7 @@
}
},
{
- "id": 396,
+ "id": 538,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -15893,23 +16245,23 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 148,
+ "line": 206,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User",
"dereferenced": {
- "id": 425,
+ "id": 567,
"name": "User",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 436,
+ "id": 578,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -15919,7 +16271,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 229,
+ "line": 287,
"character": 2
}
],
@@ -15929,7 +16281,7 @@
}
},
{
- "id": 427,
+ "id": 569,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -15937,23 +16289,23 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 220,
+ "line": 278,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 418,
+ "id": 560,
"name": "UserAppMetadata",
"dereferenced": {
- "id": 418,
+ "id": 560,
"name": "UserAppMetadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 419,
+ "id": 561,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -15963,7 +16315,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 210,
+ "line": 268,
"character": 2
}
],
@@ -15977,27 +16329,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 419
- ]
+ "children": [561]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 209,
+ "line": 267,
"character": 17
}
],
"indexSignature": {
- "id": 420,
+ "id": 562,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 421,
+ "id": 563,
"name": "key",
"kind": 32768,
"flags": {},
@@ -16016,7 +16366,7 @@
}
},
{
- "id": 429,
+ "id": 571,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -16024,7 +16374,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 222,
+ "line": 280,
"character": 2
}
],
@@ -16034,7 +16384,7 @@
}
},
{
- "id": 430,
+ "id": 572,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -16044,7 +16394,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 223,
+ "line": 281,
"character": 2
}
],
@@ -16054,7 +16404,7 @@
}
},
{
- "id": 440,
+ "id": 582,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -16064,7 +16414,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 291,
"character": 2
}
],
@@ -16074,7 +16424,7 @@
}
},
{
- "id": 439,
+ "id": 581,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -16082,7 +16432,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 232,
+ "line": 290,
"character": 2
}
],
@@ -16092,7 +16442,7 @@
}
},
{
- "id": 437,
+ "id": 579,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -16102,7 +16452,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 288,
"character": 2
}
],
@@ -16112,7 +16462,7 @@
}
},
{
- "id": 432,
+ "id": 574,
"name": "email_change_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -16122,7 +16472,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 225,
+ "line": 283,
"character": 2
}
],
@@ -16132,7 +16482,7 @@
}
},
{
- "id": 441,
+ "id": 583,
"name": "email_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -16142,7 +16492,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 234,
+ "line": 292,
"character": 2
}
],
@@ -16152,7 +16502,7 @@
}
},
{
- "id": 447,
+ "id": 589,
"name": "factors",
"kind": 1024,
"kindString": "Property",
@@ -16162,7 +16512,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 298,
"character": 2
}
],
@@ -16170,13 +16520,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 411,
+ "id": 553,
"name": "Factor"
}
}
},
{
- "id": 426,
+ "id": 568,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -16184,7 +16534,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 277,
"character": 2
}
],
@@ -16194,7 +16544,7 @@
}
},
{
- "id": 446,
+ "id": 588,
"name": "identities",
"kind": 1024,
"kindString": "Property",
@@ -16204,7 +16554,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 239,
+ "line": 297,
"character": 2
}
],
@@ -16212,13 +16562,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 400,
+ "id": 542,
"name": "UserIdentity"
}
}
},
{
- "id": 435,
+ "id": 577,
"name": "invited_at",
"kind": 1024,
"kindString": "Property",
@@ -16228,7 +16578,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 228,
+ "line": 286,
"character": 2
}
],
@@ -16238,7 +16588,7 @@
}
},
{
- "id": 443,
+ "id": 585,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -16248,7 +16598,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 236,
+ "line": 294,
"character": 2
}
],
@@ -16258,7 +16608,7 @@
}
},
{
- "id": 433,
+ "id": 575,
"name": "new_email",
"kind": 1024,
"kindString": "Property",
@@ -16268,7 +16618,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 226,
+ "line": 284,
"character": 2
}
],
@@ -16278,7 +16628,7 @@
}
},
{
- "id": 434,
+ "id": 576,
"name": "new_phone",
"kind": 1024,
"kindString": "Property",
@@ -16288,7 +16638,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 227,
+ "line": 285,
"character": 2
}
],
@@ -16298,7 +16648,7 @@
}
},
{
- "id": 438,
+ "id": 580,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -16308,7 +16658,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 231,
+ "line": 289,
"character": 2
}
],
@@ -16318,7 +16668,7 @@
}
},
{
- "id": 442,
+ "id": 584,
"name": "phone_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -16328,7 +16678,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 235,
+ "line": 293,
"character": 2
}
],
@@ -16338,7 +16688,7 @@
}
},
{
- "id": 431,
+ "id": 573,
"name": "recovery_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -16348,7 +16698,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 224,
+ "line": 282,
"character": 2
}
],
@@ -16358,7 +16708,7 @@
}
},
{
- "id": 444,
+ "id": 586,
"name": "role",
"kind": 1024,
"kindString": "Property",
@@ -16368,7 +16718,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 295,
"character": 2
}
],
@@ -16378,7 +16728,7 @@
}
},
{
- "id": 445,
+ "id": 587,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -16388,7 +16738,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 238,
+ "line": 296,
"character": 2
}
],
@@ -16398,7 +16748,7 @@
}
},
{
- "id": 428,
+ "id": 570,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -16406,16 +16756,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 221,
+ "line": 279,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 422,
+ "id": 564,
"name": "UserMetadata",
"dereferenced": {
- "id": 422,
+ "id": 564,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -16423,19 +16773,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 214,
+ "line": 272,
"character": 17
}
],
"indexSignature": {
- "id": 423,
+ "id": 565,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 424,
+ "id": 566,
"name": "key",
"kind": 32768,
"flags": {},
@@ -16459,35 +16809,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 436,
- 427,
- 429,
- 430,
- 440,
- 439,
- 437,
- 432,
- 441,
- 447,
- 426,
- 446,
- 435,
- 443,
- 433,
- 434,
- 438,
- 442,
- 431,
- 444,
- 445,
- 428
+ 578, 569, 571, 572, 582, 581, 579, 574, 583, 589, 568, 588, 577, 585, 575, 576,
+ 580, 584, 573, 586, 587, 570
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 218,
+ "line": 276,
"character": 17
}
]
@@ -16499,35 +16829,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 391,
- 394,
- 393,
- 390,
- 389,
- 392,
- 395,
- 396
- ]
+ "children": [533, 536, 535, 532, 531, 534, 537, 538]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 121,
+ "line": 179,
"character": 17
}
]
},
{
- "id": 464,
+ "id": 606,
"name": "Subscription",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 465,
+ "id": 607,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -16538,7 +16859,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 329,
+ "line": 387,
"character": 2
}
],
@@ -16548,7 +16869,7 @@
}
},
{
- "id": 466,
+ "id": 608,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -16556,13 +16877,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 333,
+ "line": 391,
"character": 2
}
],
"signatures": [
{
- "id": 467,
+ "id": 609,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -16572,17 +16893,17 @@
},
"parameters": [
{
- "id": 468,
+ "id": 610,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 327,
+ "id": 430,
"name": "AuthChangeEvent",
"dereferenced": {
- "id": 327,
+ "id": 430,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -16590,7 +16911,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 26,
+ "line": 28,
"character": 12
}
],
@@ -16622,7 +16943,7 @@
"value": "USER_UPDATED"
},
{
- "id": 326,
+ "id": 429,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -16630,7 +16951,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 12
}
],
@@ -16645,7 +16966,7 @@
}
},
{
- "id": 469,
+ "id": 611,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -16659,7 +16980,7 @@
},
{
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
}
]
@@ -16674,7 +16995,7 @@
]
},
{
- "id": 470,
+ "id": 612,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -16682,13 +17003,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 337,
+ "line": 395,
"character": 2
}
],
"signatures": [
{
- "id": 471,
+ "id": 613,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -16708,36 +17029,31 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 465
- ]
+ "children": [607]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 466,
- 470
- ]
+ "children": [608, 612]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 383,
"character": 17
}
]
},
{
- "id": 472,
+ "id": 614,
"name": "UpdatableFactorAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 473,
+ "id": 615,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -16745,7 +17061,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 341,
+ "line": 399,
"character": 2
}
],
@@ -16759,28 +17075,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 473
- ]
+ "children": [615]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 340,
+ "line": 398,
"character": 17
}
]
},
{
- "id": 425,
+ "id": 567,
"name": "User",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 436,
+ "id": 578,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -16790,7 +17104,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 229,
+ "line": 287,
"character": 2
}
],
@@ -16800,7 +17114,7 @@
}
},
{
- "id": 427,
+ "id": 569,
"name": "app_metadata",
"kind": 1024,
"kindString": "Property",
@@ -16808,23 +17122,23 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 220,
+ "line": 278,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 418,
+ "id": 560,
"name": "UserAppMetadata",
"dereferenced": {
- "id": 418,
+ "id": 560,
"name": "UserAppMetadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 419,
+ "id": 561,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -16834,7 +17148,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 210,
+ "line": 268,
"character": 2
}
],
@@ -16848,27 +17162,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 419
- ]
+ "children": [561]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 209,
+ "line": 267,
"character": 17
}
],
"indexSignature": {
- "id": 420,
+ "id": 562,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 421,
+ "id": 563,
"name": "key",
"kind": 32768,
"flags": {},
@@ -16887,7 +17199,7 @@
}
},
{
- "id": 429,
+ "id": 571,
"name": "aud",
"kind": 1024,
"kindString": "Property",
@@ -16895,7 +17207,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 222,
+ "line": 280,
"character": 2
}
],
@@ -16905,7 +17217,7 @@
}
},
{
- "id": 430,
+ "id": 572,
"name": "confirmation_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -16915,7 +17227,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 223,
+ "line": 281,
"character": 2
}
],
@@ -16925,7 +17237,7 @@
}
},
{
- "id": 440,
+ "id": 582,
"name": "confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -16935,7 +17247,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 291,
"character": 2
}
],
@@ -16945,7 +17257,7 @@
}
},
{
- "id": 439,
+ "id": 581,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -16953,7 +17265,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 232,
+ "line": 290,
"character": 2
}
],
@@ -16963,7 +17275,7 @@
}
},
{
- "id": 437,
+ "id": 579,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -16973,7 +17285,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 230,
+ "line": 288,
"character": 2
}
],
@@ -16983,7 +17295,7 @@
}
},
{
- "id": 432,
+ "id": 574,
"name": "email_change_sent_at",
"kind": 1024,
"kindString": "Property",
@@ -16993,7 +17305,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 225,
+ "line": 283,
"character": 2
}
],
@@ -17003,7 +17315,7 @@
}
},
{
- "id": 441,
+ "id": 583,
"name": "email_confirmed_at",
"kind": 1024,
"kindString": "Property",
@@ -17013,7 +17325,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 234,
+ "line": 292,
"character": 2
}
],
@@ -17023,7 +17335,7 @@
}
},
{
- "id": 447,
+ "id": 589,
"name": "factors",
"kind": 1024,
"kindString": "Property",
@@ -17033,7 +17345,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 240,
+ "line": 298,
"character": 2
}
],
@@ -17041,13 +17353,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 411,
+ "id": 553,
"name": "Factor"
}
}
},
{
- "id": 426,
+ "id": 568,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -17055,7 +17367,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 219,
+ "line": 277,
"character": 2
}
],
@@ -17065,7 +17377,7 @@
}
},
{
- "id": 446,
+ "id": 588,
"name": "identities",
"kind": 1024,
"kindString": "Property",
@@ -17075,7 +17387,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 239,
+ "line": 297,
"character": 2
}
],
@@ -17083,13 +17395,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 400,
+ "id": 542,
"name": "UserIdentity"
}
}
},
{
- "id": 435,
+ "id": 577,
"name": "invited_at",
"kind": 1024,
"kindString": "Property",
@@ -17099,7 +17411,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 228,
+ "line": 286,
"character": 2
}
],
@@ -17109,7 +17421,542 @@
}
},
{
- "id": 443,
+ "id": 585,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 294,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 575,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 284,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 576,
+ "name": "new_phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 285,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 580,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 289,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 584,
+ "name": "phone_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 293,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 573,
+ "name": "recovery_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 282,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 586,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 295,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 587,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 296,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 570,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 279,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 564,
+ "name": "UserMetadata",
+ "dereferenced": {
+ "id": 564,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 272,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 565,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 566,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 578, 569, 571, 572, 582, 581, 579, 574, 583, 589, 568, 588, 577, 585, 575, 576, 580,
+ 584, 573, 586, 587, 570
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 276,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 560,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 561,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 268,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [561]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 267,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 562,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 563,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
+ {
+ "id": 590,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 595,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 330,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 591,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 305,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 594,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The nonce sent for reauthentication if the user's password is to be updated.",
+ "text": "Call reauthenticate() to obtain the nonce first.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 322,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 593,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 315,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 592,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 310,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [595, 591, 594, 593, 592]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 542,
+ "name": "UserIdentity",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 550,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 235,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 543,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 545,
+ "name": "identity_data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 546,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 547,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 548,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 551,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
@@ -17129,17 +17976,15 @@
}
},
{
- "id": 433,
- "name": "new_email",
+ "id": 549,
+ "name": "provider",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 226,
+ "line": 234,
"character": 2
}
],
@@ -17149,88 +17994,8 @@
}
},
{
- "id": 434,
- "name": "new_phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 227,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 438,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 231,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 442,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 235,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 431,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 224,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 444,
- "name": "role",
+ "id": 552,
+ "name": "updated_at",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -17249,488 +18014,7 @@
}
},
{
- "id": 445,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 238,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 428,
- "name": "user_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 422,
- "name": "UserMetadata",
- "dereferenced": {
- "id": 422,
- "name": "UserMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 214,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 423,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 424,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 436,
- 427,
- 429,
- 430,
- 440,
- 439,
- 437,
- 432,
- 441,
- 447,
- 426,
- 446,
- 435,
- 443,
- 433,
- 434,
- 438,
- 442,
- 431,
- 444,
- 445,
- 428
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 218,
- "character": 17
- }
- ]
- },
- {
- "id": 418,
- "name": "UserAppMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 419,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 210,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 419
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 209,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 420,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 421,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 448,
- "name": "UserAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 453,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 272,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 449,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 452,
- "name": "nonce",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The nonce sent for reauthentication if the user's password is to be updated.",
- "text": "Call reauthenticate() to obtain the nonce first.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 264,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 451,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 257,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 450,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 252,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 453,
- 449,
- 452,
- 451,
- 450
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 243,
- "character": 17
- }
- ]
- },
- {
- "id": 400,
- "name": "UserIdentity",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 408,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 177,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 401,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 171,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 403,
- "name": "identity_data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 173,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 404,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 405,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 406,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 409,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 178,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 407,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 176,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 410,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 179,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 402,
+ "id": 544,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -17738,7 +18022,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 172,
+ "line": 230,
"character": 2
}
],
@@ -17752,27 +18036,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 408,
- 401,
- 403,
- 409,
- 407,
- 410,
- 402
- ]
+ "children": [550, 543, 545, 551, 549, 552, 544]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 170,
+ "line": 228,
"character": 17
}
]
},
{
- "id": 422,
+ "id": 564,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -17780,19 +18056,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 214,
+ "line": 272,
"character": 17
}
],
"indexSignature": {
- "id": 423,
+ "id": 565,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 424,
+ "id": 566,
"name": "key",
"kind": 32768,
"flags": {},
@@ -17809,14 +18085,14 @@
}
},
{
- "id": 552,
+ "id": 695,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 553,
+ "id": 696,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -17827,7 +18103,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 500,
+ "line": 558,
"character": 2
}
],
@@ -17837,7 +18113,7 @@
}
},
{
- "id": 556,
+ "id": 699,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -17847,21 +18123,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 563,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 557,
+ "id": 700,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 559,
+ "id": 702,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -17869,12 +18145,18 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site.",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "\n"
+ }
+ ]
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 509,
+ "line": 571,
"character": 4
}
],
@@ -17884,7 +18166,7 @@
}
},
{
- "id": 558,
+ "id": 701,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -17897,7 +18179,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 565,
"character": 4
}
],
@@ -17911,17 +18193,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 559,
- 558
- ]
+ "children": [702, 701]
}
]
}
}
},
{
- "id": 554,
+ "id": 697,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -17932,7 +18211,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 502,
+ "line": 560,
"character": 2
}
],
@@ -17942,7 +18221,7 @@
}
},
{
- "id": 555,
+ "id": 698,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -17953,16 +18232,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 562,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"dereferenced": {
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -17970,7 +18249,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 584,
"character": 12
}
],
@@ -18011,31 +18290,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 553,
- 556,
- 554,
- 555
- ]
+ "children": [696, 699, 697, 698]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 498,
+ "line": 556,
"character": 17
}
]
},
{
- "id": 544,
+ "id": 687,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 548,
+ "id": 691,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -18045,21 +18319,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 544,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 692,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 551,
+ "id": 694,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -18078,7 +18352,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 495,
+ "line": 553,
"character": 4
}
],
@@ -18088,7 +18362,7 @@
}
},
{
- "id": 550,
+ "id": 693,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -18101,7 +18375,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 488,
+ "line": 546,
"character": 4
}
],
@@ -18115,17 +18389,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 551,
- 550
- ]
+ "children": [694, 693]
}
]
}
}
},
{
- "id": 545,
+ "id": 688,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -18136,7 +18407,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 481,
+ "line": 539,
"character": 2
}
],
@@ -18146,7 +18417,7 @@
}
},
{
- "id": 546,
+ "id": 689,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -18157,7 +18428,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 541,
"character": 2
}
],
@@ -18167,7 +18438,7 @@
}
},
{
- "id": 547,
+ "id": 690,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -18178,16 +18449,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 485,
+ "line": 543,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"dereferenced": {
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -18195,7 +18466,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 513,
+ "line": 583,
"character": 12
}
],
@@ -18220,24 +18491,128 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 548,
- 545,
- 546,
- 547
- ]
+ "children": [691, 688, 689, 690]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 537,
"character": 17
}
]
},
{
- "id": 327,
+ "id": 703,
+ "name": "VerifyTokenHashParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 704,
+ "name": "token_hash",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The token hash used in an email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 577,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 705,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 580,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 707,
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 707,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 584,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [704, 705]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 575,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 430,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -18245,7 +18620,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 26,
+ "line": 28,
"character": 12
}
],
@@ -18277,7 +18652,7 @@
"value": "USER_UPDATED"
},
{
- "id": 326,
+ "id": 429,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -18285,7 +18660,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 12
}
],
@@ -18298,7 +18673,7 @@
}
},
{
- "id": 326,
+ "id": 429,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -18306,7 +18681,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 12
}
],
@@ -18316,7 +18691,7 @@
}
},
{
- "id": 522,
+ "id": 664,
"name": "AuthFlowType",
"kind": 4194304,
"kindString": "Type alias",
@@ -18324,7 +18699,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 447,
+ "line": 505,
"character": 12
}
],
@@ -18343,7 +18718,7 @@
}
},
{
- "id": 753,
+ "id": 900,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -18359,21 +18734,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 754,
+ "id": 901,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 755,
+ "id": 902,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -18384,7 +18759,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 896,
+ "line": 968,
"character": 2
}
],
@@ -18394,7 +18769,7 @@
}
},
{
- "id": 756,
+ "id": 903,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -18405,7 +18780,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 899,
+ "line": 971,
"character": 2
}
],
@@ -18419,16 +18794,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 755,
- 756
- ]
+ "children": [902, 903]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 894,
+ "line": 966,
"character": 45
}
]
@@ -18436,7 +18808,7 @@
}
},
{
- "id": 744,
+ "id": 891,
"name": "AuthMFAAdminDeleteFactorResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -18452,7 +18824,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 881,
+ "line": 953,
"character": 12
}
],
@@ -18462,14 +18834,14 @@
{
"type": "reflection",
"declaration": {
- "id": 745,
+ "id": 892,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 746,
+ "id": 893,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -18477,21 +18849,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 883,
+ "line": 955,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 747,
+ "id": 894,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 748,
+ "id": 895,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -18502,7 +18874,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 885,
+ "line": 957,
"character": 8
}
],
@@ -18516,15 +18888,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 748
- ]
+ "children": [895]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 883,
+ "line": 955,
"character": 12
}
]
@@ -18532,7 +18902,7 @@
}
},
{
- "id": 749,
+ "id": 896,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -18540,7 +18910,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 887,
+ "line": 959,
"character": 6
}
],
@@ -18554,16 +18924,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 746,
- 749
- ]
+ "children": [893, 896]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 882,
+ "line": 954,
"character": 4
}
]
@@ -18572,14 +18939,14 @@
{
"type": "reflection",
"declaration": {
- "id": 750,
+ "id": 897,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 751,
+ "id": 898,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -18587,7 +18954,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 889,
+ "line": 961,
"character": 6
}
],
@@ -18597,7 +18964,7 @@
}
},
{
- "id": 752,
+ "id": 899,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -18605,13 +18972,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 889,
+ "line": 961,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -18620,16 +18987,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 751,
- 752
- ]
+ "children": [898, 899]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 889,
+ "line": 961,
"character": 4
}
]
@@ -18639,7 +19003,7 @@
}
},
{
- "id": 766,
+ "id": 913,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -18655,21 +19019,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 767,
+ "id": 914,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 768,
+ "id": 915,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -18680,7 +19044,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 920,
+ "line": 992,
"character": 2
}
],
@@ -18694,15 +19058,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 768
- ]
+ "children": [915]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 990,
"character": 44
}
]
@@ -18710,7 +19072,7 @@
}
},
{
- "id": 757,
+ "id": 904,
"name": "AuthMFAAdminListFactorsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -18726,7 +19088,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 905,
+ "line": 977,
"character": 12
}
],
@@ -18736,14 +19098,14 @@
{
"type": "reflection",
"declaration": {
- "id": 758,
+ "id": 905,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 759,
+ "id": 906,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -18751,21 +19113,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 907,
+ "line": 979,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 760,
+ "id": 907,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 761,
+ "id": 908,
"name": "factors",
"kind": 1024,
"kindString": "Property",
@@ -18776,7 +19138,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 909,
+ "line": 981,
"character": 8
}
],
@@ -18784,7 +19146,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 411,
+ "id": 553,
"name": "Factor"
}
}
@@ -18794,15 +19156,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 761
- ]
+ "children": [908]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 907,
+ "line": 979,
"character": 12
}
]
@@ -18810,7 +19170,7 @@
}
},
{
- "id": 762,
+ "id": 909,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -18818,7 +19178,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 911,
+ "line": 983,
"character": 6
}
],
@@ -18832,16 +19192,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 759,
- 762
- ]
+ "children": [906, 909]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 906,
+ "line": 978,
"character": 4
}
]
@@ -18850,14 +19207,14 @@
{
"type": "reflection",
"declaration": {
- "id": 763,
+ "id": 910,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 764,
+ "id": 911,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -18865,7 +19222,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 913,
+ "line": 985,
"character": 6
}
],
@@ -18875,7 +19232,7 @@
}
},
{
- "id": 765,
+ "id": 912,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -18883,13 +19240,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 913,
+ "line": 985,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -18898,16 +19255,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 764,
- 765
- ]
+ "children": [911, 912]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 913,
+ "line": 985,
"character": 4
}
]
@@ -18917,7 +19271,7 @@
}
},
{
- "id": 692,
+ "id": 839,
"name": "AuthMFAChallengeResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -18925,7 +19279,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 758,
+ "line": 830,
"character": 12
}
],
@@ -18935,14 +19289,14 @@
{
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 840,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 841,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -18950,21 +19304,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 760,
+ "line": 832,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 695,
+ "id": 842,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 697,
+ "id": 844,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -18975,7 +19329,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 765,
+ "line": 837,
"character": 8
}
],
@@ -18985,7 +19339,7 @@
}
},
{
- "id": 696,
+ "id": 843,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -18996,7 +19350,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 762,
+ "line": 834,
"character": 8
}
],
@@ -19010,16 +19364,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 697,
- 696
- ]
+ "children": [844, 843]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 760,
+ "line": 832,
"character": 12
}
]
@@ -19027,7 +19378,7 @@
}
},
{
- "id": 698,
+ "id": 845,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19035,7 +19386,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 767,
+ "line": 839,
"character": 6
}
],
@@ -19049,16 +19400,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 694,
- 698
- ]
+ "children": [841, 845]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 759,
+ "line": 831,
"character": 4
}
]
@@ -19067,14 +19415,14 @@
{
"type": "reflection",
"declaration": {
- "id": 699,
+ "id": 846,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 700,
+ "id": 847,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19082,7 +19430,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 769,
+ "line": 841,
"character": 6
}
],
@@ -19092,7 +19440,7 @@
}
},
{
- "id": 701,
+ "id": 848,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19100,13 +19448,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 769,
+ "line": 841,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -19115,16 +19463,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 700,
- 701
- ]
+ "children": [847, 848]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 769,
+ "line": 841,
"character": 4
}
]
@@ -19134,7 +19479,7 @@
}
},
{
- "id": 668,
+ "id": 815,
"name": "AuthMFAEnrollResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -19142,7 +19487,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 787,
"character": 12
}
],
@@ -19152,14 +19497,14 @@
{
"type": "reflection",
"declaration": {
- "id": 669,
+ "id": 816,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 670,
+ "id": 817,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19167,21 +19512,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 717,
+ "line": 789,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 671,
+ "id": 818,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 672,
+ "id": 819,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -19192,7 +19537,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 719,
+ "line": 791,
"character": 8
}
],
@@ -19202,7 +19547,7 @@
}
},
{
- "id": 674,
+ "id": 821,
"name": "totp",
"kind": 1024,
"kindString": "Property",
@@ -19213,21 +19558,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 725,
+ "line": 797,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 675,
+ "id": 822,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 676,
+ "id": 823,
"name": "qr_code",
"kind": 1024,
"kindString": "Property",
@@ -19238,7 +19583,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 729,
+ "line": 801,
"character": 10
}
],
@@ -19248,7 +19593,7 @@
}
},
{
- "id": 677,
+ "id": 824,
"name": "secret",
"kind": 1024,
"kindString": "Property",
@@ -19259,7 +19604,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 734,
+ "line": 806,
"character": 10
}
],
@@ -19269,7 +19614,7 @@
}
},
{
- "id": 678,
+ "id": 825,
"name": "uri",
"kind": 1024,
"kindString": "Property",
@@ -19280,7 +19625,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 738,
+ "line": 810,
"character": 10
}
],
@@ -19294,17 +19639,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 676,
- 677,
- 678
- ]
+ "children": [823, 824, 825]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 725,
+ "line": 797,
"character": 14
}
]
@@ -19312,7 +19653,7 @@
}
},
{
- "id": 673,
+ "id": 820,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -19323,7 +19664,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 722,
+ "line": 794,
"character": 8
}
],
@@ -19337,17 +19678,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 672,
- 674,
- 673
- ]
+ "children": [819, 821, 820]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 717,
+ "line": 789,
"character": 12
}
]
@@ -19355,7 +19692,7 @@
}
},
{
- "id": 679,
+ "id": 826,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19363,7 +19700,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 741,
+ "line": 813,
"character": 6
}
],
@@ -19377,16 +19714,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 670,
- 679
- ]
+ "children": [817, 826]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 716,
+ "line": 788,
"character": 4
}
]
@@ -19395,14 +19729,14 @@
{
"type": "reflection",
"declaration": {
- "id": 680,
+ "id": 827,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 681,
+ "id": 828,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19410,7 +19744,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 744,
+ "line": 816,
"character": 6
}
],
@@ -19420,7 +19754,7 @@
}
},
{
- "id": 682,
+ "id": 829,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19428,13 +19762,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 745,
+ "line": 817,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -19443,16 +19777,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 681,
- 682
- ]
+ "children": [828, 829]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 743,
+ "line": 815,
"character": 4
}
]
@@ -19462,7 +19793,7 @@
}
},
{
- "id": 713,
+ "id": 860,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -19470,7 +19801,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 786,
+ "line": 858,
"character": 12
}
],
@@ -19480,14 +19811,14 @@
{
"type": "reflection",
"declaration": {
- "id": 714,
+ "id": 861,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 715,
+ "id": 862,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19495,21 +19826,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 788,
+ "line": 860,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 716,
+ "id": 863,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 719,
+ "id": 866,
"name": "currentAuthenticationMethods",
"kind": 1024,
"kindString": "Property",
@@ -19520,7 +19851,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 805,
+ "line": 877,
"character": 8
}
],
@@ -19528,13 +19859,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 397,
+ "id": 539,
"name": "AMREntry"
}
}
},
{
- "id": 717,
+ "id": 864,
"name": "currentLevel",
"kind": 1024,
"kindString": "Property",
@@ -19545,7 +19876,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 790,
+ "line": 862,
"character": 8
}
],
@@ -19554,7 +19885,7 @@
"types": [
{
"type": "reference",
- "id": 712,
+ "id": 859,
"name": "AuthenticatorAssuranceLevels"
},
{
@@ -19565,7 +19896,7 @@
}
},
{
- "id": 718,
+ "id": 865,
"name": "nextLevel",
"kind": 1024,
"kindString": "Property",
@@ -19582,7 +19913,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 798,
+ "line": 870,
"character": 8
}
],
@@ -19591,7 +19922,7 @@
"types": [
{
"type": "reference",
- "id": 712,
+ "id": 859,
"name": "AuthenticatorAssuranceLevels"
},
{
@@ -19606,17 +19937,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 719,
- 717,
- 718
- ]
+ "children": [866, 864, 865]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 788,
+ "line": 860,
"character": 12
}
]
@@ -19624,7 +19951,7 @@
}
},
{
- "id": 720,
+ "id": 867,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19632,7 +19959,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 807,
+ "line": 879,
"character": 6
}
],
@@ -19646,16 +19973,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 715,
- 720
- ]
+ "children": [862, 867]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 787,
+ "line": 859,
"character": 4
}
]
@@ -19664,14 +19988,14 @@
{
"type": "reflection",
"declaration": {
- "id": 721,
+ "id": 868,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 722,
+ "id": 869,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19679,7 +20003,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 809,
+ "line": 881,
"character": 6
}
],
@@ -19689,7 +20013,7 @@
}
},
{
- "id": 723,
+ "id": 870,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19697,13 +20021,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 809,
+ "line": 881,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -19712,16 +20036,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 722,
- 723
- ]
+ "children": [869, 870]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 809,
+ "line": 881,
"character": 4
}
]
@@ -19731,7 +20052,7 @@
}
},
{
- "id": 702,
+ "id": 849,
"name": "AuthMFAListFactorsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -19739,7 +20060,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 771,
+ "line": 843,
"character": 12
}
],
@@ -19749,14 +20070,14 @@
{
"type": "reflection",
"declaration": {
- "id": 703,
+ "id": 850,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 704,
+ "id": 851,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19764,21 +20085,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 773,
+ "line": 845,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 705,
+ "id": 852,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 706,
+ "id": 853,
"name": "all",
"kind": 1024,
"kindString": "Property",
@@ -19789,7 +20110,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 775,
+ "line": 847,
"character": 8
}
],
@@ -19797,13 +20118,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 411,
+ "id": 553,
"name": "Factor"
}
}
},
{
- "id": 707,
+ "id": 854,
"name": "totp",
"kind": 1024,
"kindString": "Property",
@@ -19814,7 +20135,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 778,
+ "line": 850,
"character": 8
}
],
@@ -19822,7 +20143,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 411,
+ "id": 553,
"name": "Factor"
}
}
@@ -19832,16 +20153,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 706,
- 707
- ]
+ "children": [853, 854]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 773,
+ "line": 845,
"character": 12
}
]
@@ -19849,7 +20167,466 @@
}
},
{
- "id": 708,
+ "id": 855,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 852,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [851, 855]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 844,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 856,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 857,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 854,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 858,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 854,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [857, 858]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 854,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 830,
+ "name": "AuthMFAUnenrollResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 820,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 831,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 832,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 822,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 833,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 834,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor that was successfully unenrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 824,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [834]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 822,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 835,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 826,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [832, 835]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 821,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 836,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 837,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 828,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 838,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 828,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [837, 838]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 828,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 802,
+ "name": "AuthMFAVerifyResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 762,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 803,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 804,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 764,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 805,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 806,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "New access token (JWT) after successful verification."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 766,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 808,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Number of seconds in which the access token will expire."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 772,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 809,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Refresh token you can use to obtain new access tokens when expired."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 775,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 807,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Type of token, typically `Bearer`."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 769,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 810,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Updated user profile."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 778,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [806, 808, 809, 807, 810]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 764,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 811,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19871,16 +20648,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 704,
- 708
- ]
+ "children": [804, 811]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 772,
+ "line": 763,
"character": 4
}
]
@@ -19889,14 +20663,14 @@
{
"type": "reflection",
"declaration": {
- "id": 709,
+ "id": 812,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 710,
+ "id": 813,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19904,7 +20678,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 782,
+ "line": 783,
"character": 6
}
],
@@ -19914,7 +20688,7 @@
}
},
{
- "id": 711,
+ "id": 814,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19922,13 +20696,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 782,
- "character": 18
+ "line": 784,
+ "character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -19937,10 +20711,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 710,
- 711
- ]
+ "children": [813, 814]
}
],
"sources": [
@@ -19956,15 +20727,19 @@
}
},
{
- "id": 683,
- "name": "AuthMFAUnenrollResponse",
+ "id": 469,
+ "name": "AuthOtpResponse",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
+ "comment": {
+ "shortText": "AuthOtpResponse is returned when OTP is used.",
+ "text": "{@see AuthRsponse}\n"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 748,
+ "line": 104,
"character": 12
}
],
@@ -19974,14 +20749,14 @@
{
"type": "reflection",
"declaration": {
- "id": 684,
+ "id": 470,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 685,
+ "id": 471,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19989,500 +20764,50 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 750,
+ "line": 106,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 686,
+ "id": 472,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 687,
- "name": "id",
+ "id": 475,
+ "name": "messageId",
"kind": 1024,
"kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor that was successfully unenrolled."
+ "flags": {
+ "isOptional": true
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 752,
- "character": 8
+ "line": 106,
+ "character": 41
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 687
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 750,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 688,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 754,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 685,
- 688
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 749,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 689,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 690,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 756,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 691,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 756,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 690,
- 691
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 756,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 655,
- "name": "AuthMFAVerifyResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 690,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 656,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 657,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 692,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 658,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 659,
- "name": "access_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "New access token (JWT) after successful verification."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 694,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
}
},
{
- "id": 661,
- "name": "expires_in",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Number of seconds in which the access token will expire."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 700,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 662,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Refresh token you can use to obtain new access tokens when expired."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 703,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 660,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Type of token, typically `Bearer`."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 697,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 663,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Updated user profile."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 706,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 425,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 659,
- 661,
- 662,
- 660,
- 663
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 692,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 664,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 708,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 657,
- 664
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 691,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 665,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 666,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 711,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 667,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 712,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 804,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 666,
- 667
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 710,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 342,
- "name": "AuthResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 343,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 344,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 345,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 347,
+ "id": 474,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -20490,7 +20815,296 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 60,
+ "line": 106,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 473,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [475, 474, 473]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 476,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 107,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [471, 476]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 105,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 477,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 478,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 479,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 482,
+ "name": "messageId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 41
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 481,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 480,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [482, 481, 480]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 483,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 111,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [478, 483]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 109,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 456,
+ "name": "AuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 83,
+ "character": 12
+ }
+ ],
+ "type": {
+ "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": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 85,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 459,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 461,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
"character": 8
}
],
@@ -20499,7 +21113,7 @@
"types": [
{
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
},
{
@@ -20510,7 +21124,7 @@
}
},
{
- "id": 346,
+ "id": 460,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -20518,7 +21132,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 59,
+ "line": 86,
"character": 8
}
],
@@ -20527,7 +21141,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User"
},
{
@@ -20542,16 +21156,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 347,
- 346
- ]
+ "children": [461, 460]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 58,
+ "line": 85,
"character": 12
}
]
@@ -20559,7 +21170,7 @@
}
},
{
- "id": 348,
+ "id": 462,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -20567,7 +21178,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 62,
+ "line": 89,
"character": 6
}
],
@@ -20581,16 +21192,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 344,
- 348
- ]
+ "children": [458, 462]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 57,
+ "line": 84,
"character": 4
}
]
@@ -20599,14 +21207,14 @@
{
"type": "reflection",
"declaration": {
- "id": 349,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 350,
+ "id": 464,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -20614,21 +21222,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 65,
+ "line": 92,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 351,
+ "id": 465,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 353,
+ "id": 467,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -20636,7 +21244,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 67,
+ "line": 94,
"character": 8
}
],
@@ -20646,7 +21254,7 @@
}
},
{
- "id": 352,
+ "id": 466,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -20654,7 +21262,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 93,
"character": 8
}
],
@@ -20668,16 +21276,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 353,
- 352
- ]
+ "children": [467, 466]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 65,
+ "line": 92,
"character": 12
}
]
@@ -20685,7 +21290,7 @@
}
},
{
- "id": 354,
+ "id": 468,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -20693,13 +21298,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 69,
+ "line": 96,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -20708,16 +21313,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 350,
- 354
- ]
+ "children": [464, 468]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 64,
+ "line": 91,
"character": 4
}
]
@@ -20727,7 +21329,269 @@
}
},
{
- "id": 712,
+ "id": 484,
+ "name": "AuthTokenResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 114,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 485,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 486,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 116,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 487,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 489,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 118,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 530,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 488,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 117,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 567,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [489, 488]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 116,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 490,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 120,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [486, 490]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 115,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 491,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 492,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 123,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 493,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 495,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 125,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 494,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 124,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [495, 494]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 123,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 496,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 127,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 957,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [492, 496]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 122,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 859,
"name": "AuthenticatorAssuranceLevels",
"kind": 4194304,
"kindString": "Type alias",
@@ -20735,7 +21599,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 784,
+ "line": 856,
"character": 12
}
],
@@ -20754,7 +21618,7 @@
}
},
{
- "id": 780,
+ "id": 927,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -20762,7 +21626,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 959,
+ "line": 1031,
"character": 12
}
],
@@ -20772,14 +21636,14 @@
{
"type": "reflection",
"declaration": {
- "id": 781,
+ "id": 928,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 783,
+ "id": 930,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -20787,7 +21651,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 962,
+ "line": 1034,
"character": 6
}
],
@@ -20797,7 +21661,7 @@
}
},
{
- "id": 782,
+ "id": 929,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -20805,13 +21669,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 961,
+ "line": 1033,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 388,
+ "id": 530,
"name": "Session"
}
}
@@ -20820,16 +21684,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 783,
- 782
- ]
+ "children": [930, 929]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 960,
+ "line": 1032,
"character": 4
}
]
@@ -20838,14 +21699,14 @@
{
"type": "reflection",
"declaration": {
- "id": 784,
+ "id": 931,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 786,
+ "id": 933,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -20853,18 +21714,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 966,
+ "line": 1038,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
},
{
- "id": 785,
+ "id": 932,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -20872,7 +21733,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 965,
+ "line": 1037,
"character": 6
}
],
@@ -20886,16 +21747,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 786,
- 785
- ]
+ "children": [933, 932]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 964,
+ "line": 1036,
"character": 4
}
]
@@ -20905,7 +21763,7 @@
}
},
{
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -20913,7 +21771,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 584,
"character": 12
}
],
@@ -20948,7 +21806,7 @@
}
},
{
- "id": 604,
+ "id": 751,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -20956,21 +21814,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 605,
+ "id": 752,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 607,
+ "id": 754,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -20981,7 +21839,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 582,
+ "line": 654,
"character": 2
}
],
@@ -20991,7 +21849,7 @@
}
},
{
- "id": 608,
+ "id": 755,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -21002,7 +21860,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 658,
"character": 2
}
],
@@ -21012,7 +21870,7 @@
}
},
{
- "id": 609,
+ "id": 756,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -21022,7 +21880,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 587,
+ "line": 659,
"character": 2
}
],
@@ -21031,7 +21889,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -21045,7 +21903,7 @@
}
},
{
- "id": 606,
+ "id": 753,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -21053,7 +21911,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 652,
"character": 2
}
],
@@ -21076,18 +21934,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 607,
- 608,
- 609,
- 606
- ]
+ "children": [754, 755, 756, 753]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 44
}
]
@@ -21095,7 +21948,7 @@
}
},
{
- "id": 594,
+ "id": 741,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21103,21 +21956,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 742,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 597,
+ "id": 744,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -21128,7 +21981,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 568,
+ "line": 640,
"character": 2
}
],
@@ -21138,7 +21991,7 @@
}
},
{
- "id": 598,
+ "id": 745,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -21148,7 +22001,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 569,
+ "line": 641,
"character": 2
}
],
@@ -21157,7 +22010,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -21180,7 +22033,7 @@
}
},
{
- "id": 596,
+ "id": 743,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -21188,7 +22041,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 638,
"character": 2
}
],
@@ -21211,17 +22064,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 597,
- 598,
- 596
- ]
+ "children": [744, 745, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 46
}
]
@@ -21229,7 +22078,7 @@
}
},
{
- "id": 613,
+ "id": 760,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21237,7 +22086,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 673,
"character": 12
}
],
@@ -21245,7 +22094,7 @@
"type": "union",
"types": [
{
- "id": 588,
+ "id": 735,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21253,21 +22102,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 591,
+ "id": 738,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -21275,7 +22124,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 560,
+ "line": 632,
"character": 2
}
],
@@ -21285,7 +22134,7 @@
}
},
{
- "id": 593,
+ "id": 740,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -21295,7 +22144,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 634,
"character": 2
}
],
@@ -21304,7 +22153,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -21327,7 +22176,7 @@
}
},
{
- "id": 592,
+ "id": 739,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -21335,7 +22184,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 633,
"character": 2
}
],
@@ -21345,7 +22194,7 @@
}
},
{
- "id": 590,
+ "id": 737,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -21353,7 +22202,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 631,
"character": 2
}
],
@@ -21367,18 +22216,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 591,
- 593,
- 592,
- 590
- ]
+ "children": [738, 740, 739, 737]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 39
}
]
@@ -21386,7 +22230,7 @@
}
},
{
- "id": 594,
+ "id": 741,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21394,21 +22238,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 742,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 597,
+ "id": 744,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -21419,7 +22263,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 568,
+ "line": 640,
"character": 2
}
],
@@ -21429,7 +22273,7 @@
}
},
{
- "id": 598,
+ "id": 745,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -21439,7 +22283,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 569,
+ "line": 641,
"character": 2
}
],
@@ -21448,7 +22292,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -21471,7 +22315,7 @@
}
},
{
- "id": 596,
+ "id": 743,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -21479,7 +22323,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 638,
"character": 2
}
],
@@ -21502,17 +22346,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 597,
- 598,
- 596
- ]
+ "children": [744, 745, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 565,
+ "line": 637,
"character": 46
}
]
@@ -21520,7 +22360,7 @@
}
},
{
- "id": 599,
+ "id": 746,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21528,21 +22368,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 600,
+ "id": 747,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 602,
+ "id": 749,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -21553,7 +22393,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 647,
"character": 2
}
],
@@ -21563,7 +22403,7 @@
}
},
{
- "id": 603,
+ "id": 750,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -21573,7 +22413,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 576,
+ "line": 648,
"character": 2
}
],
@@ -21582,7 +22422,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -21596,7 +22436,7 @@
}
},
{
- "id": 601,
+ "id": 748,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -21604,7 +22444,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 573,
+ "line": 645,
"character": 2
}
],
@@ -21618,17 +22458,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 602,
- 603,
- 601
- ]
+ "children": [749, 750, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 41
}
]
@@ -21636,7 +22472,7 @@
}
},
{
- "id": 604,
+ "id": 751,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21644,21 +22480,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 605,
+ "id": 752,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 607,
+ "id": 754,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -21669,7 +22505,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 582,
+ "line": 654,
"character": 2
}
],
@@ -21679,7 +22515,7 @@
}
},
{
- "id": 608,
+ "id": 755,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -21690,7 +22526,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 658,
"character": 2
}
],
@@ -21700,7 +22536,7 @@
}
},
{
- "id": 609,
+ "id": 756,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -21710,7 +22546,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 587,
+ "line": 659,
"character": 2
}
],
@@ -21719,7 +22555,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -21733,7 +22569,7 @@
}
},
{
- "id": 606,
+ "id": 753,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -21741,7 +22577,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 652,
"character": 2
}
],
@@ -21764,18 +22600,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 607,
- 608,
- 609,
- 606
- ]
+ "children": [754, 755, 756, 753]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 579,
+ "line": 651,
"character": 44
}
]
@@ -21786,7 +22617,7 @@
}
},
{
- "id": 627,
+ "id": 774,
"name": "GenerateLinkProperties",
"kind": 4194304,
"kindString": "Type alias",
@@ -21797,21 +22628,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 696,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 628,
+ "id": 775,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 629,
+ "id": 776,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -21822,7 +22653,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 701,
"character": 2
}
],
@@ -21832,7 +22663,7 @@
}
},
{
- "id": 630,
+ "id": 777,
"name": "email_otp",
"kind": 1024,
"kindString": "Property",
@@ -21843,7 +22674,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 634,
+ "line": 706,
"character": 2
}
],
@@ -21853,7 +22684,7 @@
}
},
{
- "id": 631,
+ "id": 778,
"name": "hashed_token",
"kind": 1024,
"kindString": "Property",
@@ -21864,7 +22695,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 638,
+ "line": 710,
"character": 2
}
],
@@ -21874,7 +22705,7 @@
}
},
{
- "id": 632,
+ "id": 779,
"name": "redirect_to",
"kind": 1024,
"kindString": "Property",
@@ -21885,7 +22716,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 640,
+ "line": 712,
"character": 2
}
],
@@ -21895,7 +22726,7 @@
}
},
{
- "id": 633,
+ "id": 780,
"name": "verification_type",
"kind": 1024,
"kindString": "Property",
@@ -21906,16 +22737,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 642,
+ "line": 714,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 634,
+ "id": 781,
"name": "GenerateLinkType",
"dereferenced": {
- "id": 634,
+ "id": 781,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -21923,7 +22754,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 645,
+ "line": 717,
"character": 12
}
],
@@ -21964,19 +22795,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 629,
- 630,
- 631,
- 632,
- 633
- ]
+ "children": [776, 777, 778, 779, 780]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 696,
"character": 37
}
]
@@ -21984,7 +22809,7 @@
}
},
{
- "id": 614,
+ "id": 761,
"name": "GenerateLinkResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -21992,7 +22817,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 607,
+ "line": 679,
"character": 12
}
],
@@ -22002,14 +22827,14 @@
{
"type": "reflection",
"declaration": {
- "id": 615,
+ "id": 762,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 616,
+ "id": 763,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22017,21 +22842,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 609,
+ "line": 681,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 617,
+ "id": 764,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 618,
+ "id": 765,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -22039,18 +22864,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 682,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 627,
+ "id": 774,
"name": "GenerateLinkProperties"
}
},
{
- "id": 619,
+ "id": 766,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -22058,13 +22883,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 611,
+ "line": 683,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User"
}
}
@@ -22073,16 +22898,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 618,
- 619
- ]
+ "children": [765, 766]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 609,
+ "line": 681,
"character": 12
}
]
@@ -22090,7 +22912,7 @@
}
},
{
- "id": 620,
+ "id": 767,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -22098,7 +22920,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 685,
"character": 6
}
],
@@ -22112,16 +22934,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 616,
- 620
- ]
+ "children": [763, 767]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 680,
"character": 4
}
]
@@ -22130,14 +22949,14 @@
{
"type": "reflection",
"declaration": {
- "id": 621,
+ "id": 768,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 622,
+ "id": 769,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22145,21 +22964,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 616,
+ "line": 688,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 623,
+ "id": 770,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 624,
+ "id": 771,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -22167,7 +22986,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 617,
+ "line": 689,
"character": 8
}
],
@@ -22177,7 +22996,7 @@
}
},
{
- "id": 625,
+ "id": 772,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -22185,7 +23004,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 618,
+ "line": 690,
"character": 8
}
],
@@ -22199,16 +23018,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 624,
- 625
- ]
+ "children": [771, 772]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 616,
+ "line": 688,
"character": 12
}
]
@@ -22216,7 +23032,7 @@
}
},
{
- "id": 626,
+ "id": 773,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -22224,13 +23040,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 620,
+ "line": 692,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -22239,16 +23055,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 622,
- 626
- ]
+ "children": [769, 773]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 615,
+ "line": 687,
"character": 4
}
]
@@ -22258,7 +23071,7 @@
}
},
{
- "id": 634,
+ "id": 781,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -22266,7 +23079,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 645,
+ "line": 717,
"character": 12
}
],
@@ -22301,7 +23114,7 @@
}
},
{
- "id": 599,
+ "id": 746,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -22309,21 +23122,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 600,
+ "id": 747,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 602,
+ "id": 749,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -22334,7 +23147,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 647,
"character": 2
}
],
@@ -22344,7 +23157,7 @@
}
},
{
- "id": 603,
+ "id": 750,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -22354,7 +23167,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 576,
+ "line": 648,
"character": 2
}
],
@@ -22363,7 +23176,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -22377,7 +23190,7 @@
}
},
{
- "id": 601,
+ "id": 748,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -22385,7 +23198,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 573,
+ "line": 645,
"character": 2
}
],
@@ -22399,17 +23212,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 602,
- 603,
- 601
- ]
+ "children": [749, 750, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 572,
+ "line": 644,
"character": 41
}
]
@@ -22417,7 +23226,7 @@
}
},
{
- "id": 588,
+ "id": 735,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -22425,21 +23234,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 591,
+ "id": 738,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -22447,7 +23256,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 560,
+ "line": 632,
"character": 2
}
],
@@ -22457,7 +23266,7 @@
}
},
{
- "id": 593,
+ "id": 740,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -22467,7 +23276,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 634,
"character": 2
}
],
@@ -22476,7 +23285,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 610,
+ "id": 757,
"name": "GenerateLinkOptions"
},
{
@@ -22499,7 +23308,7 @@
}
},
{
- "id": 592,
+ "id": 739,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -22507,7 +23316,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 633,
"character": 2
}
],
@@ -22517,7 +23326,7 @@
}
},
{
- "id": 590,
+ "id": 737,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -22525,7 +23334,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 631,
"character": 2
}
],
@@ -22539,18 +23348,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 591,
- 593,
- 592,
- 590
- ]
+ "children": [738, 740, 739, 737]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 558,
+ "line": 630,
"character": 39
}
]
@@ -22558,7 +23362,7 @@
}
},
{
- "id": 328,
+ "id": 440,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -22566,21 +23370,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 54,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 329,
+ "id": 441,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 337,
+ "id": 449,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -22590,7 +23394,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 45,
+ "line": 64,
"character": 2
}
],
@@ -22600,7 +23404,27 @@
}
},
{
- "id": 336,
+ "id": 454,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 448,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -22610,7 +23434,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 43,
+ "line": 62,
"character": 2
}
],
@@ -22620,7 +23444,7 @@
}
},
{
- "id": 340,
+ "id": 452,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -22630,7 +23454,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 70,
"character": 2
}
],
@@ -22640,7 +23464,7 @@
}
},
{
- "id": 341,
+ "id": 453,
"name": "flowType",
"kind": 1024,
"kindString": "Property",
@@ -22650,16 +23474,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 53,
+ "line": 72,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 522,
+ "id": 664,
"name": "AuthFlowType",
"dereferenced": {
- "id": 522,
+ "id": 664,
"name": "AuthFlowType",
"kind": 4194304,
"kindString": "Type alias",
@@ -22667,7 +23491,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 447,
+ "line": 505,
"character": 12
}
],
@@ -22688,7 +23512,7 @@
}
},
{
- "id": 331,
+ "id": 443,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -22698,14 +23522,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 58,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 444,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -22713,19 +23537,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 58,
"character": 12
}
],
"indexSignature": {
- "id": 333,
+ "id": 445,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 334,
+ "id": 446,
"name": "key",
"kind": 32768,
"flags": {},
@@ -22744,7 +23568,187 @@
}
},
{
- "id": 338,
+ "id": 455,
+ "name": "lock",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Provide your own locking mechanism based on the environment. By default no locking is done at this time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 431,
+ "name": "LockFunc",
+ "dereferenced": {
+ "id": 431,
+ "name": "LockFunc",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 433,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n`fn` async function, such that no other client instances will be able to\nhold it at the same time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 439,
+ "name": "R",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 434,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Name of the lock to be acquired."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "acquireTimeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If negative, no timeout should occur. If positive it\n should throw an Error with an `isAcquireTimeout`\n property set to true if the operation fails to be\n acquired after this much time (ms)."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 436,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operation to execute when the lock is acquired.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 437,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 69
+ }
+ ],
+ "signatures": [
+ {
+ "id": 438,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 450,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -22754,7 +23758,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 66,
"character": 2
}
],
@@ -22764,7 +23768,7 @@
}
},
{
- "id": 339,
+ "id": 451,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -22774,16 +23778,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 68,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 776,
+ "id": 923,
"name": "SupportedStorage",
"dereferenced": {
- "id": 776,
+ "id": 923,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -22791,7 +23795,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 955,
+ "line": 1027,
"character": 12
}
],
@@ -22836,7 +23840,7 @@
}
},
{
- "id": 335,
+ "id": 447,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -22846,7 +23850,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 60,
"character": 2
}
],
@@ -22856,7 +23860,7 @@
}
},
{
- "id": 330,
+ "id": 442,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -22866,7 +23870,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 37,
+ "line": 56,
"character": 2
}
],
@@ -22880,23 +23884,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 337,
- 336,
- 340,
- 341,
- 331,
- 338,
- 339,
- 335,
- 330
- ]
+ "children": [449, 454, 448, 452, 453, 443, 455, 450, 451, 447, 442]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 54,
"character": 34
}
]
@@ -22904,7 +23898,7 @@
}
},
{
- "id": 777,
+ "id": 924,
"name": "InitializeResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -22912,21 +23906,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 957,
+ "line": 1029,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 778,
+ "id": 925,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 779,
+ "id": 926,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -22934,7 +23928,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 957,
+ "line": 1029,
"character": 33
}
],
@@ -22943,7 +23937,7 @@
"types": [
{
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
},
{
@@ -22958,15 +23952,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 779
- ]
+ "children": [926]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 957,
+ "line": 1029,
"character": 31
}
]
@@ -22974,7 +23966,157 @@
}
},
{
- "id": 651,
+ "id": 431,
+ "name": "LockFunc",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 433,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n`fn` async function, such that no other client instances will be able to\nhold it at the same time.",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 439,
+ "name": "R",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 434,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Name of the lock to be acquired."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "acquireTimeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If negative, no timeout should occur. If positive it\n should throw an Error with an `isAcquireTimeout`\n property set to true if the operation fails to be\n acquired after this much time (ms)."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 436,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operation to execute when the lock is acquired.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 437,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 69
+ }
+ ],
+ "signatures": [
+ {
+ "id": 438,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 439,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 798,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -22982,21 +24124,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 652,
+ "id": 799,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 654,
+ "id": 801,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -23007,7 +24149,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 687,
+ "line": 759,
"character": 2
}
],
@@ -23017,7 +24159,7 @@
}
},
{
- "id": 653,
+ "id": 800,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -23028,7 +24170,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 685,
+ "line": 757,
"character": 2
}
],
@@ -23042,16 +24184,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 654,
- 653
- ]
+ "children": [801, 800]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 683,
+ "line": 755,
"character": 42
}
]
@@ -23059,7 +24198,7 @@
}
},
{
- "id": 648,
+ "id": 795,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -23067,21 +24206,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 649,
+ "id": 796,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 650,
+ "id": 797,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -23092,7 +24231,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 680,
+ "line": 752,
"character": 2
}
],
@@ -23106,15 +24245,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 650
- ]
+ "children": [797]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 678,
+ "line": 750,
"character": 33
}
]
@@ -23122,7 +24259,7 @@
}
},
{
- "id": 635,
+ "id": 782,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -23130,21 +24267,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 636,
+ "id": 783,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 637,
+ "id": 784,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -23155,7 +24292,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 655,
+ "line": 727,
"character": 2
}
],
@@ -23165,7 +24302,7 @@
}
},
{
- "id": 639,
+ "id": 786,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -23178,7 +24315,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 659,
+ "line": 731,
"character": 2
}
],
@@ -23188,7 +24325,7 @@
}
},
{
- "id": 638,
+ "id": 785,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -23201,7 +24338,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 729,
"character": 2
}
],
@@ -23215,17 +24352,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 637,
- 639,
- 638
- ]
+ "children": [784, 786, 785]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 725,
"character": 30
}
]
@@ -23233,7 +24366,7 @@
}
},
{
- "id": 640,
+ "id": 787,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -23241,21 +24374,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 641,
+ "id": 788,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 642,
+ "id": 789,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -23266,7 +24399,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 664,
+ "line": 736,
"character": 2
}
],
@@ -23280,15 +24413,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 642
- ]
+ "children": [789]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 734,
"character": 32
}
]
@@ -23296,7 +24427,7 @@
}
},
{
- "id": 643,
+ "id": 790,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -23304,21 +24435,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 644,
+ "id": 791,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 646,
+ "id": 793,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -23329,7 +24460,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 672,
+ "line": 744,
"character": 2
}
],
@@ -23339,7 +24470,7 @@
}
},
{
- "id": 647,
+ "id": 794,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -23350,7 +24481,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 747,
"character": 2
}
],
@@ -23360,7 +24491,7 @@
}
},
{
- "id": 645,
+ "id": 792,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -23371,7 +24502,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 669,
+ "line": 741,
"character": 2
}
],
@@ -23385,17 +24516,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 646,
- 647,
- 645
- ]
+ "children": [793, 794, 792]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 667,
+ "line": 739,
"character": 30
}
]
@@ -23403,7 +24530,7 @@
}
},
{
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -23411,7 +24538,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 513,
+ "line": 583,
"character": 12
}
],
@@ -23430,7 +24557,7 @@
}
},
{
- "id": 355,
+ "id": 497,
"name": "OAuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -23438,7 +24565,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
+ "line": 130,
"character": 12
}
],
@@ -23448,14 +24575,14 @@
{
"type": "reflection",
"declaration": {
- "id": 356,
+ "id": 498,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 499,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23463,21 +24590,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 74,
+ "line": 132,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 358,
+ "id": 500,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 359,
+ "id": 501,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -23485,18 +24612,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 75,
+ "line": 133,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 325,
+ "id": 428,
"name": "Provider"
}
},
{
- "id": 360,
+ "id": 502,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -23504,7 +24631,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 134,
"character": 8
}
],
@@ -23518,16 +24645,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 359,
- 360
- ]
+ "children": [501, 502]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 74,
+ "line": 132,
"character": 12
}
]
@@ -23535,7 +24659,7 @@
}
},
{
- "id": 361,
+ "id": 503,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23543,7 +24667,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 78,
+ "line": 136,
"character": 6
}
],
@@ -23557,16 +24681,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 357,
- 361
- ]
+ "children": [499, 503]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 131,
"character": 4
}
]
@@ -23575,14 +24696,14 @@
{
"type": "reflection",
"declaration": {
- "id": 362,
+ "id": 504,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 363,
+ "id": 505,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23590,21 +24711,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 81,
+ "line": 139,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 364,
+ "id": 506,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 365,
+ "id": 507,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -23612,18 +24733,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 82,
+ "line": 140,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 325,
+ "id": 428,
"name": "Provider"
}
},
{
- "id": 366,
+ "id": 508,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -23631,7 +24752,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 83,
+ "line": 141,
"character": 8
}
],
@@ -23645,16 +24766,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 365,
- 366
- ]
+ "children": [507, 508]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 81,
+ "line": 139,
"character": 12
}
]
@@ -23662,7 +24780,7 @@
}
},
{
- "id": 367,
+ "id": 509,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23670,13 +24788,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 85,
+ "line": 143,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -23685,16 +24803,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 363,
- 367
- ]
+ "children": [505, 509]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 138,
"character": 4
}
]
@@ -23704,7 +24819,7 @@
}
},
{
- "id": 794,
+ "id": 941,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -23712,21 +24827,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 795,
+ "id": 942,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 796,
+ "id": 943,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -23739,7 +24854,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 978,
+ "line": 1050,
"character": 2
}
],
@@ -23749,7 +24864,7 @@
}
},
{
- "id": 797,
+ "id": 944,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -23762,7 +24877,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 980,
+ "line": 1052,
"character": 2
}
],
@@ -23776,16 +24891,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 796,
- 797
- ]
+ "children": [943, 944]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 976,
+ "line": 1048,
"character": 25
}
]
@@ -23793,7 +24905,7 @@
}
},
{
- "id": 787,
+ "id": 934,
"name": "Pagination",
"kind": 4194304,
"kindString": "Type alias",
@@ -23801,21 +24913,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 969,
+ "line": 1041,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 788,
+ "id": 935,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 790,
+ "id": 937,
"name": "lastPage",
"kind": 1024,
"kindString": "Property",
@@ -23823,7 +24935,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 972,
+ "line": 1044,
"character": 2
}
],
@@ -23833,7 +24945,7 @@
}
},
{
- "id": 789,
+ "id": 936,
"name": "nextPage",
"kind": 1024,
"kindString": "Property",
@@ -23841,7 +24953,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 971,
+ "line": 1043,
"character": 2
}
],
@@ -23860,7 +24972,7 @@
}
},
{
- "id": 791,
+ "id": 938,
"name": "total",
"kind": 1024,
"kindString": "Property",
@@ -23868,7 +24980,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 973,
+ "line": 1045,
"character": 2
}
],
@@ -23882,29 +24994,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 790,
- 789,
- 791
- ]
+ "children": [937, 936, 938]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 969,
+ "line": 1041,
"character": 25
}
],
"indexSignature": {
- "id": 792,
+ "id": 939,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 793,
+ "id": 940,
"name": "key",
"kind": 32768,
"flags": {},
@@ -23923,7 +25031,7 @@
}
},
{
- "id": 325,
+ "id": 428,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -23961,6 +25069,10 @@
"type": "literal",
"value": "facebook"
},
+ {
+ "type": "literal",
+ "value": "figma"
+ },
{
"type": "literal",
"value": "github"
@@ -23973,6 +25085,10 @@
"type": "literal",
"value": "google"
},
+ {
+ "type": "literal",
+ "value": "kakao"
+ },
{
"type": "literal",
"value": "keycloak"
@@ -24013,7 +25129,7 @@
}
},
{
- "id": 562,
+ "id": 708,
"name": "ResendParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -24021,7 +25137,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 516,
+ "line": 586,
"character": 12
}
],
@@ -24031,14 +25147,14 @@
{
"type": "reflection",
"declaration": {
- "id": 563,
+ "id": 709,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 565,
+ "id": 711,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -24046,7 +25162,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 589,
"character": 6
}
],
@@ -24056,7 +25172,7 @@
}
},
{
- "id": 566,
+ "id": 712,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -24066,21 +25182,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 520,
+ "line": 590,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 567,
+ "id": 713,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 568,
+ "id": 715,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -24093,7 +25209,30 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 594,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 714,
+ "name": "emailRedirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 592,
"character": 8
}
],
@@ -24107,15 +25246,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 568
- ]
+ "children": [715, 714]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 520,
+ "line": 590,
"character": 16
}
]
@@ -24123,7 +25260,7 @@
}
},
{
- "id": 564,
+ "id": 710,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -24131,7 +25268,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 588,
"character": 6
}
],
@@ -24140,7 +25277,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 561,
+ "id": 707,
"name": "EmailOtpType"
},
{
@@ -24167,17 +25304,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 565,
- 566,
- 564
- ]
+ "children": [711, 712, 710]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 517,
+ "line": 587,
"character": 4
}
]
@@ -24186,14 +25319,14 @@
{
"type": "reflection",
"declaration": {
- "id": 569,
+ "id": 716,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 572,
+ "id": 719,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -24203,21 +25336,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 600,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 573,
+ "id": 720,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 574,
+ "id": 721,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -24230,7 +25363,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 530,
+ "line": 602,
"character": 8
}
],
@@ -24244,15 +25377,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 574
- ]
+ "children": [721]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 600,
"character": 16
}
]
@@ -24260,7 +25391,7 @@
}
},
{
- "id": 571,
+ "id": 718,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -24268,7 +25399,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 527,
+ "line": 599,
"character": 6
}
],
@@ -24278,7 +25409,7 @@
}
},
{
- "id": 570,
+ "id": 717,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -24286,7 +25417,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 598,
"character": 6
}
],
@@ -24295,7 +25426,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 560,
+ "id": 706,
"name": "MobileOtpType"
},
{
@@ -24322,17 +25453,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 572,
- 571,
- 570
- ]
+ "children": [719, 718, 717]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 597,
"character": 4
}
]
@@ -24342,7 +25469,7 @@
}
},
{
- "id": 368,
+ "id": 510,
"name": "SSOResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -24350,7 +25477,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 88,
+ "line": 146,
"character": 12
}
],
@@ -24360,14 +25487,14 @@
{
"type": "reflection",
"declaration": {
- "id": 369,
+ "id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 370,
+ "id": 512,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -24375,21 +25502,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 90,
+ "line": 148,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 371,
+ "id": 513,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 372,
+ "id": 514,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -24401,7 +25528,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 98,
+ "line": 156,
"character": 8
}
],
@@ -24415,15 +25542,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 372
- ]
+ "children": [514]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 90,
+ "line": 148,
"character": 12
}
]
@@ -24431,7 +25556,7 @@
}
},
{
- "id": 373,
+ "id": 515,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24439,7 +25564,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 100,
+ "line": 158,
"character": 6
}
],
@@ -24453,16 +25578,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 370,
- 373
- ]
+ "children": [512, 515]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 89,
+ "line": 147,
"character": 4
}
]
@@ -24471,14 +25593,14 @@
{
"type": "reflection",
"declaration": {
- "id": 374,
+ "id": 516,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 517,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -24486,7 +25608,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 103,
+ "line": 161,
"character": 6
}
],
@@ -24496,7 +25618,7 @@
}
},
{
- "id": 376,
+ "id": 518,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24504,13 +25626,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 104,
+ "line": 162,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -24519,16 +25641,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 375,
- 376
- ]
+ "children": [517, 518]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 160,
"character": 4
}
]
@@ -24538,7 +25657,7 @@
}
},
{
- "id": 535,
+ "id": 677,
"name": "SignInWithIdTokenCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -24546,34 +25665,34 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 463,
+ "line": 521,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 536,
+ "id": 678,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 539,
- "name": "nonce",
+ "id": 681,
+ "name": "access_token",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "If the ID token contains a `nonce`, then the hash of this value is compared to the value in the ID token."
+ "shortText": "If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 471,
+ "line": 527,
"character": 2
}
],
@@ -24583,7 +25702,30 @@
}
},
{
- "id": 540,
+ "id": 682,
+ "name": "nonce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 529,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 683,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -24593,21 +25735,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 530,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 541,
+ "id": 684,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 542,
+ "id": 685,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -24620,7 +25762,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 532,
"character": 4
}
],
@@ -24634,15 +25776,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 542
- ]
+ "children": [685]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 530,
"character": 12
}
]
@@ -24650,18 +25790,18 @@
}
},
{
- "id": 537,
+ "id": 679,
"name": "provider",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "Only Apple and Google ID tokens are supported for use from within iOS or Android applications."
+ "shortText": "Provider name or OIDC `iss` value identifying which provider should be used to verify the provided token. Supported names: `google`, `apple`, `azure`, `facebook`, `keycloak` (deprecated)."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 467,
+ "line": 523,
"character": 2
}
],
@@ -24675,23 +25815,35 @@
{
"type": "literal",
"value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
}
]
}
},
{
- "id": 538,
+ "id": 680,
"name": "token",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID token issued by Apple or Google."
+ "shortText": "OIDC ID token issued by the specified provider. The `iss` claim in the ID token must match the supplied provider. Some ID tokens contain an `at_hash` which require that you provide an `access_token` value to be accepted properly. If the token contains a `nonce` claim you must supply the nonce used to obtain the ID token."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 469,
+ "line": 525,
"character": 2
}
],
@@ -24705,18 +25857,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 539,
- 540,
- 537,
- 538
- ]
+ "children": [681, 682, 683, 679, 680]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 463,
+ "line": 521,
"character": 43
}
]
@@ -24724,7 +25871,7 @@
}
},
{
- "id": 523,
+ "id": 665,
"name": "SignInWithOAuthCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -24732,21 +25879,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 506,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 524,
+ "id": 666,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 526,
+ "id": 668,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -24756,21 +25903,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 509,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 527,
+ "id": 669,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 672,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -24783,14 +25930,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 457,
+ "line": 515,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 531,
+ "id": 673,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -24798,19 +25945,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 457,
+ "line": 515,
"character": 18
}
],
"indexSignature": {
- "id": 532,
+ "id": 674,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 533,
+ "id": 675,
"name": "key",
"kind": 32768,
"flags": {},
@@ -24829,7 +25976,7 @@
}
},
{
- "id": 528,
+ "id": 670,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -24842,7 +25989,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 511,
"character": 4
}
],
@@ -24852,7 +25999,7 @@
}
},
{
- "id": 529,
+ "id": 671,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -24865,7 +26012,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 513,
"character": 4
}
],
@@ -24875,7 +26022,7 @@
}
},
{
- "id": 534,
+ "id": 676,
"name": "skipBrowserRedirect",
"kind": 1024,
"kindString": "Property",
@@ -24888,7 +26035,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 459,
+ "line": 517,
"character": 4
}
],
@@ -24902,18 +26049,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 530,
- 528,
- 529,
- 534
- ]
+ "children": [672, 670, 671, 676]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 509,
"character": 12
}
]
@@ -24921,7 +26063,7 @@
}
},
{
- "id": 525,
+ "id": 667,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -24932,16 +26074,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 450,
+ "line": 508,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 325,
+ "id": 428,
"name": "Provider",
"dereferenced": {
- "id": 325,
+ "id": 428,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -24979,6 +26121,10 @@
"type": "literal",
"value": "facebook"
},
+ {
+ "type": "literal",
+ "value": "figma"
+ },
{
"type": "literal",
"value": "github"
@@ -24991,6 +26137,10 @@
"type": "literal",
"value": "google"
},
+ {
+ "type": "literal",
+ "value": "kakao"
+ },
{
"type": "literal",
"value": "keycloak"
@@ -25037,16 +26187,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 526,
- 525
- ]
+ "children": [668, 667]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 506,
"character": 41
}
]
@@ -25054,7 +26201,7 @@
}
},
{
- "id": 491,
+ "id": 633,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -25062,7 +26209,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 439,
"character": 12
}
],
@@ -25072,14 +26219,14 @@
{
"type": "reflection",
"declaration": {
- "id": 492,
+ "id": 634,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "id": 635,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -25090,7 +26237,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 384,
+ "line": 442,
"character": 6
}
],
@@ -25100,7 +26247,7 @@
}
},
{
- "id": 495,
+ "id": 637,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -25110,21 +26257,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 387,
+ "line": 445,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 496,
+ "id": 638,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 497,
+ "id": 639,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -25137,7 +26284,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 389,
+ "line": 447,
"character": 8
}
],
@@ -25151,15 +26298,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 497
- ]
+ "children": [639]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 387,
+ "line": 445,
"character": 16
}
]
@@ -25167,7 +26312,7 @@
}
},
{
- "id": 494,
+ "id": 636,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -25178,7 +26323,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 444,
"character": 6
}
],
@@ -25192,17 +26337,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 495,
- 494
- ]
+ "children": [635, 637, 636]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 382,
+ "line": 440,
"character": 4
}
]
@@ -25211,14 +26352,14 @@
{
"type": "reflection",
"declaration": {
- "id": 498,
+ "id": 640,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 501,
+ "id": 643,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -25228,21 +26369,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 455,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 502,
+ "id": 644,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 504,
+ "id": 646,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -25255,7 +26396,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 405,
+ "line": 463,
"character": 8
}
],
@@ -25265,7 +26406,7 @@
}
},
{
- "id": 503,
+ "id": 645,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25279,7 +26420,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 403,
+ "line": 461,
"character": 8
}
],
@@ -25293,16 +26434,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 504,
- 503
- ]
+ "children": [646, 645]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 455,
"character": 16
}
]
@@ -25310,7 +26448,7 @@
}
},
{
- "id": 500,
+ "id": 642,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -25321,7 +26459,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 396,
+ "line": 454,
"character": 6
}
],
@@ -25331,7 +26469,7 @@
}
},
{
- "id": 499,
+ "id": 641,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -25342,7 +26480,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 394,
+ "line": 452,
"character": 6
}
],
@@ -25356,17 +26494,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 501,
- 500,
- 499
- ]
+ "children": [643, 642, 641]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 450,
"character": 4
}
]
@@ -25376,7 +26510,7 @@
}
},
{
- "id": 505,
+ "id": 647,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -25384,7 +26518,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 409,
+ "line": 467,
"character": 12
}
],
@@ -25394,14 +26528,14 @@
{
"type": "reflection",
"declaration": {
- "id": 506,
+ "id": 648,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 507,
+ "id": 649,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -25412,7 +26546,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 412,
+ "line": 470,
"character": 6
}
],
@@ -25422,7 +26556,7 @@
}
},
{
- "id": 508,
+ "id": 650,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -25432,21 +26566,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 471,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 509,
+ "id": 651,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 513,
+ "id": 655,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -25459,7 +26593,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 425,
+ "line": 483,
"character": 8
}
],
@@ -25469,7 +26603,7 @@
}
},
{
- "id": 512,
+ "id": 654,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25483,7 +26617,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 423,
+ "line": 481,
"character": 8
}
],
@@ -25493,7 +26627,7 @@
}
},
{
- "id": 510,
+ "id": 652,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -25506,7 +26640,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 415,
+ "line": 473,
"character": 8
}
],
@@ -25516,7 +26650,7 @@
}
},
{
- "id": 511,
+ "id": 653,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -25529,7 +26663,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 417,
+ "line": 475,
"character": 8
}
],
@@ -25543,18 +26677,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 513,
- 512,
- 510,
- 511
- ]
+ "children": [655, 654, 652, 653]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 471,
"character": 16
}
]
@@ -25566,16 +26695,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 507,
- 508
- ]
+ "children": [649, 650]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 410,
+ "line": 468,
"character": 4
}
]
@@ -25584,14 +26710,14 @@
{
"type": "reflection",
"declaration": {
- "id": 514,
+ "id": 656,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 516,
+ "id": 658,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -25601,21 +26727,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 431,
+ "line": 489,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 517,
+ "id": 659,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 520,
+ "id": 662,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -25628,7 +26754,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 441,
+ "line": 499,
"character": 8
}
],
@@ -25638,7 +26764,7 @@
}
},
{
- "id": 521,
+ "id": 663,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -25651,7 +26777,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 443,
+ "line": 501,
"character": 8
}
],
@@ -25670,7 +26796,7 @@
}
},
{
- "id": 519,
+ "id": 661,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25684,7 +26810,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 439,
+ "line": 497,
"character": 8
}
],
@@ -25694,7 +26820,7 @@
}
},
{
- "id": 518,
+ "id": 660,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -25707,7 +26833,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 491,
"character": 8
}
],
@@ -25721,18 +26847,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 520,
- 521,
- 519,
- 518
- ]
+ "children": [662, 663, 661, 660]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 431,
+ "line": 489,
"character": 16
}
]
@@ -25740,7 +26861,7 @@
}
},
{
- "id": 515,
+ "id": 657,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -25751,7 +26872,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 430,
+ "line": 488,
"character": 6
}
],
@@ -25765,16 +26886,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 516,
- 515
- ]
+ "children": [658, 657]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 428,
+ "line": 486,
"character": 4
}
]
@@ -25784,7 +26902,7 @@
}
},
{
- "id": 575,
+ "id": 722,
"name": "SignInWithSSO",
"kind": 4194304,
"kindString": "Type alias",
@@ -25792,7 +26910,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 534,
+ "line": 606,
"character": 12
}
],
@@ -25802,14 +26920,14 @@
{
"type": "reflection",
"declaration": {
- "id": 576,
+ "id": 723,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 578,
+ "id": 725,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -25819,21 +26937,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 539,
+ "line": 611,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 579,
+ "id": 726,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 728,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -25846,7 +26964,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 543,
+ "line": 615,
"character": 8
}
],
@@ -25856,7 +26974,7 @@
}
},
{
- "id": 580,
+ "id": 727,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -25869,7 +26987,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 541,
+ "line": 613,
"character": 8
}
],
@@ -25883,16 +27001,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 581,
- 580
- ]
+ "children": [728, 727]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 539,
+ "line": 611,
"character": 16
}
]
@@ -25900,7 +27015,7 @@
}
},
{
- "id": 577,
+ "id": 724,
"name": "providerId",
"kind": 1024,
"kindString": "Property",
@@ -25911,7 +27026,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 537,
+ "line": 609,
"character": 6
}
],
@@ -25925,16 +27040,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 578,
- 577
- ]
+ "children": [725, 724]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 535,
+ "line": 607,
"character": 4
}
]
@@ -25943,14 +27055,14 @@
{
"type": "reflection",
"declaration": {
- "id": 582,
+ "id": 729,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 583,
+ "id": 730,
"name": "domain",
"kind": 1024,
"kindString": "Property",
@@ -25961,7 +27073,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 548,
+ "line": 620,
"character": 6
}
],
@@ -25971,7 +27083,7 @@
}
},
{
- "id": 584,
+ "id": 731,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -25981,21 +27093,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 550,
+ "line": 622,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 585,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 587,
+ "id": 734,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -26008,7 +27120,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 554,
+ "line": 626,
"character": 8
}
],
@@ -26018,7 +27130,7 @@
}
},
{
- "id": 586,
+ "id": 733,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -26031,7 +27143,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 552,
+ "line": 624,
"character": 8
}
],
@@ -26045,16 +27157,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 587,
- 586
- ]
+ "children": [734, 733]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 550,
+ "line": 622,
"character": 16
}
]
@@ -26066,16 +27175,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 583,
- 584
- ]
+ "children": [730, 731]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 546,
+ "line": 618,
"character": 4
}
]
@@ -26085,7 +27191,83 @@
}
},
{
- "id": 474,
+ "id": 945,
+ "name": "SignOut",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1055,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 946,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 947,
+ "name": "scope",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines which sessions should be\nlogged out. Global means all\nsessions by this account. Local\nmeans only this session. Others\nmeans all other sessions except the\ncurrent one. When using others,\nthere is no sign-out event fired on\nthe current session!"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1066,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [947]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1055,
+ "character": 22
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 616,
"name": "SignUpWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -26093,7 +27275,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 344,
+ "line": 402,
"character": 12
}
],
@@ -26103,14 +27285,14 @@
{
"type": "reflection",
"declaration": {
- "id": 475,
+ "id": 617,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 476,
+ "id": 618,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -26121,7 +27303,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 347,
+ "line": 405,
"character": 6
}
],
@@ -26131,7 +27313,7 @@
}
},
{
- "id": 478,
+ "id": 620,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -26141,21 +27323,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 408,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 479,
+ "id": 621,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 482,
+ "id": 624,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -26168,7 +27350,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 360,
+ "line": 418,
"character": 8
}
],
@@ -26178,7 +27360,7 @@
}
},
{
- "id": 481,
+ "id": 623,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -26192,7 +27374,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 358,
+ "line": 416,
"character": 8
}
],
@@ -26202,7 +27384,7 @@
}
},
{
- "id": 480,
+ "id": 622,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -26215,7 +27397,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 410,
"character": 8
}
],
@@ -26229,17 +27411,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 482,
- 481,
- 480
- ]
+ "children": [624, 623, 622]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 350,
+ "line": 408,
"character": 16
}
]
@@ -26247,7 +27425,7 @@
}
},
{
- "id": 477,
+ "id": 619,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -26258,7 +27436,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 349,
+ "line": 407,
"character": 6
}
],
@@ -26272,17 +27450,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 476,
- 478,
- 477
- ]
+ "children": [618, 620, 619]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 345,
+ "line": 403,
"character": 4
}
]
@@ -26291,14 +27465,14 @@
{
"type": "reflection",
"declaration": {
- "id": 483,
+ "id": 625,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 486,
+ "id": 628,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -26308,21 +27482,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 426,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 629,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 489,
+ "id": 631,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -26335,7 +27509,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 434,
"character": 8
}
],
@@ -26345,7 +27519,7 @@
}
},
{
- "id": 490,
+ "id": 632,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -26358,7 +27532,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 436,
"character": 8
}
],
@@ -26377,7 +27551,7 @@
}
},
{
- "id": 488,
+ "id": 630,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -26391,7 +27565,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 374,
+ "line": 432,
"character": 8
}
],
@@ -26405,17 +27579,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 489,
- 490,
- 488
- ]
+ "children": [631, 632, 630]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 426,
"character": 16
}
]
@@ -26423,7 +27593,7 @@
}
},
{
- "id": 485,
+ "id": 627,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -26434,7 +27604,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 367,
+ "line": 425,
"character": 6
}
],
@@ -26444,7 +27614,7 @@
}
},
{
- "id": 484,
+ "id": 626,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -26455,7 +27625,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 365,
+ "line": 423,
"character": 6
}
],
@@ -26469,17 +27639,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 486,
- 485,
- 484
- ]
+ "children": [628, 627, 626]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 363,
+ "line": 421,
"character": 4
}
]
@@ -26489,7 +27655,7 @@
}
},
{
- "id": 776,
+ "id": 923,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -26497,7 +27663,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 955,
+ "line": 1027,
"character": 12
}
],
@@ -26540,7 +27706,7 @@
}
},
{
- "id": 377,
+ "id": 519,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -26548,7 +27714,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 107,
+ "line": 165,
"character": 12
}
],
@@ -26558,14 +27724,14 @@
{
"type": "reflection",
"declaration": {
- "id": 378,
+ "id": 520,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 379,
+ "id": 521,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -26573,21 +27739,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 109,
+ "line": 167,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 380,
+ "id": 522,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 381,
+ "id": 523,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -26595,13 +27761,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 110,
+ "line": 168,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 425,
+ "id": 567,
"name": "User"
}
}
@@ -26610,15 +27776,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 381
- ]
+ "children": [523]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 109,
+ "line": 167,
"character": 12
}
]
@@ -26626,7 +27790,7 @@
}
},
{
- "id": 382,
+ "id": 524,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -26634,7 +27798,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 112,
+ "line": 170,
"character": 6
}
],
@@ -26648,16 +27812,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 379,
- 382
- ]
+ "children": [521, 524]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 108,
+ "line": 166,
"character": 4
}
]
@@ -26666,14 +27827,14 @@
{
"type": "reflection",
"declaration": {
- "id": 383,
+ "id": 525,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 384,
+ "id": 526,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -26681,21 +27842,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 115,
+ "line": 173,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 386,
+ "id": 528,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -26703,7 +27864,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 116,
+ "line": 174,
"character": 8
}
],
@@ -26717,15 +27878,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 386
- ]
+ "children": [528]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 115,
+ "line": 173,
"character": 12
}
]
@@ -26733,7 +27892,7 @@
}
},
{
- "id": 387,
+ "id": 529,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -26741,13 +27900,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 118,
+ "line": 176,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
@@ -26756,16 +27915,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 384,
- 387
- ]
+ "children": [526, 529]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 114,
+ "line": 172,
"character": 4
}
]
@@ -26775,7 +27931,7 @@
}
},
{
- "id": 543,
+ "id": 686,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -26783,7 +27939,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 478,
+ "line": 536,
"character": 12
}
],
@@ -26791,14 +27947,14 @@
"type": "union",
"types": [
{
- "id": 544,
+ "id": 687,
"name": "VerifyMobileOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 548,
+ "id": 691,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -26808,21 +27964,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 544,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 692,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 551,
+ "id": 694,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -26841,7 +27997,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 495,
+ "line": 553,
"character": 4
}
],
@@ -26851,7 +28007,7 @@
}
},
{
- "id": 550,
+ "id": 693,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -26864,7 +28020,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 488,
+ "line": 546,
"character": 4
}
],
@@ -26878,17 +28034,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 551,
- 550
- ]
+ "children": [694, 693]
}
]
}
}
},
{
- "id": 545,
+ "id": 688,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -26899,7 +28052,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 481,
+ "line": 539,
"character": 2
}
],
@@ -26909,7 +28062,7 @@
}
},
{
- "id": 546,
+ "id": 689,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -26920,7 +28073,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 541,
"character": 2
}
],
@@ -26930,7 +28083,7 @@
}
},
{
- "id": 547,
+ "id": 690,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -26941,16 +28094,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 485,
+ "line": 543,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"dereferenced": {
- "id": 560,
+ "id": 706,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -26958,7 +28111,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 513,
+ "line": 583,
"character": 12
}
],
@@ -26983,31 +28136,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 548,
- 545,
- 546,
- 547
- ]
+ "children": [691, 688, 689, 690]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 537,
"character": 17
}
]
},
{
- "id": 552,
+ "id": 695,
"name": "VerifyEmailOtpParams",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 553,
+ "id": 696,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -27018,7 +28166,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 500,
+ "line": 558,
"character": 2
}
],
@@ -27028,7 +28176,7 @@
}
},
{
- "id": 556,
+ "id": 699,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -27038,21 +28186,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 563,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 557,
+ "id": 700,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 559,
+ "id": 702,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -27060,12 +28208,18 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site.",
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "\n"
+ }
+ ]
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 509,
+ "line": 571,
"character": 4
}
],
@@ -27075,7 +28229,7 @@
}
},
{
- "id": 558,
+ "id": 701,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -27088,7 +28242,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 565,
"character": 4
}
],
@@ -27102,17 +28256,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 559,
- 558
- ]
+ "children": [702, 701]
}
]
}
}
},
{
- "id": 554,
+ "id": 697,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -27123,7 +28274,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 502,
+ "line": 560,
"character": 2
}
],
@@ -27133,7 +28284,7 @@
}
},
{
- "id": 555,
+ "id": 698,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -27144,16 +28295,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 562,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"dereferenced": {
- "id": 561,
+ "id": 707,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -27161,7 +28312,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 584,
"character": 12
}
],
@@ -27202,18 +28353,122 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 553,
- 556,
- 554,
- 555
- ]
+ "children": [696, 699, 697, 698]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 498,
+ "line": 556,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 703,
+ "name": "VerifyTokenHashParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 704,
+ "name": "token_hash",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The token hash used in an email link"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 577,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 705,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 580,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 707,
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 707,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 584,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [704, 705]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 575,
"character": 17
}
]
@@ -27222,7 +28477,78 @@
}
},
{
- "id": 801,
+ "id": 425,
+ "name": "lockInternals",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isConst": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 6,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 426,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 427,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 10,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "!!(\n globalThis &&\n supportsLocalStorage() &&\n globalThis.localStorage &&\n globalThis.localStorage.getItem('supabase.gotrue-js.locks.debug') === 'true'\n )"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [427]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 951,
"name": "isAuthApiError",
"kind": 64,
"kindString": "Function",
@@ -27236,14 +28562,14 @@
],
"signatures": [
{
- "id": 802,
+ "id": 952,
"name": "isAuthApiError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 803,
+ "id": 953,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -27260,7 +28586,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 811,
+ "id": 964,
"name": "AuthApiError"
}
}
@@ -27268,7 +28594,7 @@
]
},
{
- "id": 798,
+ "id": 948,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -27282,14 +28608,14 @@
],
"signatures": [
{
- "id": 799,
+ "id": 949,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 800,
+ "id": 950,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -27306,115 +28632,218 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 804,
+ "id": 957,
"name": "AuthError"
}
}
}
]
+ },
+ {
+ "id": 954,
+ "name": "isAuthRetryableFetchError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 124,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 955,
+ "name": "isAuthRetryableFetchError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 956,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 1087,
+ "name": "AuthRetryableFetchError"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 412,
+ "name": "navigatorLock",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/locks.ts",
+ "line": 53,
+ "character": 22
+ }
+ ],
+ "signatures": [
+ {
+ "id": 413,
+ "name": "navigatorLock",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Implements a global exclusive lock using the Navigator LockManager API. It\nis available on all browsers released after 2022-03-15 with Safari being the\nlast one to release support. If the API is not available, this function will\nthrow. Make sure you check availablility before configuring {@link\nGoTrueClient}.",
+ "text": "You can turn on debugging by setting the `supabase.gotrue-js.locks.debug`\nlocal storage item to `true`.\n\nInternals:\n\nSince the LockManager API does not preserve stack traces for the async\nfunction passed in the `request` method, a trick is used where acquiring the\nlock releases a previously started promise to run the operation in the `fn`\nfunction. The lock waits for that promise to finish (with or without error),\nwhile the function will finally wait for the result anyway.\n",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "typeParameter": [
+ {
+ "id": 414,
+ "name": "R",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 415,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Name of the lock to be acquired."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 416,
+ "name": "acquireTimeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has `isAcquireTimeout` set to true."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 417,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operation to run once the lock is acquired.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 418,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 419,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 414,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 414,
+ "name": "R"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
- "children": [
- 811,
- 804,
- 872,
- 859,
- 897,
- 922,
- 847,
- 824,
- 832,
- 1,
- 77
- ]
+ "children": [964, 957, 1037, 1024, 1012, 1062, 1087, 1000, 977, 985, 1, 78, 420]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
- 397,
- 454,
- 411,
- 610,
- 769,
- 724,
- 388,
- 464,
- 472,
- 425,
- 418,
- 448,
- 400,
- 422,
- 552,
- 544
+ 539, 596, 553, 757, 916, 871, 530, 606, 614, 567, 560, 590, 542, 564, 695, 687, 703
]
},
{
"title": "Type Aliases",
"kind": 4194304,
"children": [
- 327,
- 326,
- 522,
- 753,
- 744,
- 766,
- 757,
- 692,
- 668,
- 713,
- 702,
- 683,
- 655,
- 342,
- 712,
- 780,
- 561,
- 604,
- 594,
- 613,
- 627,
- 614,
- 634,
- 599,
- 588,
- 328,
- 777,
- 651,
- 648,
- 635,
- 640,
- 643,
- 560,
- 355,
- 794,
- 787,
- 325,
- 562,
- 368,
- 535,
- 523,
- 491,
- 505,
- 575,
- 474,
- 776,
- 377,
- 543
+ 430, 429, 664, 900, 891, 913, 904, 839, 815, 860, 849, 830, 802, 469, 456, 484, 859, 927,
+ 707, 751, 741, 760, 774, 761, 781, 746, 735, 440, 924, 431, 798, 795, 782, 787, 790, 706,
+ 497, 941, 934, 428, 708, 510, 677, 665, 633, 647, 722, 945, 616, 923, 519, 686
]
},
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [425]
+ },
{
"title": "Functions",
"kind": 64,
- "children": [
- 801,
- 798
- ]
+ "children": [951, 948, 954, 412]
}
],
"sources": [
@@ -27424,4 +28853,4 @@
"character": 0
}
]
-}
\ No newline at end of file
+}
diff --git a/spec/enrichments/tsdoc_v2/postgrest.json b/spec/enrichments/tsdoc_v2/postgrest.json
index 667700a2d8c..bf422e3f5a5 100644
--- a/spec/enrichments/tsdoc_v2/postgrest.json
+++ b/spec/enrichments/tsdoc_v2/postgrest.json
@@ -1,13428 +1,14418 @@
{
- "id": 0,
- "name": "@supabase/postgrest-js",
- "kind": 1,
- "kindString": "Project",
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 536,
- "name": "PostgrestBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isAbstract": true
- },
- "children": [
- {
- "id": 537,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 18,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 538,
- "name": "new PostgrestBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 539,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 540,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "reference",
- "id": 539,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "reference",
- "id": 539,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 545,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 12,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- },
- {
- "id": 548,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 15,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 549,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 550,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 551,
- "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": 552,
- "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": 543,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 553,
- "name": "isMaybeSingle",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 16,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 541,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "GET"
- },
- {
- "type": "literal",
- "value": "HEAD"
- },
- {
- "type": "literal",
- "value": "POST"
- },
- {
- "type": "literal",
- "value": "PATCH"
- },
- {
- "type": "literal",
- "value": "DELETE"
- }
- ]
- }
- },
- {
- "id": 544,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 11,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 546,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 13,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 547,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 14,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- }
- },
- {
- "id": 542,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- },
- {
- "id": 556,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 48,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 557,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 558,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 584,
- "typeArguments": [
- {
- "type": "reference",
- "id": 539,
- "name": "Result"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- },
- {
- "id": 559,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 560,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 561,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 562,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 563,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 584,
- "typeArguments": [
- {
- "type": "reference",
- "id": 539,
- "name": "Result"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 424,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 424,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 564,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 565,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 566,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 567,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 425,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 425,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 424,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 425,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "implementationOf": {
- "type": "reference",
- "name": "PromiseLike.then"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "name": "PromiseLike.then"
- }
- },
- {
- "id": 554,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 43,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 555,
- "name": "throwOnError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
- "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
- },
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "reference",
- "id": 539,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 537
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 545,
- 548,
- 543,
- 553,
- 541,
- 544,
- 546,
- 547,
- 542
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 556,
- 554
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 5,
- "character": 30
- }
- ],
- "typeParameter": [
- {
- "id": 568,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 437,
- "name": "PostgrestTransformBuilder"
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 584,
- "typeArguments": [
- {
- "type": "reference",
- "id": 539,
- "name": "Result"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- },
- {
- "id": 1,
- "name": "PostgrestClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "comment": {
- "shortText": "PostgREST client."
- },
- "children": [
- {
- "id": 2,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 41,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 3,
- "name": "new PostgrestClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a PostgREST client."
- },
- "typeParameter": [
- {
- "id": 4,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 5,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- }
- ]
- }
- }
- },
- {
- "id": 6,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 7,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "URL of the PostgREST endpoint"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 8,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 9,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 12,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 50,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 13,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 14,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Custom fetch\n"
- },
- "parameters": [
- {
- "id": 15,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- },
- {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- ]
- }
- },
- {
- "id": 16,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 10,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Custom headers"
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 48,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 11,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Postgres schema to switch to"
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 49,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 12,
- 10,
- 11
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "typeArguments": [
- {
- "type": "reference",
- "id": 4,
- "name": "Database"
- },
- {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- },
- {
- "type": "reference",
- "id": 6,
- "name": "Schema"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 20,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 29,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 21,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 22,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 23,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- },
- {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- ]
- }
- },
- {
- "id": 24,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 18,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 27,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 19,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 28,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- }
- },
- {
- "id": 17,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 26,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 25,
- "name": "from",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 59,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 26,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a query on a table or a view."
- },
- "typeParameter": [
- {
- "id": 27,
- "name": "TableName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 28,
- "name": "Table",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericTable"
- }
- }
- ],
- "parameters": [
- {
- "id": 29,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The table or view name to query\n"
- },
- "type": {
- "type": "reference",
- "id": 27,
- "name": "TableName"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 49,
- "typeArguments": [
- {
- "type": "reference",
- "id": 6,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 28,
- "name": "Table"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 30,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a query on a table or a view."
- },
- "typeParameter": [
- {
- "id": 31,
- "name": "ViewName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 32,
- "name": "View",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericView"
- }
- }
- ],
- "parameters": [
- {
- "id": 33,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The table or view name to query\n"
- },
- "type": {
- "type": "reference",
- "id": 31,
- "name": "ViewName"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 49,
- "typeArguments": [
- {
- "type": "reference",
- "id": 6,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 32,
- "name": "View"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 34,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a query on a table or a view."
- },
- "parameters": [
- {
- "id": 35,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The table or view name to query\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 49,
- "typeArguments": [
- {
- "type": "reference",
- "id": 6,
- "name": "Schema"
- },
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 36,
- "name": "rpc",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 102,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 37,
- "name": "rpc",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a function call."
- },
- "typeParameter": [
- {
- "id": 38,
- "name": "FunctionName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 39,
- "name": "Function_",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericFunction"
- }
- }
- ],
- "parameters": [
- {
- "id": 40,
- "name": "fn",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The function name to call"
- },
- "type": {
- "type": "reference",
- "id": 38,
- "name": "FunctionName"
- }
- },
- {
- "id": 41,
- "name": "args",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The arguments to pass to the function call"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Args"
- },
- "objectType": {
- "type": "reference",
- "id": 39,
- "name": "Function_"
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 42,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 43,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 45,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 113,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 44,
- "name": "head",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count."
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 112,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 45,
- 44
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 6,
- "name": "Schema"
- },
- {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Returns"
- },
- "objectType": {
- "type": "reference",
- "id": 39,
- "name": "Function_"
- }
- },
- "extendsType": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "trueType": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "number"
- },
- "objectType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- "extendsType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Returns"
- },
- "objectType": {
- "type": "reference",
- "id": 39,
- "name": "Function_"
- }
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 2
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 20,
- 18,
- 19,
- 17
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 25,
- 36
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 17,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 46,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "comment": {
- "shortText": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/next/typescript-support)\n"
- },
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 47,
- "name": "SchemaName",
- "kind": 131072,
- "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"
- },
- "type": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- }
- ]
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- }
- ]
- }
- }
- },
- {
- "id": 48,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- ]
- },
- {
- "id": 114,
- "name": "PostgrestFilterBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 115,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "signatures": [
- {
- "id": 116,
- "name": "new PostgrestFilterBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 117,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- }
- },
- {
- "id": 118,
- "name": "Row",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 119,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 120,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 439,
- "name": "default.constructor"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 438,
- "name": "default.constructor"
- }
- },
- {
- "id": 411,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 12,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 510,
- "name": "default.body"
- }
- },
- {
- "id": 414,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 15,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 415,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 416,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 417,
- "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": 418,
- "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": 513,
- "name": "default.fetch"
- }
- },
- {
- "id": 409,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 508,
- "name": "default.headers"
- }
- },
- {
- "id": 419,
- "name": "isMaybeSingle",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 16,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 518,
- "name": "default.isMaybeSingle"
- }
- },
- {
- "id": 407,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "GET"
- },
- {
- "type": "literal",
- "value": "HEAD"
- },
- {
- "type": "literal",
- "value": "POST"
- },
- {
- "type": "literal",
- "value": "PATCH"
- },
- {
- "type": "literal",
- "value": "DELETE"
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 506,
- "name": "default.method"
- }
- },
- {
- "id": 410,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 11,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 509,
- "name": "default.schema"
- }
- },
- {
- "id": 412,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 13,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false",
- "inheritedFrom": {
- "type": "reference",
- "id": 511,
- "name": "default.shouldThrowOnError"
- }
- },
- {
- "id": 413,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 14,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 512,
- "name": "default.signal"
- }
- },
- {
- "id": 408,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 507,
- "name": "default.url"
- }
- },
- {
- "id": 379,
- "name": "abortSignal",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 125,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 380,
- "name": "abortSignal",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Set the AbortSignal for the fetch request."
- },
- "parameters": [
- {
- "id": 381,
- "name": "signal",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The AbortSignal to use for the fetch request\n"
- },
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 479,
- "name": "default.abortSignal"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 478,
- "name": "default.abortSignal"
- }
- },
- {
- "id": 241,
- "name": "containedBy",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 261,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 242,
- "name": "containedBy",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in `column` is contained by `value`."
- },
- "typeParameter": [
- {
- "id": 243,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 244,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The jsonb, array, or range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 243,
- "name": "ColumnName"
- }
- },
- {
- "id": 245,
- "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": 243,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 246,
- "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`."
- },
- "parameters": [
- {
- "id": 247,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The jsonb, array, or range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 248,
- "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": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
- }
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 233,
- "name": "contains",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 234,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 234,
- "name": "contains",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\n`column` contains every element appearing in `value`."
- },
- "typeParameter": [
- {
- "id": 235,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 236,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The jsonb, array, or range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 235,
- "name": "ColumnName"
- }
- },
- {
- "id": 237,
- "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": 235,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 238,
- "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`."
- },
- "parameters": [
- {
- "id": 239,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The jsonb, array, or range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 240,
- "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": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
- }
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 388,
- "name": "csv",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 166,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 389,
- "name": "csv",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as a string in CSV format."
- },
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 488,
- "name": "default.csv"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 487,
- "name": "default.csv"
- }
- },
- {
- "id": 121,
- "name": "eq",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 33,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 122,
- "name": "eq",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is equal to `value`.",
- "text": "To check if the value of `column` is NULL, you should use `.is()` instead.\n"
- },
- "typeParameter": [
- {
- "id": 123,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 124,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 123,
- "name": "ColumnName"
- }
- },
- {
- "id": 125,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 123,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 126,
- "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"
- },
- "parameters": [
- {
- "id": 127,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 128,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 392,
- "name": "explain",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 393,
- "name": "explain",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as the EXPLAIN plan for the query."
- },
- "parameters": [
- {
- "id": 394,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 395,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 396,
- "name": "analyze",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 208,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 399,
- "name": "buffers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, include information on buffer usage\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 211,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 401,
- "name": "format",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 213,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "text"
- },
- {
- "type": "literal",
- "value": "json"
- }
- ]
- }
- },
- {
- "id": 398,
- "name": "settings",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 210,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 397,
- "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": 209,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 400,
- "name": "wal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, include information on WAL record generation\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 212,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 396,
- 399,
- 401,
- 398,
- 397,
- 400
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "default"
- },
- {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "name": "default"
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 492,
- "name": "default.explain"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 491,
- "name": "default.explain"
- }
- },
- {
- "id": 335,
- "name": "filter",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 480,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 336,
- "name": "filter",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.",
- "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n"
- },
- "typeParameter": [
- {
- "id": 337,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 338,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 337,
- "name": "ColumnName"
- }
- },
- {
- "id": 339,
- "name": "operator",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The operator to filter with, following PostgREST syntax"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "FilterOperator"
- },
- {
- "type": "literal",
- "value": "not.eq"
- },
- {
- "type": "literal",
- "value": "not.neq"
- },
- {
- "type": "literal",
- "value": "not.gt"
- },
- {
- "type": "literal",
- "value": "not.gte"
- },
- {
- "type": "literal",
- "value": "not.lt"
- },
- {
- "type": "literal",
- "value": "not.lte"
- },
- {
- "type": "literal",
- "value": "not.like"
- },
- {
- "type": "literal",
- "value": "not.ilike"
- },
- {
- "type": "literal",
- "value": "not.is"
- },
- {
- "type": "literal",
- "value": "not.in"
- },
- {
- "type": "literal",
- "value": "not.cs"
- },
- {
- "type": "literal",
- "value": "not.cd"
- },
- {
- "type": "literal",
- "value": "not.sl"
- },
- {
- "type": "literal",
- "value": "not.sr"
- },
- {
- "type": "literal",
- "value": "not.nxl"
- },
- {
- "type": "literal",
- "value": "not.nxr"
- },
- {
- "type": "literal",
- "value": "not.adj"
- },
- {
- "type": "literal",
- "value": "not.ov"
- },
- {
- "type": "literal",
- "value": "not.fts"
- },
- {
- "type": "literal",
- "value": "not.plfts"
- },
- {
- "type": "literal",
- "value": "not.phfts"
- },
- {
- "type": "literal",
- "value": "not.wfts"
- }
- ]
- }
- },
- {
- "id": 340,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with, following PostgREST syntax\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 341,
- "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"
- },
- "parameters": [
- {
- "id": 342,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 343,
- "name": "operator",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The operator to filter with, following PostgREST syntax"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 344,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with, following PostgREST syntax\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 390,
- "name": "geojson",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 174,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 391,
- "name": "geojson",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
- },
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 490,
- "name": "default.geojson"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 489,
- "name": "default.geojson"
- }
- },
- {
- "id": 137,
- "name": "gt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 61,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 138,
- "name": "gt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is greater than `value`."
- },
- "typeParameter": [
- {
- "id": 139,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 140,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 139,
- "name": "ColumnName"
- }
- },
- {
- "id": 141,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 139,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 142,
- "name": "gt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is greater than `value`."
- },
- "parameters": [
- {
- "id": 143,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 144,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 145,
- "name": "gte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 74,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 146,
- "name": "gte",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is greater than or equal to `value`."
- },
- "typeParameter": [
- {
- "id": 147,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 148,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 147,
- "name": "ColumnName"
- }
- },
- {
- "id": 149,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 147,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 150,
- "name": "gte",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is greater than or equal to `value`."
- },
- "parameters": [
- {
- "id": 151,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 152,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 193,
- "name": "ilike",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 152,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 194,
- "name": "ilike",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
- },
- "typeParameter": [
- {
- "id": 195,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 196,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 195,
- "name": "ColumnName"
- }
- },
- {
- "id": 197,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to match with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 198,
- "name": "ilike",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
- },
- "parameters": [
- {
- "id": 199,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 200,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to match with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 201,
- "name": "ilikeAllOf",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 165,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 202,
- "name": "ilikeAllOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
- },
- "typeParameter": [
- {
- "id": 203,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 204,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 203,
- "name": "ColumnName"
- }
- },
- {
- "id": 205,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 206,
- "name": "ilikeAllOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
- },
- "parameters": [
- {
- "id": 207,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 208,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 209,
- "name": "ilikeAnyOf",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 178,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 210,
- "name": "ilikeAnyOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
- },
- "typeParameter": [
- {
- "id": 211,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 212,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 211,
- "name": "ColumnName"
- }
- },
- {
- "id": 213,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 214,
- "name": "ilikeAnyOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
- },
- "parameters": [
- {
- "id": 215,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 216,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 225,
- "name": "in",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 213,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 226,
- "name": "in",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
- },
- "typeParameter": [
- {
- "id": 227,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 228,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 227,
- "name": "ColumnName"
- }
- },
- {
- "id": 229,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values array to filter with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 227,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 230,
- "name": "in",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
- },
- "parameters": [
- {
- "id": 231,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 232,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values array to filter with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 217,
- "name": "is",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 191,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 218,
- "name": "is",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` IS `value`.",
- "text": "For non-boolean columns, this is only relevant for checking if the value of\n`column` is NULL by setting `value` to `null`.\n\nFor boolean columns, you can also set `value` to `true` or `false` and it\nwill behave the same way as `.eq()`.\n"
- },
- "typeParameter": [
- {
- "id": 219,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 220,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 219,
- "name": "ColumnName"
- }
- },
- {
- "id": 221,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intersection",
- "types": [
- {
- "type": "intersection",
- "types": [
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 219,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- },
- {
- "type": "intersection",
- "types": [
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 219,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- },
- {
- "type": "literal",
- "value": false
- }
- ]
- },
- {
- "type": "intersection",
- "types": [
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 219,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- },
- {
- "type": "literal",
- "value": true
- }
- ]
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 222,
- "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"
- },
- "parameters": [
- {
- "id": 223,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 224,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "boolean"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 169,
- "name": "like",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 113,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 170,
- "name": "like",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
- },
- "typeParameter": [
- {
- "id": 171,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 172,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 171,
- "name": "ColumnName"
- }
- },
- {
- "id": 173,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to match with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 174,
- "name": "like",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
- },
- "parameters": [
- {
- "id": 175,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "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": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 177,
- "name": "likeAllOf",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 126,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 178,
- "name": "likeAllOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches all of `patterns` case-sensitively."
- },
- "typeParameter": [
- {
- "id": 179,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 180,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 179,
- "name": "ColumnName"
- }
- },
- {
- "id": 181,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 182,
- "name": "likeAllOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches all of `patterns` case-sensitively."
- },
- "parameters": [
- {
- "id": 183,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 184,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 185,
- "name": "likeAnyOf",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 139,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 186,
- "name": "likeAnyOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches any of `patterns` case-sensitively."
- },
- "typeParameter": [
- {
- "id": 187,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 188,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 187,
- "name": "ColumnName"
- }
- },
- {
- "id": 189,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 190,
- "name": "likeAnyOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches any of `patterns` case-sensitively."
- },
- "parameters": [
- {
- "id": 191,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 192,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 366,
- "name": "limit",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 367,
- "name": "limit",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limit the query result by `count`."
- },
- "parameters": [
- {
- "id": 368,
- "name": "count",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The maximum number of rows to return"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 369,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 370,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 371,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
- "character": 43
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 371
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 466,
- "name": "default.limit"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 465,
- "name": "default.limit"
- }
- },
- {
- "id": 153,
- "name": "lt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 87,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 154,
- "name": "lt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is less than `value`."
- },
- "typeParameter": [
- {
- "id": 155,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 156,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 155,
- "name": "ColumnName"
- }
- },
- {
- "id": 157,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 155,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 158,
- "name": "lt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is less than `value`."
- },
- "parameters": [
- {
- "id": 159,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 160,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 161,
- "name": "lte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 100,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 162,
- "name": "lte",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is less than or equal to `value`."
- },
- "typeParameter": [
- {
- "id": 163,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 164,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 163,
- "name": "ColumnName"
- }
- },
- {
- "id": 165,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 163,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 166,
- "name": "lte",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is less than or equal to `value`."
- },
- "parameters": [
- {
- "id": 167,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 168,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 313,
- "name": "match",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 421,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 314,
- "name": "match",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where each column in `query` keys is equal to its\nassociated value. Shorthand for multiple `.eq()`s."
- },
- "typeParameter": [
- {
- "id": 315,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 316,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The object to filter with, with column names as keys mapped\nto their filter values\n"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 315,
- "name": "ColumnName"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 315,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 317,
- "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."
- },
- "parameters": [
- {
- "id": 318,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The object to filter with, with column names as keys mapped\nto their filter values\n"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 385,
- "name": "maybeSingle",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 149,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 386,
- "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"
- },
- "typeParameter": [
- {
- "id": 387,
- "name": "ResultOne",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "reference",
- "id": 119,
- "name": "Result"
- },
- "extendsType": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "ResultOne"
- }
- },
- "trueType": {
- "type": "reference",
- "name": "ResultOne"
- },
- "falseType": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 387,
- "name": "ResultOne"
- }
- ]
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 485,
- "name": "default.maybeSingle"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 484,
- "name": "default.maybeSingle"
- }
- },
- {
- "id": 129,
- "name": "neq",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 48,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 130,
- "name": "neq",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is not equal to `value`."
- },
- "typeParameter": [
- {
- "id": 131,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 132,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 131,
- "name": "ColumnName"
- }
- },
- {
- "id": 133,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 131,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 134,
- "name": "neq",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is not equal to `value`."
- },
- "parameters": [
- {
- "id": 135,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 136,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 319,
- "name": "not",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 437,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 320,
- "name": "not",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows which doesn't satisfy the filter.",
- "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n"
- },
- "typeParameter": [
- {
- "id": 321,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 322,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 321,
- "name": "ColumnName"
- }
- },
- {
- "id": 323,
- "name": "operator",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The operator to be negated to filter with, following\nPostgREST syntax"
- },
- "type": {
- "type": "reference",
- "name": "FilterOperator"
- }
- },
- {
- "id": 324,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with, following PostgREST syntax\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 321,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 325,
- "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"
- },
- "parameters": [
- {
- "id": 326,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 327,
- "name": "operator",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The operator to be negated to filter with, following\nPostgREST syntax"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 328,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with, following PostgREST syntax\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 329,
- "name": "or",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 474,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 330,
- "name": "or",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows which satisfy at least one of the filters.",
- "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n"
- },
- "parameters": [
- {
- "id": 331,
- "name": "filters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The filters to use, following PostgREST syntax"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 332,
- "name": "foreignTable",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Set this to filter on foreign tables instead of the\ncurrent table\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 333,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 334,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 474,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 334
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 350,
- "name": "order",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 44,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 351,
- "name": "order",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Order the query result by `column`.",
- "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n"
- },
- "typeParameter": [
- {
- "id": 352,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 353,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to order by"
- },
- "type": {
- "type": "reference",
- "id": 352,
- "name": "ColumnName"
- }
- },
- {
- "id": 354,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 355,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 356,
- "name": "ascending",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, the result will be in ascending order"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 358,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 357,
- "name": "nullsFirst",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 37
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 356,
- 358,
- 357
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 450,
- "name": "default.order"
- }
- },
- {
- "id": 359,
- "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"
- },
- "parameters": [
- {
- "id": 360,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to order by"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 361,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 362,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 363,
- "name": "ascending",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, the result will be in ascending order"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 365,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 364,
- "name": "nullsFirst",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
- "character": 37
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 363,
- 365,
- 364
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 458,
- "name": "default.order"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 449,
- "name": "default.order"
- }
- },
- {
- "id": 289,
- "name": "overlaps",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 360,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 290,
- "name": "overlaps",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common."
- },
- "typeParameter": [
- {
- "id": 291,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 292,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The array or range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 291,
- "name": "ColumnName"
- }
- },
- {
- "id": 293,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The array or range value to filter with\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 291,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 294,
- "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."
- },
- "parameters": [
- {
- "id": 295,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The array or range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 296,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The array or range value to filter with\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 372,
- "name": "range",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 373,
- "name": "range",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
- },
- "parameters": [
- {
- "id": 374,
- "name": "from",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The starting index from which to limit the result"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 375,
- "name": "to",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The last index to which to limit the result"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 376,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 377,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 378,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
- "character": 54
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 378
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 472,
- "name": "default.range"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 471,
- "name": "default.range"
- }
- },
- {
- "id": 281,
- "name": "rangeAdjacent",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 345,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 282,
- "name": "rangeAdjacent",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for range columns. Match only rows where `column` is\nmutually exclusive to `range` and there can be no element between the two\nranges."
- },
- "typeParameter": [
- {
- "id": 283,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 284,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 283,
- "name": "ColumnName"
- }
- },
- {
- "id": 285,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 286,
- "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."
- },
- "parameters": [
- {
- "id": 287,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 288,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 249,
- "name": "rangeGt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 287,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 250,
- "name": "rangeGt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`."
- },
- "typeParameter": [
- {
- "id": 251,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 252,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 251,
- "name": "ColumnName"
- }
- },
- {
- "id": 253,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 254,
- "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`."
- },
- "parameters": [
- {
- "id": 255,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 256,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 257,
- "name": "rangeGte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 301,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 258,
- "name": "rangeGte",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or greater than any element in\n`range`."
- },
- "typeParameter": [
- {
- "id": 259,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 260,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 259,
- "name": "ColumnName"
- }
- },
- {
- "id": 261,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 262,
- "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`."
- },
- "parameters": [
- {
- "id": 263,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 264,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 265,
- "name": "rangeLt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 316,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 266,
- "name": "rangeLt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is less than any element in `range`."
- },
- "typeParameter": [
- {
- "id": 267,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 268,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 267,
- "name": "ColumnName"
- }
- },
- {
- "id": 269,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 270,
- "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`."
- },
- "parameters": [
- {
- "id": 271,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "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": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 273,
- "name": "rangeLte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 330,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 274,
- "name": "rangeLte",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or less than any element in\n`range`."
- },
- "typeParameter": [
- {
- "id": 275,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 276,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 275,
- "name": "ColumnName"
- }
- },
- {
- "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": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 278,
- "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`."
- },
- "parameters": [
- {
- "id": 279,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 280,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 404,
- "name": "returns",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 252,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 405,
- "name": "returns",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Override the type of the returned `data`."
- },
- "typeParameter": [
- {
- "id": 406,
- "name": "NewResult",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "comment": {
- "shortText": "The new result type to override with\n"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 406,
- "name": "NewResult"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 504,
- "name": "default.returns"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 503,
- "name": "default.returns"
- }
- },
- {
- "id": 402,
- "name": "rollback",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 238,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 403,
- "name": "rollback",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Rollback the query.",
- "text": "`data` will still be returned, but the query is not committed.\n"
- },
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 502,
- "name": "default.rollback"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 501,
- "name": "default.rollback"
- }
- },
- {
- "id": 345,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 19,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 346,
- "name": "select",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a SELECT on the query result.",
- "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n"
- },
- "typeParameter": [
- {
- "id": 347,
- "name": "Query",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "literal",
- "value": "*"
- }
- },
- {
- "id": 348,
- "name": "NewResultOne",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 347,
- "name": "Query"
- }
- ],
- "name": "GetResult"
- }
- }
- ],
- "parameters": [
- {
- "id": 349,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
- },
- "type": {
- "type": "reference",
- "id": 347,
- "name": "Query"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 348,
- "name": "NewResultOne"
- }
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 445,
- "name": "default.select"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 444,
- "name": "default.select"
- }
- },
- {
- "id": 382,
- "name": "single",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 136,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 383,
- "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"
- },
- "typeParameter": [
- {
- "id": 384,
- "name": "ResultOne",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "reference",
- "id": 119,
- "name": "Result"
- },
- "extendsType": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "ResultOne"
- }
- },
- "trueType": {
- "type": "reference",
- "name": "ResultOne"
- },
- "falseType": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "reference",
- "id": 384,
- "name": "ResultOne"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 482,
- "name": "default.single"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 481,
- "name": "default.single"
- }
- },
- {
- "id": 297,
- "name": "textSearch",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 383,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 298,
- "name": "textSearch",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for text and tsvector columns. Match only rows where\n`column` matches the query string in `query`."
- },
- "typeParameter": [
- {
- "id": 299,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 300,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text or tsvector column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 299,
- "name": "ColumnName"
- }
- },
- {
- "id": 301,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The query text to match with"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 302,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 303,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 304,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The text search configuration to use"
- },
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 386,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 305,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Change how the `query` text is interpreted\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 386,
- "character": 33
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "plain"
- },
- {
- "type": "literal",
- "value": "phrase"
- },
- {
- "type": "literal",
- "value": "websearch"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 304,
- 305
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 306,
- "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`."
- },
- "parameters": [
- {
- "id": 307,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text or tsvector column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 308,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The query text to match with"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 309,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "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
- },
- "comment": {
- "shortText": "The text search configuration to use"
- },
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 391,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 312,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Change how the `query` text is interpreted\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 391,
- "character": 33
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "plain"
- },
- {
- "type": "literal",
- "value": "phrase"
- },
- {
- "type": "literal",
- "value": "websearch"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 311,
- 312
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 422,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 48,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 423,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 424,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 584,
- "typeArguments": [
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- },
- {
- "id": 425,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 426,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 427,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 428,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 429,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 584,
- "typeArguments": [
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 424,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 424,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 430,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 431,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 432,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 433,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 425,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 425,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 424,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 425,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 522,
- "name": "default.then"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 521,
- "name": "default.then"
- }
- },
- {
- "id": 420,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 43,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 421,
- "name": "throwOnError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
- "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
- },
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 520,
- "name": "default.throwOnError"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 519,
- "name": "default.throwOnError"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 115
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 411,
- 414,
- 409,
- 419,
- 407,
- 410,
- 412,
- 413,
- 408
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 379,
- 241,
- 233,
- 388,
- 121,
- 392,
- 335,
- 390,
- 137,
- 145,
- 193,
- 201,
- 209,
- 225,
- 217,
- 169,
- 177,
- 185,
- 366,
- 153,
- 161,
- 313,
- 385,
- 129,
- 319,
- 329,
- 350,
- 289,
- 372,
- 281,
- 249,
- 257,
- 265,
- 273,
- 404,
- 402,
- 345,
- 382,
- 297,
- 422,
- 420
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 28,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 434,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- }
- },
- {
- "id": 435,
- "name": "Row",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 436,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- ]
- },
- {
- "id": 49,
- "name": "PostgrestQueryBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 50,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 16,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 51,
- "name": "new PostgrestQueryBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "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",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "GenericTable"
- },
- {
- "type": "reference",
- "name": "GenericView"
- }
- ]
- }
- }
- ],
- "parameters": [
- {
- "id": 54,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- },
- {
- "id": 55,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 56,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 59,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 25,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 60,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 61,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 62,
- "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": 63,
- "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": 57,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 23,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 58,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 24,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 59,
- 57,
- 58
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 49,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 68,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 69,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 70,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 71,
- "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": 72,
- "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": 65,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 66,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 67,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- }
- },
- {
- "id": 64,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- },
- {
- "id": 107,
- "name": "delete",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 319,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 108,
- "name": "delete",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a DELETE on the table or view.",
- "text": "By default, deleted rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n"
- },
- "parameters": [
- {
- "id": 109,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 110,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 111,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Count algorithm to use to count deleted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 322,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 111
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "literal",
- "value": null
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 82,
- "name": "insert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 120,
- "character": 2
- }
- ],
- "signatures": [
- {
- "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"
- },
- "typeParameter": [
- {
- "id": 84,
- "name": "Row",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "parameters": [
- {
- "id": 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"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 84,
- "name": "Row"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 84,
- "name": "Row"
- }
- }
- ]
- }
- },
- {
- "id": 86,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 87,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 88,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Count algorithm to use to count inserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 126,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 89,
- "name": "defaultToNull",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 127,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 88,
- 89
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "literal",
- "value": null
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 73,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 55,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 74,
- "name": "select",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a SELECT query on the table or view."
- },
- "typeParameter": [
- {
- "id": 75,
- "name": "Query",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "literal",
- "value": "*"
- }
- },
- {
- "id": 76,
- "name": "ResultOne",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "reference",
- "id": 75,
- "name": "Query"
- }
- ],
- "name": "GetResult"
- }
- }
- ],
- "parameters": [
- {
- "id": 77,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The columns to retrieve, separated by commas. Columns can be renamed when returned with `customName:columnName`\n"
- },
- "type": {
- "type": "reference",
- "id": 75,
- "name": "Query"
- }
- },
- {
- "id": 78,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 79,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 81,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Count algorithm to use to count rows in the table or view.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 62,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 80,
- "name": "head",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 61,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 81,
- 80
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 76,
- "name": "ResultOne"
- }
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 100,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 271,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 101,
- "name": "update",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform an UPDATE on the table or view.",
- "text": "By default, updated rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n"
- },
- "typeParameter": [
- {
- "id": 102,
- "name": "Row",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "parameters": [
- {
- "id": 103,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to update with\n"
- },
- "type": {
- "type": "reference",
- "id": 102,
- "name": "Row"
- }
- },
- {
- "id": 104,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 105,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 106,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Count algorithm to use to count updated rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 276,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 106
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "literal",
- "value": null
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 90,
- "name": "upsert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 201,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 91,
- "name": "upsert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto `onConflict`, `.upsert()` allows you to perform the equivalent of\n`.insert()` if a row with the corresponding `onConflict` columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n`ignoreDuplicates`.",
- "text": "By default, upserted rows are not returned. To return it, chain the call\nwith `.select()`.\n"
- },
- "typeParameter": [
- {
- "id": 92,
- "name": "Row",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "parameters": [
- {
- "id": 93,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 92,
- "name": "Row"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 92,
- "name": "Row"
- }
- }
- ]
- }
- },
- {
- "id": 94,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 95,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 98,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Count algorithm to use to count upserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 211,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 99,
- "name": "defaultToNull",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n`ignoreDuplicates: false`.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 212,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 97,
- "name": "ignoreDuplicates",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 210,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 96,
- "name": "onConflict",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n`onConflict` columns are equal.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 209,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 98,
- 99,
- 97,
- 96
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "literal",
- "value": null
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 50
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 68,
- 65,
- 66,
- 67,
- 64
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 107,
- 82,
- 73,
- 100,
- 90
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 6,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 112,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- }
- },
- {
- "id": 113,
- "name": "Relation",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "GenericTable"
- },
- {
- "type": "reference",
- "name": "GenericView"
- }
- ]
- }
- }
- ]
- },
- {
- "id": 437,
- "name": "PostgrestTransformBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 438,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "signatures": [
- {
- "id": 439,
- "name": "new PostgrestTransformBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 440,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- }
- },
- {
- "id": 441,
- "name": "Row",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 442,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 443,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 538,
- "name": "default.constructor"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 537,
- "name": "default.constructor"
- }
- },
- {
- "id": 510,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 12,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 545,
- "name": "default.body"
- }
- },
- {
- "id": 513,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 15,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 514,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 515,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 516,
- "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": 517,
- "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": 548,
- "name": "default.fetch"
- }
- },
- {
- "id": 508,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 543,
- "name": "default.headers"
- }
- },
- {
- "id": 518,
- "name": "isMaybeSingle",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 16,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 553,
- "name": "default.isMaybeSingle"
- }
- },
- {
- "id": 506,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "GET"
- },
- {
- "type": "literal",
- "value": "HEAD"
- },
- {
- "type": "literal",
- "value": "POST"
- },
- {
- "type": "literal",
- "value": "PATCH"
- },
- {
- "type": "literal",
- "value": "DELETE"
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 541,
- "name": "default.method"
- }
- },
- {
- "id": 509,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 11,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 544,
- "name": "default.schema"
- }
- },
- {
- "id": 511,
- "name": "shouldThrowOnError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 13,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false",
- "inheritedFrom": {
- "type": "reference",
- "id": 546,
- "name": "default.shouldThrowOnError"
- }
- },
- {
- "id": 512,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 14,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 547,
- "name": "default.signal"
- }
- },
- {
- "id": 507,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 542,
- "name": "default.url"
- }
- },
- {
- "id": 478,
- "name": "abortSignal",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 125,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 479,
- "name": "abortSignal",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Set the AbortSignal for the fetch request."
- },
- "parameters": [
- {
- "id": 480,
- "name": "signal",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The AbortSignal to use for the fetch request\n"
- },
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 487,
- "name": "csv",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 166,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 488,
- "name": "csv",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as a string in CSV format."
- },
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 491,
- "name": "explain",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 492,
- "name": "explain",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as the EXPLAIN plan for the query."
- },
- "parameters": [
- {
- "id": 493,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 494,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 495,
- "name": "analyze",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 208,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 498,
- "name": "buffers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, include information on buffer usage\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 211,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 500,
- "name": "format",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 213,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "text"
- },
- {
- "type": "literal",
- "value": "json"
- }
- ]
- }
- },
- {
- "id": 497,
- "name": "settings",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 210,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 496,
- "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": 209,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 499,
- "name": "wal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, include information on WAL record generation\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 212,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 495,
- 498,
- 500,
- 497,
- 496,
- 499
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "default"
- },
- {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "name": "default"
- }
- ]
- }
- }
- ]
- },
- {
- "id": 489,
- "name": "geojson",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 174,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 490,
- "name": "geojson",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
- },
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 465,
- "name": "limit",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 466,
- "name": "limit",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limit the query result by `count`."
- },
- "parameters": [
- {
- "id": 467,
- "name": "count",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The maximum number of rows to return"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 468,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 469,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 470,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
- "character": 43
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 470
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 484,
- "name": "maybeSingle",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 149,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 485,
- "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"
- },
- "typeParameter": [
- {
- "id": 486,
- "name": "ResultOne",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "reference",
- "id": 442,
- "name": "Result"
- },
- "extendsType": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "ResultOne"
- }
- },
- "trueType": {
- "type": "reference",
- "name": "ResultOne"
- },
- "falseType": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 387,
- "name": "ResultOne"
- }
- ]
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 449,
- "name": "order",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 44,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 450,
- "name": "order",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Order the query result by `column`.",
- "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n"
- },
- "typeParameter": [
- {
- "id": 451,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 452,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to order by"
- },
- "type": {
- "type": "reference",
- "id": 352,
- "name": "ColumnName"
- }
- },
- {
- "id": 453,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 454,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 455,
- "name": "ascending",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, the result will be in ascending order"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 457,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 456,
- "name": "nullsFirst",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
- "character": 37
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 455,
- 457,
- 456
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 458,
- "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"
- },
- "parameters": [
- {
- "id": 459,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to order by"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 460,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 461,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 462,
- "name": "ascending",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, the result will be in ascending order"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 464,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 463,
- "name": "nullsFirst",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
- "character": 37
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 462,
- 464,
- 463
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 471,
- "name": "range",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 472,
- "name": "range",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
- },
- "parameters": [
- {
- "id": 473,
- "name": "from",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The starting index from which to limit the result"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 474,
- "name": "to",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The last index to which to limit the result"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 475,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 476,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 477,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
- "character": 54
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 477
- ]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 503,
- "name": "returns",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 252,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 504,
- "name": "returns",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Override the type of the returned `data`."
- },
- "typeParameter": [
- {
- "id": 505,
- "name": "NewResult",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "comment": {
- "shortText": "The new result type to override with\n"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 406,
- "name": "NewResult"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 501,
- "name": "rollback",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 238,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 502,
- "name": "rollback",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Rollback the query.",
- "text": "`data` will still be returned, but the query is not committed.\n"
- },
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 444,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 19,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 445,
- "name": "select",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a SELECT on the query result.",
- "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n"
- },
- "typeParameter": [
- {
- "id": 446,
- "name": "Query",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "literal",
- "value": "*"
- }
- },
- {
- "id": 447,
- "name": "NewResultOne",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 347,
- "name": "Query"
- }
- ],
- "name": "GetResult"
- }
- }
- ],
- "parameters": [
- {
- "id": 448,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
- },
- "type": {
- "type": "reference",
- "id": 347,
- "name": "Query"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 348,
- "name": "NewResultOne"
- }
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 481,
- "name": "single",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 136,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 482,
- "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"
- },
- "typeParameter": [
- {
- "id": 483,
- "name": "ResultOne",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "reference",
- "id": 442,
- "name": "Result"
- },
- "extendsType": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "ResultOne"
- }
- },
- "trueType": {
- "type": "reference",
- "name": "ResultOne"
- },
- "falseType": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "reference",
- "id": 384,
- "name": "ResultOne"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 521,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 48,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 522,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 523,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 584,
- "typeArguments": [
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- },
- {
- "id": 524,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 525,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 526,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 527,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 528,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 584,
- "typeArguments": [
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 424,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 424,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 529,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 530,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 531,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 532,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 425,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 425,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 424,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 425,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 557,
- "name": "default.then"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 556,
- "name": "default.then"
- }
- },
- {
- "id": 519,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 43,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 520,
- "name": "throwOnError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
- "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
- },
- "type": {
- "type": "reference",
- "id": 437,
- "typeArguments": [
- {
- "type": "reference",
- "id": 440,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 441,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 555,
- "name": "default.throwOnError"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 554,
- "name": "default.throwOnError"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 438
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 510,
- 513,
- 508,
- 518,
- 506,
- 509,
- 511,
- 512,
- 507
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 478,
- 487,
- 491,
- 489,
- 465,
- 484,
- 449,
- 471,
- 503,
- 501,
- 444,
- 481,
- 521,
- 519
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 5,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 533,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- }
- },
- {
- "id": 534,
- "name": "Row",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 535,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 536,
- "typeArguments": [
- {
- "type": "reference",
- "id": 442,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 114,
- "name": "PostgrestFilterBuilder"
- }
- ]
- },
- {
- "id": 571,
- "name": "PostgrestResponseFailure",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 574,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 573,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 31,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 572,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 588,
- "name": "PostgrestError"
- }
- },
- {
- "id": 575,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 21,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestResponseBase.status"
- }
- },
- {
- "id": 576,
- "name": "statusText",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 22,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestResponseBase.statusText"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 574,
- 573,
- 572,
- 575,
- 576
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 29,
- "character": 17
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "name": "PostgrestResponseBase"
- }
- ]
- },
- {
- "id": 577,
- "name": "PostgrestResponseSuccess",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 580,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 27,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- },
- {
- "id": 579,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 26,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 583,
- "name": "T"
- }
- },
- {
- "id": 578,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 25,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 581,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 21,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestResponseBase.status"
- }
- },
- {
- "id": 582,
- "name": "statusText",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 22,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "name": "PostgrestResponseBase.statusText"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 580,
- 579,
- 578,
- 581,
- 582
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 24,
- "character": 17
- }
- ],
- "typeParameter": [
- {
- "id": 583,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "name": "PostgrestResponseBase"
- }
- ]
- },
- {
- "id": 588,
- "name": "PostgrestError",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "shortText": "Error format",
- "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
- },
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 589,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 593,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 591,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 592,
- "name": "hint",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 590,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 593,
- 591,
- 592,
- 590
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 8,
- "character": 29
- }
- ]
- }
- }
- },
- {
- "id": 586,
- "name": "PostgrestMaybeSingleResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 39,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 587,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "reference",
- "id": 584,
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 587,
- "name": "T"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- },
- {
- "id": 569,
- "name": "PostgrestResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 40,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 570,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "reference",
- "id": 584,
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 570,
- "name": "T"
- }
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- },
- {
- "id": 584,
- "name": "PostgrestSingleResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 38,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 585,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 577,
- "typeArguments": [
- {
- "type": "reference",
- "id": 585,
- "name": "T"
- }
- ],
- "name": "PostgrestResponseSuccess"
- },
- {
- "type": "reference",
- "id": 571,
- "name": "PostgrestResponseFailure"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 536,
- 1,
- 114,
- 49,
- 437
- ]
- },
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [
- 571,
- 577
- ]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [
- 588,
- 586,
- 569,
- 584
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
-}
\ No newline at end of file
+ "id": 0,
+ "name": "@supabase/postgrest-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 568,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isAbstract": true
+ },
+ "children": [
+ {
+ "id": 569,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 570,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 571,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 572,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 577,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ },
+ {
+ "id": 580,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 581,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 582,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 583,
+ "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": 584,
+ "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": 575,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 585,
+ "name": "isMaybeSingle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 573,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "GET"
+ },
+ {
+ "type": "literal",
+ "value": "HEAD"
+ },
+ {
+ "type": "literal",
+ "value": "POST"
+ },
+ {
+ "type": "literal",
+ "value": "PATCH"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 576,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 11,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 578,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 579,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ },
+ {
+ "id": 574,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 588,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 589,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 590,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "id": 616,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 591,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 592,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 593,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 594,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 595,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 616,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "TResult1"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 596,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 597,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 598,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 599,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 454,
+ "name": "TResult2"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 454,
+ "name": "TResult2"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "id": 454,
+ "name": "TResult2"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "implementationOf": {
+ "type": "reference",
+ "name": "PromiseLike.then"
+ }
+ }
+ ],
+ "implementationOf": {
+ "type": "reference",
+ "name": "PromiseLike.then"
+ }
+ },
+ {
+ "id": 586,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 587,
+ "name": "throwOnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
+ "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [569]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [577, 580, 575, 585, 573, 576, 578, 579, 574]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [588, 586]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 5,
+ "character": 30
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 600,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 467,
+ "name": "PostgrestTransformBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 616,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 571,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "PostgrestClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "PostgREST client."
+ },
+ "children": [
+ {
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "new PostgrestClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a PostgREST client."
+ },
+ "typeParameter": [
+ {
+ "id": 4,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 5,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 6,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 7,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "URL of the PostgREST endpoint"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 8,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 12,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 50,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 13,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 14,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Custom fetch\n"
+ },
+ "parameters": [
+ {
+ "id": 15,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 16,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 10,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Custom headers"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 48,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 11,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Postgres schema to switch to"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 49,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [12, 10, 11]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 20,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 21,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 22,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 23,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 24,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 18,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 19,
+ "name": "schemaName",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ }
+ },
+ {
+ "id": 17,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 26,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 25,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 26,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a query on a table or a view."
+ },
+ "typeParameter": [
+ {
+ "id": 27,
+ "name": "TableName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 28,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericTable"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 29,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "TableName"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 57,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 28,
+ "name": "Table"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 28,
+ "name": "Table"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 30,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 31,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [31]
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 32,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a query on a table or a view."
+ },
+ "typeParameter": [
+ {
+ "id": 33,
+ "name": "ViewName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 34,
+ "name": "View",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericView"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 35,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 33,
+ "name": "ViewName"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 57,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 34,
+ "name": "View"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 34,
+ "name": "View"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [37]
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 38,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a query on a table or a view."
+ },
+ "parameters": [
+ {
+ "id": 39,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 57,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
+ {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 44,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 127,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 45,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "typeParameter": [
+ {
+ "id": 46,
+ "name": "FunctionName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 47,
+ "name": "Function_",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericFunction"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 48,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The function name to call"
+ },
+ "type": {
+ "type": "reference",
+ "id": 46,
+ "name": "FunctionName"
+ }
+ },
+ {
+ "id": 49,
+ "name": "args",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The arguments to pass to the function call"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Args"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 47,
+ "name": "Function_"
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 50,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 51,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 53,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 138,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 52,
+ "name": "head",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count."
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 137,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [53, 52]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Returns"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 47,
+ "name": "Function_"
+ }
+ },
+ "extendsType": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "trueType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Returns"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 47,
+ "name": "Function_"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "schema",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 41,
+ "name": "schema",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Select a schema to query or perform an function (rpc) call.",
+ "text": "The schema needs to be on the list of exposed schemas inside Supabase.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 42,
+ "name": "DynamicSchema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 43,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The schema to query\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 42,
+ "name": "DynamicSchema"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 42,
+ "name": "DynamicSchema"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 42,
+ "name": "DynamicSchema"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [2]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [20, 18, 19, 17]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [25, 44, 40]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 17,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 54,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/next/typescript-support)\n"
+ },
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 55,
+ "name": "SchemaName",
+ "kind": 131072,
+ "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"
+ },
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ }
+ ]
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 56,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 142,
+ "name": "PostgrestFilterBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 143,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 144,
+ "name": "new PostgrestFilterBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 145,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 146,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 147,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ },
+ {
+ "id": 148,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 149,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 469,
+ "name": "default.constructor"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 468,
+ "name": "default.constructor"
+ }
+ },
+ {
+ "id": 440,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 541,
+ "name": "default.body"
+ }
+ },
+ {
+ "id": 443,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 444,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 445,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 446,
+ "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": 447,
+ "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": 544,
+ "name": "default.fetch"
+ }
+ },
+ {
+ "id": 438,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 539,
+ "name": "default.headers"
+ }
+ },
+ {
+ "id": 448,
+ "name": "isMaybeSingle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 549,
+ "name": "default.isMaybeSingle"
+ }
+ },
+ {
+ "id": 436,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "GET"
+ },
+ {
+ "type": "literal",
+ "value": "HEAD"
+ },
+ {
+ "type": "literal",
+ "value": "POST"
+ },
+ {
+ "type": "literal",
+ "value": "PATCH"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 537,
+ "name": "default.method"
+ }
+ },
+ {
+ "id": 439,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 11,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 540,
+ "name": "default.schema"
+ }
+ },
+ {
+ "id": 441,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 542,
+ "name": "default.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 442,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 543,
+ "name": "default.signal"
+ }
+ },
+ {
+ "id": 437,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 538,
+ "name": "default.url"
+ }
+ },
+ {
+ "id": 408,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 130,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 409,
+ "name": "abortSignal",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Set the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 410,
+ "name": "signal",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The AbortSignal to use for the fetch request\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 510,
+ "name": "default.abortSignal"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 509,
+ "name": "default.abortSignal"
+ }
+ },
+ {
+ "id": 270,
+ "name": "containedBy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 277,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 271,
+ "name": "containedBy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in `column` is contained by `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 272,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 273,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The jsonb, array, or range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 272,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 274,
+ "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": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 272,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 275,
+ "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`."
+ },
+ "parameters": [
+ {
+ "id": 276,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The jsonb, array, or range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 277,
+ "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": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 262,
+ "name": "contains",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 263,
+ "name": "contains",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\n`column` contains every element appearing in `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 264,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 265,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The jsonb, array, or range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 264,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 266,
+ "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": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 264,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 267,
+ "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`."
+ },
+ "parameters": [
+ {
+ "id": 268,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The jsonb, array, or range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 269,
+ "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": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 417,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 171,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 418,
+ "name": "csv",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as a string in CSV format."
+ },
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 519,
+ "name": "default.csv"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 518,
+ "name": "default.csv"
+ }
+ },
+ {
+ "id": 150,
+ "name": "eq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 151,
+ "name": "eq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is equal to `value`.",
+ "text": "To check if the value of `column` is NULL, you should use `.is()` instead.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 152,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 153,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 152,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 154,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 152,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 155,
+ "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"
+ },
+ "parameters": [
+ {
+ "id": 156,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 157,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 421,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 205,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 422,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as the EXPLAIN plan for the query."
+ },
+ "parameters": [
+ {
+ "id": 423,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 424,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "analyze",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 213,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 428,
+ "name": "buffers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, include information on buffer usage\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 216,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 430,
+ "name": "format",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 218,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "text"
+ },
+ {
+ "type": "literal",
+ "value": "json"
+ }
+ ]
+ }
+ },
+ {
+ "id": 427,
+ "name": "settings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 215,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 426,
+ "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": 214,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 429,
+ "name": "wal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, include information on WAL record generation\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 217,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [425, 428, 430, 427, 426, 429]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "default"
+ },
+ {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "name": "default"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 523,
+ "name": "default.explain"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 522,
+ "name": "default.explain"
+ }
+ },
+ {
+ "id": 364,
+ "name": "filter",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 496,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 365,
+ "name": "filter",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.",
+ "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 366,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 367,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 366,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 368,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operator to filter with, following PostgREST syntax"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "FilterOperator"
+ },
+ {
+ "type": "literal",
+ "value": "not.eq"
+ },
+ {
+ "type": "literal",
+ "value": "not.neq"
+ },
+ {
+ "type": "literal",
+ "value": "not.gt"
+ },
+ {
+ "type": "literal",
+ "value": "not.gte"
+ },
+ {
+ "type": "literal",
+ "value": "not.lt"
+ },
+ {
+ "type": "literal",
+ "value": "not.lte"
+ },
+ {
+ "type": "literal",
+ "value": "not.like"
+ },
+ {
+ "type": "literal",
+ "value": "not.ilike"
+ },
+ {
+ "type": "literal",
+ "value": "not.is"
+ },
+ {
+ "type": "literal",
+ "value": "not.in"
+ },
+ {
+ "type": "literal",
+ "value": "not.cs"
+ },
+ {
+ "type": "literal",
+ "value": "not.cd"
+ },
+ {
+ "type": "literal",
+ "value": "not.sl"
+ },
+ {
+ "type": "literal",
+ "value": "not.sr"
+ },
+ {
+ "type": "literal",
+ "value": "not.nxl"
+ },
+ {
+ "type": "literal",
+ "value": "not.nxr"
+ },
+ {
+ "type": "literal",
+ "value": "not.adj"
+ },
+ {
+ "type": "literal",
+ "value": "not.ov"
+ },
+ {
+ "type": "literal",
+ "value": "not.fts"
+ },
+ {
+ "type": "literal",
+ "value": "not.plfts"
+ },
+ {
+ "type": "literal",
+ "value": "not.phfts"
+ },
+ {
+ "type": "literal",
+ "value": "not.wfts"
+ }
+ ]
+ }
+ },
+ {
+ "id": 369,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with, following PostgREST syntax\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 370,
+ "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"
+ },
+ "parameters": [
+ {
+ "id": 371,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 372,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operator to filter with, following PostgREST syntax"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 373,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with, following PostgREST syntax\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 419,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 179,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 420,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
+ },
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 521,
+ "name": "default.geojson"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 520,
+ "name": "default.geojson"
+ }
+ },
+ {
+ "id": 166,
+ "name": "gt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 167,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is greater than `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 168,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 169,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 168,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 170,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 168,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is greater than `value`."
+ },
+ "parameters": [
+ {
+ "id": 172,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 173,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 174,
+ "name": "gte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 75,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 175,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is greater than or equal to `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 176,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 177,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 176,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 178,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 176,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 179,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is greater than or equal to `value`."
+ },
+ "parameters": [
+ {
+ "id": 180,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 181,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 222,
+ "name": "ilike",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 159,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 223,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
+ },
+ "typeParameter": [
+ {
+ "id": 224,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 225,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 224,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 226,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The pattern to match with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 227,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
+ },
+ "parameters": [
+ {
+ "id": 228,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 229,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The pattern to match with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 230,
+ "name": "ilikeAllOf",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 172,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 231,
+ "name": "ilikeAllOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
+ },
+ "typeParameter": [
+ {
+ "id": 232,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 233,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 232,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 234,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 235,
+ "name": "ilikeAllOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
+ },
+ "parameters": [
+ {
+ "id": 236,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 237,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 238,
+ "name": "ilikeAnyOf",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 188,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 239,
+ "name": "ilikeAnyOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
+ },
+ "typeParameter": [
+ {
+ "id": 240,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 241,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 240,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 242,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 243,
+ "name": "ilikeAnyOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
+ },
+ "parameters": [
+ {
+ "id": 244,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 245,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 254,
+ "name": "in",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 226,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 255,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is included in the `values` array."
+ },
+ "typeParameter": [
+ {
+ "id": 256,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 257,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 256,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 258,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values array to filter with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 256,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 259,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is included in the `values` array."
+ },
+ "parameters": [
+ {
+ "id": 260,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 261,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values array to filter with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 246,
+ "name": "is",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 204,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 247,
+ "name": "is",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` IS `value`.",
+ "text": "For non-boolean columns, this is only relevant for checking if the value of\n`column` is NULL by setting `value` to `null`.\n\nFor boolean columns, you can also set `value` to `true` or `false` and it\nwill behave the same way as `.eq()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 248,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 249,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 248,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 250,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 248,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 248,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ },
+ {
+ "type": "literal",
+ "value": false
+ }
+ ]
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 248,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ },
+ {
+ "type": "literal",
+ "value": true
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 251,
+ "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"
+ },
+ "parameters": [
+ {
+ "id": 252,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 253,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 198,
+ "name": "like",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 114,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 199,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
+ },
+ "typeParameter": [
+ {
+ "id": 200,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 201,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 200,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 202,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The pattern to match with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 203,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
+ },
+ "parameters": [
+ {
+ "id": 204,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 205,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The pattern to match with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 206,
+ "name": "likeAllOf",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 127,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 207,
+ "name": "likeAllOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches all of `patterns` case-sensitively."
+ },
+ "typeParameter": [
+ {
+ "id": 208,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 209,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 208,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 210,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 211,
+ "name": "likeAllOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches all of `patterns` case-sensitively."
+ },
+ "parameters": [
+ {
+ "id": 212,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 213,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 214,
+ "name": "likeAnyOf",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 143,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 215,
+ "name": "likeAnyOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches any of `patterns` case-sensitively."
+ },
+ "typeParameter": [
+ {
+ "id": 216,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 217,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 216,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 218,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 219,
+ "name": "likeAnyOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches any of `patterns` case-sensitively."
+ },
+ "parameters": [
+ {
+ "id": 220,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 221,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 395,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 396,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limit the query result by `count`."
+ },
+ "parameters": [
+ {
+ "id": 397,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The maximum number of rows to return"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 398,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 399,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 400,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 97,
+ "character": 43
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [400]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 497,
+ "name": "default.limit"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 496,
+ "name": "default.limit"
+ }
+ },
+ {
+ "id": 182,
+ "name": "lt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 183,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is less than `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 184,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 185,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 184,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 186,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 184,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 187,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is less than `value`."
+ },
+ "parameters": [
+ {
+ "id": 188,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 189,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 190,
+ "name": "lte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 101,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 191,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is less than or equal to `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 192,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 193,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 192,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 194,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 192,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 195,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is less than or equal to `value`."
+ },
+ "parameters": [
+ {
+ "id": 196,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 197,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 342,
+ "name": "match",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 437,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 343,
+ "name": "match",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where each column in `query` keys is equal to its\nassociated value. Shorthand for multiple `.eq()`s."
+ },
+ "typeParameter": [
+ {
+ "id": 344,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 345,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The object to filter with, with column names as keys mapped\nto their filter values\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 344,
+ "name": "ColumnName"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 344,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 346,
+ "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."
+ },
+ "parameters": [
+ {
+ "id": 347,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The object to filter with, with column names as keys mapped\nto their filter values\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 414,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 154,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 415,
+ "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"
+ },
+ "typeParameter": [
+ {
+ "id": 416,
+ "name": "ResultOne",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ "extendsType": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "ResultOne"
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "ResultOne"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 416,
+ "name": "ResultOne"
+ }
+ ]
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 516,
+ "name": "default.maybeSingle"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 515,
+ "name": "default.maybeSingle"
+ }
+ },
+ {
+ "id": 158,
+ "name": "neq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 159,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is not equal to `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 160,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 161,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 160,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 162,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 160,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 163,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is not equal to `value`."
+ },
+ "parameters": [
+ {
+ "id": 164,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 165,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 348,
+ "name": "not",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 453,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 349,
+ "name": "not",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows which doesn't satisfy the filter.",
+ "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 350,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 351,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 350,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 352,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operator to be negated to filter with, following\nPostgREST syntax"
+ },
+ "type": {
+ "type": "reference",
+ "name": "FilterOperator"
+ }
+ },
+ {
+ "id": 353,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with, following PostgREST syntax\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 350,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 354,
+ "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"
+ },
+ "parameters": [
+ {
+ "id": 355,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 356,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operator to be negated to filter with, following\nPostgREST syntax"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 357,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with, following PostgREST syntax\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 358,
+ "name": "or",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 490,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 359,
+ "name": "or",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows which satisfy at least one of the filters.",
+ "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n"
+ },
+ "parameters": [
+ {
+ "id": 360,
+ "name": "filters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The filters to use, following PostgREST syntax"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "foreignTable",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Set this to filter on foreign tables instead of the\ncurrent table\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 362,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 363,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 490,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [363]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 379,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 380,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Order the query result by `column`.",
+ "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 381,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 382,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to order by"
+ },
+ "type": {
+ "type": "reference",
+ "id": 381,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 383,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 384,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 385,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, the result will be in ascending order"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 47,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 387,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 47,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 386,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 47,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [385, 387, 386]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 481,
+ "name": "default.order"
+ }
+ },
+ {
+ "id": 388,
+ "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"
+ },
+ "parameters": [
+ {
+ "id": 389,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to order by"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 391,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 392,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, the result will be in ascending order"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 51,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 394,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 51,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 393,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 51,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [392, 394, 393]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 489,
+ "name": "default.order"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 480,
+ "name": "default.order"
+ }
+ },
+ {
+ "id": 318,
+ "name": "overlaps",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 376,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 319,
+ "name": "overlaps",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common."
+ },
+ "typeParameter": [
+ {
+ "id": 320,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 321,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The array or range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 320,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 322,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The array or range value to filter with\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 320,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 323,
+ "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."
+ },
+ "parameters": [
+ {
+ "id": 324,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The array or range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 325,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The array or range value to filter with\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 401,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 402,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limit the query result by starting at an offset (`from`) and ending at the offset (`from + to`).\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query."
+ },
+ "parameters": [
+ {
+ "id": 403,
+ "name": "from",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The starting index from which to limit the result"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 404,
+ "name": "to",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The last index to which to limit the result"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 405,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 406,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 407,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [407]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 503,
+ "name": "default.range"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 502,
+ "name": "default.range"
+ }
+ },
+ {
+ "id": 310,
+ "name": "rangeAdjacent",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 361,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 311,
+ "name": "rangeAdjacent",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for range columns. Match only rows where `column` is\nmutually exclusive to `range` and there can be no element between the two\nranges."
+ },
+ "typeParameter": [
+ {
+ "id": 312,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 313,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 312,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 314,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 315,
+ "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."
+ },
+ "parameters": [
+ {
+ "id": 316,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 317,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "rangeGt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 303,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 279,
+ "name": "rangeGt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`."
+ },
+ "typeParameter": [
+ {
+ "id": 280,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 281,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 280,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 282,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 283,
+ "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`."
+ },
+ "parameters": [
+ {
+ "id": 284,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 285,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 286,
+ "name": "rangeGte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 317,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 287,
+ "name": "rangeGte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or greater than any element in\n`range`."
+ },
+ "typeParameter": [
+ {
+ "id": 288,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 289,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 288,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "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": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 291,
+ "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`."
+ },
+ "parameters": [
+ {
+ "id": 292,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 293,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 294,
+ "name": "rangeLt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 332,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 295,
+ "name": "rangeLt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is less than any element in `range`."
+ },
+ "typeParameter": [
+ {
+ "id": 296,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 297,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 296,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 298,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 299,
+ "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`."
+ },
+ "parameters": [
+ {
+ "id": 300,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 301,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 302,
+ "name": "rangeLte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 346,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 303,
+ "name": "rangeLte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or less than any element in\n`range`."
+ },
+ "typeParameter": [
+ {
+ "id": 304,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 305,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 304,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 306,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 307,
+ "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`."
+ },
+ "parameters": [
+ {
+ "id": 308,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 309,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 433,
+ "name": "returns",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 257,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 434,
+ "name": "returns",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Override the type of the returned `data`."
+ },
+ "typeParameter": [
+ {
+ "id": 435,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The new result type to override with\n"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 435,
+ "name": "NewResult"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 535,
+ "name": "default.returns"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 534,
+ "name": "default.returns"
+ }
+ },
+ {
+ "id": 431,
+ "name": "rollback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 243,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 432,
+ "name": "rollback",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Rollback the query.",
+ "text": "`data` will still be returned, but the query is not committed.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 533,
+ "name": "default.rollback"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 532,
+ "name": "default.rollback"
+ }
+ },
+ {
+ "id": 374,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 375,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a SELECT on the query result.",
+ "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 376,
+ "name": "Query",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "literal",
+ "value": "*"
+ }
+ },
+ {
+ "id": 377,
+ "name": "NewResultOne",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ },
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "Query"
+ }
+ ],
+ "name": "GetResult"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 378,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The columns to retrieve, separated by commas\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 376,
+ "name": "Query"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 377,
+ "name": "NewResultOne"
+ }
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 476,
+ "name": "default.select"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 475,
+ "name": "default.select"
+ }
+ },
+ {
+ "id": 411,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 412,
+ "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"
+ },
+ "typeParameter": [
+ {
+ "id": 413,
+ "name": "ResultOne",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ "extendsType": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "ResultOne"
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "ResultOne"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 413,
+ "name": "ResultOne"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 513,
+ "name": "default.single"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 512,
+ "name": "default.single"
+ }
+ },
+ {
+ "id": 326,
+ "name": "textSearch",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 399,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 327,
+ "name": "textSearch",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for text and tsvector columns. Match only rows where\n`column` matches the query string in `query`."
+ },
+ "typeParameter": [
+ {
+ "id": 328,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 329,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The text or tsvector column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 328,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 330,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The query text to match with"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 331,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "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
+ },
+ "comment": {
+ "shortText": "The text search configuration to use"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 402,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 334,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Change how the `query` text is interpreted\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 402,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "plain"
+ },
+ {
+ "type": "literal",
+ "value": "phrase"
+ },
+ {
+ "type": "literal",
+ "value": "websearch"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [333, 334]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 335,
+ "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`."
+ },
+ "parameters": [
+ {
+ "id": 336,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The text or tsvector column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 337,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The query text to match with"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 338,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "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
+ },
+ "comment": {
+ "shortText": "The text search configuration to use"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 407,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 341,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Change how the `query` text is interpreted\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 407,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "plain"
+ },
+ {
+ "type": "literal",
+ "value": "phrase"
+ },
+ {
+ "type": "literal",
+ "value": "websearch"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [340, 341]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 451,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 452,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 453,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "id": 616,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 454,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 455,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 456,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 457,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 458,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 616,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "TResult1"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 459,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 460,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 461,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 462,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 454,
+ "name": "TResult2"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 454,
+ "name": "TResult2"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "id": 454,
+ "name": "TResult2"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 553,
+ "name": "default.then"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 552,
+ "name": "default.then"
+ }
+ },
+ {
+ "id": 449,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 450,
+ "name": "throwOnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
+ "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 551,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 550,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [143]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [440, 443, 438, 448, 436, 439, 441, 442, 437]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 408, 270, 262, 417, 150, 421, 364, 419, 166, 174, 222, 230, 238, 254, 246, 198, 206,
+ 214, 395, 182, 190, 342, 414, 158, 348, 358, 379, 318, 401, 310, 278, 286, 294, 302,
+ 433, 431, 374, 411, 326, 451, 449
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 28,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 463,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 464,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 465,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ },
+ {
+ "id": 466,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ ]
+ },
+ {
+ "id": 57,
+ "name": "PostgrestQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 58,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 59,
+ "name": "new PostgrestQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 60,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 61,
+ "name": "Relation",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "GenericTable"
+ },
+ {
+ "type": "reference",
+ "name": "GenericView"
+ }
+ ]
+ }
+ },
+ {
+ "id": 64,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 62,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 63,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [63]
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 65,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 66,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 67,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 70,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 71,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 72,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 73,
+ "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": 74,
+ "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": 68,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 24,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 69,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [70, 68, 69]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 57,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 79,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 81,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 82,
+ "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": 83,
+ "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": 76,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 12,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 77,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 13,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 78,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ },
+ {
+ "id": 75,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 11,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 132,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 356,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 133,
+ "name": "delete",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a DELETE on the table or view.",
+ "text": "By default, deleted rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n"
+ },
+ "parameters": [
+ {
+ "id": 134,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 135,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 136,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count deleted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 359,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [136]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 93,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 100,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 94,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform an INSERT into the table or view.",
+ "text": "By default, inserted rows are not returned. To return it, chain the call\nwith `.select()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 95,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 96,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 95,
+ "name": "Row"
+ }
+ },
+ {
+ "id": 97,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 98,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 99,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count inserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 103,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [99]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 100,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform an INSERT into the table or view.",
+ "text": "By default, inserted rows are not returned. To return it, chain the call\nwith `.select()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 101,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 102,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows.\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 101,
+ "name": "Row"
+ }
+ }
+ },
+ {
+ "id": 103,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 104,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 105,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count inserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 109,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 106,
+ "name": "defaultToNull",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. Only applies for bulk\ninserts.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 110,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [105, 106]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 84,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 85,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a SELECT query on the table or view."
+ },
+ "typeParameter": [
+ {
+ "id": 86,
+ "name": "Query",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "literal",
+ "value": "*"
+ }
+ },
+ {
+ "id": 87,
+ "name": "ResultOne",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ },
+ {
+ "type": "reference",
+ "id": 86,
+ "name": "Query"
+ }
+ ],
+ "name": "GetResult"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 88,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The columns to retrieve, separated by commas. Columns can be renamed when returned with `customName:columnName`\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 86,
+ "name": "Query"
+ }
+ },
+ {
+ "id": 89,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 90,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 92,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count rows in the table or view.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 66,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 91,
+ "name": "head",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 65,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [92, 91]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 87,
+ "name": "ResultOne"
+ }
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 125,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 308,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 126,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform an UPDATE on the table or view.",
+ "text": "By default, updated rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 127,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 128,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to update with\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 127,
+ "name": "Row"
+ }
+ },
+ {
+ "id": 129,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 130,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count updated rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 313,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [131]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 107,
+ "name": "upsert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 183,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 108,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto `onConflict`, `.upsert()` allows you to perform the equivalent of\n`.insert()` if a row with the corresponding `onConflict` columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n`ignoreDuplicates`.",
+ "text": "By default, upserted rows are not returned. To return it, chain the call\nwith `.select()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 109,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 110,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 109,
+ "name": "Row"
+ }
+ },
+ {
+ "id": 111,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 112,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 115,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count upserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 188,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 114,
+ "name": "ignoreDuplicates",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 187,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 113,
+ "name": "onConflict",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n`onConflict` columns are equal.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 186,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [115, 114, 113]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 116,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto `onConflict`, `.upsert()` allows you to perform the equivalent of\n`.insert()` if a row with the corresponding `onConflict` columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n`ignoreDuplicates`.",
+ "text": "By default, upserted rows are not returned. To return it, chain the call\nwith `.select()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 117,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 118,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 117,
+ "name": "Row"
+ }
+ }
+ },
+ {
+ "id": 119,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 120,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 123,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count upserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 196,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 124,
+ "name": "defaultToNull",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n`ignoreDuplicates: false`. This also only applies when doing bulk upserts.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 197,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 122,
+ "name": "ignoreDuplicates",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 195,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 121,
+ "name": "onConflict",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n`onConflict` columns are equal.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 194,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [123, 124, 122, 121]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [58]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [79, 76, 77, 78, 75]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [132, 93, 84, 125, 107]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 6,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 137,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 138,
+ "name": "Relation",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "GenericTable"
+ },
+ {
+ "type": "reference",
+ "name": "GenericView"
+ }
+ ]
+ }
+ },
+ {
+ "id": 141,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 139,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 140,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "inferred",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [140]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 35
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 467,
+ "name": "PostgrestTransformBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 468,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 469,
+ "name": "new PostgrestTransformBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 470,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 471,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 472,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ },
+ {
+ "id": 473,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 474,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 570,
+ "name": "default.constructor"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 569,
+ "name": "default.constructor"
+ }
+ },
+ {
+ "id": 541,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 12,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 577,
+ "name": "default.body"
+ }
+ },
+ {
+ "id": 544,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 545,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 546,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 547,
+ "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": 548,
+ "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": 580,
+ "name": "default.fetch"
+ }
+ },
+ {
+ "id": 539,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 575,
+ "name": "default.headers"
+ }
+ },
+ {
+ "id": 549,
+ "name": "isMaybeSingle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 585,
+ "name": "default.isMaybeSingle"
+ }
+ },
+ {
+ "id": 537,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "GET"
+ },
+ {
+ "type": "literal",
+ "value": "HEAD"
+ },
+ {
+ "type": "literal",
+ "value": "POST"
+ },
+ {
+ "type": "literal",
+ "value": "PATCH"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 573,
+ "name": "default.method"
+ }
+ },
+ {
+ "id": 540,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 11,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 576,
+ "name": "default.schema"
+ }
+ },
+ {
+ "id": 542,
+ "name": "shouldThrowOnError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false",
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 578,
+ "name": "default.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 543,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 579,
+ "name": "default.signal"
+ }
+ },
+ {
+ "id": 538,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 574,
+ "name": "default.url"
+ }
+ },
+ {
+ "id": 509,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 130,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 510,
+ "name": "abortSignal",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Set the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 511,
+ "name": "signal",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The AbortSignal to use for the fetch request\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 518,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 171,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 519,
+ "name": "csv",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as a string in CSV format."
+ },
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 522,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 205,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 523,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as the EXPLAIN plan for the query."
+ },
+ "parameters": [
+ {
+ "id": 524,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 525,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 526,
+ "name": "analyze",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 213,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 529,
+ "name": "buffers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, include information on buffer usage\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 216,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 531,
+ "name": "format",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 218,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "text"
+ },
+ {
+ "type": "literal",
+ "value": "json"
+ }
+ ]
+ }
+ },
+ {
+ "id": 528,
+ "name": "settings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 215,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 527,
+ "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": 214,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 530,
+ "name": "wal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, include information on WAL record generation\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 217,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [526, 529, 531, 528, 527, 530]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "default"
+ },
+ {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "name": "default"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 520,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 179,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 521,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
+ },
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 496,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 497,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limit the query result by `count`."
+ },
+ "parameters": [
+ {
+ "id": 498,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The maximum number of rows to return"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 499,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 500,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 501,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 97,
+ "character": 43
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [501]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 515,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 154,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 516,
+ "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"
+ },
+ "typeParameter": [
+ {
+ "id": 517,
+ "name": "ResultOne",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ },
+ "extendsType": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "ResultOne"
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "ResultOne"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 416,
+ "name": "ResultOne"
+ }
+ ]
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 480,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 481,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Order the query result by `column`.",
+ "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 482,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 483,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to order by"
+ },
+ "type": {
+ "type": "reference",
+ "id": 381,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 484,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 485,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 486,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, the result will be in ascending order"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 47,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 488,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 47,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 487,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 47,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [486, 488, 487]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 489,
+ "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"
+ },
+ "parameters": [
+ {
+ "id": 490,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to order by"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 491,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 492,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 493,
+ "name": "ascending",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, the result will be in ascending order"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 51,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 495,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set this to order a foreign table by foreign\ncolumns\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 51,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 494,
+ "name": "nullsFirst",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last."
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 51,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [493, 495, 494]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 502,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 503,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limit the query result by starting at an offset (`from`) and ending at the offset (`from + to`).\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query."
+ },
+ "parameters": [
+ {
+ "id": 504,
+ "name": "from",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The starting index from which to limit the result"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 505,
+ "name": "to",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The last index to which to limit the result"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 506,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 507,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 508,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [508]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 534,
+ "name": "returns",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 257,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 535,
+ "name": "returns",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Override the type of the returned `data`."
+ },
+ "typeParameter": [
+ {
+ "id": 536,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The new result type to override with\n"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 435,
+ "name": "NewResult"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 532,
+ "name": "rollback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 243,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 533,
+ "name": "rollback",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Rollback the query.",
+ "text": "`data` will still be returned, but the query is not committed.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 475,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 476,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a SELECT on the query result.",
+ "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 477,
+ "name": "Query",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "literal",
+ "value": "*"
+ }
+ },
+ {
+ "id": 478,
+ "name": "NewResultOne",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ },
+ {
+ "type": "reference",
+ "id": 376,
+ "name": "Query"
+ }
+ ],
+ "name": "GetResult"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 479,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The columns to retrieve, separated by commas\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 376,
+ "name": "Query"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 377,
+ "name": "NewResultOne"
+ }
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 512,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 513,
+ "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"
+ },
+ "typeParameter": [
+ {
+ "id": 514,
+ "name": "ResultOne",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ },
+ "extendsType": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "ResultOne"
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "ResultOne"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 413,
+ "name": "ResultOne"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 552,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 553,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 554,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "id": 616,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 555,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 556,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 557,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 558,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 559,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 616,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "TResult1"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 560,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 561,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 562,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 563,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 454,
+ "name": "TResult2"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 454,
+ "name": "TResult2"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "id": 454,
+ "name": "TResult2"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 589,
+ "name": "default.then"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 588,
+ "name": "default.then"
+ }
+ },
+ {
+ "id": 550,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 551,
+ "name": "throwOnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.",
+ "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 467,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 470,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 471,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 587,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 586,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [468]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [541, 544, 539, 549, 537, 540, 542, 543, 538]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [509, 518, 522, 520, 496, 515, 480, 502, 534, 532, 475, 512, 552, 550]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 5,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 564,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 565,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 566,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ },
+ {
+ "id": 567,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 568,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 142,
+ "name": "PostgrestFilterBuilder"
+ }
+ ]
+ },
+ {
+ "id": 603,
+ "name": "PostgrestResponseFailure",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 606,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 605,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 604,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 620,
+ "name": "PostgrestError"
+ }
+ },
+ {
+ "id": 607,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "PostgrestResponseBase.status"
+ }
+ },
+ {
+ "id": 608,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "PostgrestResponseBase.statusText"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [606, 605, 604, 607, 608]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 29,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "name": "PostgrestResponseBase"
+ }
+ ]
+ },
+ {
+ "id": 609,
+ "name": "PostgrestResponseSuccess",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 612,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 611,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 26,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 615,
+ "name": "T"
+ }
+ },
+ {
+ "id": 610,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 613,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "PostgrestResponseBase.status"
+ }
+ },
+ {
+ "id": 614,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "PostgrestResponseBase.statusText"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [612, 611, 610, 613, 614]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 24,
+ "character": 17
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 615,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "name": "PostgrestResponseBase"
+ }
+ ]
+ },
+ {
+ "id": 620,
+ "name": "PostgrestError",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "Error format",
+ "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 621,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 625,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 12,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 623,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 10,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 624,
+ "name": "hint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 11,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 622,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 9,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [625, 623, 624, 622]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 8,
+ "character": 29
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 618,
+ "name": "PostgrestMaybeSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 39,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 619,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 616,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 619,
+ "name": "T"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 601,
+ "name": "PostgrestResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 40,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 602,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 616,
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 602,
+ "name": "T"
+ }
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 616,
+ "name": "PostgrestSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 38,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 617,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 609,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 617,
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 603,
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [568, 1, 142, 57, 467]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [603, 609]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [620, 618, 601, 616]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
index 6830f856612..ede3d23cc88 100644
--- a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
@@ -7,7 +7,7 @@
"originalName": "",
"children": [
{
- "id": 536,
+ "id": 568,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -16,7 +16,7 @@
},
"children": [
{
- "id": 537,
+ "id": 569,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -30,14 +30,14 @@
],
"signatures": [
{
- "id": 538,
+ "id": 570,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 539,
+ "id": 571,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -46,24 +46,24 @@
],
"parameters": [
{
- "id": 540,
+ "id": 572,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 536,
+ "id": 568,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -75,32 +75,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 537
- ]
+ "children": [569]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 545,
- 548,
- 543,
- 553,
- 541,
- 544,
- 546,
- 547,
- 542
- ]
+ "children": [577, 580, 575, 585, 573, 576, 578, 579, 574]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 556,
- 554
- ]
+ "children": [588, 586]
}
],
"sources": [
@@ -112,7 +97,7 @@
],
"typeParameter": [
{
- "id": 568,
+ "id": 600,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -122,7 +107,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 437,
+ "id": 467,
"name": "PostgrestTransformBuilder"
}
],
@@ -132,11 +117,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -154,11 +139,11 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -168,7 +153,7 @@
]
},
{
- "id": 545,
+ "id": 577,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -189,7 +174,7 @@
}
},
{
- "id": 548,
+ "id": 580,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -206,21 +191,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 581,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 550,
+ "id": 582,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 551,
+ "id": 583,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -244,7 +229,7 @@
}
},
{
- "id": 552,
+ "id": 584,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -279,7 +264,7 @@
}
},
{
- "id": 543,
+ "id": 575,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -311,7 +296,7 @@
}
},
{
- "id": 553,
+ "id": 585,
"name": "isMaybeSingle",
"kind": 1024,
"kindString": "Property",
@@ -331,7 +316,7 @@
}
},
{
- "id": 541,
+ "id": 573,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -372,7 +357,7 @@
}
},
{
- "id": 544,
+ "id": 576,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -393,7 +378,7 @@
}
},
{
- "id": 546,
+ "id": 578,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -414,7 +399,7 @@
"defaultValue": "false"
},
{
- "id": 547,
+ "id": 579,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -437,7 +422,7 @@
}
},
{
- "id": 542,
+ "id": 574,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -459,7 +444,7 @@
}
},
{
- "id": 556,
+ "id": 588,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -473,25 +458,25 @@
],
"signatures": [
{
- "id": 557,
+ "id": 589,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 558,
+ "id": 590,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -499,7 +484,7 @@
}
},
{
- "id": 559,
+ "id": 591,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -512,7 +497,7 @@
],
"parameters": [
{
- "id": 560,
+ "id": 592,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -529,32 +514,32 @@
{
"type": "reflection",
"declaration": {
- "id": 561,
+ "id": 593,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 562,
+ "id": 594,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 563,
+ "id": 595,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -567,7 +552,7 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
@@ -575,7 +560,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
}
],
@@ -593,7 +578,7 @@
}
},
{
- "id": 564,
+ "id": 596,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -610,21 +595,21 @@
{
"type": "reflection",
"declaration": {
- "id": 565,
+ "id": 597,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 566,
+ "id": 598,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 567,
+ "id": 599,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -640,7 +625,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
},
{
@@ -648,7 +633,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
],
@@ -674,12 +659,12 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
]
@@ -701,7 +686,7 @@
}
},
{
- "id": 554,
+ "id": 586,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -715,7 +700,7 @@
],
"signatures": [
{
- "id": 555,
+ "id": 587,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -726,11 +711,11 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -744,32 +729,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 537
- ]
+ "children": [569]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 545,
- 548,
- 543,
- 553,
- 541,
- 544,
- 546,
- 547,
- 542
- ]
+ "children": [577, 580, 575, 585, 573, 576, 578, 579, 574]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 556,
- 554
- ]
+ "children": [588, 586]
}
],
"sources": [
@@ -781,7 +751,7 @@
],
"typeParameter": [
{
- "id": 568,
+ "id": 600,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -791,7 +761,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 437,
+ "id": 467,
"name": "PostgrestTransformBuilder"
}
],
@@ -801,11 +771,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -1151,11 +1121,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 12,
- 10,
- 11
- ]
+ "children": [12, 10, 11]
}
]
}
@@ -1310,7 +1276,7 @@
},
{
"id": 19,
- "name": "schema",
+ "name": "schemaName",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -1415,7 +1381,7 @@
],
"type": {
"type": "reference",
- "id": 49,
+ "id": 57,
"typeArguments": [
{
"type": "reference",
@@ -1426,13 +1392,66 @@
"type": "reference",
"id": 28,
"name": "Table"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 28,
+ "name": "Table"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 30,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 31,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [31]
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"name": "default"
}
},
{
- "id": 30,
+ "id": 32,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -1442,7 +1461,7 @@
},
"typeParameter": [
{
- "id": 31,
+ "id": 33,
"name": "ViewName",
"kind": 131072,
"kindString": "Type parameter",
@@ -1453,7 +1472,7 @@
}
},
{
- "id": 32,
+ "id": 34,
"name": "View",
"kind": 131072,
"kindString": "Type parameter",
@@ -1466,7 +1485,7 @@
],
"parameters": [
{
- "id": 33,
+ "id": 35,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
@@ -1476,7 +1495,7 @@
},
"type": {
"type": "reference",
- "id": 31,
+ "id": 33,
"name": "ViewName",
"dereferenced": {}
}
@@ -1484,7 +1503,7 @@
],
"type": {
"type": "reference",
- "id": 49,
+ "id": 57,
"typeArguments": [
{
"type": "reference",
@@ -1493,15 +1512,68 @@
},
{
"type": "reference",
- "id": 32,
+ "id": 34,
"name": "View"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 34,
+ "name": "View"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [37]
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"name": "default"
}
},
{
- "id": 34,
+ "id": 38,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -1511,7 +1583,7 @@
},
"parameters": [
{
- "id": 35,
+ "id": 39,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
@@ -1527,7 +1599,7 @@
],
"type": {
"type": "reference",
- "id": 49,
+ "id": 57,
"typeArguments": [
{
"type": "reference",
@@ -1537,6 +1609,10 @@
{
"type": "intrinsic",
"name": "any"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
}
],
"name": "default"
@@ -1545,7 +1621,7 @@
]
},
{
- "id": 36,
+ "id": 44,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -1553,13 +1629,13 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 102,
+ "line": 127,
"character": 2
}
],
"signatures": [
{
- "id": 37,
+ "id": 45,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -1569,7 +1645,7 @@
},
"typeParameter": [
{
- "id": 38,
+ "id": 46,
"name": "FunctionName",
"kind": 131072,
"kindString": "Type parameter",
@@ -1580,7 +1656,7 @@
}
},
{
- "id": 39,
+ "id": 47,
"name": "Function_",
"kind": 131072,
"kindString": "Type parameter",
@@ -1593,7 +1669,7 @@
],
"parameters": [
{
- "id": 40,
+ "id": 48,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -1603,13 +1679,13 @@
},
"type": {
"type": "reference",
- "id": 38,
+ "id": 46,
"name": "FunctionName",
"dereferenced": {}
}
},
{
- "id": 41,
+ "id": 49,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
@@ -1625,14 +1701,14 @@
},
"objectType": {
"type": "reference",
- "id": 39,
+ "id": 47,
"name": "Function_"
}
},
"defaultValue": "{}"
},
{
- "id": 42,
+ "id": 50,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1644,14 +1720,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 43,
+ "id": 51,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 45,
+ "id": 53,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -1664,7 +1740,7 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 113,
+ "line": 138,
"character": 6
}
],
@@ -1687,7 +1763,7 @@
}
},
{
- "id": 44,
+ "id": 52,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -1700,7 +1776,7 @@
"sources": [
{
"fileName": "src/PostgrestClient.ts",
- "line": 112,
+ "line": 137,
"character": 6
}
],
@@ -1714,10 +1790,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 45,
- 44
- ]
+ "children": [53, 52]
}
]
}
@@ -1727,7 +1800,7 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
@@ -1744,7 +1817,7 @@
},
"objectType": {
"type": "reference",
- "id": 39,
+ "id": 47,
"name": "Function_"
}
},
@@ -1820,9 +1893,123 @@
},
"objectType": {
"type": "reference",
- "id": 39,
+ "id": 47,
"name": "Function_"
}
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "schema",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 41,
+ "name": "schema",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Select a schema to query or perform an function (rpc) call.",
+ "text": "The schema needs to be on the list of exposed schemas inside Supabase.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 42,
+ "name": "DynamicSchema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 43,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The schema to query\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 42,
+ "name": "DynamicSchema",
+ "dereferenced": {}
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 42,
+ "name": "DynamicSchema"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 42,
+ "name": "DynamicSchema"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
}
],
"name": "default"
@@ -1835,27 +2022,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 2
- ]
+ "children": [2]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 20,
- 18,
- 19,
- 17
- ]
+ "children": [20, 18, 19, 17]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 25,
- 36
- ]
+ "children": [25, 44, 40]
}
],
"sources": [
@@ -1867,7 +2044,7 @@
],
"typeParameter": [
{
- "id": 46,
+ "id": 54,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -1881,7 +2058,7 @@
}
},
{
- "id": 47,
+ "id": 55,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -1947,7 +2124,7 @@
}
},
{
- "id": 48,
+ "id": 56,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -1997,28 +2174,28 @@
]
},
{
- "id": 114,
+ "id": 142,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 115,
+ "id": 143,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 116,
+ "id": 144,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 117,
+ "id": 145,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -2029,7 +2206,7 @@
}
},
{
- "id": 118,
+ "id": 146,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -2052,33 +2229,44 @@
}
},
{
- "id": 119,
+ "id": 147,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
+ },
+ {
+ "id": 148,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"parameters": [
{
- "id": 120,
+ "id": 149,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 536,
+ "id": 568,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -2087,7 +2275,7 @@
},
"children": [
{
- "id": 537,
+ "id": 569,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2101,14 +2289,14 @@
],
"signatures": [
{
- "id": 538,
+ "id": 570,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 539,
+ "id": 571,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -2117,18 +2305,18 @@
],
"parameters": [
{
- "id": 540,
+ "id": 572,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -2139,11 +2327,11 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -2153,7 +2341,7 @@
]
},
{
- "id": 545,
+ "id": 577,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -2174,7 +2362,7 @@
}
},
{
- "id": 548,
+ "id": 580,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -2191,21 +2379,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 581,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 550,
+ "id": 582,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 551,
+ "id": 583,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -2229,7 +2417,7 @@
}
},
{
- "id": 552,
+ "id": 584,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -2264,7 +2452,7 @@
}
},
{
- "id": 543,
+ "id": 575,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -2296,7 +2484,7 @@
}
},
{
- "id": 553,
+ "id": 585,
"name": "isMaybeSingle",
"kind": 1024,
"kindString": "Property",
@@ -2316,7 +2504,7 @@
}
},
{
- "id": 541,
+ "id": 573,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -2357,7 +2545,7 @@
}
},
{
- "id": 544,
+ "id": 576,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -2378,7 +2566,7 @@
}
},
{
- "id": 546,
+ "id": 578,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -2399,7 +2587,7 @@
"defaultValue": "false"
},
{
- "id": 547,
+ "id": 579,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -2422,7 +2610,7 @@
}
},
{
- "id": 542,
+ "id": 574,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -2444,7 +2632,7 @@
}
},
{
- "id": 556,
+ "id": 588,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -2458,25 +2646,25 @@
],
"signatures": [
{
- "id": 557,
+ "id": 589,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 558,
+ "id": 590,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -2484,7 +2672,7 @@
}
},
{
- "id": 559,
+ "id": 591,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -2497,7 +2685,7 @@
],
"parameters": [
{
- "id": 560,
+ "id": 592,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -2514,32 +2702,32 @@
{
"type": "reflection",
"declaration": {
- "id": 561,
+ "id": 593,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 562,
+ "id": 594,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 563,
+ "id": 595,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -2552,7 +2740,7 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
@@ -2560,7 +2748,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
}
],
@@ -2578,7 +2766,7 @@
}
},
{
- "id": 564,
+ "id": 596,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -2595,21 +2783,21 @@
{
"type": "reflection",
"declaration": {
- "id": 565,
+ "id": 597,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 566,
+ "id": 598,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 567,
+ "id": 599,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -2625,7 +2813,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
},
{
@@ -2633,7 +2821,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
],
@@ -2659,12 +2847,12 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
]
@@ -2686,7 +2874,7 @@
}
},
{
- "id": 554,
+ "id": 586,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -2700,7 +2888,7 @@
],
"signatures": [
{
- "id": 555,
+ "id": 587,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -2711,11 +2899,11 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -2729,32 +2917,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 537
- ]
+ "children": [569]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 545,
- 548,
- 543,
- 553,
- 541,
- 544,
- 546,
- 547,
- 542
- ]
+ "children": [577, 580, 575, 585, 573, 576, 578, 579, 574]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 556,
- 554
- ]
+ "children": [588, 586]
}
],
"sources": [
@@ -2766,7 +2939,7 @@
],
"typeParameter": [
{
- "id": 568,
+ "id": 600,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -2776,7 +2949,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 437,
+ "id": 467,
"name": "PostgrestTransformBuilder"
}
],
@@ -2786,11 +2959,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -2808,41 +2981,46 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 439,
+ "id": 469,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 438,
+ "id": 468,
"name": "default.constructor"
}
},
{
- "id": 411,
+ "id": 440,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -2863,12 +3041,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 510,
+ "id": 541,
"name": "default.body"
}
},
{
- "id": 414,
+ "id": 443,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -2885,21 +3063,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 415,
+ "id": 444,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 416,
+ "id": 445,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 417,
+ "id": 446,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -2923,7 +3101,7 @@
}
},
{
- "id": 418,
+ "id": 447,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -2958,12 +3136,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 513,
+ "id": 544,
"name": "default.fetch"
}
},
{
- "id": 409,
+ "id": 438,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -2995,12 +3173,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 508,
+ "id": 539,
"name": "default.headers"
}
},
{
- "id": 419,
+ "id": 448,
"name": "isMaybeSingle",
"kind": 1024,
"kindString": "Property",
@@ -3020,12 +3198,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 518,
+ "id": 549,
"name": "default.isMaybeSingle"
}
},
{
- "id": 407,
+ "id": 436,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -3066,12 +3244,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 506,
+ "id": 537,
"name": "default.method"
}
},
{
- "id": 410,
+ "id": 439,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -3092,12 +3270,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 509,
+ "id": 540,
"name": "default.schema"
}
},
{
- "id": 412,
+ "id": 441,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -3118,12 +3296,12 @@
"defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 511,
+ "id": 542,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 413,
+ "id": 442,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -3146,12 +3324,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 512,
+ "id": 543,
"name": "default.signal"
}
},
{
- "id": 408,
+ "id": 437,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -3173,12 +3351,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 507,
+ "id": 538,
"name": "default.url"
}
},
{
- "id": 379,
+ "id": 408,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -3186,13 +3364,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 125,
+ "line": 130,
"character": 2
}
],
"signatures": [
{
- "id": 380,
+ "id": 409,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
@@ -3202,7 +3380,7 @@
},
"parameters": [
{
- "id": 381,
+ "id": 410,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
@@ -3220,41 +3398,46 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 479,
+ "id": 510,
"name": "default.abortSignal"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 478,
+ "id": 509,
"name": "default.abortSignal"
}
},
{
- "id": 241,
+ "id": 270,
"name": "containedBy",
"kind": 2048,
"kindString": "Method",
@@ -3262,13 +3445,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 261,
+ "line": 277,
"character": 2
}
],
"signatures": [
{
- "id": 242,
+ "id": 271,
"name": "containedBy",
"kind": 4096,
"kindString": "Call signature",
@@ -3278,7 +3461,7 @@
},
"typeParameter": [
{
- "id": 243,
+ "id": 272,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3291,7 +3474,7 @@
],
"parameters": [
{
- "id": 244,
+ "id": 273,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3301,13 +3484,13 @@
},
"type": {
"type": "reference",
- "id": 243,
+ "id": 272,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 245,
+ "id": 274,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3339,18 +3522,22 @@
"name": "Record"
},
{
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 243,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 272,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
}
}
}
@@ -3360,29 +3547,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 246,
+ "id": 275,
"name": "containedBy",
"kind": 4096,
"kindString": "Call signature",
@@ -3392,7 +3584,7 @@
},
"parameters": [
{
- "id": 247,
+ "id": 276,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3406,7 +3598,7 @@
}
},
{
- "id": 248,
+ "id": 277,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3422,10 +3614,14 @@
"name": "string"
},
{
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
},
{
@@ -3450,22 +3646,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -3474,7 +3675,7 @@
]
},
{
- "id": 233,
+ "id": 262,
"name": "contains",
"kind": 2048,
"kindString": "Method",
@@ -3482,13 +3683,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 234,
+ "line": 250,
"character": 2
}
],
"signatures": [
{
- "id": 234,
+ "id": 263,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
@@ -3498,7 +3699,7 @@
},
"typeParameter": [
{
- "id": 235,
+ "id": 264,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3511,7 +3712,7 @@
],
"parameters": [
{
- "id": 236,
+ "id": 265,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3521,13 +3722,13 @@
},
"type": {
"type": "reference",
- "id": 235,
+ "id": 264,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 237,
+ "id": 266,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3559,18 +3760,22 @@
"name": "Record"
},
{
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 235,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 264,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
}
}
}
@@ -3580,29 +3785,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 238,
+ "id": 267,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
@@ -3612,7 +3822,7 @@
},
"parameters": [
{
- "id": 239,
+ "id": 268,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3626,7 +3836,7 @@
}
},
{
- "id": 240,
+ "id": 269,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3642,10 +3852,14 @@
"name": "string"
},
{
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
},
{
@@ -3670,22 +3884,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -3694,7 +3913,7 @@
]
},
{
- "id": 388,
+ "id": 417,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -3702,13 +3921,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 166,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 389,
+ "id": 418,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
@@ -3718,7 +3937,7 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "intrinsic",
@@ -3729,19 +3948,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 488,
+ "id": 519,
"name": "default.csv"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 487,
+ "id": 518,
"name": "default.csv"
}
},
{
- "id": 121,
+ "id": 150,
"name": "eq",
"kind": 2048,
"kindString": "Method",
@@ -3749,13 +3968,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 33,
+ "line": 34,
"character": 2
}
],
"signatures": [
{
- "id": 122,
+ "id": 151,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
@@ -3766,7 +3985,7 @@
},
"typeParameter": [
{
- "id": 123,
+ "id": 152,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3779,7 +3998,7 @@
],
"parameters": [
{
- "id": 124,
+ "id": 153,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3789,13 +4008,13 @@
},
"type": {
"type": "reference",
- "id": 123,
+ "id": 152,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 125,
+ "id": 154,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3807,12 +4026,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 123,
+ "id": 152,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -3820,29 +4039,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 126,
+ "id": 155,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
@@ -3853,7 +4077,7 @@
},
"parameters": [
{
- "id": 127,
+ "id": 156,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3867,7 +4091,7 @@
}
},
{
- "id": 128,
+ "id": 157,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3883,22 +4107,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -3907,7 +4136,7 @@
]
},
{
- "id": 392,
+ "id": 421,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -3915,13 +4144,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
+ "line": 205,
"character": 2
}
],
"signatures": [
{
- "id": 393,
+ "id": 422,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
@@ -3931,7 +4160,7 @@
},
"parameters": [
{
- "id": 394,
+ "id": 423,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3943,14 +4172,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 395,
+ "id": 424,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 396,
+ "id": 425,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -3963,7 +4192,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 208,
+ "line": 213,
"character": 4
}
],
@@ -3973,7 +4202,7 @@
}
},
{
- "id": 399,
+ "id": 428,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -3986,7 +4215,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 211,
+ "line": 216,
"character": 4
}
],
@@ -3996,7 +4225,7 @@
}
},
{
- "id": 401,
+ "id": 430,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -4009,7 +4238,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 213,
+ "line": 218,
"character": 4
}
],
@@ -4028,7 +4257,7 @@
}
},
{
- "id": 398,
+ "id": 427,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -4041,7 +4270,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 210,
+ "line": 215,
"character": 4
}
],
@@ -4051,7 +4280,7 @@
}
},
{
- "id": 397,
+ "id": 426,
"name": "verbose",
"kind": 1024,
"kindString": "Property",
@@ -4064,7 +4293,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 209,
+ "line": 214,
"character": 4
}
],
@@ -4074,7 +4303,7 @@
}
},
{
- "id": 400,
+ "id": 429,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -4087,7 +4316,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 212,
+ "line": 217,
"character": 4
}
],
@@ -4101,14 +4330,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 396,
- 399,
- 401,
- 398,
- 397,
- 400
- ]
+ "children": [425, 428, 430, 427, 426, 429]
}
]
}
@@ -4121,7 +4343,7 @@
"types": [
{
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "intrinsic",
@@ -4132,7 +4354,7 @@
},
{
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "array",
@@ -4160,19 +4382,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 492,
+ "id": 523,
"name": "default.explain"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 491,
+ "id": 522,
"name": "default.explain"
}
},
{
- "id": 335,
+ "id": 364,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -4180,13 +4402,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 480,
+ "line": 496,
"character": 2
}
],
"signatures": [
{
- "id": 336,
+ "id": 365,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -4197,7 +4419,7 @@
},
"typeParameter": [
{
- "id": 337,
+ "id": 366,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4210,7 +4432,7 @@
],
"parameters": [
{
- "id": 338,
+ "id": 367,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4220,13 +4442,13 @@
},
"type": {
"type": "reference",
- "id": 337,
+ "id": 366,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 339,
+ "id": 368,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -4333,7 +4555,7 @@
}
},
{
- "id": 340,
+ "id": 369,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -4349,29 +4571,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 341,
+ "id": 370,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -4382,7 +4609,7 @@
},
"parameters": [
{
- "id": 342,
+ "id": 371,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4396,7 +4623,7 @@
}
},
{
- "id": 343,
+ "id": 372,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -4410,7 +4637,7 @@
}
},
{
- "id": 344,
+ "id": 373,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -4426,22 +4653,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -4450,7 +4682,7 @@
]
},
{
- "id": 390,
+ "id": 419,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -4458,13 +4690,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 174,
+ "line": 179,
"character": 2
}
],
"signatures": [
{
- "id": 391,
+ "id": 420,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
@@ -4474,7 +4706,7 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
@@ -4497,19 +4729,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 490,
+ "id": 521,
"name": "default.geojson"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 489,
+ "id": 520,
"name": "default.geojson"
}
},
{
- "id": 137,
+ "id": 166,
"name": "gt",
"kind": 2048,
"kindString": "Method",
@@ -4517,13 +4749,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
"signatures": [
{
- "id": 138,
+ "id": 167,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
@@ -4533,7 +4765,7 @@
},
"typeParameter": [
{
- "id": 139,
+ "id": 168,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4546,7 +4778,7 @@
],
"parameters": [
{
- "id": 140,
+ "id": 169,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4556,13 +4788,13 @@
},
"type": {
"type": "reference",
- "id": 139,
+ "id": 168,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 141,
+ "id": 170,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -4574,12 +4806,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 139,
+ "id": 168,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -4587,29 +4819,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 142,
+ "id": 171,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
@@ -4619,7 +4856,7 @@
},
"parameters": [
{
- "id": 143,
+ "id": 172,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4633,7 +4870,7 @@
}
},
{
- "id": 144,
+ "id": 173,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -4649,22 +4886,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -4673,7 +4915,7 @@
]
},
{
- "id": 145,
+ "id": 174,
"name": "gte",
"kind": 2048,
"kindString": "Method",
@@ -4681,13 +4923,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 74,
+ "line": 75,
"character": 2
}
],
"signatures": [
{
- "id": 146,
+ "id": 175,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
@@ -4697,7 +4939,7 @@
},
"typeParameter": [
{
- "id": 147,
+ "id": 176,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4710,7 +4952,7 @@
],
"parameters": [
{
- "id": 148,
+ "id": 177,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4720,13 +4962,13 @@
},
"type": {
"type": "reference",
- "id": 147,
+ "id": 176,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 149,
+ "id": 178,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -4738,12 +4980,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 147,
+ "id": 176,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -4751,29 +4993,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 150,
+ "id": 179,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
@@ -4783,7 +5030,7 @@
},
"parameters": [
{
- "id": 151,
+ "id": 180,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4797,7 +5044,7 @@
}
},
{
- "id": 152,
+ "id": 181,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -4813,22 +5060,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -4837,7 +5089,7 @@
]
},
{
- "id": 193,
+ "id": 222,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
@@ -4845,13 +5097,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 152,
+ "line": 159,
"character": 2
}
],
"signatures": [
{
- "id": 194,
+ "id": 223,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
@@ -4861,7 +5113,7 @@
},
"typeParameter": [
{
- "id": 195,
+ "id": 224,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4874,7 +5126,7 @@
],
"parameters": [
{
- "id": 196,
+ "id": 225,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4884,13 +5136,13 @@
},
"type": {
"type": "reference",
- "id": 195,
+ "id": 224,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 197,
+ "id": 226,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -4906,29 +5158,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 198,
+ "id": 227,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
@@ -4936,419 +5193,6 @@
"comment": {
"shortText": "Match only rows where `column` matches `pattern` case-insensitively."
},
- "parameters": [
- {
- "id": 199,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 200,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to match with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 201,
- "name": "ilikeAllOf",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 165,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 202,
- "name": "ilikeAllOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
- },
- "typeParameter": [
- {
- "id": 203,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 204,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 203,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "id": 205,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 206,
- "name": "ilikeAllOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
- },
- "parameters": [
- {
- "id": 207,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 208,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 209,
- "name": "ilikeAnyOf",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 178,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 210,
- "name": "ilikeAnyOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
- },
- "typeParameter": [
- {
- "id": 211,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 212,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 211,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "id": 213,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 214,
- "name": "ilikeAnyOf",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
- },
- "parameters": [
- {
- "id": 215,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 216,
- "name": "patterns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The patterns to match with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 225,
- "name": "in",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 213,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 226,
- "name": "in",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
- },
- "typeParameter": [
- {
- "id": 227,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
"parameters": [
{
"id": 228,
@@ -5359,123 +5203,49 @@
"comment": {
"shortText": "The column to filter on"
},
- "type": {
- "type": "reference",
- "id": 227,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "id": 229,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values array to filter with\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 227,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
- }
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 230,
- "name": "in",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
- },
- "parameters": [
- {
- "id": 231,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
- "id": 232,
- "name": "values",
+ "id": 229,
+ "name": "pattern",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The values array to filter with\n"
+ "shortText": "The pattern to match with\n"
},
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
- }
+ "type": "intrinsic",
+ "name": "string"
}
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -5484,32 +5254,31 @@
]
},
{
- "id": 217,
- "name": "is",
+ "id": 230,
+ "name": "ilikeAllOf",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 191,
+ "line": 172,
"character": 2
}
],
"signatures": [
{
- "id": 218,
- "name": "is",
+ "id": 231,
+ "name": "ilikeAllOf",
"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"
+ "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
},
"typeParameter": [
{
- "id": 219,
+ "id": 232,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5522,7 +5291,7 @@
],
"parameters": [
{
- "id": 220,
+ "id": 233,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -5532,13 +5301,560 @@
},
"type": {
"type": "reference",
- "id": 219,
+ "id": 232,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 221,
+ "id": 234,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 235,
+ "name": "ilikeAllOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively."
+ },
+ "parameters": [
+ {
+ "id": 236,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 237,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 238,
+ "name": "ilikeAnyOf",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 188,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 239,
+ "name": "ilikeAnyOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
+ },
+ "typeParameter": [
+ {
+ "id": 240,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 241,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 240,
+ "name": "ColumnName",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 242,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 243,
+ "name": "ilikeAnyOf",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively."
+ },
+ "parameters": [
+ {
+ "id": 244,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 245,
+ "name": "patterns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The patterns to match with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 254,
+ "name": "in",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 226,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 255,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is included in the `values` array."
+ },
+ "typeParameter": [
+ {
+ "id": 256,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 257,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 256,
+ "name": "ColumnName",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 258,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values array to filter with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 256,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 259,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is included in the `values` array."
+ },
+ "parameters": [
+ {
+ "id": 260,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 261,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values array to filter with\n"
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 246,
+ "name": "is",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 204,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 247,
+ "name": "is",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` IS `value`.",
+ "text": "For non-boolean columns, this is only relevant for checking if the value of\n`column` is NULL by setting `value` to `null`.\n\nFor boolean columns, you can also set `value` to `true` or `false` and it\nwill behave the same way as `.eq()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 248,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 249,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 248,
+ "name": "ColumnName",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 250,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5556,12 +5872,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 219,
+ "id": 248,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
},
@@ -5578,12 +5894,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 219,
+ "id": 248,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
},
@@ -5600,12 +5916,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 219,
+ "id": 248,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
},
@@ -5621,29 +5937,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 222,
+ "id": 251,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
@@ -5654,7 +5975,7 @@
},
"parameters": [
{
- "id": 223,
+ "id": 252,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -5668,7 +5989,7 @@
}
},
{
- "id": 224,
+ "id": 253,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5693,22 +6014,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -5717,7 +6043,7 @@
]
},
{
- "id": 169,
+ "id": 198,
"name": "like",
"kind": 2048,
"kindString": "Method",
@@ -5725,13 +6051,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 113,
+ "line": 114,
"character": 2
}
],
"signatures": [
{
- "id": 170,
+ "id": 199,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
@@ -5741,7 +6067,7 @@
},
"typeParameter": [
{
- "id": 171,
+ "id": 200,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5754,7 +6080,7 @@
],
"parameters": [
{
- "id": 172,
+ "id": 201,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -5764,13 +6090,13 @@
},
"type": {
"type": "reference",
- "id": 171,
+ "id": 200,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 173,
+ "id": 202,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -5786,29 +6112,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 174,
+ "id": 203,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
@@ -5818,7 +6149,7 @@
},
"parameters": [
{
- "id": 175,
+ "id": 204,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -5832,7 +6163,7 @@
}
},
{
- "id": 176,
+ "id": 205,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -5848,22 +6179,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -5872,7 +6208,7 @@
]
},
{
- "id": 177,
+ "id": 206,
"name": "likeAllOf",
"kind": 2048,
"kindString": "Method",
@@ -5880,13 +6216,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
"signatures": [
{
- "id": 178,
+ "id": 207,
"name": "likeAllOf",
"kind": 4096,
"kindString": "Call signature",
@@ -5896,7 +6232,7 @@
},
"typeParameter": [
{
- "id": 179,
+ "id": 208,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5909,7 +6245,7 @@
],
"parameters": [
{
- "id": 180,
+ "id": 209,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -5919,13 +6255,13 @@
},
"type": {
"type": "reference",
- "id": 179,
+ "id": 208,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 181,
+ "id": 210,
"name": "patterns",
"kind": 32768,
"kindString": "Parameter",
@@ -5934,39 +6270,48 @@
"shortText": "The patterns to match with\n"
},
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
}
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 182,
+ "id": 211,
"name": "likeAllOf",
"kind": 4096,
"kindString": "Call signature",
@@ -5976,7 +6321,7 @@
},
"parameters": [
{
- "id": 183,
+ "id": 212,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -5990,7 +6335,7 @@
}
},
{
- "id": 184,
+ "id": 213,
"name": "patterns",
"kind": 32768,
"kindString": "Parameter",
@@ -5999,32 +6344,41 @@
"shortText": "The patterns to match with\n"
},
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
}
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -6033,7 +6387,7 @@
]
},
{
- "id": 185,
+ "id": 214,
"name": "likeAnyOf",
"kind": 2048,
"kindString": "Method",
@@ -6041,13 +6395,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 139,
+ "line": 143,
"character": 2
}
],
"signatures": [
{
- "id": 186,
+ "id": 215,
"name": "likeAnyOf",
"kind": 4096,
"kindString": "Call signature",
@@ -6057,7 +6411,7 @@
},
"typeParameter": [
{
- "id": 187,
+ "id": 216,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6070,7 +6424,7 @@
],
"parameters": [
{
- "id": 188,
+ "id": 217,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6080,13 +6434,13 @@
},
"type": {
"type": "reference",
- "id": 187,
+ "id": 216,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 189,
+ "id": 218,
"name": "patterns",
"kind": 32768,
"kindString": "Parameter",
@@ -6095,39 +6449,48 @@
"shortText": "The patterns to match with\n"
},
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
}
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 190,
+ "id": 219,
"name": "likeAnyOf",
"kind": 4096,
"kindString": "Call signature",
@@ -6137,7 +6500,7 @@
},
"parameters": [
{
- "id": 191,
+ "id": 220,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6151,7 +6514,7 @@
}
},
{
- "id": 192,
+ "id": 221,
"name": "patterns",
"kind": 32768,
"kindString": "Parameter",
@@ -6160,32 +6523,41 @@
"shortText": "The patterns to match with\n"
},
"type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
}
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -6194,7 +6566,7 @@
]
},
{
- "id": 366,
+ "id": 395,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -6202,13 +6574,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
+ "line": 97,
"character": 2
}
],
"signatures": [
{
- "id": 367,
+ "id": 396,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -6218,7 +6590,7 @@
},
"parameters": [
{
- "id": 368,
+ "id": 397,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -6232,7 +6604,7 @@
}
},
{
- "id": 369,
+ "id": 398,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -6244,14 +6616,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 370,
+ "id": 399,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 371,
+ "id": 400,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -6264,7 +6636,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
+ "line": 97,
"character": 43
}
],
@@ -6278,9 +6650,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 371
- ]
+ "children": [400]
}
]
}
@@ -6290,41 +6660,46 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 466,
+ "id": 497,
"name": "default.limit"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 465,
+ "id": 496,
"name": "default.limit"
}
},
{
- "id": 153,
+ "id": 182,
"name": "lt",
"kind": 2048,
"kindString": "Method",
@@ -6332,13 +6707,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 87,
+ "line": 88,
"character": 2
}
],
"signatures": [
{
- "id": 154,
+ "id": 183,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
@@ -6348,7 +6723,7 @@
},
"typeParameter": [
{
- "id": 155,
+ "id": 184,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6361,7 +6736,7 @@
],
"parameters": [
{
- "id": 156,
+ "id": 185,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6371,13 +6746,13 @@
},
"type": {
"type": "reference",
- "id": 155,
+ "id": 184,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 157,
+ "id": 186,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -6389,12 +6764,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 155,
+ "id": 184,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -6402,29 +6777,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 158,
+ "id": 187,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
@@ -6434,7 +6814,7 @@
},
"parameters": [
{
- "id": 159,
+ "id": 188,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6448,7 +6828,7 @@
}
},
{
- "id": 160,
+ "id": 189,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -6464,22 +6844,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -6488,7 +6873,7 @@
]
},
{
- "id": 161,
+ "id": 190,
"name": "lte",
"kind": 2048,
"kindString": "Method",
@@ -6496,13 +6881,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 100,
+ "line": 101,
"character": 2
}
],
"signatures": [
{
- "id": 162,
+ "id": 191,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
@@ -6512,7 +6897,7 @@
},
"typeParameter": [
{
- "id": 163,
+ "id": 192,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6525,7 +6910,7 @@
],
"parameters": [
{
- "id": 164,
+ "id": 193,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6535,13 +6920,13 @@
},
"type": {
"type": "reference",
- "id": 163,
+ "id": 192,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 165,
+ "id": 194,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -6553,12 +6938,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 163,
+ "id": 192,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -6566,29 +6951,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 166,
+ "id": 195,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
@@ -6598,7 +6988,7 @@
},
"parameters": [
{
- "id": 167,
+ "id": 196,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6612,7 +7002,7 @@
}
},
{
- "id": 168,
+ "id": 197,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -6628,22 +7018,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -6652,7 +7047,7 @@
]
},
{
- "id": 313,
+ "id": 342,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -6660,13 +7055,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 421,
+ "line": 437,
"character": 2
}
],
"signatures": [
{
- "id": 314,
+ "id": 343,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -6676,7 +7071,7 @@
},
"typeParameter": [
{
- "id": 315,
+ "id": 344,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6689,7 +7084,7 @@
],
"parameters": [
{
- "id": 316,
+ "id": 345,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -6702,19 +7097,19 @@
"typeArguments": [
{
"type": "reference",
- "id": 315,
+ "id": 344,
"name": "ColumnName"
},
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 315,
+ "id": 344,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -6727,29 +7122,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 317,
+ "id": 346,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -6759,7 +7159,7 @@
},
"parameters": [
{
- "id": 318,
+ "id": 347,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -6787,22 +7187,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -6811,7 +7216,7 @@
]
},
{
- "id": 385,
+ "id": 414,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -6819,13 +7224,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 149,
+ "line": 154,
"character": 2
}
],
"signatures": [
{
- "id": 386,
+ "id": 415,
"name": "maybeSingle",
"kind": 4096,
"kindString": "Call signature",
@@ -6836,7 +7241,7 @@
},
"typeParameter": [
{
- "id": 387,
+ "id": 416,
"name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -6845,7 +7250,7 @@
"type": "conditional",
"checkType": {
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
},
"extendsType": {
@@ -6868,7 +7273,7 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "union",
@@ -6879,7 +7284,7 @@
},
{
"type": "reference",
- "id": 387,
+ "id": 416,
"name": "ResultOne"
}
]
@@ -6889,19 +7294,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 485,
+ "id": 516,
"name": "default.maybeSingle"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 484,
+ "id": 515,
"name": "default.maybeSingle"
}
},
{
- "id": 129,
+ "id": 158,
"name": "neq",
"kind": 2048,
"kindString": "Method",
@@ -6909,13 +7314,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
"signatures": [
{
- "id": 130,
+ "id": 159,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
@@ -6925,7 +7330,7 @@
},
"typeParameter": [
{
- "id": 131,
+ "id": 160,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -6938,7 +7343,7 @@
],
"parameters": [
{
- "id": 132,
+ "id": 161,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6948,13 +7353,13 @@
},
"type": {
"type": "reference",
- "id": 131,
+ "id": 160,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 133,
+ "id": 162,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -6966,12 +7371,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 131,
+ "id": 160,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -6979,29 +7384,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 134,
+ "id": 163,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
@@ -7011,7 +7421,7 @@
},
"parameters": [
{
- "id": 135,
+ "id": 164,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -7025,7 +7435,7 @@
}
},
{
- "id": 136,
+ "id": 165,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -7041,22 +7451,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -7065,7 +7480,7 @@
]
},
{
- "id": 319,
+ "id": 348,
"name": "not",
"kind": 2048,
"kindString": "Method",
@@ -7073,13 +7488,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 437,
+ "line": 453,
"character": 2
}
],
"signatures": [
{
- "id": 320,
+ "id": 349,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
@@ -7090,7 +7505,7 @@
},
"typeParameter": [
{
- "id": 321,
+ "id": 350,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -7103,7 +7518,7 @@
],
"parameters": [
{
- "id": 322,
+ "id": 351,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -7113,13 +7528,13 @@
},
"type": {
"type": "reference",
- "id": 321,
+ "id": 350,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 323,
+ "id": 352,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -7133,7 +7548,7 @@
}
},
{
- "id": 324,
+ "id": 353,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -7145,12 +7560,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 321,
+ "id": 350,
"name": "ColumnName"
},
"objectType": {
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
}
}
@@ -7158,29 +7573,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 325,
+ "id": 354,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
@@ -7191,7 +7611,7 @@
},
"parameters": [
{
- "id": 326,
+ "id": 355,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -7205,7 +7625,7 @@
}
},
{
- "id": 327,
+ "id": 356,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -7219,7 +7639,7 @@
}
},
{
- "id": 328,
+ "id": 357,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -7235,22 +7655,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -7259,7 +7684,7 @@
]
},
{
- "id": 329,
+ "id": 358,
"name": "or",
"kind": 2048,
"kindString": "Method",
@@ -7267,13 +7692,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 474,
+ "line": 490,
"character": 2
}
],
"signatures": [
{
- "id": 330,
+ "id": 359,
"name": "or",
"kind": 4096,
"kindString": "Call signature",
@@ -7284,7 +7709,7 @@
},
"parameters": [
{
- "id": 331,
+ "id": 360,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
@@ -7298,7 +7723,7 @@
}
},
{
- "id": 332,
+ "id": 361,
"name": "foreignTable",
"kind": 32768,
"kindString": "Parameter",
@@ -7310,14 +7735,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 362,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 334,
+ "id": 363,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -7327,7 +7752,7 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 474,
+ "line": 490,
"character": 42
}
],
@@ -7341,9 +7766,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 334
- ]
+ "children": [363]
}
]
}
@@ -7353,22 +7776,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -7377,7 +7805,7 @@
]
},
{
- "id": 350,
+ "id": 379,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -7385,13 +7813,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
"signatures": [
{
- "id": 351,
+ "id": 380,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -7402,7 +7830,7 @@
},
"typeParameter": [
{
- "id": 352,
+ "id": 381,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -7415,7 +7843,7 @@
],
"parameters": [
{
- "id": 353,
+ "id": 382,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -7425,13 +7853,13 @@
},
"type": {
"type": "reference",
- "id": 352,
+ "id": 381,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 354,
+ "id": 383,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7444,14 +7872,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 355,
+ "id": 384,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 356,
+ "id": 385,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -7464,7 +7892,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 16
}
],
@@ -7474,7 +7902,7 @@
}
},
{
- "id": 358,
+ "id": 387,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -7487,7 +7915,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 59
}
],
@@ -7497,7 +7925,7 @@
}
},
{
- "id": 357,
+ "id": 386,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -7510,7 +7938,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 37
}
],
@@ -7524,11 +7952,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 356,
- 358,
- 357
- ]
+ "children": [385, 387, 386]
}
]
}
@@ -7537,34 +7961,39 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 450,
+ "id": 481,
"name": "default.order"
}
},
{
- "id": 359,
+ "id": 388,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -7575,7 +8004,7 @@
},
"parameters": [
{
- "id": 360,
+ "id": 389,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -7589,7 +8018,7 @@
}
},
{
- "id": 361,
+ "id": 390,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7602,14 +8031,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 362,
+ "id": 391,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 363,
+ "id": 392,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -7622,7 +8051,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 16
}
],
@@ -7632,18 +8061,20 @@
}
},
{
- "id": 365,
+ "id": 394,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"comment": {
"shortText": "Set this to order a foreign table by foreign\ncolumns\n"
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 59
}
],
@@ -7653,7 +8084,7 @@
}
},
{
- "id": 364,
+ "id": 393,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -7666,7 +8097,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 37
}
],
@@ -7680,11 +8111,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 363,
- 365,
- 364
- ]
+ "children": [392, 394, 393]
}
]
}
@@ -7693,41 +8120,46 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 458,
+ "id": 489,
"name": "default.order"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 449,
+ "id": 480,
"name": "default.order"
}
},
{
- "id": 289,
+ "id": 318,
"name": "overlaps",
"kind": 2048,
"kindString": "Method",
@@ -7735,13 +8167,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 360,
+ "line": 376,
"character": 2
}
],
"signatures": [
{
- "id": 290,
+ "id": 319,
"name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
@@ -7751,7 +8183,7 @@
},
"typeParameter": [
{
- "id": 291,
+ "id": 320,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -7764,7 +8196,7 @@
],
"parameters": [
{
- "id": 292,
+ "id": 321,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -7774,13 +8206,13 @@
},
"type": {
"type": "reference",
- "id": 291,
+ "id": 320,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 293,
+ "id": 322,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -7796,18 +8228,22 @@
"name": "string"
},
{
- "type": "array",
- "elementType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 291,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 118,
- "name": "Row"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 320,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ }
}
}
}
@@ -7817,29 +8253,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 294,
+ "id": 323,
"name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
@@ -7849,7 +8290,7 @@
},
"parameters": [
{
- "id": 295,
+ "id": 324,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -7863,7 +8304,7 @@
}
},
{
- "id": 296,
+ "id": 325,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -7879,10 +8320,14 @@
"name": "string"
},
{
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "unknown"
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
}
]
@@ -7891,22 +8336,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -7915,7 +8365,7 @@
]
},
{
- "id": 372,
+ "id": 401,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -7923,23 +8373,23 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
+ "line": 116,
"character": 2
}
],
"signatures": [
{
- "id": 373,
+ "id": 402,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
+ "shortText": "Limit the query result by starting at an offset (`from`) and ending at the offset (`from + to`).\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query."
},
"parameters": [
{
- "id": 374,
+ "id": 403,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -7953,7 +8403,7 @@
}
},
{
- "id": 375,
+ "id": 404,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -7967,7 +8417,7 @@
}
},
{
- "id": 376,
+ "id": 405,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7979,14 +8429,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 377,
+ "id": 406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 378,
+ "id": 407,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -7999,7 +8449,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
+ "line": 116,
"character": 54
}
],
@@ -8013,9 +8463,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 378
- ]
+ "children": [407]
}
]
}
@@ -8025,41 +8473,46 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 472,
+ "id": 503,
"name": "default.range"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 471,
+ "id": 502,
"name": "default.range"
}
},
{
- "id": 281,
+ "id": 310,
"name": "rangeAdjacent",
"kind": 2048,
"kindString": "Method",
@@ -8067,13 +8520,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 345,
+ "line": 361,
"character": 2
}
],
"signatures": [
{
- "id": 282,
+ "id": 311,
"name": "rangeAdjacent",
"kind": 4096,
"kindString": "Call signature",
@@ -8083,7 +8536,7 @@
},
"typeParameter": [
{
- "id": 283,
+ "id": 312,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -8096,7 +8549,7 @@
],
"parameters": [
{
- "id": 284,
+ "id": 313,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -8106,11 +8559,243 @@
},
"type": {
"type": "reference",
- "id": 283,
+ "id": 312,
"name": "ColumnName",
"dereferenced": {}
}
},
+ {
+ "id": 314,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 315,
+ "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."
+ },
+ "parameters": [
+ {
+ "id": 316,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 317,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 278,
+ "name": "rangeGt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 303,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 279,
+ "name": "rangeGt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`."
+ },
+ "typeParameter": [
+ {
+ "id": 280,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 281,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 280,
+ "name": "ColumnName",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 282,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 145,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 283,
+ "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`."
+ },
+ "parameters": [
+ {
+ "id": 284,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
{
"id": 285,
"name": "range",
@@ -8128,84 +8813,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 286,
- "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."
- },
- "parameters": [
- {
- "id": 287,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 288,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
},
{
"type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -8214,162 +8842,7 @@
]
},
{
- "id": 249,
- "name": "rangeGt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 287,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 250,
- "name": "rangeGt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`."
- },
- "typeParameter": [
- {
- "id": 251,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 252,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 251,
- "name": "ColumnName",
- "dereferenced": {}
- }
- },
- {
- "id": 253,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 254,
- "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`."
- },
- "parameters": [
- {
- "id": 255,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 256,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 114,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 118,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 119,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 257,
+ "id": 286,
"name": "rangeGte",
"kind": 2048,
"kindString": "Method",
@@ -8377,13 +8850,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 301,
+ "line": 317,
"character": 2
}
],
"signatures": [
{
- "id": 258,
+ "id": 287,
"name": "rangeGte",
"kind": 4096,
"kindString": "Call signature",
@@ -8393,7 +8866,7 @@
},
"typeParameter": [
{
- "id": 259,
+ "id": 288,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -8406,7 +8879,7 @@
],
"parameters": [
{
- "id": 260,
+ "id": 289,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -8416,13 +8889,13 @@
},
"type": {
"type": "reference",
- "id": 259,
+ "id": 288,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 261,
+ "id": 290,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -8438,29 +8911,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 262,
+ "id": 291,
"name": "rangeGte",
"kind": 4096,
"kindString": "Call signature",
@@ -8470,7 +8948,7 @@
},
"parameters": [
{
- "id": 263,
+ "id": 292,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -8484,7 +8962,7 @@
}
},
{
- "id": 264,
+ "id": 293,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -8500,22 +8978,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -8524,7 +9007,7 @@
]
},
{
- "id": 265,
+ "id": 294,
"name": "rangeLt",
"kind": 2048,
"kindString": "Method",
@@ -8532,13 +9015,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 316,
+ "line": 332,
"character": 2
}
],
"signatures": [
{
- "id": 266,
+ "id": 295,
"name": "rangeLt",
"kind": 4096,
"kindString": "Call signature",
@@ -8548,7 +9031,7 @@
},
"typeParameter": [
{
- "id": 267,
+ "id": 296,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -8561,7 +9044,7 @@
],
"parameters": [
{
- "id": 268,
+ "id": 297,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -8571,13 +9054,13 @@
},
"type": {
"type": "reference",
- "id": 267,
+ "id": 296,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 269,
+ "id": 298,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -8593,29 +9076,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 270,
+ "id": 299,
"name": "rangeLt",
"kind": 4096,
"kindString": "Call signature",
@@ -8625,7 +9113,7 @@
},
"parameters": [
{
- "id": 271,
+ "id": 300,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -8639,7 +9127,7 @@
}
},
{
- "id": 272,
+ "id": 301,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -8655,22 +9143,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -8679,7 +9172,7 @@
]
},
{
- "id": 273,
+ "id": 302,
"name": "rangeLte",
"kind": 2048,
"kindString": "Method",
@@ -8687,13 +9180,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 330,
+ "line": 346,
"character": 2
}
],
"signatures": [
{
- "id": 274,
+ "id": 303,
"name": "rangeLte",
"kind": 4096,
"kindString": "Call signature",
@@ -8703,7 +9196,7 @@
},
"typeParameter": [
{
- "id": 275,
+ "id": 304,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -8716,7 +9209,7 @@
],
"parameters": [
{
- "id": 276,
+ "id": 305,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -8726,13 +9219,13 @@
},
"type": {
"type": "reference",
- "id": 275,
+ "id": 304,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 277,
+ "id": 306,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -8748,29 +9241,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 278,
+ "id": 307,
"name": "rangeLte",
"kind": 4096,
"kindString": "Call signature",
@@ -8780,7 +9278,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 308,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -8794,7 +9292,7 @@
}
},
{
- "id": 280,
+ "id": 309,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -8810,22 +9308,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -8834,7 +9337,7 @@
]
},
{
- "id": 404,
+ "id": 433,
"name": "returns",
"kind": 2048,
"kindString": "Method",
@@ -8842,13 +9345,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 252,
+ "line": 257,
"character": 2
}
],
"signatures": [
{
- "id": 405,
+ "id": 434,
"name": "returns",
"kind": 4096,
"kindString": "Call signature",
@@ -8858,7 +9361,7 @@
},
"typeParameter": [
{
- "id": 406,
+ "id": 435,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -8870,41 +9373,46 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 406,
+ "id": 435,
"name": "NewResult"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 504,
+ "id": 535,
"name": "default.returns"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 503,
+ "id": 534,
"name": "default.returns"
}
},
{
- "id": 402,
+ "id": 431,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -8912,13 +9420,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 238,
+ "line": 243,
"character": 2
}
],
"signatures": [
{
- "id": 403,
+ "id": 432,
"name": "rollback",
"kind": 4096,
"kindString": "Call signature",
@@ -8929,41 +9437,46 @@
},
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 502,
+ "id": 533,
"name": "default.rollback"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 501,
+ "id": 532,
"name": "default.rollback"
}
},
{
- "id": 345,
+ "id": 374,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -8971,13 +9484,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 19,
+ "line": 20,
"character": 2
}
],
"signatures": [
{
- "id": 346,
+ "id": 375,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -8988,7 +9501,7 @@
},
"typeParameter": [
{
- "id": 347,
+ "id": 376,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -9003,7 +9516,7 @@
}
},
{
- "id": 348,
+ "id": 377,
"name": "NewResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -9013,17 +9526,22 @@
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 347,
+ "id": 148,
+ "name": "Relationships"
+ },
+ {
+ "type": "reference",
+ "id": 376,
"name": "Query"
}
],
@@ -9033,7 +9551,7 @@
],
"parameters": [
{
- "id": 349,
+ "id": 378,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -9045,7 +9563,7 @@
},
"type": {
"type": "reference",
- "id": 347,
+ "id": 376,
"name": "Query",
"dereferenced": {}
}
@@ -9053,44 +9571,49 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 348,
+ "id": 377,
"name": "NewResultOne"
}
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 445,
+ "id": 476,
"name": "default.select"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 444,
+ "id": 475,
"name": "default.select"
}
},
{
- "id": 382,
+ "id": 411,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -9098,13 +9621,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 136,
+ "line": 141,
"character": 2
}
],
"signatures": [
{
- "id": 383,
+ "id": 412,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -9115,7 +9638,7 @@
},
"typeParameter": [
{
- "id": 384,
+ "id": 413,
"name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -9124,7 +9647,7 @@
"type": "conditional",
"checkType": {
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
},
"extendsType": {
@@ -9147,11 +9670,11 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 384,
+ "id": 413,
"name": "ResultOne"
}
],
@@ -9159,19 +9682,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 482,
+ "id": 513,
"name": "default.single"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 481,
+ "id": 512,
"name": "default.single"
}
},
{
- "id": 297,
+ "id": 326,
"name": "textSearch",
"kind": 2048,
"kindString": "Method",
@@ -9179,13 +9702,13 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 383,
+ "line": 399,
"character": 2
}
],
"signatures": [
{
- "id": 298,
+ "id": 327,
"name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
@@ -9195,7 +9718,7 @@
},
"typeParameter": [
{
- "id": 299,
+ "id": 328,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -9208,7 +9731,7 @@
],
"parameters": [
{
- "id": 300,
+ "id": 329,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -9218,13 +9741,13 @@
},
"type": {
"type": "reference",
- "id": 299,
+ "id": 328,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 301,
+ "id": 330,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -9238,7 +9761,7 @@
}
},
{
- "id": 302,
+ "id": 331,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9251,14 +9774,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 303,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 304,
+ "id": 333,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -9271,7 +9794,7 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 386,
+ "line": 402,
"character": 16
}
],
@@ -9281,7 +9804,7 @@
}
},
{
- "id": 305,
+ "id": 334,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9294,7 +9817,7 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 386,
+ "line": 402,
"character": 33
}
],
@@ -9321,10 +9844,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304,
- 305
- ]
+ "children": [333, 334]
}
]
}
@@ -9333,29 +9853,34 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 306,
+ "id": 335,
"name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
@@ -9365,7 +9890,7 @@
},
"parameters": [
{
- "id": 307,
+ "id": 336,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -9379,7 +9904,7 @@
}
},
{
- "id": 308,
+ "id": 337,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -9393,7 +9918,7 @@
}
},
{
- "id": 309,
+ "id": 338,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9406,14 +9931,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 310,
+ "id": 339,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 311,
+ "id": 340,
"name": "config",
"kind": 1024,
"kindString": "Property",
@@ -9426,7 +9951,7 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 391,
+ "line": 407,
"character": 16
}
],
@@ -9436,7 +9961,7 @@
}
},
{
- "id": 312,
+ "id": 341,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9449,7 +9974,7 @@
"sources": [
{
"fileName": "src/PostgrestFilterBuilder.ts",
- "line": 391,
+ "line": 407,
"character": 33
}
],
@@ -9476,10 +10001,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 311,
- 312
- ]
+ "children": [340, 341]
}
]
}
@@ -9488,22 +10010,27 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -9512,7 +10039,7 @@
]
},
{
- "id": 422,
+ "id": 451,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -9526,25 +10053,25 @@
],
"signatures": [
{
- "id": 423,
+ "id": 452,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 424,
+ "id": 453,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
}
],
@@ -9552,7 +10079,7 @@
}
},
{
- "id": 425,
+ "id": 454,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -9565,7 +10092,7 @@
],
"parameters": [
{
- "id": 426,
+ "id": 455,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -9582,32 +10109,32 @@
{
"type": "reflection",
"declaration": {
- "id": 427,
+ "id": 456,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 428,
+ "id": 457,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 429,
+ "id": 458,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
}
],
@@ -9620,7 +10147,7 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
@@ -9628,7 +10155,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
}
],
@@ -9646,7 +10173,7 @@
}
},
{
- "id": 430,
+ "id": 459,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -9663,21 +10190,21 @@
{
"type": "reflection",
"declaration": {
- "id": 431,
+ "id": 460,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 432,
+ "id": 461,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 433,
+ "id": 462,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -9693,7 +10220,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
},
{
@@ -9701,7 +10228,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
],
@@ -9727,12 +10254,12 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
]
@@ -9744,19 +10271,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 522,
+ "id": 553,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 521,
+ "id": 552,
"name": "default.then"
}
},
{
- "id": 420,
+ "id": 449,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -9770,7 +10297,7 @@
],
"signatures": [
{
- "id": 421,
+ "id": 450,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -9781,36 +10308,41 @@
},
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 520,
+ "id": 551,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 519,
+ "id": 550,
"name": "default.throwOnError"
}
}
@@ -9819,70 +10351,20 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 115
- ]
+ "children": [143]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 411,
- 414,
- 409,
- 419,
- 407,
- 410,
- 412,
- 413,
- 408
- ]
+ "children": [440, 443, 438, 448, 436, 439, 441, 442, 437]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 379,
- 241,
- 233,
- 388,
- 121,
- 392,
- 335,
- 390,
- 137,
- 145,
- 193,
- 201,
- 209,
- 225,
- 217,
- 169,
- 177,
- 185,
- 366,
- 153,
- 161,
- 313,
- 385,
- 129,
- 319,
- 329,
- 350,
- 289,
- 372,
- 281,
- 249,
- 257,
- 265,
- 273,
- 404,
- 402,
- 345,
- 382,
- 297,
- 422,
- 420
+ 408, 270, 262, 417, 150, 421, 364, 419, 166, 174, 222, 230, 238, 254, 246, 198, 206,
+ 214, 395, 182, 190, 342, 414, 158, 348, 358, 379, 318, 401, 310, 278, 286, 294, 302,
+ 433, 431, 374, 411, 326, 451, 449
]
}
],
@@ -9895,7 +10377,7 @@
],
"typeParameter": [
{
- "id": 434,
+ "id": 463,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -9906,7 +10388,7 @@
}
},
{
- "id": 435,
+ "id": 464,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -9929,32 +10411,48 @@
}
},
{
- "id": 436,
+ "id": 465,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
+ },
+ {
+ "id": 466,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 117,
+ "id": 145,
"name": "Schema"
},
{
"type": "reference",
- "id": 118,
+ "id": 146,
"name": "Row"
},
{
"type": "reference",
- "id": 119,
+ "id": 147,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 148,
+ "name": "Relationships"
}
],
"name": "default"
@@ -9962,14 +10460,14 @@
]
},
{
- "id": 49,
+ "id": 57,
"name": "PostgrestQueryBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 50,
+ "id": 58,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -9977,20 +10475,20 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 16,
+ "line": 17,
"character": 2
}
],
"signatures": [
{
- "id": 51,
+ "id": 59,
"name": "new PostgrestQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 52,
+ "id": 60,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -10001,7 +10499,7 @@
}
},
{
- "id": 53,
+ "id": 61,
"name": "Relation",
"kind": 131072,
"kindString": "Type parameter",
@@ -10019,11 +10517,71 @@
}
]
}
+ },
+ {
+ "id": 64,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 62,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 63,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [63]
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
}
],
"parameters": [
{
- "id": 54,
+ "id": 65,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -10036,7 +10594,7 @@
}
},
{
- "id": 55,
+ "id": 66,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -10044,14 +10602,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 56,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 59,
+ "id": 70,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -10061,28 +10619,28 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 25,
+ "line": 26,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 60,
+ "id": 71,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 61,
+ "id": 72,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 62,
+ "id": 73,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -10106,7 +10664,7 @@
}
},
{
- "id": 63,
+ "id": 74,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -10141,7 +10699,7 @@
}
},
{
- "id": 57,
+ "id": 68,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -10151,7 +10709,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 23,
+ "line": 24,
"character": 6
}
],
@@ -10173,7 +10731,7 @@
}
},
{
- "id": 58,
+ "id": 69,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -10183,7 +10741,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 24,
+ "line": 25,
"character": 6
}
],
@@ -10197,11 +10755,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 59,
- 57,
- 58
- ]
+ "children": [70, 68, 69]
}
]
}
@@ -10210,17 +10764,22 @@
],
"type": {
"type": "reference",
- "id": 49,
+ "id": 57,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -10229,7 +10788,7 @@
]
},
{
- "id": 68,
+ "id": 79,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -10239,28 +10798,28 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 14,
+ "line": 15,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 69,
+ "id": 80,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 70,
+ "id": 81,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 71,
+ "id": 82,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -10284,7 +10843,7 @@
}
},
{
- "id": 72,
+ "id": 83,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -10319,7 +10878,7 @@
}
},
{
- "id": 65,
+ "id": 76,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -10327,7 +10886,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 11,
+ "line": 12,
"character": 2
}
],
@@ -10349,33 +10908,13 @@
}
},
{
- "id": 66,
+ "id": 77,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 67,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
@@ -10383,6 +10922,26 @@
"character": 2
}
],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 78,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
"type": {
"type": "reference",
"qualifiedName": "AbortSignal",
@@ -10391,7 +10950,7 @@
}
},
{
- "id": 64,
+ "id": 75,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -10399,7 +10958,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 10,
+ "line": 11,
"character": 2
}
],
@@ -10411,7 +10970,7 @@
}
},
{
- "id": 107,
+ "id": 132,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -10419,13 +10978,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 319,
+ "line": 356,
"character": 2
}
],
"signatures": [
{
- "id": 108,
+ "id": 133,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -10436,7 +10995,7 @@
},
"parameters": [
{
- "id": 109,
+ "id": 134,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10448,14 +11007,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 110,
+ "id": 135,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 111,
+ "id": 136,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -10468,7 +11027,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 322,
+ "line": 359,
"character": 4
}
],
@@ -10495,9 +11054,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 111
- ]
+ "children": [136]
}
]
}
@@ -10507,11 +11064,11 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -10522,13 +11079,18 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
{
"type": "literal",
"value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -10537,7 +11099,7 @@
]
},
{
- "id": 82,
+ "id": 93,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -10545,13 +11107,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 120,
+ "line": 100,
"character": 2
}
],
"signatures": [
{
- "id": 83,
+ "id": 94,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -10562,7 +11124,7 @@
},
"typeParameter": [
{
- "id": 84,
+ "id": 95,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -10587,7 +11149,7 @@
],
"parameters": [
{
- "id": 85,
+ "id": 96,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -10596,45 +11158,34 @@
"shortText": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows.\n"
},
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 84,
- "name": "Row"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 84,
- "name": "Row"
- }
- }
- ]
+ "type": "reference",
+ "id": 95,
+ "name": "Row",
+ "dereferenced": {}
}
},
{
- "id": 86,
+ "id": 97,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"comment": {
"shortText": "Named parameters\n"
},
- "originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 87,
+ "id": 98,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 88,
+ "id": 99,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -10647,7 +11198,163 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 126,
+ "line": 103,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [99]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 100,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform an INSERT into the table or view.",
+ "text": "By default, inserted rows are not returned. To return it, chain the call\nwith `.select()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 101,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 102,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows.\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 101,
+ "name": "Row"
+ }
+ }
+ },
+ {
+ "id": 103,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 104,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 105,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count inserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 109,
"character": 6
}
],
@@ -10670,7 +11377,7 @@
}
},
{
- "id": 89,
+ "id": 106,
"name": "defaultToNull",
"kind": 1024,
"kindString": "Property",
@@ -10678,12 +11385,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column.\n"
+ "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. Only applies for bulk\ninserts.\n"
},
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 127,
+ "line": 110,
"character": 6
}
],
@@ -10697,24 +11404,20 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 88,
- 89
- ]
+ "children": [105, 106]
}
]
}
- },
- "defaultValue": "{}"
+ }
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -10725,13 +11428,18 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
{
"type": "literal",
"value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -10740,7 +11448,7 @@
]
},
{
- "id": 73,
+ "id": 84,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -10748,13 +11456,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
"signatures": [
{
- "id": 74,
+ "id": 85,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -10764,7 +11472,7 @@
},
"typeParameter": [
{
- "id": 75,
+ "id": 86,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -10779,7 +11487,7 @@
}
},
{
- "id": 76,
+ "id": 87,
"name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -10789,7 +11497,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -10800,13 +11508,18 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
{
"type": "reference",
- "id": 75,
+ "id": 64,
+ "name": "Relationships"
+ },
+ {
+ "type": "reference",
+ "id": 86,
"name": "Query"
}
],
@@ -10816,7 +11529,7 @@
],
"parameters": [
{
- "id": 77,
+ "id": 88,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -10828,13 +11541,13 @@
},
"type": {
"type": "reference",
- "id": 75,
+ "id": 86,
"name": "Query",
"dereferenced": {}
}
},
{
- "id": 78,
+ "id": 89,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10846,14 +11559,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 79,
+ "id": 90,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 81,
+ "id": 92,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -10866,7 +11579,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 62,
+ "line": 66,
"character": 6
}
],
@@ -10889,7 +11602,7 @@
}
},
{
- "id": 80,
+ "id": 91,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -10902,7 +11615,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 61,
+ "line": 65,
"character": 6
}
],
@@ -10916,10 +11629,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 80
- ]
+ "children": [92, 91]
}
]
}
@@ -10929,11 +11639,11 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -10944,7 +11654,7 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
@@ -10952,9 +11662,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 76,
+ "id": 87,
"name": "ResultOne"
}
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -10963,7 +11678,7 @@
]
},
{
- "id": 100,
+ "id": 125,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -10971,13 +11686,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 271,
+ "line": 308,
"character": 2
}
],
"signatures": [
{
- "id": 101,
+ "id": 126,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -10988,7 +11703,7 @@
},
"typeParameter": [
{
- "id": 102,
+ "id": 127,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -11013,7 +11728,7 @@
],
"parameters": [
{
- "id": 103,
+ "id": 128,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -11023,13 +11738,13 @@
},
"type": {
"type": "reference",
- "id": 102,
+ "id": 127,
"name": "Row",
"dereferenced": {}
}
},
{
- "id": 104,
+ "id": 129,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -11041,14 +11756,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 105,
+ "id": 130,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 106,
+ "id": 131,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -11061,7 +11776,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 276,
+ "line": 313,
"character": 6
}
],
@@ -11088,9 +11803,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 106
- ]
+ "children": [131]
}
]
}
@@ -11100,11 +11813,11 @@
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -11115,13 +11828,18 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
{
"type": "literal",
"value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -11130,7 +11848,7 @@
]
},
{
- "id": 90,
+ "id": 107,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
@@ -11138,13 +11856,13 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 201,
+ "line": 183,
"character": 2
}
],
"signatures": [
{
- "id": 91,
+ "id": 108,
"name": "upsert",
"kind": 4096,
"kindString": "Call signature",
@@ -11155,7 +11873,7 @@
},
"typeParameter": [
{
- "id": 92,
+ "id": 109,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -11180,7 +11898,7 @@
],
"parameters": [
{
- "id": 93,
+ "id": 110,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -11189,45 +11907,34 @@
"shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n"
},
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 92,
- "name": "Row"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 92,
- "name": "Row"
- }
- }
- ]
+ "type": "reference",
+ "id": 109,
+ "name": "Row",
+ "dereferenced": {}
}
},
{
- "id": 94,
+ "id": 111,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"comment": {
"shortText": "Named parameters\n"
},
- "originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 95,
+ "id": 112,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 98,
+ "id": 115,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -11240,7 +11947,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 211,
+ "line": 188,
"character": 6
}
],
@@ -11263,30 +11970,7 @@
}
},
{
- "id": 99,
- "name": "defaultToNull",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n`ignoreDuplicates: false`.\n"
- },
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 212,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 97,
+ "id": 114,
"name": "ignoreDuplicates",
"kind": 1024,
"kindString": "Property",
@@ -11299,7 +11983,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 210,
+ "line": 187,
"character": 6
}
],
@@ -11309,7 +11993,7 @@
}
},
{
- "id": 96,
+ "id": 113,
"name": "onConflict",
"kind": 1024,
"kindString": "Property",
@@ -11322,7 +12006,7 @@
"sources": [
{
"fileName": "src/PostgrestQueryBuilder.ts",
- "line": 209,
+ "line": 186,
"character": 6
}
],
@@ -11336,26 +12020,20 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 98,
- 99,
- 97,
- 96
- ]
+ "children": [115, 114, 113]
}
]
}
- },
- "defaultValue": "{}"
+ }
}
],
"type": {
"type": "reference",
- "id": 114,
+ "id": 142,
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 60,
"name": "Schema"
},
{
@@ -11366,13 +12044,243 @@
},
"objectType": {
"type": "reference",
- "id": 53,
+ "id": 61,
"name": "Relation"
}
},
{
"type": "literal",
"value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 116,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto `onConflict`, `.upsert()` allows you to perform the equivalent of\n`.insert()` if a row with the corresponding `onConflict` columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n`ignoreDuplicates`.",
+ "text": "By default, upserted rows are not returned. To return it, chain the call\nwith `.select()`.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 117,
+ "name": "Row",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 118,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 117,
+ "name": "Row"
+ }
+ }
+ },
+ {
+ "id": 119,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 120,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 123,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count upserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 196,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 124,
+ "name": "defaultToNull",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n`ignoreDuplicates: false`. This also only applies when doing bulk upserts.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 197,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 122,
+ "name": "ignoreDuplicates",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 195,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 121,
+ "name": "onConflict",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n`onConflict` columns are equal.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 194,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [123, 124, 122, 121]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 60,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 64,
+ "name": "Relationships"
}
],
"name": "default"
@@ -11385,31 +12293,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 50
- ]
+ "children": [58]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 65,
- 66,
- 67,
- 64
- ]
+ "children": [79, 76, 77, 78, 75]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 107,
- 82,
- 73,
- 100,
- 90
- ]
+ "children": [132, 93, 84, 125, 107]
}
],
"sources": [
@@ -11421,7 +12315,7 @@
],
"typeParameter": [
{
- "id": 112,
+ "id": 137,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -11432,7 +12326,7 @@
}
},
{
- "id": 113,
+ "id": 138,
"name": "Relation",
"kind": 131072,
"kindString": "Type parameter",
@@ -11450,32 +12344,99 @@
}
]
}
+ },
+ {
+ "id": 141,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 61,
+ "name": "Relation"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 139,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 140,
+ "name": "Relationships",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "inferred",
+ "name": "R"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [140]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 9,
+ "character": 35
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
}
]
},
{
- "id": 437,
+ "id": 467,
"name": "PostgrestTransformBuilder",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 438,
+ "id": 468,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 439,
+ "id": 469,
"name": "new PostgrestTransformBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 440,
+ "id": 470,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -11486,7 +12447,7 @@
}
},
{
- "id": 441,
+ "id": 471,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -11509,33 +12470,44 @@
}
},
{
- "id": 442,
+ "id": 472,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
+ },
+ {
+ "id": 473,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"parameters": [
{
- "id": 443,
+ "id": 474,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
}
],
"name": "default",
"dereferenced": {
- "id": 536,
+ "id": 568,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -11544,7 +12516,7 @@
},
"children": [
{
- "id": 537,
+ "id": 569,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -11558,14 +12530,14 @@
],
"signatures": [
{
- "id": 538,
+ "id": 570,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
- "id": 539,
+ "id": 571,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -11574,18 +12546,18 @@
],
"parameters": [
{
- "id": 540,
+ "id": 572,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -11596,11 +12568,11 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -11610,7 +12582,7 @@
]
},
{
- "id": 545,
+ "id": 577,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -11631,7 +12603,7 @@
}
},
{
- "id": 548,
+ "id": 580,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -11648,21 +12620,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 549,
+ "id": 581,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 550,
+ "id": 582,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 551,
+ "id": 583,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -11686,7 +12658,7 @@
}
},
{
- "id": 552,
+ "id": 584,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -11721,7 +12693,7 @@
}
},
{
- "id": 543,
+ "id": 575,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -11753,7 +12725,7 @@
}
},
{
- "id": 553,
+ "id": 585,
"name": "isMaybeSingle",
"kind": 1024,
"kindString": "Property",
@@ -11773,7 +12745,7 @@
}
},
{
- "id": 541,
+ "id": 573,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -11814,7 +12786,7 @@
}
},
{
- "id": 544,
+ "id": 576,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -11835,7 +12807,7 @@
}
},
{
- "id": 546,
+ "id": 578,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -11856,7 +12828,7 @@
"defaultValue": "false"
},
{
- "id": 547,
+ "id": 579,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -11879,7 +12851,7 @@
}
},
{
- "id": 542,
+ "id": 574,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -11901,7 +12873,7 @@
}
},
{
- "id": 556,
+ "id": 588,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -11915,25 +12887,25 @@
],
"signatures": [
{
- "id": 557,
+ "id": 589,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 558,
+ "id": 590,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -11941,7 +12913,7 @@
}
},
{
- "id": 559,
+ "id": 591,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -11954,7 +12926,7 @@
],
"parameters": [
{
- "id": 560,
+ "id": 592,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -11971,32 +12943,32 @@
{
"type": "reflection",
"declaration": {
- "id": 561,
+ "id": 593,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 562,
+ "id": 594,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 563,
+ "id": 595,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -12009,7 +12981,7 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
@@ -12017,7 +12989,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
}
],
@@ -12035,7 +13007,7 @@
}
},
{
- "id": 564,
+ "id": 596,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -12052,21 +13024,21 @@
{
"type": "reflection",
"declaration": {
- "id": 565,
+ "id": 597,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 566,
+ "id": 598,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 567,
+ "id": 599,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -12082,7 +13054,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
},
{
@@ -12090,7 +13062,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
],
@@ -12116,12 +13088,12 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
]
@@ -12143,7 +13115,7 @@
}
},
{
- "id": 554,
+ "id": 586,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -12157,7 +13129,7 @@
],
"signatures": [
{
- "id": 555,
+ "id": 587,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -12168,11 +13140,11 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -12186,32 +13158,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 537
- ]
+ "children": [569]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 545,
- 548,
- 543,
- 553,
- 541,
- 544,
- 546,
- 547,
- 542
- ]
+ "children": [577, 580, 575, 585, 573, 576, 578, 579, 574]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 556,
- 554
- ]
+ "children": [588, 586]
}
],
"sources": [
@@ -12223,7 +13180,7 @@
],
"typeParameter": [
{
- "id": 568,
+ "id": 600,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -12233,7 +13190,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 437,
+ "id": 467,
"name": "PostgrestTransformBuilder"
}
],
@@ -12243,11 +13200,11 @@
"typeArguments": [
{
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 539,
+ "id": 571,
"name": "Result"
}
],
@@ -12265,41 +13222,46 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 538,
+ "id": 570,
"name": "default.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 537,
+ "id": 569,
"name": "default.constructor"
}
},
{
- "id": 510,
+ "id": 541,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -12320,12 +13282,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 545,
+ "id": 577,
"name": "default.body"
}
},
{
- "id": 513,
+ "id": 544,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -12342,21 +13304,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 514,
+ "id": 545,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 515,
+ "id": 546,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 516,
+ "id": 547,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -12380,7 +13342,7 @@
}
},
{
- "id": 517,
+ "id": 548,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -12415,12 +13377,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 548,
+ "id": 580,
"name": "default.fetch"
}
},
{
- "id": 508,
+ "id": 539,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -12452,12 +13414,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 543,
+ "id": 575,
"name": "default.headers"
}
},
{
- "id": 518,
+ "id": 549,
"name": "isMaybeSingle",
"kind": 1024,
"kindString": "Property",
@@ -12477,12 +13439,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 553,
+ "id": 585,
"name": "default.isMaybeSingle"
}
},
{
- "id": 506,
+ "id": 537,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -12523,12 +13485,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 541,
+ "id": 573,
"name": "default.method"
}
},
{
- "id": 509,
+ "id": 540,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -12549,12 +13511,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 544,
+ "id": 576,
"name": "default.schema"
}
},
{
- "id": 511,
+ "id": 542,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -12575,12 +13537,12 @@
"defaultValue": "false",
"inheritedFrom": {
"type": "reference",
- "id": 546,
+ "id": 578,
"name": "default.shouldThrowOnError"
}
},
{
- "id": 512,
+ "id": 543,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -12603,12 +13565,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 547,
+ "id": 579,
"name": "default.signal"
}
},
{
- "id": 507,
+ "id": 538,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -12630,12 +13592,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 542,
+ "id": 574,
"name": "default.url"
}
},
{
- "id": 478,
+ "id": 509,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -12643,13 +13605,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 125,
+ "line": 130,
"character": 2
}
],
"signatures": [
{
- "id": 479,
+ "id": 510,
"name": "abortSignal",
"kind": 4096,
"kindString": "Call signature",
@@ -12659,7 +13621,7 @@
},
"parameters": [
{
- "id": 480,
+ "id": 511,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
@@ -12677,22 +13639,27 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -12701,7 +13668,7 @@
]
},
{
- "id": 487,
+ "id": 518,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -12709,13 +13676,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 166,
+ "line": 171,
"character": 2
}
],
"signatures": [
{
- "id": 488,
+ "id": 519,
"name": "csv",
"kind": 4096,
"kindString": "Call signature",
@@ -12725,7 +13692,7 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "intrinsic",
@@ -12738,7 +13705,7 @@
]
},
{
- "id": 491,
+ "id": 522,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -12746,13 +13713,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 200,
+ "line": 205,
"character": 2
}
],
"signatures": [
{
- "id": 492,
+ "id": 523,
"name": "explain",
"kind": 4096,
"kindString": "Call signature",
@@ -12762,7 +13729,7 @@
},
"parameters": [
{
- "id": 493,
+ "id": 524,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -12774,14 +13741,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 494,
+ "id": 525,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 495,
+ "id": 526,
"name": "analyze",
"kind": 1024,
"kindString": "Property",
@@ -12794,7 +13761,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 208,
+ "line": 213,
"character": 4
}
],
@@ -12804,7 +13771,7 @@
}
},
{
- "id": 498,
+ "id": 529,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -12817,7 +13784,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 211,
+ "line": 216,
"character": 4
}
],
@@ -12827,7 +13794,7 @@
}
},
{
- "id": 500,
+ "id": 531,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -12840,7 +13807,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 213,
+ "line": 218,
"character": 4
}
],
@@ -12859,7 +13826,7 @@
}
},
{
- "id": 497,
+ "id": 528,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -12872,7 +13839,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 210,
+ "line": 215,
"character": 4
}
],
@@ -12882,7 +13849,7 @@
}
},
{
- "id": 496,
+ "id": 527,
"name": "verbose",
"kind": 1024,
"kindString": "Property",
@@ -12895,7 +13862,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 209,
+ "line": 214,
"character": 4
}
],
@@ -12905,7 +13872,7 @@
}
},
{
- "id": 499,
+ "id": 530,
"name": "wal",
"kind": 1024,
"kindString": "Property",
@@ -12918,7 +13885,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 212,
+ "line": 217,
"character": 4
}
],
@@ -12932,14 +13899,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 495,
- 498,
- 500,
- 497,
- 496,
- 499
- ]
+ "children": [526, 529, 531, 528, 527, 530]
}
]
}
@@ -12952,7 +13912,7 @@
"types": [
{
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "intrinsic",
@@ -12963,7 +13923,7 @@
},
{
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "array",
@@ -12993,7 +13953,7 @@
]
},
{
- "id": 489,
+ "id": 520,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -13001,13 +13961,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 174,
+ "line": 179,
"character": 2
}
],
"signatures": [
{
- "id": 490,
+ "id": 521,
"name": "geojson",
"kind": 4096,
"kindString": "Call signature",
@@ -13017,7 +13977,7 @@
},
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
@@ -13042,7 +14002,7 @@
]
},
{
- "id": 465,
+ "id": 496,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -13050,13 +14010,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
+ "line": 97,
"character": 2
}
],
"signatures": [
{
- "id": 466,
+ "id": 497,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -13066,7 +14026,7 @@
},
"parameters": [
{
- "id": 467,
+ "id": 498,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -13080,7 +14040,7 @@
}
},
{
- "id": 468,
+ "id": 499,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -13092,14 +14052,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 469,
+ "id": 500,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 470,
+ "id": 501,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -13112,7 +14072,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 96,
+ "line": 97,
"character": 43
}
],
@@ -13126,9 +14086,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 470
- ]
+ "children": [501]
}
]
}
@@ -13138,22 +14096,27 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -13162,7 +14125,7 @@
]
},
{
- "id": 484,
+ "id": 515,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -13170,13 +14133,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 149,
+ "line": 154,
"character": 2
}
],
"signatures": [
{
- "id": 485,
+ "id": 516,
"name": "maybeSingle",
"kind": 4096,
"kindString": "Call signature",
@@ -13187,7 +14150,7 @@
},
"typeParameter": [
{
- "id": 486,
+ "id": 517,
"name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -13196,7 +14159,7 @@
"type": "conditional",
"checkType": {
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
},
"extendsType": {
@@ -13219,7 +14182,7 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "union",
@@ -13230,7 +14193,7 @@
},
{
"type": "reference",
- "id": 387,
+ "id": 416,
"name": "ResultOne"
}
]
@@ -13242,7 +14205,7 @@
]
},
{
- "id": 449,
+ "id": 480,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -13250,13 +14213,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
"signatures": [
{
- "id": 450,
+ "id": 481,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -13267,7 +14230,7 @@
},
"typeParameter": [
{
- "id": 451,
+ "id": 482,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -13280,7 +14243,7 @@
],
"parameters": [
{
- "id": 452,
+ "id": 483,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -13290,13 +14253,13 @@
},
"type": {
"type": "reference",
- "id": 352,
+ "id": 381,
"name": "ColumnName",
"dereferenced": {}
}
},
{
- "id": 453,
+ "id": 484,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -13309,14 +14272,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 454,
+ "id": 485,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 455,
+ "id": 486,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -13329,7 +14292,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 16
}
],
@@ -13339,7 +14302,7 @@
}
},
{
- "id": 457,
+ "id": 488,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -13352,7 +14315,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 59
}
],
@@ -13362,7 +14325,7 @@
}
},
{
- "id": 456,
+ "id": 487,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -13375,7 +14338,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 46,
+ "line": 47,
"character": 37
}
],
@@ -13389,11 +14352,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 455,
- 457,
- 456
- ]
+ "children": [486, 488, 487]
}
]
}
@@ -13402,29 +14361,34 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
}
},
{
- "id": 458,
+ "id": 489,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -13435,7 +14399,7 @@
},
"parameters": [
{
- "id": 459,
+ "id": 490,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -13449,7 +14413,7 @@
}
},
{
- "id": 460,
+ "id": 491,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -13462,14 +14426,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 461,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 462,
+ "id": 493,
"name": "ascending",
"kind": 1024,
"kindString": "Property",
@@ -13482,7 +14446,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 16
}
],
@@ -13492,18 +14456,20 @@
}
},
{
- "id": 464,
+ "id": 495,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"comment": {
"shortText": "Set this to order a foreign table by foreign\ncolumns\n"
},
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 59
}
],
@@ -13513,7 +14479,7 @@
}
},
{
- "id": 463,
+ "id": 494,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -13526,7 +14492,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 50,
+ "line": 51,
"character": 37
}
],
@@ -13540,11 +14506,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 462,
- 464,
- 463
- ]
+ "children": [493, 495, 494]
}
]
}
@@ -13553,22 +14515,27 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -13577,7 +14544,7 @@
]
},
{
- "id": 471,
+ "id": 502,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -13585,23 +14552,23 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
+ "line": 116,
"character": 2
}
],
"signatures": [
{
- "id": 472,
+ "id": 503,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
+ "shortText": "Limit the query result by starting at an offset (`from`) and ending at the offset (`from + to`).\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query."
},
"parameters": [
{
- "id": 473,
+ "id": 504,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -13615,7 +14582,7 @@
}
},
{
- "id": 474,
+ "id": 505,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -13629,7 +14596,7 @@
}
},
{
- "id": 475,
+ "id": 506,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -13641,14 +14608,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 476,
+ "id": 507,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 477,
+ "id": 508,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -13661,7 +14628,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 111,
+ "line": 116,
"character": 54
}
],
@@ -13675,9 +14642,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 477
- ]
+ "children": [508]
}
]
}
@@ -13687,22 +14652,27 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -13711,7 +14681,7 @@
]
},
{
- "id": 503,
+ "id": 534,
"name": "returns",
"kind": 2048,
"kindString": "Method",
@@ -13719,13 +14689,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 252,
+ "line": 257,
"character": 2
}
],
"signatures": [
{
- "id": 504,
+ "id": 535,
"name": "returns",
"kind": 4096,
"kindString": "Call signature",
@@ -13735,7 +14705,7 @@
},
"typeParameter": [
{
- "id": 505,
+ "id": 536,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -13747,22 +14717,27 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 406,
+ "id": 435,
"name": "NewResult"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -13771,7 +14746,7 @@
]
},
{
- "id": 501,
+ "id": 532,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -13779,13 +14754,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 238,
+ "line": 243,
"character": 2
}
],
"signatures": [
{
- "id": 502,
+ "id": 533,
"name": "rollback",
"kind": 4096,
"kindString": "Call signature",
@@ -13796,22 +14771,27 @@
},
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -13820,7 +14800,7 @@
]
},
{
- "id": 444,
+ "id": 475,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -13828,13 +14808,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 19,
+ "line": 20,
"character": 2
}
],
"signatures": [
{
- "id": 445,
+ "id": 476,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -13845,7 +14825,7 @@
},
"typeParameter": [
{
- "id": 446,
+ "id": 477,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -13860,7 +14840,7 @@
}
},
{
- "id": 447,
+ "id": 478,
"name": "NewResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -13870,17 +14850,22 @@
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 347,
+ "id": 473,
+ "name": "Relationships"
+ },
+ {
+ "type": "reference",
+ "id": 376,
"name": "Query"
}
],
@@ -13890,7 +14875,7 @@
],
"parameters": [
{
- "id": 448,
+ "id": 479,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -13902,7 +14887,7 @@
},
"type": {
"type": "reference",
- "id": 347,
+ "id": 376,
"name": "Query",
"dereferenced": {}
}
@@ -13910,25 +14895,30 @@
],
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 348,
+ "id": 377,
"name": "NewResultOne"
}
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
@@ -13937,7 +14927,7 @@
]
},
{
- "id": 481,
+ "id": 512,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -13945,13 +14935,13 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 136,
+ "line": 141,
"character": 2
}
],
"signatures": [
{
- "id": 482,
+ "id": 513,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -13962,7 +14952,7 @@
},
"typeParameter": [
{
- "id": 483,
+ "id": 514,
"name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
@@ -13971,7 +14961,7 @@
"type": "conditional",
"checkType": {
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
},
"extendsType": {
@@ -13994,11 +14984,11 @@
],
"type": {
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 384,
+ "id": 413,
"name": "ResultOne"
}
],
@@ -14008,7 +14998,7 @@
]
},
{
- "id": 521,
+ "id": 552,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -14022,25 +15012,25 @@
],
"signatures": [
{
- "id": 522,
+ "id": 553,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 523,
+ "id": 554,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"default": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
}
],
@@ -14048,7 +15038,7 @@
}
},
{
- "id": 524,
+ "id": 555,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -14061,7 +15051,7 @@
],
"parameters": [
{
- "id": 525,
+ "id": 556,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -14078,32 +15068,32 @@
{
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 527,
+ "id": 558,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 528,
+ "id": 559,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
}
],
@@ -14116,7 +15106,7 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
@@ -14124,7 +15114,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
}
],
@@ -14142,7 +15132,7 @@
}
},
{
- "id": 529,
+ "id": 560,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -14159,21 +15149,21 @@
{
"type": "reflection",
"declaration": {
- "id": 530,
+ "id": 561,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 531,
+ "id": 562,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 532,
+ "id": 563,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -14189,7 +15179,7 @@
"types": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
},
{
@@ -14197,7 +15187,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
],
@@ -14223,12 +15213,12 @@
"types": [
{
"type": "reference",
- "id": 424,
+ "id": 453,
"name": "TResult1"
},
{
"type": "reference",
- "id": 425,
+ "id": 454,
"name": "TResult2"
}
]
@@ -14240,19 +15230,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 557,
+ "id": 589,
"name": "default.then"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 556,
+ "id": 588,
"name": "default.then"
}
},
{
- "id": 519,
+ "id": 550,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -14266,7 +15256,7 @@
],
"signatures": [
{
- "id": 520,
+ "id": 551,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -14277,36 +15267,41 @@
},
"type": {
"type": "reference",
- "id": 437,
+ "id": 467,
"typeArguments": [
{
"type": "reference",
- "id": 440,
+ "id": 470,
"name": "Schema"
},
{
"type": "reference",
- "id": 441,
+ "id": 471,
"name": "Row"
},
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "name": "Relationships"
}
],
"name": "default"
},
"inheritedFrom": {
"type": "reference",
- "id": 555,
+ "id": 587,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 554,
+ "id": 586,
"name": "default.throwOnError"
}
}
@@ -14315,44 +15310,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 438
- ]
+ "children": [468]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 510,
- 513,
- 508,
- 518,
- 506,
- 509,
- 511,
- 512,
- 507
- ]
+ "children": [541, 544, 539, 549, 537, 540, 542, 543, 538]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 478,
- 487,
- 491,
- 489,
- 465,
- 484,
- 449,
- 471,
- 503,
- 501,
- 444,
- 481,
- 521,
- 519
- ]
+ "children": [509, 518, 522, 520, 496, 515, 480, 502, 534, 532, 475, 512, 552, 550]
}
],
"sources": [
@@ -14364,7 +15332,7 @@
],
"typeParameter": [
{
- "id": 533,
+ "id": 564,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -14375,7 +15343,7 @@
}
},
{
- "id": 534,
+ "id": 565,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -14398,21 +15366,32 @@
}
},
{
- "id": 535,
+ "id": 566,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
+ },
+ {
+ "id": 567,
+ "name": "Relationships",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 536,
+ "id": 568,
"typeArguments": [
{
"type": "reference",
- "id": 442,
+ "id": 472,
"name": "Result"
}
],
@@ -14422,20 +15401,20 @@
"extendedBy": [
{
"type": "reference",
- "id": 114,
+ "id": 142,
"name": "PostgrestFilterBuilder"
}
]
},
{
- "id": 571,
+ "id": 603,
"name": "PostgrestResponseFailure",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 574,
+ "id": 606,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -14453,7 +15432,7 @@
}
},
{
- "id": 573,
+ "id": 605,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -14471,7 +15450,7 @@
}
},
{
- "id": 572,
+ "id": 604,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -14485,10 +15464,10 @@
],
"type": {
"type": "reference",
- "id": 588,
+ "id": 620,
"name": "PostgrestError",
"dereferenced": {
- "id": 588,
+ "id": 620,
"name": "PostgrestError",
"kind": 4194304,
"kindString": "Type alias",
@@ -14507,14 +15486,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 621,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -14532,7 +15511,7 @@
}
},
{
- "id": 591,
+ "id": 623,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -14550,7 +15529,7 @@
}
},
{
- "id": 592,
+ "id": 624,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -14568,7 +15547,7 @@
}
},
{
- "id": 590,
+ "id": 622,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -14590,12 +15569,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 593,
- 591,
- 592,
- 590
- ]
+ "children": [625, 623, 624, 622]
}
],
"sources": [
@@ -14611,7 +15585,7 @@
}
},
{
- "id": 575,
+ "id": 607,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -14633,7 +15607,7 @@
}
},
{
- "id": 576,
+ "id": 608,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -14659,13 +15633,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 574,
- 573,
- 572,
- 575,
- 576
- ]
+ "children": [606, 605, 604, 607, 608]
}
],
"sources": [
@@ -14683,14 +15651,14 @@
]
},
{
- "id": 577,
+ "id": 609,
"name": "PostgrestResponseSuccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 580,
+ "id": 612,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -14717,7 +15685,7 @@
}
},
{
- "id": 579,
+ "id": 611,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -14731,13 +15699,13 @@
],
"type": {
"type": "reference",
- "id": 583,
+ "id": 615,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 578,
+ "id": 610,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -14755,7 +15723,7 @@
}
},
{
- "id": 581,
+ "id": 613,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -14777,7 +15745,7 @@
}
},
{
- "id": 582,
+ "id": 614,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -14803,13 +15771,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 580,
- 579,
- 578,
- 581,
- 582
- ]
+ "children": [612, 611, 610, 613, 614]
}
],
"sources": [
@@ -14821,7 +15783,7 @@
],
"typeParameter": [
{
- "id": 583,
+ "id": 615,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -14836,7 +15798,7 @@
]
},
{
- "id": 588,
+ "id": 620,
"name": "PostgrestError",
"kind": 4194304,
"kindString": "Type alias",
@@ -14855,14 +15817,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 621,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -14880,7 +15842,7 @@
}
},
{
- "id": 591,
+ "id": 623,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -14898,7 +15860,7 @@
}
},
{
- "id": 592,
+ "id": 624,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -14916,7 +15878,7 @@
}
},
{
- "id": 590,
+ "id": 622,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -14938,12 +15900,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 593,
- 591,
- 592,
- 590
- ]
+ "children": [625, 623, 624, 622]
}
],
"sources": [
@@ -14957,7 +15914,7 @@
}
},
{
- "id": 586,
+ "id": 618,
"name": "PostgrestMaybeSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -14971,7 +15928,7 @@
],
"typeParameter": [
{
- "id": 587,
+ "id": 619,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -14980,14 +15937,14 @@
],
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
- "id": 587,
+ "id": 619,
"name": "T"
},
{
@@ -15001,7 +15958,7 @@
}
},
{
- "id": 569,
+ "id": 601,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -15015,7 +15972,7 @@
],
"typeParameter": [
{
- "id": 570,
+ "id": 602,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -15024,13 +15981,13 @@
],
"type": {
"type": "reference",
- "id": 584,
+ "id": 616,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "reference",
- "id": 570,
+ "id": 602,
"name": "T"
}
}
@@ -15039,7 +15996,7 @@
}
},
{
- "id": 584,
+ "id": 616,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -15053,7 +16010,7 @@
],
"typeParameter": [
{
- "id": 585,
+ "id": 617,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -15064,14 +16021,14 @@
"type": "union",
"types": [
{
- "id": 577,
+ "id": 609,
"name": "PostgrestResponseSuccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 580,
+ "id": 612,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -15098,7 +16055,7 @@
}
},
{
- "id": 579,
+ "id": 611,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -15112,13 +16069,13 @@
],
"type": {
"type": "reference",
- "id": 583,
+ "id": 615,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 578,
+ "id": 610,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -15136,7 +16093,7 @@
}
},
{
- "id": 581,
+ "id": 613,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -15158,7 +16115,7 @@
}
},
{
- "id": 582,
+ "id": 614,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -15184,13 +16141,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 580,
- 579,
- 578,
- 581,
- 582
- ]
+ "children": [612, 611, 610, 613, 614]
}
],
"sources": [
@@ -15202,7 +16153,7 @@
],
"typeParameter": [
{
- "id": 583,
+ "id": 615,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -15217,14 +16168,14 @@
]
},
{
- "id": 571,
+ "id": 603,
"name": "PostgrestResponseFailure",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 574,
+ "id": 606,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -15242,7 +16193,7 @@
}
},
{
- "id": 573,
+ "id": 605,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -15260,7 +16211,7 @@
}
},
{
- "id": 572,
+ "id": 604,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -15274,10 +16225,10 @@
],
"type": {
"type": "reference",
- "id": 588,
+ "id": 620,
"name": "PostgrestError",
"dereferenced": {
- "id": 588,
+ "id": 620,
"name": "PostgrestError",
"kind": 4194304,
"kindString": "Type alias",
@@ -15296,14 +16247,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 589,
+ "id": 621,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -15321,7 +16272,7 @@
}
},
{
- "id": 591,
+ "id": 623,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -15339,7 +16290,7 @@
}
},
{
- "id": 592,
+ "id": 624,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -15357,7 +16308,7 @@
}
},
{
- "id": 590,
+ "id": 622,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -15379,12 +16330,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 593,
- 591,
- 592,
- 590
- ]
+ "children": [625, 623, 624, 622]
}
],
"sources": [
@@ -15400,7 +16346,7 @@
}
},
{
- "id": 575,
+ "id": 607,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -15422,7 +16368,7 @@
}
},
{
- "id": 576,
+ "id": 608,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -15448,13 +16394,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 574,
- 573,
- 572,
- 575,
- 576
- ]
+ "children": [606, 605, 604, 607, 608]
}
],
"sources": [
@@ -15479,31 +16419,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 536,
- 1,
- 114,
- 49,
- 437
- ]
+ "children": [568, 1, 142, 57, 467]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [
- 571,
- 577
- ]
+ "children": [603, 609]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [
- 588,
- 586,
- 569,
- 584
- ]
+ "children": [620, 618, 601, 616]
}
],
"sources": [
@@ -15513,4 +16439,4 @@
"character": 0
}
]
-}
\ No newline at end of file
+}
diff --git a/spec/enrichments/tsdoc_v2/realtime.json b/spec/enrichments/tsdoc_v2/realtime.json
index 050af38f70e..112773e7f94 100644
--- a/spec/enrichments/tsdoc_v2/realtime.json
+++ b/spec/enrichments/tsdoc_v2/realtime.json
@@ -1,6492 +1,6342 @@
{
- "id": 0,
- "name": "@supabase/realtime-js",
- "kind": 1,
- "kindString": "Project",
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 535,
- "name": "REALTIME_LISTEN_TYPES",
- "kind": 8,
- "kindString": "Enumeration",
- "flags": {},
- "children": [
- {
- "id": 536,
- "name": "BROADCAST",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 93,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "broadcast"
- },
- "defaultValue": "\"broadcast\""
- },
- {
- "id": 538,
- "name": "POSTGRES_CHANGES",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "comment": {
- "shortText": "listen to Postgres changes."
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 98,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "postgres_changes"
- },
- "defaultValue": "\"postgres_changes\""
- },
- {
- "id": 537,
- "name": "PRESENCE",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 94,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "presence"
- },
- "defaultValue": "\"presence\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration Members",
- "kind": 16,
- "children": [
- 536,
- 538,
- 537
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 92,
- "character": 12
- }
- ]
- },
- {
- "id": 539,
- "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
- "kind": 8,
- "kindString": "Enumeration",
- "flags": {},
- "children": [
- {
- "id": 540,
- "name": "ALL",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 86,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "*"
- },
- "defaultValue": "\"*\""
- },
- {
- "id": 543,
- "name": "DELETE",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 89,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "DELETE"
- },
- "defaultValue": "\"DELETE\""
- },
- {
- "id": 541,
- "name": "INSERT",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 87,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "INSERT"
- },
- "defaultValue": "\"INSERT\""
- },
- {
- "id": 542,
- "name": "UPDATE",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 88,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "UPDATE"
- },
- "defaultValue": "\"UPDATE\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration Members",
- "kind": 16,
- "children": [
- 540,
- 543,
- 541,
- 542
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 85,
- "character": 12
- }
- ]
- },
- {
- "id": 544,
- "name": "REALTIME_PRESENCE_LISTEN_EVENTS",
- "kind": 8,
- "kindString": "Enumeration",
- "flags": {},
- "children": [
- {
- "id": 546,
- "name": "JOIN",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 37,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "join"
- },
- "defaultValue": "\"join\""
- },
- {
- "id": 547,
- "name": "LEAVE",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 38,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "leave"
- },
- "defaultValue": "\"leave\""
- },
- {
- "id": 545,
- "name": "SYNC",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 36,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "sync"
- },
- "defaultValue": "\"sync\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration Members",
- "kind": 16,
- "children": [
- 546,
- 547,
- 545
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 35,
- "character": 12
- }
- ]
- },
- {
- "id": 548,
- "name": "REALTIME_SUBSCRIBE_STATES",
- "kind": 8,
- "kindString": "Enumeration",
- "flags": {},
- "children": [
- {
- "id": 552,
- "name": "CHANNEL_ERROR",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 105,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "CHANNEL_ERROR"
- },
- "defaultValue": "\"CHANNEL_ERROR\""
- },
- {
- "id": 551,
- "name": "CLOSED",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 104,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "CLOSED"
- },
- "defaultValue": "\"CLOSED\""
- },
- {
- "id": 549,
- "name": "SUBSCRIBED",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 102,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "SUBSCRIBED"
- },
- "defaultValue": "\"SUBSCRIBED\""
- },
- {
- "id": 550,
- "name": "TIMED_OUT",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 103,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "TIMED_OUT"
- },
- "defaultValue": "\"TIMED_OUT\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration Members",
- "kind": 16,
- "children": [
- 552,
- 551,
- 549,
- 550
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 101,
- "character": 12
- }
- ]
- },
- {
- "id": 64,
- "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": 75,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 130,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 76,
- "name": "new RealtimeChannel",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 77,
- "name": "topic",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 78,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 316,
- "name": "RealtimeChannelOptions"
- },
- "defaultValue": "..."
- },
- {
- "id": 79,
- "name": "socket",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 328,
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 80,
- "name": "bindings",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 114,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 81,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 82,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 83,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 84,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 90,
- "name": "callback",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 118,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 86,
- "name": "filter",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 117,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 87,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 117,
- "character": 14
- }
- ],
- "indexSignature": {
- "id": 88,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 89,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 91,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 119,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 85,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 116,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 90,
- 86,
- 91,
- 85
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 115,
- "character": 19
- }
- ]
- }
- }
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 95,
- "name": "joinPush",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 125,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "default"
- }
- },
- {
- "id": 94,
- "name": "joinedOnce",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 124,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 100,
- "name": "params",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true
- },
- "type": {
- "type": "reference",
- "id": 316,
- "name": "RealtimeChannelOptions"
- },
- "defaultValue": "..."
- },
- {
- "id": 98,
- "name": "presence",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 128,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "name": "default"
- }
- },
- {
- "id": 97,
- "name": "pushBuffer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 127,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "default"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 96,
- "name": "rejoinTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 126,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "default"
- }
- },
- {
- "id": 101,
- "name": "socket",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true
- },
- "type": {
- "type": "reference",
- "id": 328,
- "name": "default"
- }
- },
- {
- "id": 93,
- "name": "state",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 123,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "CHANNEL_STATES"
- },
- "defaultValue": "CHANNEL_STATES.closed"
- },
- {
- "id": 92,
- "name": "timeout",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 122,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 99,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 133,
- "name": "on",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 338,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 134,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates an event handler that listens to changes."
- },
- "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": 340,
- "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": 64,
- "name": "default"
- }
- },
- {
- "id": 142,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 146,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 143,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 144,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 145,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 147,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "presence"
- }
- },
- {
- "id": 148,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 149,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 150,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 345,
- "character": 14
- }
- ],
- "type": {
- "type": "literal",
- "value": "join"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 150
- ]
- }
- ]
- }
- }
- },
- {
- "id": 151,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 152,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 153,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 154,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 505,
- "typeArguments": [
- {
- "type": "reference",
- "id": 146,
- "name": "T"
- }
- ],
- "name": "RealtimePresenceJoinPayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- },
- {
- "id": 155,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 159,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 156,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 157,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 158,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 160,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "presence"
- }
- },
- {
- "id": 161,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 162,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 163,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 350,
- "character": 14
- }
- ],
- "type": {
- "type": "literal",
- "value": "leave"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 163
- ]
- }
- ]
- }
- }
- },
- {
- "id": 164,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 165,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 166,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 167,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 515,
- "typeArguments": [
- {
- "type": "reference",
- "id": 159,
- "name": "T"
- }
- ],
- "name": "RealtimePresenceLeavePayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- },
- {
- "id": 168,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 172,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 169,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 170,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 171,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 173,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "postgres_changes"
- }
- },
- {
- "id": 174,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 464,
- "typeArguments": [
- {
- "type": "literal",
- "value": "*"
- }
- ],
- "name": "RealtimePostgresChangesFilter"
- }
- },
- {
- "id": 175,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 176,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 177,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 178,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 471,
- "typeArguments": [
- {
- "type": "reference",
- "id": 172,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresChangesPayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- },
- {
- "id": 179,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 183,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 180,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 181,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 182,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 184,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "postgres_changes"
- }
- },
- {
- "id": 185,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 464,
- "typeArguments": [
- {
- "type": "literal",
- "value": "INSERT"
- }
- ],
- "name": "RealtimePostgresChangesFilter"
- }
- },
- {
- "id": 186,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 187,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 188,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 189,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 476,
- "typeArguments": [
- {
- "type": "reference",
- "id": 183,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresInsertPayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- },
- {
- "id": 190,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 194,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 191,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 192,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 193,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 195,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "postgres_changes"
- }
- },
- {
- "id": 196,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 464,
- "typeArguments": [
- {
- "type": "literal",
- "value": "UPDATE"
- }
- ],
- "name": "RealtimePostgresChangesFilter"
- }
- },
- {
- "id": 197,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 198,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 199,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 200,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 486,
- "typeArguments": [
- {
- "type": "reference",
- "id": 194,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresUpdatePayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- },
- {
- "id": 201,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 205,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 202,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 203,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 204,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 206,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "postgres_changes"
- }
- },
- {
- "id": 207,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 464,
- "typeArguments": [
- {
- "type": "literal",
- "value": "DELETE"
- }
- ],
- "name": "RealtimePostgresChangesFilter"
- }
- },
- {
- "id": 208,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 209,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 210,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 211,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 495,
- "typeArguments": [
- {
- "type": "reference",
- "id": 205,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresDeletePayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- },
- {
- "id": 212,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "The following is placed here to display on supabase.com/docs/reference/javascript/subscribe."
- },
- "parameters": [
- {
- "id": 213,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "One of \"broadcast\", \"presence\", or \"postgres_changes\"."
- },
- "type": {
- "type": "literal",
- "value": "broadcast"
- }
- },
- {
- "id": 214,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Custom object specific to the Realtime feature detailing which payloads to receive."
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 215,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 216,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 381,
- "character": 14
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 216
- ]
- }
- ]
- }
- }
- },
- {
- "id": 217,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Function to be invoked when event handler is triggered.\n"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 218,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 219,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 220,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 221,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 223,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 384,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 222,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 383,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "broadcast"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 223,
- 222
- ]
- }
- ],
- "indexSignature": {
- "id": 224,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 225,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 110,
- "name": "presenceState",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 303,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 111,
- "name": "presenceState",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 116,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 112,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 113,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 114,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "default": {
- "type": "reflection",
- "declaration": {
- "id": 115,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 525,
- "typeArguments": [
- {
- "type": "reference",
- "id": 116,
- "name": "T"
- }
- ],
- "name": "RealtimePresenceState"
- }
- }
- ]
- },
- {
- "id": 226,
- "name": "send",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 396,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 227,
- "name": "send",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 228,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 229,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 230,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 397,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 230
- ]
- }
- ],
- "indexSignature": {
- "id": 231,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 232,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 233,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 234,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 235,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 236,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 327,
- "name": "RealtimeChannelSendResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 102,
- "name": "subscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 190,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 103,
- "name": "subscribe",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Subscribe registers your client with the server"
- },
- "parameters": [
- {
- "id": 104,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 105,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 106,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 107,
- "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": 108,
- "name": "err",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- },
- {
- "id": 109,
- "name": "timeout",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 117,
- "name": "track",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 309,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 118,
- "name": "track",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 119,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 120,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 121,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 122,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 123,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 124,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 125,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 126,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 327,
- "name": "RealtimeChannelSendResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 243,
- "name": "unsubscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 436,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 244,
- "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": 245,
- "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": 127,
- "name": "untrack",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 323,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 128,
- "name": "untrack",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 129,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 130,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 131,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 132,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 327,
- "name": "RealtimeChannelSendResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 237,
- "name": "updateJoinPayload",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 423,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 238,
- "name": "updateJoinPayload",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 239,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 240,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 241,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 242,
- "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": [
- 75
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 113,
- "character": 21
- }
- ]
- },
- {
- "id": 328,
- "name": "RealtimeClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 329,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 89,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 330,
- "name": "new RealtimeClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "comment": {
- "shortText": "Initializes the Socket."
- },
- "parameters": [
- {
- "id": 331,
- "name": "endPoint",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 332,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 440,
- "name": "RealtimeClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 328,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 333,
- "name": "accessToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 42,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 334,
- "name": "channels",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 43,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 355,
- "name": "conn",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 58,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "qualifiedName": "WebSocket",
- "package": "typescript",
- "name": "WebSocket"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 353,
- "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": 352,
- "name": "encode",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 55,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 335,
- "name": "endPoint",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 44,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "''"
- },
- {
- "id": 364,
- "name": "eventsPerSecondLimitMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 72,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "100"
- },
- {
- "id": 336,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 45,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 337,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 338,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 339,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "defaultValue": "DEFAULT_HEADERS"
- },
- {
- "id": 346,
- "name": "heartbeatIntervalMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "30000"
- },
- {
- "id": 347,
- "name": "heartbeatTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reference",
- "qualifiedName": "global.NodeJS.Timer",
- "package": "@types/node",
- "name": "Timer"
- }
- ]
- },
- "defaultValue": "undefined"
- },
- {
- "id": 365,
- "name": "inThrottle",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 73,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 351,
- "name": "logger",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 54,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- },
- "defaultValue": "noop"
- },
- {
- "id": 340,
- "name": "params",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 46,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 341,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 342,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 343,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 348,
- "name": "pendingHeartbeatRef",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 51,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 354,
- "name": "reconnectAfterMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 57,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 350,
- "name": "reconnectTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 53,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "default"
- }
- },
- {
- "id": 349,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 52,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 356,
- "name": "sendBuffer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 59,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 357,
- "name": "serializer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 60,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "default"
- },
- "defaultValue": "..."
- },
- {
- "id": 358,
- "name": "stateChangeCallbacks",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 61,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 359,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 361,
- "name": "close",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 63,
- "character": 4
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- }
- },
- {
- "id": 362,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 64,
- "character": 4
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- }
- },
- {
- "id": 363,
- "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": 360,
- "name": "open",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 62,
- "character": 4
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 344,
- "name": "timeout",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "DEFAULT_TIMEOUT"
- },
- {
- "id": 345,
- "name": "transport",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "defaultValue": "w3cwebsocket"
- },
- {
- "id": 388,
- "name": "channel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 227,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 389,
- "name": "channel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 390,
- "name": "topic",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 391,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 316,
- "name": "RealtimeChannelOptions"
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 366,
- "name": "connect",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 126,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 367,
- "name": "connect",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Connects the socket, unless already connected."
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 384,
- "name": "connectionState",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 207,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 385,
- "name": "connectionState",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns the current state of the socket."
- },
- "type": {
- "type": "reference",
- "name": "CONNECTION_STATE"
- }
- }
- ]
- },
- {
- "id": 368,
- "name": "disconnect",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 148,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 369,
- "name": "disconnect",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Disconnects the socket."
- },
- "parameters": [
- {
- "id": 370,
- "name": "code",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A numeric status code to send on disconnect."
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 371,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom reason for the disconnect.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 372,
- "name": "getChannels",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 166,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 373,
- "name": "getChannels",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns all created channels"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- }
- }
- ]
- },
- {
- "id": 386,
- "name": "isConnected",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 223,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 387,
- "name": "isConnected",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns `true` is the connection is open."
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ]
- },
- {
- "id": 379,
- "name": "log",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 200,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 380,
- "name": "log",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Logs the message.",
- "text": "For customized logging, `this.logger` can be overridden.\n"
- },
- "parameters": [
- {
- "id": 381,
- "name": "kind",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 382,
- "name": "msg",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 383,
- "name": "data",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 392,
- "name": "push",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 245,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 393,
- "name": "push",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Push out a message if the socket is connected.",
- "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
- },
- "parameters": [
- {
- "id": 394,
- "name": "data",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 457,
- "name": "RealtimeMessage"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "void"
- },
- {
- "type": "literal",
- "value": "rate limited"
- }
- ]
- }
- }
- ]
- },
- {
- "id": 377,
- "name": "removeAllChannels",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 187,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 378,
- "name": "removeAllChannels",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Unsubscribes and removes all channels"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 534,
- "name": "RealtimeRemoveChannelResponse"
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 374,
- "name": "removeChannel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 174,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 375,
- "name": "removeChannel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Unsubscribes and removes a single channel"
- },
- "parameters": [
- {
- "id": 376,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "A RealtimeChannel instance\n"
- },
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 534,
- "name": "RealtimeRemoveChannelResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 395,
- "name": "setAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 272,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 396,
- "name": "setAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
- },
- "parameters": [
- {
- "id": 397,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "A JWT string.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 329
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 41,
- "character": 21
- }
- ]
- },
- {
- "id": 1,
- "name": "RealtimePresence",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 36,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 84,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 37,
- "name": "new RealtimePresence",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "comment": {
- "shortText": "Initializes the Presence."
- },
- "parameters": [
- {
- "id": 38,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The RealtimeChannel"
- },
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- },
- {
- "id": 39,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
- },
- "type": {
- "type": "reference",
- "qualifiedName": "PresenceOpts",
- "package": "@types/phoenix",
- "name": "PresenceOpts"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 44,
- "name": "caller",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 67,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 45,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 46,
- "name": "onJoin",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 68,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "PresenceOnJoinCallback",
- "package": "@types/phoenix",
- "name": "PresenceOnJoinCallback"
- }
- },
- {
- "id": 47,
- "name": "onLeave",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 69,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "PresenceOnLeaveCallback",
- "package": "@types/phoenix",
- "name": "PresenceOnLeaveCallback"
- }
- },
- {
- "id": 48,
- "name": "onSync",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 70,
- "character": 4
- }
- ],
- "signatures": [
- {
- "id": 49,
- "name": "onSync",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 46,
- 47
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 48
- ]
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 50,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true
- },
- "type": {
- "type": "reference",
- "id": 64,
- "name": "default"
- }
- },
- {
- "id": 43,
- "name": "joinRef",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 66,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 42,
- "name": "pendingDiffs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 65,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "RawPresenceDiff"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 40,
- "name": "state",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 64,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 525,
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 41,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- ],
- "name": "RealtimePresenceState"
- },
- "defaultValue": "{}"
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 36
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 63,
- "character": 21
- }
- ]
- },
- {
- "id": 316,
- "name": "RealtimeChannelOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 15,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 317,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 318,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 16,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 319,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 320,
- "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 acknowledge that broadcast message was received"
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 21,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 321,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 323,
- "name": "ack",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 21,
- "character": 34
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 322,
- "name": "self",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 21,
- "character": 18
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 323,
- 322
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 21,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 324,
- "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": 25,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 325,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 326,
- "name": "key",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 25,
- "character": 17
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 326
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 25,
- "character": 15
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 320,
- 324
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 16,
- "character": 10
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 318
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 15,
- "character": 37
- }
- ]
- }
- }
- },
- {
- "id": 327,
- "name": "RealtimeChannelSendResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 83,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- },
- {
- "type": "literal",
- "value": "rate limited"
- }
- ]
- }
- },
- {
- "id": 440,
- "name": "RealtimeClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 17,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 441,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 447,
- "name": "decode",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 23,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 446,
- "name": "encode",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 22,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 449,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 25,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 450,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 25,
- "character": 12
- }
- ],
- "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": "string"
- }
- }
- }
- }
- },
- {
- "id": 444,
- "name": "heartbeatIntervalMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 20,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 445,
- "name": "logger",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 21,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 453,
- "name": "params",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 26,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 454,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 26,
- "character": 11
- }
- ],
- "indexSignature": {
- "id": 455,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 456,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 448,
- "name": "reconnectAfterMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 24,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 443,
- "name": "timeout",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 19,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 442,
- "name": "transport",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "WebSocket",
- "package": "typescript",
- "name": "WebSocket"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 17,
- "character": 36
- }
- ]
- }
- }
- },
- {
- "id": 457,
- "name": "RealtimeMessage",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 29,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 458,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 460,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 31,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 29,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 464,
- "name": "RealtimePostgresChangesFilter",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 62,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 470,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 539,
- "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
- },
- ""
- ]
- ]
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 465,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 466,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The type of database change to listen to."
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 68,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 470,
- "name": "T"
- }
- },
- {
- "id": 469,
- "name": "filter",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Receive database changes when filter is matched."
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 80,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 467,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The database schema to listen to."
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 72,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 468,
- "name": "table",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The database table to listen to."
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 76,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 64,
- "character": 4
- }
- ]
- }
- }
- },
- {
- "id": 471,
- "name": "RealtimePostgresChangesPayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 57,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 475,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 472,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 57,
- "character": 53
- }
- ],
- "indexSignature": {
- "id": 473,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 474,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 476,
- "typeArguments": [
- {
- "type": "reference",
- "id": 475,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresInsertPayload"
- },
- {
- "type": "reference",
- "id": 486,
- "typeArguments": [
- {
- "type": "reference",
- "id": 475,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresUpdatePayload"
- },
- {
- "type": "reference",
- "id": 495,
- "typeArguments": [
- {
- "type": "reference",
- "id": 475,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresDeletePayload"
- }
- ]
- }
- },
- {
- "id": 495,
- "name": "RealtimePostgresDeletePayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 50,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 504,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 501,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 50,
- "character": 52
- }
- ],
- "indexSignature": {
- "id": 502,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 503,
- "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": 496,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 497,
- "name": "eventType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 52,
- "character": 4
- }
- ],
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 543,
- "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
- },
- ""
- ]
- ]
- }
- },
- {
- "id": 498,
- "name": "new",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 53,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 499,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 53,
- "character": 9
- }
- ]
- }
- }
- },
- {
- "id": 500,
- "name": "old",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 54,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 504,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 497,
- 498,
- 500
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 51,
- "character": 39
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 476,
- "name": "RealtimePostgresInsertPayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 36,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 485,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 482,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 36,
- "character": 52
- }
- ],
- "indexSignature": {
- "id": 483,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 484,
- "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": 477,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 478,
- "name": "eventType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 38,
- "character": 4
- }
- ],
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 541,
- "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
- },
- ""
- ]
- ]
- }
- },
- {
- "id": 479,
- "name": "new",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 39,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 485,
- "name": "T"
- }
- },
- {
- "id": 480,
- "name": "old",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 40,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 481,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 40,
- "character": 9
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 478,
- 479,
- 480
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 37,
- "character": 39
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 486,
- "name": "RealtimePostgresUpdatePayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 43,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 494,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 491,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 43,
- "character": 52
- }
- ],
- "indexSignature": {
- "id": 492,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 493,
- "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": 487,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 488,
- "name": "eventType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 45,
- "character": 4
- }
- ],
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 542,
- "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
- },
- ""
- ]
- ]
- }
- },
- {
- "id": 489,
- "name": "new",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 46,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 494,
- "name": "T"
- }
- },
- {
- "id": 490,
- "name": "old",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 47,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 494,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 488,
- 489,
- 490
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 44,
- "character": 39
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 505,
- "name": "RealtimePresenceJoinPayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 21,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 514,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 511,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 21,
- "character": 50
- }
- ],
- "indexSignature": {
- "id": 512,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 513,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 506,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 509,
- "name": "currentPresences",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 24,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 514,
- "name": "T"
- }
- ],
- "name": "Presence"
- }
- }
- },
- {
- "id": 507,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 22,
- "character": 2
- }
- ],
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 546,
- "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
- },
- ""
- ]
- ]
- }
- },
- {
- "id": 508,
- "name": "key",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 23,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 510,
- "name": "newPresences",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 25,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 514,
- "name": "T"
- }
- ],
- "name": "Presence"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 509,
- 507,
- 508,
- 510
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 21,
- "character": 76
- }
- ]
- }
- }
- },
- {
- "id": 515,
- "name": "RealtimePresenceLeavePayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 28,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 524,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 521,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 28,
- "character": 51
- }
- ],
- "indexSignature": {
- "id": 522,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 523,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 516,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 519,
- "name": "currentPresences",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 31,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 524,
- "name": "T"
- }
- ],
- "name": "Presence"
- }
- }
- },
- {
- "id": 517,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 29,
- "character": 2
- }
- ],
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 547,
- "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
- },
- ""
- ]
- ]
- }
- },
- {
- "id": 518,
- "name": "key",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 520,
- "name": "leftPresences",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 524,
- "name": "T"
- }
- ],
- "name": "Presence"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 519,
- 517,
- 518,
- 520
- ]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 28,
- "character": 77
- }
- ]
- }
- }
- },
- {
- "id": 525,
- "name": "RealtimePresenceState",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 17,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 533,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 529,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 17,
- "character": 44
- }
- ],
- "indexSignature": {
- "id": 530,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 531,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "default": {
- "type": "reflection",
- "declaration": {
- "id": 532,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 17,
- "character": 69
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 526,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 17,
- "character": 75
- }
- ],
- "indexSignature": {
- "id": 527,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 528,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 533,
- "name": "T"
- }
- ],
- "name": "Presence"
- }
- }
- }
- }
- }
- },
- {
- "id": 534,
- "name": "RealtimeRemoveChannelResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 37,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- },
- {
- "type": "literal",
- "value": "error"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Enumerations",
- "kind": 8,
- "children": [
- 535,
- 539,
- 544,
- 548
- ]
- },
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 64,
- 328,
- 1
- ]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [
- 316,
- 327,
- 440,
- 457,
- 464,
- 471,
- 495,
- 476,
- 486,
- 505,
- 515,
- 525,
- 534
- ]
- }
- ],
- "sources": [
- {
- "fileName": "index.ts",
- "line": 1,
- "character": 0
- }
- ]
-}
\ No newline at end of file
+ "id": 0,
+ "name": "@supabase/realtime-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 536,
+ "name": "REALTIME_LISTEN_TYPES",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 537,
+ "name": "BROADCAST",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 93,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ },
+ "defaultValue": "\"broadcast\""
+ },
+ {
+ "id": 539,
+ "name": "POSTGRES_CHANGES",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "comment": {
+ "shortText": "listen to Postgres changes."
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 98,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ },
+ "defaultValue": "\"postgres_changes\""
+ },
+ {
+ "id": 538,
+ "name": "PRESENCE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 94,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ },
+ "defaultValue": "\"presence\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [537, 539, 538]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 92,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 540,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 541,
+ "name": "ALL",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 86,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "*"
+ },
+ "defaultValue": "\"*\""
+ },
+ {
+ "id": 544,
+ "name": "DELETE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 89,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "DELETE"
+ },
+ "defaultValue": "\"DELETE\""
+ },
+ {
+ "id": 542,
+ "name": "INSERT",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 87,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ "defaultValue": "\"INSERT\""
+ },
+ {
+ "id": 543,
+ "name": "UPDATE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ "defaultValue": "\"UPDATE\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [541, 544, 542, 543]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 85,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 545,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 547,
+ "name": "JOIN",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 37,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ },
+ "defaultValue": "\"join\""
+ },
+ {
+ "id": 548,
+ "name": "LEAVE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 38,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ },
+ "defaultValue": "\"leave\""
+ },
+ {
+ "id": 546,
+ "name": "SYNC",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ },
+ "defaultValue": "\"sync\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [547, 548, 546]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 35,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 549,
+ "name": "REALTIME_SUBSCRIBE_STATES",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 553,
+ "name": "CHANNEL_ERROR",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 105,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ },
+ "defaultValue": "\"CHANNEL_ERROR\""
+ },
+ {
+ "id": 552,
+ "name": "CLOSED",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 104,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ "defaultValue": "\"CLOSED\""
+ },
+ {
+ "id": 550,
+ "name": "SUBSCRIBED",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 102,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ "defaultValue": "\"SUBSCRIBED\""
+ },
+ {
+ "id": 551,
+ "name": "TIMED_OUT",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 103,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ "defaultValue": "\"TIMED_OUT\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [553, 552, 550, 551]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 101,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 64,
+ "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": 75,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 130,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 76,
+ "name": "new RealtimeChannel",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 77,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 78,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 316,
+ "name": "RealtimeChannelOptions"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 79,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 328,
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 80,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 114,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 81,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 82,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 83,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 84,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 90,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 118,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 86,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 117,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 87,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 117,
+ "character": 14
+ }
+ ],
+ "indexSignature": {
+ "id": 88,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 89,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 91,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 119,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 85,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 116,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [90, 86, 91, 85]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 115,
+ "character": 19
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 95,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 94,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 124,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 100,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 316,
+ "name": "RealtimeChannelOptions"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 98,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 128,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ },
+ {
+ "id": 97,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 127,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 96,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 126,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 101,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 328,
+ "name": "default"
+ }
+ },
+ {
+ "id": 93,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 123,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 92,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 122,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 99,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 133,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 338,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates an event handler that listens to changes."
+ },
+ "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": 340,
+ "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": 64,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 146,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 143,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 144,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 145,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 147,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 148,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 149,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 150,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 345,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [150]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 151,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 152,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 153,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 154,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 506,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 146,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ },
+ {
+ "id": 155,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 159,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 156,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 157,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 158,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 160,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 161,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 162,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 163,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 350,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [163]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 164,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 165,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 166,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 167,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 516,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 159,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ },
+ {
+ "id": 168,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 172,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 169,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 170,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 171,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 173,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 174,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 465,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 175,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 176,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 177,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 178,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 472,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 172,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ },
+ {
+ "id": 179,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 183,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 180,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 181,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 182,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 184,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 185,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 465,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 186,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 187,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 188,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 189,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 477,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 183,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ },
+ {
+ "id": 190,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 194,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 191,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 192,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 193,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 195,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 196,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 465,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 197,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 198,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 199,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 200,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 487,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 194,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ },
+ {
+ "id": 201,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 205,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 202,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 203,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 204,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 206,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 207,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 465,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 208,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 209,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 210,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 211,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 496,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 205,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ },
+ {
+ "id": 212,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "The following is placed here to display on supabase.com/docs/reference/javascript/subscribe."
+ },
+ "parameters": [
+ {
+ "id": 213,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "One of \"broadcast\", \"presence\", or \"postgres_changes\"."
+ },
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 214,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Custom object specific to the Realtime feature detailing which payloads to receive."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 215,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 216,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 381,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [216]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 217,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Function to be invoked when event handler is triggered.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 218,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 219,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 220,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 221,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 223,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 384,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 222,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 383,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [223, 222]
+ }
+ ],
+ "indexSignature": {
+ "id": 224,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 225,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 110,
+ "name": "presenceState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 303,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 111,
+ "name": "presenceState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 116,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 112,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 113,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 114,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "default": {
+ "type": "reflection",
+ "declaration": {
+ "id": 115,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 526,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 226,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 396,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 227,
+ "name": "send",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 228,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 229,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 230,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 397,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [230]
+ }
+ ],
+ "indexSignature": {
+ "id": 231,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 232,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 233,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 234,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 235,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 236,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 327,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 102,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 190,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 103,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
+ "parameters": [
+ {
+ "id": 104,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 105,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 106,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 107,
+ "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": 108,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 109,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 117,
+ "name": "track",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 309,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 118,
+ "name": "track",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 119,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 120,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 121,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 122,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 123,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 124,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 125,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 126,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 327,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 243,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 436,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 244,
+ "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": 245,
+ "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": 127,
+ "name": "untrack",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 323,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 128,
+ "name": "untrack",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 129,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 130,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 131,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 132,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 327,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 237,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 423,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 238,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 239,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 240,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 241,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 242,
+ "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": [75]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 113,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 328,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 329,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 90,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 330,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 331,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 332,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 440,
+ "name": "RealtimeClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 328,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 333,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 334,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 355,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 353,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 352,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 335,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 364,
+ "name": "eventsPerSecondLimitMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 336,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 338,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 339,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 346,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 347,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 365,
+ "name": "inThrottle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 351,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 340,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 342,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 343,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 348,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 354,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 350,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 349,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 356,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 357,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 358,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 359,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 362,
+ "name": "error",
+ "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": 363,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 66,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 360,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [361, 362, 363, 360]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 344,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 345,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 388,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 228,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 389,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 390,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 391,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 316,
+ "name": "RealtimeChannelOptions"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 366,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 127,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 384,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 208,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 385,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 368,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 149,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 369,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 370,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 371,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 372,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 167,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 373,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns all created channels"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 386,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 224,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 387,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 379,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 380,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overridden.\n"
+ },
+ "parameters": [
+ {
+ "id": 381,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 382,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 383,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 392,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 246,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 393,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 394,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 458,
+ "name": "RealtimeMessage"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 377,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 188,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 378,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unsubscribes and removes all channels"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 535,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 374,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 175,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 375,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unsubscribes and removes a single channel"
+ },
+ "parameters": [
+ {
+ "id": 376,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A RealtimeChannel instance\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 535,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 395,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 273,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 396,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 397,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [329]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, 354, 350, 349,
+ 356, 357, 358, 344, 345
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 36,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 37,
+ "name": "new RealtimePresence",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Presence."
+ },
+ "parameters": [
+ {
+ "id": 38,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The RealtimeChannel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ },
+ {
+ "id": 39,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOpts",
+ "package": "@types/phoenix",
+ "name": "PresenceOpts"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 44,
+ "name": "caller",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 45,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 46,
+ "name": "onJoin",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 68,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 47,
+ "name": "onLeave",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ },
+ {
+ "id": 48,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 70,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 49,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [46, 47]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [48]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 50,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 64,
+ "name": "default"
+ }
+ },
+ {
+ "id": 43,
+ "name": "joinRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 42,
+ "name": "pendingDiffs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RawPresenceDiff"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 40,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 526,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 41,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ ],
+ "name": "RealtimePresenceState"
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [36]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [44, 50, 43, 42, 40]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 63,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 316,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 317,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 318,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 320,
+ "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 acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 321,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 323,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 21,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 322,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 21,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [323, 322]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 21,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 324,
+ "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": 25,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 325,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 326,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 25,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [326]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 25,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [320, 324]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 16,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [318]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 15,
+ "character": 37
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 327,
+ "name": "RealtimeChannelSendResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 83,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ },
+ {
+ "id": 440,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 441,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 447,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 446,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 449,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 450,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 12
+ }
+ ],
+ "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": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 444,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
+ {
+ "id": 445,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 453,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 454,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 455,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 456,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 448,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 443,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 442,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [447, 446, 449, 444, 457, 445, 453, 448, 443, 442]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 458,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 459,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 461,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [461, 464, 462, 463, 460]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 465,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 471,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 540,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
+ },
+ ""
+ ]
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 466,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 467,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The type of database change to listen to."
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 471,
+ "name": "T"
+ }
+ },
+ {
+ "id": 470,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Receive database changes when filter is matched."
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 468,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The database schema to listen to."
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 469,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The database table to listen to."
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 76,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [467, 470, 468, 469]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 4
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 472,
+ "name": "RealtimePostgresChangesPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 57,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 476,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 473,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 57,
+ "character": 53
+ }
+ ],
+ "indexSignature": {
+ "id": 474,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 475,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 477,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 476,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ },
+ {
+ "type": "reference",
+ "id": 487,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 476,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ },
+ {
+ "type": "reference",
+ "id": 496,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 476,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ ]
+ }
+ },
+ {
+ "id": 496,
+ "name": "RealtimePostgresDeletePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 50,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 505,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 502,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 50,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 503,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 504,
+ "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": 497,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 498,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 544,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 499,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 53,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 500,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 53,
+ "character": 9
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 501,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 54,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 505,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "Partial",
+ "package": "typescript",
+ "name": "Partial"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [498, 499, 501]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 51,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 477,
+ "name": "RealtimePostgresInsertPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 36,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 486,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 483,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 36,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 484,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 485,
+ "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": 478,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 479,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 542,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 480,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 39,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 486,
+ "name": "T"
+ }
+ },
+ {
+ "id": 481,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 40,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 482,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 40,
+ "character": 9
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [479, 480, 481]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 37,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 487,
+ "name": "RealtimePostgresUpdatePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 43,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 495,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 492,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 43,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 493,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 494,
+ "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": 488,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 489,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 45,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 543,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 490,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 495,
+ "name": "T"
+ }
+ },
+ {
+ "id": 491,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 47,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 495,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "Partial",
+ "package": "typescript",
+ "name": "Partial"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [489, 490, 491]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 44,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 506,
+ "name": "RealtimePresenceJoinPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 21,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 515,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 512,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 21,
+ "character": 50
+ }
+ ],
+ "indexSignature": {
+ "id": 513,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 514,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 507,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 510,
+ "name": "currentPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 515,
+ "name": "T"
+ }
+ ],
+ "name": "Presence"
+ }
+ }
+ },
+ {
+ "id": 508,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 547,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 509,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 511,
+ "name": "newPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 515,
+ "name": "T"
+ }
+ ],
+ "name": "Presence"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [510, 508, 509, 511]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 21,
+ "character": 76
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 516,
+ "name": "RealtimePresenceLeavePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 525,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 522,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 28,
+ "character": 51
+ }
+ ],
+ "indexSignature": {
+ "id": 523,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 524,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 517,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 520,
+ "name": "currentPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 525,
+ "name": "T"
+ }
+ ],
+ "name": "Presence"
+ }
+ }
+ },
+ {
+ "id": 518,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 548,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 519,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 521,
+ "name": "leftPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 525,
+ "name": "T"
+ }
+ ],
+ "name": "Presence"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [520, 518, 519, 521]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 28,
+ "character": 77
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 526,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 17,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 534,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 530,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 17,
+ "character": 44
+ }
+ ],
+ "indexSignature": {
+ "id": 531,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 532,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "default": {
+ "type": "reflection",
+ "declaration": {
+ "id": 533,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 17,
+ "character": 69
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 527,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 17,
+ "character": 75
+ }
+ ],
+ "indexSignature": {
+ "id": 528,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 529,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 534,
+ "name": "T"
+ }
+ ],
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 535,
+ "name": "RealtimeRemoveChannelResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 38,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumerations",
+ "kind": 8,
+ "children": [536, 540, 545, 549]
+ },
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [64, 328, 1]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [316, 327, 440, 458, 465, 472, 496, 477, 487, 506, 516, 526, 535]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
index ad50c2c7a13..532e436b6c3 100644
--- a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
@@ -7,14 +7,14 @@
"originalName": "",
"children": [
{
- "id": 535,
+ "id": 536,
"name": "REALTIME_LISTEN_TYPES",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 537,
"name": "BROADCAST",
"kind": 16,
"kindString": "Enumeration Member",
@@ -33,7 +33,7 @@
"defaultValue": "\"broadcast\""
},
{
- "id": 538,
+ "id": 539,
"name": "POSTGRES_CHANGES",
"kind": 16,
"kindString": "Enumeration Member",
@@ -55,7 +55,7 @@
"defaultValue": "\"postgres_changes\""
},
{
- "id": 537,
+ "id": 538,
"name": "PRESENCE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -78,11 +78,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 536,
- 538,
- 537
- ]
+ "children": [537, 539, 538]
}
],
"sources": [
@@ -94,14 +90,14 @@
]
},
{
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 540,
+ "id": 541,
"name": "ALL",
"kind": 16,
"kindString": "Enumeration Member",
@@ -120,7 +116,7 @@
"defaultValue": "\"*\""
},
{
- "id": 543,
+ "id": 544,
"name": "DELETE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -139,7 +135,7 @@
"defaultValue": "\"DELETE\""
},
{
- "id": 541,
+ "id": 542,
"name": "INSERT",
"kind": 16,
"kindString": "Enumeration Member",
@@ -158,7 +154,7 @@
"defaultValue": "\"INSERT\""
},
{
- "id": 542,
+ "id": 543,
"name": "UPDATE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -181,12 +177,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 540,
- 543,
- 541,
- 542
- ]
+ "children": [541, 544, 542, 543]
}
],
"sources": [
@@ -198,14 +189,14 @@
]
},
{
- "id": 544,
+ "id": 545,
"name": "REALTIME_PRESENCE_LISTEN_EVENTS",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 547,
"name": "JOIN",
"kind": 16,
"kindString": "Enumeration Member",
@@ -224,7 +215,7 @@
"defaultValue": "\"join\""
},
{
- "id": 547,
+ "id": 548,
"name": "LEAVE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -243,7 +234,7 @@
"defaultValue": "\"leave\""
},
{
- "id": 545,
+ "id": 546,
"name": "SYNC",
"kind": 16,
"kindString": "Enumeration Member",
@@ -266,11 +257,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 546,
- 547,
- 545
- ]
+ "children": [547, 548, 546]
}
],
"sources": [
@@ -282,14 +269,14 @@
]
},
{
- "id": 548,
+ "id": 549,
"name": "REALTIME_SUBSCRIBE_STATES",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 552,
+ "id": 553,
"name": "CHANNEL_ERROR",
"kind": 16,
"kindString": "Enumeration Member",
@@ -308,7 +295,7 @@
"defaultValue": "\"CHANNEL_ERROR\""
},
{
- "id": 551,
+ "id": 552,
"name": "CLOSED",
"kind": 16,
"kindString": "Enumeration Member",
@@ -327,7 +314,7 @@
"defaultValue": "\"CLOSED\""
},
{
- "id": 549,
+ "id": 550,
"name": "SUBSCRIBED",
"kind": 16,
"kindString": "Enumeration Member",
@@ -346,7 +333,7 @@
"defaultValue": "\"SUBSCRIBED\""
},
{
- "id": 550,
+ "id": 551,
"name": "TIMED_OUT",
"kind": 16,
"kindString": "Enumeration Member",
@@ -369,12 +356,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 552,
- 551,
- 549,
- 550
- ]
+ "children": [553, 552, 550, 551]
}
],
"sources": [
@@ -553,10 +535,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -621,9 +600,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -641,10 +618,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -662,9 +636,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -706,7 +678,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -889,6 +861,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -1037,15 +1046,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
+ 447, 446, 449, 444, 457, 445, 453, 448, 443, 442
]
}
],
@@ -1079,7 +1080,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -1107,7 +1108,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -1130,7 +1131,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -1160,7 +1161,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -1180,7 +1181,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -1200,7 +1201,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -1219,7 +1220,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -1240,7 +1241,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -1288,7 +1289,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -1307,7 +1308,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -1337,7 +1338,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -1356,7 +1357,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -1379,7 +1380,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -1427,7 +1428,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -1455,7 +1456,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -1475,7 +1476,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -1493,7 +1494,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -1512,7 +1513,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -1536,7 +1537,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -1555,7 +1556,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -1577,7 +1578,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -1600,7 +1601,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -1623,7 +1624,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -1646,7 +1647,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -1665,12 +1666,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -1686,7 +1682,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -1705,7 +1701,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -1724,7 +1720,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -1873,10 +1869,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -1941,9 +1934,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -1961,10 +1952,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -1982,9 +1970,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -2018,7 +2004,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -2048,7 +2034,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -2078,7 +2064,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -2142,7 +2128,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -2176,7 +2162,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -2206,7 +2192,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -2274,7 +2260,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -2298,10 +2284,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -2309,25 +2295,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -2339,99 +2399,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -2466,7 +2446,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -2487,7 +2467,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -2508,7 +2488,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -2550,40 +2530,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -2602,7 +2559,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -2622,7 +2579,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -2673,60 +2630,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348,
+ 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
- ]
+ "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -2909,12 +2832,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 90,
- 86,
- 91,
- 85
- ]
+ "children": [90, 86, 91, 85]
}
],
"sources": [
@@ -3097,10 +3015,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -3165,9 +3080,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -3185,10 +3098,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -3206,9 +3116,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -3299,40 +3207,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -3466,17 +3351,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 46,
- 47
- ]
+ "children": [46, 47]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 48
- ]
+ "children": [48]
}
]
}
@@ -3509,40 +3389,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -3620,7 +3477,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reflection",
@@ -3635,7 +3492,7 @@
],
"name": "RealtimePresenceState",
"dereferenced": {
- "id": 525,
+ "id": 526,
"name": "RealtimePresenceState",
"kind": 4194304,
"kindString": "Type alias",
@@ -3649,7 +3506,7 @@
],
"typeParameter": [
{
- "id": 533,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -3657,7 +3514,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 530,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3670,14 +3527,14 @@
}
],
"indexSignature": {
- "id": 530,
+ "id": 531,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 531,
+ "id": 532,
"name": "key",
"kind": 32768,
"flags": {},
@@ -3697,7 +3554,7 @@
"default": {
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 533,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3716,7 +3573,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3729,14 +3586,14 @@
}
],
"indexSignature": {
- "id": 527,
+ "id": 528,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 528,
+ "id": 529,
"name": "key",
"kind": 32768,
"flags": {},
@@ -3753,7 +3610,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 533,
+ "id": 534,
"name": "T"
}
],
@@ -3772,20 +3629,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [36]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
+ "children": [44, 50, 43, 42, 40]
}
],
"sources": [
@@ -3866,7 +3715,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -4049,6 +3898,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -4196,17 +4082,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
- ]
+ "children": [447, 446, 449, 444, 457, 445, 453, 448, 443, 442]
}
],
"sources": [
@@ -4239,7 +4115,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -4267,7 +4143,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -4290,7 +4166,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -4320,7 +4196,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -4340,7 +4216,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -4360,7 +4236,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -4379,7 +4255,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -4400,7 +4276,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -4448,7 +4324,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -4467,7 +4343,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -4497,7 +4373,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -4516,7 +4392,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -4539,7 +4415,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -4587,7 +4463,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -4615,7 +4491,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -4635,7 +4511,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -4653,7 +4529,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -4672,7 +4548,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -4696,7 +4572,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -4715,7 +4591,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -4737,7 +4613,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -4760,7 +4636,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -4783,7 +4659,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -4806,7 +4682,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -4825,12 +4701,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -4846,7 +4717,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -4865,7 +4736,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -4884,7 +4755,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -5033,10 +4904,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -5101,9 +4969,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -5121,10 +4987,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -5142,9 +5005,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -5178,7 +5039,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -5208,7 +5069,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -5238,7 +5099,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -5302,7 +5163,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -5336,7 +5197,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -5366,7 +5227,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -5434,7 +5295,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -5458,10 +5319,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -5469,25 +5330,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -5499,99 +5434,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -5626,7 +5481,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -5647,7 +5502,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -5668,7 +5523,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -5710,40 +5565,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -5762,7 +5594,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -5782,7 +5614,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -5833,60 +5665,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, 354, 350,
+ 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
- ]
+ "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -6016,9 +5814,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -6159,9 +5955,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 150
- ]
+ "children": [150]
}
]
}
@@ -6197,7 +5991,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 505,
+ "id": 506,
"typeArguments": [
{
"type": "reference",
@@ -6323,9 +6117,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 163
- ]
+ "children": [163]
}
]
}
@@ -6361,7 +6153,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 515,
+ "id": 516,
"typeArguments": [
{
"type": "reference",
@@ -6457,7 +6249,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -6466,7 +6258,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -6480,7 +6272,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -6492,7 +6284,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -6504,14 +6296,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -6528,13 +6320,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -6557,7 +6349,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -6578,7 +6370,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -6605,12 +6397,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -6655,7 +6442,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 471,
+ "id": 472,
"typeArguments": [
{
"type": "reference",
@@ -6751,7 +6538,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -6760,7 +6547,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -6774,7 +6561,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -6786,7 +6573,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -6798,14 +6585,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -6822,13 +6609,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -6851,7 +6638,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -6872,7 +6659,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -6899,12 +6686,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -6949,7 +6731,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 476,
+ "id": 477,
"typeArguments": [
{
"type": "reference",
@@ -7045,7 +6827,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -7054,7 +6836,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -7068,7 +6850,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -7080,7 +6862,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -7092,14 +6874,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -7116,13 +6898,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -7145,7 +6927,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -7166,7 +6948,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -7193,12 +6975,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -7243,7 +7020,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 487,
"typeArguments": [
{
"type": "reference",
@@ -7339,7 +7116,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -7348,7 +7125,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -7362,7 +7139,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -7374,7 +7151,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -7386,14 +7163,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -7410,13 +7187,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -7439,7 +7216,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -7460,7 +7237,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -7487,12 +7264,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -7537,7 +7309,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 495,
+ "id": 496,
"typeArguments": [
{
"type": "reference",
@@ -7630,9 +7402,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 216
- ]
+ "children": [216]
}
]
}
@@ -7719,10 +7489,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223,
- 222
- ]
+ "children": [223, 222]
}
],
"indexSignature": {
@@ -7844,7 +7611,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reference",
@@ -7916,9 +7683,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 230
- ]
+ "children": [230]
}
],
"indexSignature": {
@@ -8465,40 +8230,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -8525,7 +8267,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -8708,6 +8450,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -8855,17 +8634,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
- ]
+ "children": [447, 446, 449, 444, 457, 445, 453, 448, 443, 442]
}
],
"sources": [
@@ -8898,7 +8667,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -8926,7 +8695,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -8949,7 +8718,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -8979,7 +8748,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -8999,7 +8768,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -9019,7 +8788,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -9038,7 +8807,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -9059,7 +8828,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -9107,7 +8876,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -9126,7 +8895,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -9156,7 +8925,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -9175,7 +8944,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -9198,7 +8967,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -9246,7 +9015,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -9274,7 +9043,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -9294,7 +9063,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -9312,7 +9081,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -9331,7 +9100,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -9355,7 +9124,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -9374,7 +9143,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -9396,7 +9165,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -9419,7 +9188,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -9442,7 +9211,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -9465,7 +9234,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -9484,12 +9253,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -9505,7 +9269,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -9524,7 +9288,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -9543,7 +9307,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -9692,10 +9456,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -9760,9 +9521,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -9780,10 +9539,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -9801,9 +9557,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -9837,7 +9591,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -9867,7 +9621,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -9897,7 +9651,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -9961,7 +9715,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -9995,7 +9749,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -10025,7 +9779,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -10093,7 +9847,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -10117,10 +9871,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -10128,25 +9882,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -10158,99 +9986,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -10285,7 +10033,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -10306,7 +10054,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -10327,7 +10075,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -10523,10 +10271,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -10591,9 +10336,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -10611,10 +10354,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -10632,9 +10372,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -10671,60 +10409,28 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365,
+ 351, 340, 348, 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
+ 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -10907,12 +10613,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 90,
- 86,
- 91,
- 85
- ]
+ "children": [90, 86, 91, 85]
}
],
"sources": [
@@ -11095,10 +10796,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -11163,9 +10861,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -11183,10 +10879,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -11204,9 +10897,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -11407,17 +11098,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 46,
- 47
- ]
+ "children": [46, 47]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 48
- ]
+ "children": [48]
}
]
}
@@ -11504,7 +11190,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reflection",
@@ -11519,7 +11205,7 @@
],
"name": "RealtimePresenceState",
"dereferenced": {
- "id": 525,
+ "id": 526,
"name": "RealtimePresenceState",
"kind": 4194304,
"kindString": "Type alias",
@@ -11533,7 +11219,7 @@
],
"typeParameter": [
{
- "id": 533,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -11541,7 +11227,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 530,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11554,14 +11240,14 @@
}
],
"indexSignature": {
- "id": 530,
+ "id": 531,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 531,
+ "id": 532,
"name": "key",
"kind": 32768,
"flags": {},
@@ -11581,7 +11267,7 @@
"default": {
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 533,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11600,7 +11286,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11613,14 +11299,14 @@
}
],
"indexSignature": {
- "id": 527,
+ "id": 528,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 528,
+ "id": 529,
"name": "key",
"kind": 32768,
"flags": {},
@@ -11637,7 +11323,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 533,
+ "id": 534,
"name": "T"
}
],
@@ -11656,20 +11342,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [36]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
+ "children": [44, 50, 43, 42, 40]
}
],
"sources": [
@@ -11745,60 +11423,28 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340,
+ 348, 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
+ 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -11928,9 +11574,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -12071,9 +11715,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 150
- ]
+ "children": [150]
}
]
}
@@ -12109,7 +11751,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 505,
+ "id": 506,
"typeArguments": [
{
"type": "reference",
@@ -12235,9 +11877,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 163
- ]
+ "children": [163]
}
]
}
@@ -12273,7 +11913,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 515,
+ "id": 516,
"typeArguments": [
{
"type": "reference",
@@ -12369,7 +12009,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -12378,7 +12018,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -12392,7 +12032,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -12404,7 +12044,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -12416,14 +12056,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -12440,13 +12080,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -12469,7 +12109,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -12490,7 +12130,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -12517,12 +12157,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -12567,7 +12202,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 471,
+ "id": 472,
"typeArguments": [
{
"type": "reference",
@@ -12663,7 +12298,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -12672,7 +12307,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -12686,7 +12321,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -12698,7 +12333,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -12710,14 +12345,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -12734,13 +12369,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -12763,7 +12398,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -12784,7 +12419,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -12811,12 +12446,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -12861,7 +12491,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 476,
+ "id": 477,
"typeArguments": [
{
"type": "reference",
@@ -12957,7 +12587,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -12966,7 +12596,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -12980,7 +12610,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -12992,7 +12622,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -13004,14 +12634,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -13028,13 +12658,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -13057,7 +12687,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -13078,7 +12708,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -13105,12 +12735,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -13155,7 +12780,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 487,
"typeArguments": [
{
"type": "reference",
@@ -13251,7 +12876,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -13260,7 +12885,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -13274,7 +12899,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -13286,7 +12911,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -13298,14 +12923,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -13322,13 +12947,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -13351,7 +12976,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -13372,7 +12997,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -13399,12 +13024,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -13449,7 +13069,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 495,
+ "id": 496,
"typeArguments": [
{
"type": "reference",
@@ -13542,9 +13162,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 216
- ]
+ "children": [216]
}
]
}
@@ -13631,10 +13249,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223,
- 222
- ]
+ "children": [223, 222]
}
],
"indexSignature": {
@@ -13756,7 +13371,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reference",
@@ -13828,9 +13443,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 230
- ]
+ "children": [230]
}
],
"indexSignature": {
@@ -14377,40 +13990,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -14429,7 +14019,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -14449,7 +14039,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -14500,60 +14090,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, 354, 350, 349,
+ 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
- ]
+ "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -14770,10 +14326,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -14838,9 +14391,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -14858,10 +14409,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -14879,9 +14427,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -14923,7 +14469,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -15106,6 +14652,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -15254,15 +14837,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
+ 447, 446, 449, 444, 457, 445, 453,
+ 448, 443, 442
]
}
],
@@ -15296,7 +14872,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -15324,7 +14900,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -15347,7 +14923,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -15377,7 +14953,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -15397,7 +14973,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -15417,7 +14993,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -15436,7 +15012,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -15457,7 +15033,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -15505,7 +15081,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -15524,7 +15100,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -15554,7 +15130,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -15573,7 +15149,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -15596,7 +15172,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -15644,7 +15220,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -15672,7 +15248,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -15692,7 +15268,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -15710,7 +15286,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -15729,7 +15305,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -15753,7 +15329,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -15772,7 +15348,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -15794,7 +15370,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -15817,7 +15393,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -15840,7 +15416,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -15863,7 +15439,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -15882,12 +15458,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -15903,7 +15474,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -15922,7 +15493,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -15941,7 +15512,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -16090,10 +15661,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -16158,9 +15726,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -16178,10 +15744,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -16199,9 +15762,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -16235,7 +15796,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -16265,7 +15826,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -16295,7 +15856,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -16359,7 +15920,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -16393,7 +15954,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -16423,7 +15984,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -16491,7 +16052,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -16515,10 +16076,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -16526,25 +16087,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -16556,99 +16191,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -16683,7 +16238,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -16704,7 +16259,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -16725,7 +16280,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -16762,7 +16317,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -16782,7 +16337,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -16833,60 +16388,28 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365,
+ 351, 340, 348, 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
+ 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -17069,12 +16592,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 90,
- 86,
- 91,
- 85
- ]
+ "children": [90, 86, 91, 85]
}
],
"sources": [
@@ -17257,10 +16775,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -17325,9 +16840,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -17345,10 +16858,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -17366,9 +16876,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -17412,20 +16920,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [36]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
+ "children": [44, 50, 43, 42, 40]
}
],
"sources": [
@@ -17506,7 +17006,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -17689,6 +17189,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -17837,14 +17374,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
+ 447, 446, 449, 444, 457, 445, 453, 448, 443,
442
]
}
@@ -17879,7 +17409,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -17907,7 +17437,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -17930,7 +17460,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -17960,7 +17490,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -17980,7 +17510,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -18000,7 +17530,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -18019,7 +17549,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -18040,7 +17570,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -18088,7 +17618,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -18107,7 +17637,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -18137,7 +17667,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -18156,7 +17686,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -18179,7 +17709,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -18227,7 +17757,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -18255,7 +17785,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -18275,7 +17805,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -18293,7 +17823,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -18312,7 +17842,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -18336,7 +17866,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -18355,7 +17885,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -18377,7 +17907,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -18400,7 +17930,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -18423,7 +17953,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -18446,7 +17976,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -18465,12 +17995,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -18486,7 +18011,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -18505,7 +18030,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -18524,7 +18049,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -18673,10 +18198,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -18741,9 +18263,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -18761,10 +18281,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -18782,9 +18299,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -18818,7 +18333,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -18848,7 +18363,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -18878,7 +18393,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -18942,7 +18457,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -18976,7 +18491,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -19006,7 +18521,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -19074,7 +18589,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -19098,10 +18613,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -19109,25 +18624,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -19139,99 +18728,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -19266,7 +18775,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -19287,7 +18796,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -19308,7 +18817,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -19345,7 +18854,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -19365,7 +18874,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -19416,60 +18925,28 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340,
+ 348, 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
+ 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -19599,9 +19076,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -19742,9 +19217,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 150
- ]
+ "children": [150]
}
]
}
@@ -19780,7 +19253,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 505,
+ "id": 506,
"typeArguments": [
{
"type": "reference",
@@ -19906,9 +19379,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 163
- ]
+ "children": [163]
}
]
}
@@ -19944,7 +19415,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 515,
+ "id": 516,
"typeArguments": [
{
"type": "reference",
@@ -20040,7 +19511,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -20049,7 +19520,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -20063,7 +19534,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -20075,7 +19546,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -20087,14 +19558,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -20111,13 +19582,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -20140,7 +19611,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -20161,7 +19632,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -20188,12 +19659,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -20238,7 +19704,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 471,
+ "id": 472,
"typeArguments": [
{
"type": "reference",
@@ -20334,7 +19800,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -20343,7 +19809,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -20357,7 +19823,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -20369,7 +19835,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -20381,14 +19847,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -20405,13 +19871,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -20434,7 +19900,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -20455,7 +19921,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -20482,12 +19948,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -20532,7 +19993,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 476,
+ "id": 477,
"typeArguments": [
{
"type": "reference",
@@ -20628,7 +20089,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -20637,7 +20098,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -20651,7 +20112,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -20663,7 +20124,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -20675,14 +20136,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -20699,13 +20160,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -20728,7 +20189,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -20749,7 +20210,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -20776,12 +20237,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -20826,7 +20282,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 487,
"typeArguments": [
{
"type": "reference",
@@ -20922,7 +20378,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -20931,7 +20387,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -20945,7 +20401,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -20957,7 +20413,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -20969,14 +20425,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -20993,13 +20449,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -21022,7 +20478,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -21043,7 +20499,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -21070,12 +20526,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -21120,7 +20571,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 495,
+ "id": 496,
"typeArguments": [
{
"type": "reference",
@@ -21213,9 +20664,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 216
- ]
+ "children": [216]
}
]
}
@@ -21302,10 +20751,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223,
- 222
- ]
+ "children": [223, 222]
}
],
"indexSignature": {
@@ -21427,7 +20873,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reference",
@@ -21499,9 +20945,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 230
- ]
+ "children": [230]
}
],
"indexSignature": {
@@ -22048,40 +21492,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -22215,17 +21636,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 46,
- 47
- ]
+ "children": [46, 47]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 48
- ]
+ "children": [48]
}
]
}
@@ -22412,10 +21828,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -22480,9 +21893,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -22500,10 +21911,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -22521,9 +21929,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -22565,7 +21971,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -22748,6 +22154,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -22896,14 +22339,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
+ 447, 446, 449, 444, 457, 445, 453, 448, 443,
442
]
}
@@ -22938,7 +22374,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -22966,7 +22402,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -22989,7 +22425,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -23019,7 +22455,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -23039,7 +22475,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -23059,7 +22495,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -23078,7 +22514,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -23099,7 +22535,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -23147,7 +22583,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -23166,7 +22602,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -23196,7 +22632,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -23215,7 +22651,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -23238,7 +22674,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -23286,7 +22722,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -23314,7 +22750,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -23334,7 +22770,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -23352,7 +22788,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -23371,7 +22807,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -23395,7 +22831,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -23414,7 +22850,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -23436,7 +22872,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -23459,7 +22895,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -23482,7 +22918,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -23505,7 +22941,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -23524,12 +22960,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -23545,7 +22976,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -23564,7 +22995,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -23583,7 +23014,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -23732,10 +23163,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -23800,9 +23228,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -23820,10 +23246,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -23841,9 +23264,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -23877,7 +23298,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -23907,7 +23328,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -23937,7 +23358,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -24001,7 +23422,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -24035,7 +23456,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -24065,7 +23486,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -24133,7 +23554,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -24157,10 +23578,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -24168,25 +23589,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -24198,99 +23693,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -24325,7 +23740,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -24346,7 +23761,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -24367,7 +23782,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -24404,7 +23819,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -24424,7 +23839,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -24475,60 +23890,28 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340,
+ 348, 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
+ 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395
]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -24711,12 +24094,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 90,
- 86,
- 91,
- 85
- ]
+ "children": [90, 86, 91, 85]
}
],
"sources": [
@@ -24899,10 +24277,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -24967,9 +24342,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -24987,10 +24360,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -25008,9 +24378,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -25054,20 +24422,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [36]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
+ "children": [44, 50, 43, 42, 40]
}
],
"sources": [
@@ -25148,7 +24508,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 89,
+ "line": 90,
"character": 2
}
],
@@ -25331,6 +24691,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -25479,15 +24876,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
+ 447, 446, 449, 444, 457, 445, 453, 448, 443, 442
]
}
],
@@ -25521,7 +24910,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -25549,7 +24938,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -25572,7 +24961,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -25602,7 +24991,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -25622,7 +25011,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 55,
+ "line": 56,
"character": 2
}
],
@@ -25642,7 +25031,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -25661,7 +25050,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -25682,7 +25071,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 45,
+ "line": 46,
"character": 2
}
],
@@ -25730,7 +25119,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -25749,7 +25138,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -25779,7 +25168,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 73,
+ "line": 74,
"character": 2
}
],
@@ -25798,7 +25187,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 54,
+ "line": 55,
"character": 2
}
],
@@ -25821,7 +25210,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -25869,7 +25258,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 51,
+ "line": 52,
"character": 2
}
],
@@ -25897,7 +25286,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -25917,7 +25306,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -25935,7 +25324,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 52,
+ "line": 53,
"character": 2
}
],
@@ -25954,7 +25343,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 59,
+ "line": 60,
"character": 2
}
],
@@ -25978,7 +25367,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 60,
+ "line": 61,
"character": 2
}
],
@@ -25997,7 +25386,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 2
}
],
@@ -26019,7 +25408,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 63,
+ "line": 64,
"character": 4
}
],
@@ -26042,7 +25431,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -26065,7 +25454,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 65,
+ "line": 66,
"character": 4
}
],
@@ -26088,7 +25477,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 62,
+ "line": 63,
"character": 4
}
],
@@ -26107,12 +25496,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 362,
- 363,
- 360
- ]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -26128,7 +25512,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 47,
+ "line": 48,
"character": 2
}
],
@@ -26147,7 +25531,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -26166,7 +25550,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 227,
+ "line": 228,
"character": 2
}
],
@@ -26315,10 +25699,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -26383,9 +25764,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -26403,10 +25782,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -26424,9 +25800,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -26460,7 +25834,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 126,
+ "line": 127,
"character": 2
}
],
@@ -26490,7 +25864,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 207,
+ "line": 208,
"character": 2
}
],
@@ -26520,7 +25894,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 148,
+ "line": 149,
"character": 2
}
],
@@ -26584,7 +25958,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 166,
+ "line": 167,
"character": 2
}
],
@@ -26618,7 +25992,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 223,
+ "line": 224,
"character": 2
}
],
@@ -26648,7 +26022,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 2
}
],
@@ -26716,7 +26090,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 245,
+ "line": 246,
"character": 2
}
],
@@ -26740,10 +26114,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"dereferenced": {
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -26751,25 +26125,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -26781,99 +26229,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -26908,7 +26276,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 187,
+ "line": 188,
"character": 8
}
],
@@ -26929,7 +26297,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -26950,7 +26318,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 174,
+ "line": 175,
"character": 8
}
],
@@ -26987,7 +26355,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -27007,7 +26375,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 272,
+ "line": 273,
"character": 2
}
],
@@ -27058,60 +26426,26 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 329
- ]
+ "children": [329]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 333,
- 334,
- 355,
- 353,
- 352,
- 335,
- 364,
- 336,
- 346,
- 347,
- 365,
- 351,
- 340,
- 348,
- 354,
- 350,
- 349,
- 356,
- 357,
- 358,
- 344,
- 345
+ 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348,
+ 354, 350, 349, 356, 357, 358, 344, 345
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 388,
- 366,
- 384,
- 368,
- 372,
- 386,
- 379,
- 392,
- 377,
- 374,
- 395
- ]
+ "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 21
}
]
@@ -27241,9 +26575,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -27384,9 +26716,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 150
- ]
+ "children": [150]
}
]
}
@@ -27422,7 +26752,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 505,
+ "id": 506,
"typeArguments": [
{
"type": "reference",
@@ -27548,9 +26878,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 163
- ]
+ "children": [163]
}
]
}
@@ -27586,7 +26914,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 515,
+ "id": 516,
"typeArguments": [
{
"type": "reference",
@@ -27682,7 +27010,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -27691,7 +27019,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -27705,7 +27033,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -27717,7 +27045,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -27729,14 +27057,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -27753,13 +27081,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -27782,7 +27110,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -27803,7 +27131,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -27830,12 +27158,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -27880,7 +27203,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 471,
+ "id": 472,
"typeArguments": [
{
"type": "reference",
@@ -27976,7 +27299,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -27985,7 +27308,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -27999,7 +27322,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -28011,7 +27334,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -28023,14 +27346,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -28047,13 +27370,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -28076,7 +27399,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -28097,7 +27420,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -28124,12 +27447,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -28174,7 +27492,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 476,
+ "id": 477,
"typeArguments": [
{
"type": "reference",
@@ -28270,7 +27588,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -28279,7 +27597,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -28293,7 +27611,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -28305,7 +27623,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -28317,14 +27635,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -28341,13 +27659,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -28370,7 +27688,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -28391,7 +27709,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -28418,12 +27736,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -28468,7 +27781,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 486,
+ "id": 487,
"typeArguments": [
{
"type": "reference",
@@ -28564,7 +27877,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 464,
+ "id": 465,
"typeArguments": [
{
"type": "literal",
@@ -28573,7 +27886,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -28587,7 +27900,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -28599,7 +27912,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -28611,14 +27924,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -28635,13 +27948,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -28664,7 +27977,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -28685,7 +27998,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -28712,12 +28025,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -28762,7 +28070,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 495,
+ "id": 496,
"typeArguments": [
{
"type": "reference",
@@ -28855,9 +28163,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 216
- ]
+ "children": [216]
}
]
}
@@ -28944,10 +28250,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223,
- 222
- ]
+ "children": [223, 222]
}
],
"indexSignature": {
@@ -29069,7 +28372,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reference",
@@ -29141,9 +28444,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 230
- ]
+ "children": [230]
}
],
"indexSignature": {
@@ -29690,40 +28991,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 75
- ]
+ "children": [75]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 80,
- 95,
- 94,
- 100,
- 98,
- 97,
- 96,
- 101,
- 93,
- 92,
- 99
- ]
+ "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 133,
- 110,
- 226,
- 102,
- 117,
- 243,
- 127,
- 237
- ]
+ "children": [133, 110, 226, 102, 117, 243, 127, 237]
}
],
"sources": [
@@ -29801,7 +29079,7 @@
],
"type": {
"type": "reference",
- "id": 525,
+ "id": 526,
"typeArguments": [
{
"type": "reflection",
@@ -29816,7 +29094,7 @@
],
"name": "RealtimePresenceState",
"dereferenced": {
- "id": 525,
+ "id": 526,
"name": "RealtimePresenceState",
"kind": 4194304,
"kindString": "Type alias",
@@ -29830,7 +29108,7 @@
],
"typeParameter": [
{
- "id": 533,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -29838,7 +29116,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 530,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -29851,14 +29129,14 @@
}
],
"indexSignature": {
- "id": 530,
+ "id": 531,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 531,
+ "id": 532,
"name": "key",
"kind": 32768,
"flags": {},
@@ -29878,7 +29156,7 @@
"default": {
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 533,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -29897,7 +29175,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -29910,14 +29188,14 @@
}
],
"indexSignature": {
- "id": 527,
+ "id": 528,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 528,
+ "id": 529,
"name": "key",
"kind": 32768,
"flags": {},
@@ -29934,7 +29212,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 533,
+ "id": 534,
"name": "T"
}
],
@@ -29953,20 +29231,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [36]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 44,
- 50,
- 43,
- 42,
- 40
- ]
+ "children": [44, 50, 43, 42, 40]
}
],
"sources": [
@@ -30093,10 +29363,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 322
- ]
+ "children": [323, 322]
}
],
"sources": [
@@ -30161,9 +29428,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326
- ]
+ "children": [326]
}
],
"sources": [
@@ -30181,10 +29446,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 324
- ]
+ "children": [320, 324]
}
],
"sources": [
@@ -30202,9 +29464,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
],
"sources": [
@@ -30390,6 +29650,43 @@
"name": "number"
}
},
+ {
+ "id": 457,
+ "name": "log_level",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "info"
+ },
+ {
+ "type": "literal",
+ "value": "debug"
+ },
+ {
+ "type": "literal",
+ "value": "warn"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
{
"id": 445,
"name": "logger",
@@ -30537,17 +29834,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 447,
- 446,
- 449,
- 444,
- 445,
- 453,
- 448,
- 443,
- 442
- ]
+ "children": [447, 446, 449, 444, 457, 445, 453, 448, 443, 442]
}
],
"sources": [
@@ -30561,7 +29848,7 @@
}
},
{
- "id": 457,
+ "id": 458,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -30569,25 +29856,99 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 459,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 461,
"name": "event",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 462,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 463,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 34,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 460,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "RealtimeClient.ts",
@@ -30599,99 +29960,19 @@
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 463,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 461,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 462,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 463,
- 461,
- 462,
- 459
- ]
+ "children": [461, 464, 462, 463, 460]
}
],
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 29,
+ "line": 30,
"character": 30
}
]
@@ -30699,7 +29980,7 @@
}
},
{
- "id": 464,
+ "id": 465,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -30713,7 +29994,7 @@
],
"typeParameter": [
{
- "id": 470,
+ "id": 471,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -30725,7 +30006,7 @@
[
{
"type": "reference",
- "id": 539,
+ "id": 540,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -30737,14 +30018,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 465,
+ "id": 466,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 466,
+ "id": 467,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -30761,13 +30042,13 @@
],
"type": {
"type": "reference",
- "id": 470,
+ "id": 471,
"name": "T",
"dereferenced": {}
}
},
{
- "id": 469,
+ "id": 470,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -30790,7 +30071,7 @@
}
},
{
- "id": 467,
+ "id": 468,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -30811,7 +30092,7 @@
}
},
{
- "id": 468,
+ "id": 469,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -30838,12 +30119,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 469,
- 467,
- 468
- ]
+ "children": [467, 470, 468, 469]
}
],
"sources": [
@@ -30857,7 +30133,7 @@
}
},
{
- "id": 471,
+ "id": 472,
"name": "RealtimePostgresChangesPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -30871,7 +30147,7 @@
],
"typeParameter": [
{
- "id": 475,
+ "id": 476,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -30879,7 +30155,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 472,
+ "id": 473,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -30892,14 +30168,14 @@
}
],
"indexSignature": {
- "id": 473,
+ "id": 474,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 474,
+ "id": 475,
"name": "key",
"kind": 32768,
"flags": {},
@@ -30922,7 +30198,7 @@
"type": "union",
"types": [
{
- "id": 476,
+ "id": 477,
"name": "RealtimePostgresInsertPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -30936,7 +30212,7 @@
],
"typeParameter": [
{
- "id": 485,
+ "id": 486,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -30944,7 +30220,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 482,
+ "id": 483,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -30957,14 +30233,14 @@
}
],
"indexSignature": {
- "id": 483,
+ "id": 484,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 484,
+ "id": 485,
"name": "key",
"kind": 32768,
"flags": {},
@@ -30993,14 +30269,14 @@
{
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 478,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 478,
+ "id": 479,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -31019,7 +30295,7 @@
[
{
"type": "reference",
- "id": 541,
+ "id": 542,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
},
""
@@ -31028,7 +30304,7 @@
}
},
{
- "id": 479,
+ "id": 480,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -31042,12 +30318,12 @@
],
"type": {
"type": "reference",
- "id": 485,
+ "id": 486,
"name": "T"
}
},
{
- "id": 480,
+ "id": 481,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -31062,7 +30338,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31082,11 +30358,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 478,
- 479,
- 480
- ]
+ "children": [479, 480, 481]
}
],
"sources": [
@@ -31102,7 +30374,7 @@
}
},
{
- "id": 486,
+ "id": 487,
"name": "RealtimePostgresUpdatePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -31116,7 +30388,7 @@
],
"typeParameter": [
{
- "id": 494,
+ "id": 495,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -31124,7 +30396,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31137,14 +30409,14 @@
}
],
"indexSignature": {
- "id": 492,
+ "id": 493,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 493,
+ "id": 494,
"name": "key",
"kind": 32768,
"flags": {},
@@ -31173,14 +30445,14 @@
{
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 488,
+ "id": 489,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -31199,7 +30471,7 @@
[
{
"type": "reference",
- "id": 542,
+ "id": 543,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
},
""
@@ -31208,7 +30480,7 @@
}
},
{
- "id": 489,
+ "id": 490,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -31222,12 +30494,12 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 495,
"name": "T"
}
},
{
- "id": 490,
+ "id": 491,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -31244,7 +30516,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 494,
+ "id": 495,
"name": "T"
}
],
@@ -31258,11 +30530,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 488,
- 489,
- 490
- ]
+ "children": [489, 490, 491]
}
],
"sources": [
@@ -31278,7 +30546,7 @@
}
},
{
- "id": 495,
+ "id": 496,
"name": "RealtimePostgresDeletePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -31292,7 +30560,7 @@
],
"typeParameter": [
{
- "id": 504,
+ "id": 505,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -31300,7 +30568,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 501,
+ "id": 502,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31313,14 +30581,14 @@
}
],
"indexSignature": {
- "id": 502,
+ "id": 503,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 503,
+ "id": 504,
"name": "key",
"kind": 32768,
"flags": {},
@@ -31349,14 +30617,14 @@
{
"type": "reflection",
"declaration": {
- "id": 496,
+ "id": 497,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 497,
+ "id": 498,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -31375,7 +30643,7 @@
[
{
"type": "reference",
- "id": 543,
+ "id": 544,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
},
""
@@ -31384,7 +30652,7 @@
}
},
{
- "id": 498,
+ "id": 499,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -31399,7 +30667,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 500,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31415,7 +30683,7 @@
}
},
{
- "id": 500,
+ "id": 501,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -31432,7 +30700,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 504,
+ "id": 505,
"name": "T"
}
],
@@ -31446,11 +30714,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 497,
- 498,
- 500
- ]
+ "children": [498, 499, 501]
}
],
"sources": [
@@ -31469,7 +30733,7 @@
}
},
{
- "id": 495,
+ "id": 496,
"name": "RealtimePostgresDeletePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -31483,7 +30747,7 @@
],
"typeParameter": [
{
- "id": 504,
+ "id": 505,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -31491,7 +30755,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 501,
+ "id": 502,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31504,14 +30768,14 @@
}
],
"indexSignature": {
- "id": 502,
+ "id": 503,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 503,
+ "id": 504,
"name": "key",
"kind": 32768,
"flags": {},
@@ -31540,14 +30804,14 @@
{
"type": "reflection",
"declaration": {
- "id": 496,
+ "id": 497,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 497,
+ "id": 498,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -31566,7 +30830,7 @@
[
{
"type": "reference",
- "id": 543,
+ "id": 544,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
},
""
@@ -31575,7 +30839,7 @@
}
},
{
- "id": 498,
+ "id": 499,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -31590,7 +30854,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 499,
+ "id": 500,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31606,7 +30870,7 @@
}
},
{
- "id": 500,
+ "id": 501,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -31623,7 +30887,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 504,
+ "id": 505,
"name": "T"
}
],
@@ -31637,11 +30901,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 497,
- 498,
- 500
- ]
+ "children": [498, 499, 501]
}
],
"sources": [
@@ -31657,7 +30917,7 @@
}
},
{
- "id": 476,
+ "id": 477,
"name": "RealtimePostgresInsertPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -31671,7 +30931,7 @@
],
"typeParameter": [
{
- "id": 485,
+ "id": 486,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -31679,7 +30939,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 482,
+ "id": 483,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31692,14 +30952,14 @@
}
],
"indexSignature": {
- "id": 483,
+ "id": 484,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 484,
+ "id": 485,
"name": "key",
"kind": 32768,
"flags": {},
@@ -31728,14 +30988,14 @@
{
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 478,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 478,
+ "id": 479,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -31754,7 +31014,7 @@
[
{
"type": "reference",
- "id": 541,
+ "id": 542,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
},
""
@@ -31763,7 +31023,7 @@
}
},
{
- "id": 479,
+ "id": 480,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -31777,12 +31037,12 @@
],
"type": {
"type": "reference",
- "id": 485,
+ "id": 486,
"name": "T"
}
},
{
- "id": 480,
+ "id": 481,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -31797,7 +31057,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31817,11 +31077,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 478,
- 479,
- 480
- ]
+ "children": [479, 480, 481]
}
],
"sources": [
@@ -31837,7 +31093,7 @@
}
},
{
- "id": 486,
+ "id": 487,
"name": "RealtimePostgresUpdatePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -31851,7 +31107,7 @@
],
"typeParameter": [
{
- "id": 494,
+ "id": 495,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -31859,7 +31115,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -31872,14 +31128,14 @@
}
],
"indexSignature": {
- "id": 492,
+ "id": 493,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 493,
+ "id": 494,
"name": "key",
"kind": 32768,
"flags": {},
@@ -31908,14 +31164,14 @@
{
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 488,
+ "id": 489,
"name": "eventType",
"kind": 1024,
"kindString": "Property",
@@ -31934,7 +31190,7 @@
[
{
"type": "reference",
- "id": 542,
+ "id": 543,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
},
""
@@ -31943,7 +31199,7 @@
}
},
{
- "id": 489,
+ "id": 490,
"name": "new",
"kind": 1024,
"kindString": "Property",
@@ -31957,12 +31213,12 @@
],
"type": {
"type": "reference",
- "id": 494,
+ "id": 495,
"name": "T"
}
},
{
- "id": 490,
+ "id": 491,
"name": "old",
"kind": 1024,
"kindString": "Property",
@@ -31979,7 +31235,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 494,
+ "id": 495,
"name": "T"
}
],
@@ -31993,11 +31249,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 488,
- 489,
- 490
- ]
+ "children": [489, 490, 491]
}
],
"sources": [
@@ -32013,7 +31265,7 @@
}
},
{
- "id": 505,
+ "id": 506,
"name": "RealtimePresenceJoinPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -32027,7 +31279,7 @@
],
"typeParameter": [
{
- "id": 514,
+ "id": 515,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -32035,7 +31287,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 512,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -32048,14 +31300,14 @@
}
],
"indexSignature": {
- "id": 512,
+ "id": 513,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 513,
+ "id": 514,
"name": "key",
"kind": 32768,
"flags": {},
@@ -32077,14 +31329,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 506,
+ "id": 507,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 509,
+ "id": 510,
"name": "currentPresences",
"kind": 1024,
"kindString": "Property",
@@ -32103,7 +31355,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 514,
+ "id": 515,
"name": "T"
}
],
@@ -32112,7 +31364,7 @@
}
},
{
- "id": 507,
+ "id": 508,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -32131,7 +31383,7 @@
[
{
"type": "reference",
- "id": 546,
+ "id": 547,
"name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
},
""
@@ -32140,7 +31392,7 @@
}
},
{
- "id": 508,
+ "id": 509,
"name": "key",
"kind": 1024,
"kindString": "Property",
@@ -32158,7 +31410,7 @@
}
},
{
- "id": 510,
+ "id": 511,
"name": "newPresences",
"kind": 1024,
"kindString": "Property",
@@ -32177,7 +31429,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 514,
+ "id": 515,
"name": "T"
}
],
@@ -32190,12 +31442,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 509,
- 507,
- 508,
- 510
- ]
+ "children": [510, 508, 509, 511]
}
],
"sources": [
@@ -32209,7 +31456,7 @@
}
},
{
- "id": 515,
+ "id": 516,
"name": "RealtimePresenceLeavePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -32223,7 +31470,7 @@
],
"typeParameter": [
{
- "id": 524,
+ "id": 525,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -32231,7 +31478,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 521,
+ "id": 522,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -32244,14 +31491,14 @@
}
],
"indexSignature": {
- "id": 522,
+ "id": 523,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 523,
+ "id": 524,
"name": "key",
"kind": 32768,
"flags": {},
@@ -32273,14 +31520,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 516,
+ "id": 517,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 519,
+ "id": 520,
"name": "currentPresences",
"kind": 1024,
"kindString": "Property",
@@ -32299,7 +31546,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 524,
+ "id": 525,
"name": "T"
}
],
@@ -32308,7 +31555,7 @@
}
},
{
- "id": 517,
+ "id": 518,
"name": "event",
"kind": 1024,
"kindString": "Property",
@@ -32327,7 +31574,7 @@
[
{
"type": "reference",
- "id": 547,
+ "id": 548,
"name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
},
""
@@ -32336,7 +31583,7 @@
}
},
{
- "id": 518,
+ "id": 519,
"name": "key",
"kind": 1024,
"kindString": "Property",
@@ -32354,7 +31601,7 @@
}
},
{
- "id": 520,
+ "id": 521,
"name": "leftPresences",
"kind": 1024,
"kindString": "Property",
@@ -32373,7 +31620,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 524,
+ "id": 525,
"name": "T"
}
],
@@ -32386,12 +31633,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 519,
- 517,
- 518,
- 520
- ]
+ "children": [520, 518, 519, 521]
}
],
"sources": [
@@ -32405,7 +31647,7 @@
}
},
{
- "id": 525,
+ "id": 526,
"name": "RealtimePresenceState",
"kind": 4194304,
"kindString": "Type alias",
@@ -32419,7 +31661,7 @@
],
"typeParameter": [
{
- "id": 533,
+ "id": 534,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -32427,7 +31669,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 529,
+ "id": 530,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -32440,14 +31682,14 @@
}
],
"indexSignature": {
- "id": 530,
+ "id": 531,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 531,
+ "id": 532,
"name": "key",
"kind": 32768,
"flags": {},
@@ -32467,7 +31709,7 @@
"default": {
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 533,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -32486,7 +31728,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 526,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -32499,14 +31741,14 @@
}
],
"indexSignature": {
- "id": 527,
+ "id": 528,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 528,
+ "id": 529,
"name": "key",
"kind": 32768,
"flags": {},
@@ -32523,7 +31765,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 533,
+ "id": 534,
"name": "T"
}
],
@@ -32535,7 +31777,7 @@
}
},
{
- "id": 534,
+ "id": 535,
"name": "RealtimeRemoveChannelResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -32543,7 +31785,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 37,
+ "line": 38,
"character": 12
}
],
@@ -32570,40 +31812,17 @@
{
"title": "Enumerations",
"kind": 8,
- "children": [
- 535,
- 539,
- 544,
- 548
- ]
+ "children": [536, 540, 545, 549]
},
{
"title": "Classes",
"kind": 128,
- "children": [
- 64,
- 328,
- 1
- ]
+ "children": [64, 328, 1]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [
- 316,
- 327,
- 440,
- 457,
- 464,
- 471,
- 495,
- 476,
- 486,
- 505,
- 515,
- 525,
- 534
- ]
+ "children": [316, 327, 440, 458, 465, 472, 496, 477, 487, 506, 516, 526, 535]
}
],
"sources": [
@@ -32613,4 +31832,4 @@
"character": 0
}
]
-}
\ No newline at end of file
+}
diff --git a/spec/enrichments/tsdoc_v2/storage.json b/spec/enrichments/tsdoc_v2/storage.json
index 24cc94a246a..79756f23f4a 100644
--- a/spec/enrichments/tsdoc_v2/storage.json
+++ b/spec/enrichments/tsdoc_v2/storage.json
@@ -1,7986 +1,7670 @@
{
- "id": 0,
- "name": "@supabase/storage-js",
- "kind": 1,
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 1,
- "name": "index",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 442,
- "name": "StorageApiError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 443,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 17,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 444,
- "name": "new StorageApiError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 445,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 446,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 442,
- "name": "StorageApiError"
- },
- "overwrites": {
- "type": "reference",
- "id": 439,
- "name": "StorageError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 438,
- "name": "StorageError.constructor"
- }
- },
- {
- "id": 447,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 15,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 448,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 23,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 449,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 450,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 452,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 26,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 451,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 25,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 453,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 27,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 452,
- 451,
- 453
- ]
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 443
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 447
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 448
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 14,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- ]
- },
- {
- "id": 297,
- "name": "StorageClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 298,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/StorageClient.ts",
- "line": 6,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 299,
- "name": "new StorageClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 300,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 301,
- "name": "headers",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 302,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 303,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 304,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 305,
- "name": "fetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 306,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 307,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 308,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 309,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 297,
- "name": "StorageClient"
- },
- "overwrites": {
- "type": "reference",
- "id": 5,
- "name": "default.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 4,
- "name": "default.constructor"
- }
- },
- {
- "id": 340,
- "name": "createBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 85,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 341,
- "name": "createBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a new Storage bucket",
- "returns": "newly created bucket id\n"
- },
- "parameters": [
- {
- "id": 342,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "A unique identifier for the bucket you are creating."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 343,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 344,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 347,
- "name": "allowedMimeTypes",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 90,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- },
- {
- "id": 346,
- "name": "fileSizeLimit",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 89,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- },
- {
- "id": 345,
- "name": "public",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 347,
- 346,
- 345
- ]
- }
- ]
- }
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "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/packages/StorageBucketApi.ts",
- "line": 96,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 392,
- "name": "Bucket"
- },
- {
- "type": "literal",
- "value": "name"
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 350,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 97,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 349,
- 350
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 351,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 352,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 100,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 353,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 101,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 352,
- 353
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 44,
- "name": "default.createBucket"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 43,
- "name": "default.createBucket"
- }
- },
- {
- "id": 381,
- "name": "deleteBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 219,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 382,
- "name": "deleteBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."
- },
- "parameters": [
- {
- "id": 383,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The unique identifier of the bucket you would like to delete.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 384,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 385,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 223,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 386,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 387,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 223,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 387
- ]
- }
- ]
- }
- }
- },
- {
- "id": 388,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 224,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 385,
- 388
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 389,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 390,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 227,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 391,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 228,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 390,
- 391
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 85,
- "name": "default.deleteBucket"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 84,
- "name": "default.deleteBucket"
- }
- },
- {
- "id": 370,
- "name": "emptyBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 184,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 371,
- "name": "emptyBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Removes all objects inside a single bucket."
- },
- "parameters": [
- {
- "id": 372,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The unique identifier of the bucket you would like to empty.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 373,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 374,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 375,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 376,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 376
- ]
- }
- ]
- }
- }
- },
- {
- "id": 377,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 374,
- 377
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 378,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 379,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 380,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 193,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 379,
- 380
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 74,
- "name": "default.emptyBucket"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 73,
- "name": "default.emptyBucket"
- }
- },
- {
- "id": 310,
- "name": "from",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/StorageClient.ts",
- "line": 15,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 311,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform file operation in a bucket."
- },
- "parameters": [
- {
- "id": 312,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The bucket id to operate on.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 96,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 331,
- "name": "getBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 48,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 332,
- "name": "getBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Retrieves the details of an existing Storage bucket."
- },
- "parameters": [
- {
- "id": 333,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The unique identifier of the bucket you would like to retrieve.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 334,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 335,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 52,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 392,
- "name": "Bucket"
- }
- },
- {
- "id": 336,
- "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": [
- 335,
- 336
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 337,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 338,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 56,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 339,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 57,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 338,
- 339
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 35,
- "name": "default.getBucket"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 34,
- "name": "default.getBucket"
- }
- },
- {
- "id": 323,
- "name": "listBuckets",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 21,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 324,
- "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": 325,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 326,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 23,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 392,
- "name": "Bucket"
- }
- }
- },
- {
- "id": 327,
- "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": [
- 326,
- 327
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 328,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 329,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 27,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 330,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 28,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 329,
- 330
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 27,
- "name": "default.listBuckets"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 26,
- "name": "default.listBuckets"
- }
- },
- {
- "id": 354,
- "name": "updateBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 139,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 355,
- "name": "updateBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates a Storage bucket"
- },
- "parameters": [
- {
- "id": 356,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "A unique identifier for the bucket you are updating."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 357,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 358,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 361,
- "name": "allowedMimeTypes",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png.\n"
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 144,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- },
- {
- "id": 360,
- "name": "fileSizeLimit",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 143,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- },
- {
- "id": 359,
- "name": "public",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 142,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 361,
- 360,
- 359
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 362,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 363,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 364,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 365,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 365
- ]
- }
- ]
- }
- }
- },
- {
- "id": 366,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 149,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 363,
- 366
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 367,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 368,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 369,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 368,
- 369
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 58,
- "name": "default.updateBucket"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 57,
- "name": "default.updateBucket"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 298
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 340,
- 381,
- 370,
- 310,
- 331,
- 323,
- 354
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/StorageClient.ts",
- "line": 5,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 3,
- "name": "default"
- }
- ]
- },
- {
- "id": 437,
- "name": "StorageError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 438,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 4,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 439,
- "name": "new StorageError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 440,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- },
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 438
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 1,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 442,
- "name": "StorageApiError"
- },
- {
- "type": "reference",
- "id": 455,
- "name": "StorageUnknownError"
- }
- ]
- },
- {
- "id": 455,
- "name": "StorageUnknownError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 456,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 35,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 457,
- "name": "new StorageUnknownError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 458,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "originalError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 455,
- "name": "StorageUnknownError"
- },
- "overwrites": {
- "type": "reference",
- "id": 439,
- "name": "StorageError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 438,
- "name": "StorageError.constructor"
- }
- },
- {
- "id": 460,
- "name": "originalError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 456
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 460
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 32,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- ]
- },
- {
- "id": 392,
- "name": "Bucket",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 397,
- "name": "allowed_mime_types",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 398,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 7,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 396,
- "name": "file_size_limit",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 393,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 394,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 3,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 395,
- "name": "owner",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 400,
- "name": "public",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 399,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 397,
- 398,
- 396,
- 393,
- 394,
- 395,
- 400,
- 399
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 1,
- "character": 17
- }
- ]
- },
- {
- "id": 424,
- "name": "FetchParameters",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 425,
- "name": "signal",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Pass in an AbortController's signal to cancel the request."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 425
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 70,
- "character": 17
- }
- ]
- },
- {
- "id": 401,
- "name": "FileObject",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 403,
- "name": "bucket_id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 410,
- "name": "buckets",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 21,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 392,
- "name": "Bucket"
- }
- },
- {
- "id": 407,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 405,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 16,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 408,
- "name": "last_accessed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 19,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 409,
- "name": "metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 20,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 402,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 404,
- "name": "owner",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 15,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 406,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 17,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 403,
- 410,
- 407,
- 405,
- 408,
- 409,
- 402,
- 404,
- 406
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 12,
- "character": 17
- }
- ]
- },
- {
- "id": 414,
- "name": "FileOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 415,
- "name": "cacheControl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the `Cache-Control: max-age=` header. Defaults to 3600 seconds."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 416,
- "name": "contentType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 37,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 418,
- "name": "duplex",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 45,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 417,
- "name": "upsert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 41,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 415,
- 416,
- 418,
- 417
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 29,
- "character": 17
- }
- ]
- },
- {
- "id": 426,
- "name": "Metadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 427,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 427
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 78,
- "character": 17
- }
- ]
- },
- {
- "id": 419,
- "name": "SearchOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 420,
- "name": "limit",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": " The number of files you want to be returned."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 52,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 421,
- "name": "offset",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The starting position."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 423,
- "name": "search",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The search string to filter files by."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 67,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 422,
- "name": "sortBy",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The column to sort by. Can be any column inside a FileObject."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 411,
- "name": "SortBy"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 420,
- 421,
- 423,
- 422
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 48,
- "character": 17
- }
- ]
- },
- {
- "id": 411,
- "name": "SortBy",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 412,
- "name": "column",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 25,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 413,
- "name": "order",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 26,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 412,
- 413
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 24,
- "character": 17
- }
- ]
- },
- {
- "id": 428,
- "name": "TransformOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 433,
- "name": "format",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Specify the format of the image requested.",
- "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 110,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "origin"
- }
- },
- {
- "id": 430,
- "name": "height",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The height of the image in pixels."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 90,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 432,
- "name": "quality",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 103,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 431,
- "name": "resize",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 97,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "cover"
- },
- {
- "type": "literal",
- "value": "contain"
- },
- {
- "type": "literal",
- "value": "fill"
- }
- ]
- }
- },
- {
- "id": 429,
- "name": "width",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The width of the image in pixels."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 86,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 433,
- 430,
- 432,
- 431,
- 429
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 82,
- "character": 17
- }
- ]
- },
- {
- "id": 434,
- "name": "isStorageError",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 10,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 435,
- "name": "isStorageError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 436,
- "name": "error",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "predicate",
- "name": "error",
- "asserts": false,
- "targetType": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 442,
- 297,
- 437,
- 455
- ]
- },
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [
- 392,
- 424,
- 401,
- 414,
- 426,
- 419,
- 411,
- 428
- ]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [
- 434
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 2,
- "name": "packages/StorageBucketApi",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 3,
- "name": "default",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 4,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 12,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 5,
- "name": "new default",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 6,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 7,
- "name": "headers",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 8,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 9,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 10,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 11,
- "name": "fetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 12,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 13,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 14,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 15,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 3,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 43,
- "name": "createBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 85,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 44,
- "name": "createBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a new Storage bucket",
- "returns": "newly created bucket id\n"
- },
- "parameters": [
- {
- "id": 45,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "A unique identifier for the bucket you are creating."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 46,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 47,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 50,
- "name": "allowedMimeTypes",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 90,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- },
- {
- "id": 49,
- "name": "fileSizeLimit",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 89,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- },
- {
- "id": 48,
- "name": "public",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 50,
- 49,
- 48
- ]
- }
- ]
- }
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 51,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 52,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 96,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 392,
- "name": "Bucket"
- },
- {
- "type": "literal",
- "value": "name"
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 53,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 97,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 52,
- 53
- ]
- }
- ]
- }
- },
- {
- "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/packages/StorageBucketApi.ts",
- "line": 100,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 56,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 101,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 55,
- 56
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 84,
- "name": "deleteBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 219,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 85,
- "name": "deleteBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."
- },
- "parameters": [
- {
- "id": 86,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The unique identifier of the bucket you would like to delete.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 87,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 88,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 223,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 89,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 90,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 223,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 90
- ]
- }
- ]
- }
- }
- },
- {
- "id": 91,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 224,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 88,
- 91
- ]
- }
- ]
- }
- },
- {
- "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/packages/StorageBucketApi.ts",
- "line": 227,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 94,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 228,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 93,
- 94
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 73,
- "name": "emptyBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 184,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 74,
- "name": "emptyBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Removes all objects inside a single bucket."
- },
- "parameters": [
- {
- "id": 75,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The unique identifier of the bucket you would like to empty.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 76,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 77,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 78,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 79,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 79
- ]
- }
- ]
- }
- }
- },
- {
- "id": 80,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 77,
- 80
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 81,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 82,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 83,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 193,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 82,
- 83
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 34,
- "name": "getBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 48,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 35,
- "name": "getBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Retrieves the details of an existing Storage bucket."
- },
- "parameters": [
- {
- "id": 36,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The unique identifier of the bucket you would like to retrieve.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 37,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 38,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 52,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 392,
- "name": "Bucket"
- }
- },
- {
- "id": 39,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 53,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 38,
- 39
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 40,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 41,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 56,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 42,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 57,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 41,
- 42
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 26,
- "name": "listBuckets",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 21,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 27,
- "name": "listBuckets",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Retrieves the details of all Storage buckets within an existing project."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 28,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 29,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 23,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 392,
- "name": "Bucket"
- }
- }
- },
- {
- "id": 30,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 24,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 29,
- 30
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 31,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 32,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 27,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 33,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 28,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 32,
- 33
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 57,
- "name": "updateBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 139,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 58,
- "name": "updateBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates a Storage bucket"
- },
- "parameters": [
- {
- "id": 59,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "A unique identifier for the bucket you are updating."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 60,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 61,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 64,
- "name": "allowedMimeTypes",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png.\n"
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 144,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- },
- {
- "id": 63,
- "name": "fileSizeLimit",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 143,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- },
- {
- "id": 62,
- "name": "public",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 142,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 64,
- 63,
- 62
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "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/packages/StorageBucketApi.ts",
- "line": 148,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 67,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 68,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 68
- ]
- }
- ]
- }
- }
- },
- {
- "id": 69,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 149,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 66,
- 69
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 70,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 71,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 72,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 71,
- 72
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 4
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 43,
- 84,
- 73,
- 34,
- 26,
- 57
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 7,
- "character": 21
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 297,
- "name": "StorageClient"
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 3
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 95,
- "name": "packages/StorageFileApi",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 96,
- "name": "default",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 97,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 45,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 98,
- "name": "new default",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 99,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 100,
- "name": "headers",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 101,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 102,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 103,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 104,
- "name": "bucketId",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 105,
- "name": "fetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 106,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 107,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 108,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 109,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 96,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 200,
- "name": "copy",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 334,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 201,
- "name": "copy",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Copies an existing file to a new path in the same bucket."
- },
- "parameters": [
- {
- "id": 202,
- "name": "fromPath",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The original file path, including the current file name. For example `folder/image.png`."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 203,
- "name": "toPath",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The new file path, including the new file name. For example `folder/image-copy.png`.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 204,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 205,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 339,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 206,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 207,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 339,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 207
- ]
- }
- ]
- }
- }
- },
- {
- "id": 208,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 340,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 205,
- 208
- ]
- }
- ]
- }
- },
- {
- "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/packages/StorageFileApi.ts",
- "line": 343,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 211,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 344,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 210,
- 211
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 162,
- "name": "createSignedUploadUrl",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 219,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 163,
- "name": "createSignedUploadUrl",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a signed upload URL.\nSigned upload URLs can be used to upload files to the bucket without further authentication.\nThey are valid for 2 hours."
- },
- "parameters": [
- {
- "id": 164,
- "name": "path",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The file path, including the current file name. For example `folder/image.png`.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 165,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 166,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 223,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 167,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 170,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 223,
- "character": 50
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 168,
- "name": "signedUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 223,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 169,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 223,
- "character": 35
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 170,
- 168,
- 169
- ]
- }
- ]
- }
- }
- },
- {
- "id": 171,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 224,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 166,
- 171
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 172,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 173,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 227,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 174,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 228,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 173,
- 174
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 212,
- "name": "createSignedUrl",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 372,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 213,
- "name": "createSignedUrl",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a signed URL. Use a signed URL to share a file for a fixed amount of time."
- },
- "parameters": [
- {
- "id": 214,
- "name": "path",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The file path, including the current file name. For example `folder/image.png`."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 215,
- "name": "expiresIn",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute."
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 216,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 217,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 218,
- "name": "download",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 375,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "boolean"
- }
- ]
- }
- },
- {
- "id": 219,
- "name": "transform",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Transform the asset before serving it to the client.\n"
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 375,
- "character": 45
- }
- ],
- "type": {
- "type": "reference",
- "id": 428,
- "name": "TransformOptions"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 218,
- 219
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 220,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 221,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 378,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 222,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 223,
- "name": "signedUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 378,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 223
- ]
- }
- ]
- }
- }
- },
- {
- "id": 224,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 379,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 221,
- 224
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 225,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 226,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 382,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 227,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 383,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 226,
- 227
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 228,
- "name": "createSignedUrls",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 417,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 229,
- "name": "createSignedUrls",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates multiple signed URLs. Use a signed URL to share a file for a fixed amount of time."
- },
- "parameters": [
- {
- "id": 230,
- "name": "paths",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`."
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 231,
- "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."
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 232,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 233,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 234,
- "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": 420,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "boolean"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 234
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 235,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 236,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 423,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 237,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 238,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 423,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 239,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 423,
- "character": 38
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 240,
- "name": "signedUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 423,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 238,
- 239,
- 240
- ]
- }
- ]
- }
- }
- }
- },
- {
- "id": 241,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 424,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 236,
- 241
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 242,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 243,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 427,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 244,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 428,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 243,
- 244
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 245,
- "name": "download",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 466,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 246,
- "name": "download",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Downloads a file from a private bucket. For public buckets, make a request to the URL returned from `getPublicUrl` instead."
- },
- "parameters": [
- {
- "id": 247,
- "name": "path",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 248,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 249,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 250,
- "name": "transform",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Transform the asset before serving it to the client.\n"
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 468,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "id": 428,
- "name": "TransformOptions"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 250
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 251,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 252,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 471,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- }
- },
- {
- "id": 253,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 472,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 252,
- 253
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 254,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 255,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 475,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 256,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 476,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 255,
- 256
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 257,
- "name": "getPublicUrl",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 509,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 258,
- "name": "getPublicUrl",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "A simple convenience function to get the URL for an asset in a public bucket. If you do not want to use this function, you can construct the public URL by concatenating the bucket URL with the path to the asset.\nThis function does not verify if the bucket is public. If a public URL is created for a bucket which is not public, you will not be able to download the asset."
- },
- "parameters": [
- {
- "id": 259,
- "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`."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 260,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 261,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 262,
- "name": "download",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename."
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 511,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "boolean"
- }
- ]
- }
- },
- {
- "id": 263,
- "name": "transform",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Transform the asset before serving it to the client.\n"
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 511,
- "character": 45
- }
- ],
- "type": {
- "type": "reference",
- "id": 428,
- "name": "TransformOptions"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 262,
- 263
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 264,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 265,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 512,
- "character": 7
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 266,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 267,
- "name": "publicUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 512,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 267
- ]
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 265
- ]
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 277,
- "name": "list",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 643,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 278,
- "name": "list",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Lists all the files within a bucket."
- },
- "parameters": [
- {
- "id": 279,
- "name": "path",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The folder path.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 280,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 419,
- "name": "SearchOptions"
- }
- },
- {
- "id": 281,
- "name": "parameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 424,
- "name": "FetchParameters"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 282,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 283,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 649,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 401,
- "name": "FileObject"
- }
- }
- },
- {
- "id": 284,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 650,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 283,
- 284
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 285,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 286,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 653,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 287,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 654,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 286,
- 287
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 188,
- "name": "move",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 298,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 189,
- "name": "move",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Moves an existing file to a new path in the same bucket."
- },
- "parameters": [
- {
- "id": 190,
- "name": "fromPath",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The original file path, including the current file name. For example `folder/image.png`."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 191,
- "name": "toPath",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The new file path, including the new file name. For example `folder/image-new.png`.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 192,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 193,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 303,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 194,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 195,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 303,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 195
- ]
- }
- ]
- }
- }
- },
- {
- "id": 196,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 304,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 193,
- 196
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 197,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 198,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 307,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 199,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 308,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 198,
- 199
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 268,
- "name": "remove",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 547,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 269,
- "name": "remove",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Deletes files within the same bucket"
- },
- "parameters": [
- {
- "id": 270,
- "name": "paths",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "An array of files to delete, including the path and file name. For example [`'folder/image.png'`].\n"
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 271,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 272,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 551,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 401,
- "name": "FileObject"
- }
- }
- },
- {
- "id": 273,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 552,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 272,
- 273
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 274,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 275,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 555,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 276,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 556,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 275,
- 276
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 175,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 265,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 176,
- "name": "update",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Replaces an existing file at the specified path with a new one."
- },
- "parameters": [
- {
- "id": 177,
- "name": "path",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to update."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 178,
- "name": "fileBody",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The body of the file to be stored in the bucket.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "qualifiedName": "ArrayBuffer",
- "package": "typescript",
- "name": "ArrayBuffer"
- },
- {
- "type": "reference",
- "qualifiedName": "ArrayBufferView",
- "package": "typescript",
- "name": "ArrayBufferView"
- },
- {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- },
- {
- "type": "reference",
- "qualifiedName": "Buffer",
- "package": "@types/node",
- "name": "Buffer"
- },
- {
- "type": "reference",
- "qualifiedName": "File",
- "package": "typescript",
- "name": "File"
- },
- {
- "type": "reference",
- "qualifiedName": "FormData",
- "package": "typescript",
- "name": "FormData"
- },
- {
- "type": "reference",
- "qualifiedName": "NodeJS.ReadableStream",
- "package": "@types/node",
- "name": "ReadableStream"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Uint8Array",
- "package": "typescript",
- "name": "Uint8Array"
- }
- ],
- "qualifiedName": "ReadableStream",
- "package": "typescript",
- "name": "ReadableStream"
- },
- {
- "type": "reference",
- "qualifiedName": "URLSearchParams",
- "package": "typescript",
- "name": "URLSearchParams"
- }
- ]
- }
- },
- {
- "id": 179,
- "name": "fileOptions",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 414,
- "name": "FileOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 180,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 181,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 281,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 182,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 183,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 281,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 183
- ]
- }
- ]
- }
- }
- },
- {
- "id": 184,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 282,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 181,
- 184
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 185,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 186,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 285,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 187,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 286,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 186,
- 187
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 135,
- "name": "upload",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 133,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 136,
- "name": "upload",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Uploads a file to an existing bucket."
- },
- "parameters": [
- {
- "id": 137,
- "name": "path",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 138,
- "name": "fileBody",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The body of the file to be stored in the bucket.\n"
- },
- "type": {
- "type": "reference",
- "name": "FileBody"
- }
- },
- {
- "id": 139,
- "name": "fileOptions",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 414,
- "name": "FileOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 140,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 141,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 139,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 142,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 143,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 139,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 143
- ]
- }
- ]
- }
- }
- },
- {
- "id": 144,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 140,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 141,
- 144
- ]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 145,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 146,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 143,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 147,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 144,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 437,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 146,
- 147
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 148,
- "name": "uploadToSignedUrl",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 156,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 149,
- "name": "uploadToSignedUrl",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Upload a file with a token generated from `createSignedUploadUrl`."
- },
- "parameters": [
- {
- "id": 150,
- "name": "path",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 151,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The token generated from `createSignedUploadUrl`"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 152,
- "name": "fileBody",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The body of the file to be stored in the bucket.\n"
- },
- "type": {
- "type": "reference",
- "name": "FileBody"
- }
- },
- {
- "id": 153,
- "name": "fileOptions",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 414,
- "name": "FileOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 154,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 155,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 197,
- "character": 10
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 156,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 157,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 197,
- "character": 18
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "cleanPath"
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 157
- ]
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 158,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 198,
- "character": 10
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- },
- "defaultValue": "null"
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 155,
- 158
- ]
- }
- ]
- }
- },
- {
- "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/packages/StorageFileApi.ts",
- "line": 202,
- "character": 17
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- },
- "defaultValue": "null"
- },
- {
- "id": 161,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 160,
- 161
- ]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 97
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 200,
- 162,
- 212,
- 228,
- 245,
- 257,
- 277,
- 188,
- 268,
- 175,
- 135,
- 148
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 39,
- "character": 21
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 96
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 1,
- "character": 0
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Modules",
- "kind": 2,
- "children": [
- 1,
- 2,
- 95
- ]
- }
- ]
-}
\ No newline at end of file
+ "id": 0,
+ "name": "@supabase/storage-js",
+ "kind": 1,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 1,
+ "name": "index",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 442,
+ "name": "StorageApiError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 443,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 444,
+ "name": "new StorageApiError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 445,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "name": "StorageApiError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 439,
+ "name": "StorageError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 438,
+ "name": "StorageError.constructor"
+ }
+ },
+ {
+ "id": 447,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 448,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 449,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 450,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 452,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 451,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 453,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 27,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [452, 451, 453]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [443]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [447]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [448]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 14,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ ]
+ },
+ {
+ "id": 297,
+ "name": "StorageClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/StorageClient.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 299,
+ "name": "new StorageClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 300,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 301,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 302,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 303,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 305,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 306,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 307,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 308,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 309,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 297,
+ "name": "StorageClient"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 5,
+ "name": "default.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 4,
+ "name": "default.constructor"
+ }
+ },
+ {
+ "id": 340,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 85,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 341,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new Storage bucket",
+ "returns": "newly created bucket id\n"
+ },
+ "parameters": [
+ {
+ "id": 342,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are creating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 343,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 344,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 347,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 90,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 346,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 89,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 345,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 88,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [347, 346, 345]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "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/packages/StorageBucketApi.ts",
+ "line": 96,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 392,
+ "name": "Bucket"
+ },
+ {
+ "type": "literal",
+ "value": "name"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 350,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 97,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [349, 350]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 352,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 100,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 353,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 101,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [352, 353]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "default.createBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 43,
+ "name": "default.createBucket"
+ }
+ },
+ {
+ "id": 381,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 219,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 382,
+ "name": "deleteBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."
+ },
+ "parameters": [
+ {
+ "id": 383,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to delete.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 384,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 385,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 223,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 386,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 387,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 223,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [387]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 388,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 224,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [385, 388]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 389,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 390,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 391,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 228,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [390, 391]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 85,
+ "name": "default.deleteBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 84,
+ "name": "default.deleteBucket"
+ }
+ },
+ {
+ "id": 370,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 184,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 371,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes all objects inside a single bucket."
+ },
+ "parameters": [
+ {
+ "id": 372,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to empty.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 373,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 374,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 188,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 375,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 376,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 188,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [376]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 377,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 189,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [374, 377]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 378,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 379,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 192,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 380,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 193,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [379, 380]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 74,
+ "name": "default.emptyBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 73,
+ "name": "default.emptyBucket"
+ }
+ },
+ {
+ "id": 310,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/StorageClient.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 311,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform file operation in a bucket."
+ },
+ "parameters": [
+ {
+ "id": 312,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The bucket id to operate on.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 331,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 332,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves the details of an existing Storage bucket."
+ },
+ "parameters": [
+ {
+ "id": 333,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to retrieve.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 334,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 335,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 392,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 336,
+ "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": [335, 336]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 338,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 339,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [338, 339]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "default.getBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "default.getBucket"
+ }
+ },
+ {
+ "id": 323,
+ "name": "listBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 324,
+ "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": 325,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 326,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 392,
+ "name": "Bucket"
+ }
+ }
+ },
+ {
+ "id": 327,
+ "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": [326, 327]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 328,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 329,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 27,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 330,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 28,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [329, 330]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 27,
+ "name": "default.listBuckets"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 26,
+ "name": "default.listBuckets"
+ }
+ },
+ {
+ "id": 354,
+ "name": "updateBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 139,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 355,
+ "name": "updateBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates a Storage bucket"
+ },
+ "parameters": [
+ {
+ "id": 356,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are updating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 357,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 358,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 144,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 360,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 143,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 359,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 142,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [361, 360, 359]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 362,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 363,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 148,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 364,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 365,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 148,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [365]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 366,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 149,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [363, 366]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 367,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 368,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 152,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 369,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 153,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [368, 369]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 58,
+ "name": "default.updateBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 57,
+ "name": "default.updateBucket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [298]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [340, 381, 370, 310, 331, 323, 354]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/StorageClient.ts",
+ "line": 5,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 3,
+ "name": "default"
+ }
+ ]
+ },
+ {
+ "id": 437,
+ "name": "StorageError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 439,
+ "name": "new StorageError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 440,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [438]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 1,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 442,
+ "name": "StorageApiError"
+ },
+ {
+ "type": "reference",
+ "id": 455,
+ "name": "StorageUnknownError"
+ }
+ ]
+ },
+ {
+ "id": 455,
+ "name": "StorageUnknownError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 456,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 457,
+ "name": "new StorageUnknownError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 458,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 459,
+ "name": "originalError",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 455,
+ "name": "StorageUnknownError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 439,
+ "name": "StorageError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 438,
+ "name": "StorageError.constructor"
+ }
+ },
+ {
+ "id": 460,
+ "name": "originalError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [456]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [460]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ ]
+ },
+ {
+ "id": 392,
+ "name": "Bucket",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 397,
+ "name": "allowed_mime_types",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 398,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 7,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 396,
+ "name": "file_size_limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 393,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 2,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 394,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 3,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 395,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 400,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 9,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 399,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [397, 398, 396, 393, 394, 395, 400, 399]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 424,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pass in an AbortController's signal to cancel the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [425]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 70,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 401,
+ "name": "FileObject",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 403,
+ "name": "bucket_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 410,
+ "name": "buckets",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 392,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 407,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 405,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 408,
+ "name": "last_accessed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 409,
+ "name": "metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 402,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 13,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 404,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 406,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [403, 410, 407, 405, 408, 409, 402, 404, 406]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 414,
+ "name": "FileOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 415,
+ "name": "cacheControl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the `Cache-Control: max-age=` header. Defaults to 3600 seconds."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 416,
+ "name": "contentType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 37,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 418,
+ "name": "duplex",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 417,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [415, 416, 418, 417]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 29,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 426,
+ "name": "Metadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 427,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 79,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [427]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 78,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 419,
+ "name": "SearchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 420,
+ "name": "limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": " The number of files you want to be returned."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 421,
+ "name": "offset",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The starting position."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "search",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The search string to filter files by."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "sortBy",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The column to sort by. Can be any column inside a FileObject."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 411,
+ "name": "SortBy"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [420, 421, 423, 422]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 48,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 411,
+ "name": "SortBy",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 412,
+ "name": "column",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 413,
+ "name": "order",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 26,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [412, 413]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 428,
+ "name": "TransformOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 433,
+ "name": "format",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Specify the format of the image requested.",
+ "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 110,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "origin"
+ }
+ },
+ {
+ "id": 430,
+ "name": "height",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The height of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 90,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 432,
+ "name": "quality",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 103,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 431,
+ "name": "resize",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 97,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "cover"
+ },
+ {
+ "type": "literal",
+ "value": "contain"
+ },
+ {
+ "type": "literal",
+ "value": "fill"
+ }
+ ]
+ }
+ },
+ {
+ "id": 429,
+ "name": "width",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The width of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 86,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [433, 430, 432, 431, 429]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 82,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 434,
+ "name": "isStorageError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 10,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 435,
+ "name": "isStorageError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 436,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [442, 297, 437, 455]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [392, 424, 401, 414, 426, 419, 411, 428]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [434]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 2,
+ "name": "packages/StorageBucketApi",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 3,
+ "name": "default",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 4,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 12,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 5,
+ "name": "new default",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 6,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 7,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 8,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 9,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 10,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 11,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 12,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 13,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 14,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 15,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 3,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 43,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 85,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 44,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new Storage bucket",
+ "returns": "newly created bucket id\n"
+ },
+ "parameters": [
+ {
+ "id": 45,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are creating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 46,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 47,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 50,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 90,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 49,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 89,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 48,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 88,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [50, 49, 48]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 51,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 52,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 96,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 392,
+ "name": "Bucket"
+ },
+ {
+ "type": "literal",
+ "value": "name"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 53,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 97,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [52, 53]
+ }
+ ]
+ }
+ },
+ {
+ "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/packages/StorageBucketApi.ts",
+ "line": 100,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 56,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 101,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [55, 56]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 84,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 219,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 85,
+ "name": "deleteBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."
+ },
+ "parameters": [
+ {
+ "id": 86,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to delete.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 87,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 88,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 223,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 89,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 90,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 223,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [90]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 91,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 224,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [88, 91]
+ }
+ ]
+ }
+ },
+ {
+ "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/packages/StorageBucketApi.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 94,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 228,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [93, 94]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 73,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 184,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 74,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes all objects inside a single bucket."
+ },
+ "parameters": [
+ {
+ "id": 75,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to empty.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 76,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 77,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 188,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 78,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 79,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 188,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [79]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 80,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 189,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [77, 80]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 81,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 82,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 192,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 83,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 193,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [82, 83]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 34,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 35,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves the details of an existing Storage bucket."
+ },
+ "parameters": [
+ {
+ "id": 36,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The unique identifier of the bucket you would like to retrieve.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 37,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 38,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 392,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 39,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 53,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [38, 39]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 40,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 41,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 42,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [41, 42]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 26,
+ "name": "listBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 27,
+ "name": "listBuckets",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves the details of all Storage buckets within an existing project."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 28,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 29,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 392,
+ "name": "Bucket"
+ }
+ }
+ },
+ {
+ "id": 30,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [29, 30]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 31,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 32,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 27,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 33,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 28,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [32, 33]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 57,
+ "name": "updateBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 139,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 58,
+ "name": "updateBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates a Storage bucket"
+ },
+ "parameters": [
+ {
+ "id": 59,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are updating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 60,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 61,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 64,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 144,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 63,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 143,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 62,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 142,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [64, 63, 62]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "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/packages/StorageBucketApi.ts",
+ "line": 148,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 67,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 68,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 148,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [68]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 69,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 149,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [66, 69]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 70,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 71,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 152,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 72,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 153,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [71, 72]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [4]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [43, 84, 73, 34, 26, 57]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 7,
+ "character": 21
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 297,
+ "name": "StorageClient"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [3]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 95,
+ "name": "packages/StorageFileApi",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 96,
+ "name": "default",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 97,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 98,
+ "name": "new default",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 99,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 100,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 101,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 102,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 103,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 104,
+ "name": "bucketId",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 105,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 106,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 107,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 108,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 109,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 200,
+ "name": "copy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 334,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 201,
+ "name": "copy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Copies an existing file to a new path in the same bucket."
+ },
+ "parameters": [
+ {
+ "id": 202,
+ "name": "fromPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The original file path, including the current file name. For example `folder/image.png`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 203,
+ "name": "toPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The new file path, including the new file name. For example `folder/image-copy.png`.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 204,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 205,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 339,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 206,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 207,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 339,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [207]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 208,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 340,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [205, 208]
+ }
+ ]
+ }
+ },
+ {
+ "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/packages/StorageFileApi.ts",
+ "line": 343,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 211,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 344,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [210, 211]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "createSignedUploadUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 219,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 163,
+ "name": "createSignedUploadUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a signed upload URL.\nSigned upload URLs can be used to upload files to the bucket without further authentication.\nThey are valid for 2 hours."
+ },
+ "parameters": [
+ {
+ "id": 164,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The file path, including the current file name. For example `folder/image.png`.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 165,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 166,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 223,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 167,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 170,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 223,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 168,
+ "name": "signedUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 223,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 169,
+ "name": "token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 223,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [170, 168, 169]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 171,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 224,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [166, 171]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 173,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 174,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 228,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [173, 174]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 212,
+ "name": "createSignedUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 372,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 213,
+ "name": "createSignedUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a signed URL. Use a signed URL to share a file for a fixed amount of time."
+ },
+ "parameters": [
+ {
+ "id": 214,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The file path, including the current file name. For example `folder/image.png`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 215,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 216,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 217,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 218,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 375,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ },
+ {
+ "id": 219,
+ "name": "transform",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Transform the asset before serving it to the client.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 375,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 428,
+ "name": "TransformOptions"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [218, 219]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 220,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 221,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 378,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 222,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 223,
+ "name": "signedUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 378,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [223]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 224,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 379,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [221, 224]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 225,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 226,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 382,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 227,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 383,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [226, 227]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 228,
+ "name": "createSignedUrls",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 417,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 229,
+ "name": "createSignedUrls",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates multiple signed URLs. Use a signed URL to share a file for a fixed amount of time."
+ },
+ "parameters": [
+ {
+ "id": 230,
+ "name": "paths",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`."
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 231,
+ "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."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 232,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 234,
+ "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": 420,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [234]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 235,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 236,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 423,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 237,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 238,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 423,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 239,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 423,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 240,
+ "name": "signedUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 423,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [238, 239, 240]
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 241,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 424,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [236, 241]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 242,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 243,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 427,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 244,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 428,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [243, 244]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 245,
+ "name": "download",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 466,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 246,
+ "name": "download",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Downloads a file from a private bucket. For public buckets, make a request to the URL returned from `getPublicUrl` instead."
+ },
+ "parameters": [
+ {
+ "id": 247,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 248,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 249,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 250,
+ "name": "transform",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Transform the asset before serving it to the client.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 468,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 428,
+ "name": "TransformOptions"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [250]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 251,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 252,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 471,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ }
+ },
+ {
+ "id": 253,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 472,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [252, 253]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 254,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 255,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 475,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 256,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 476,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [255, 256]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 257,
+ "name": "getPublicUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 509,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 258,
+ "name": "getPublicUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "A simple convenience function to get the URL for an asset in a public bucket. If you do not want to use this function, you can construct the public URL by concatenating the bucket URL with the path to the asset.\nThis function does not verify if the bucket is public. If a public URL is created for a bucket which is not public, you will not be able to download the asset."
+ },
+ "parameters": [
+ {
+ "id": 259,
+ "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`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 260,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 261,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 262,
+ "name": "download",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename."
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 511,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ },
+ {
+ "id": 263,
+ "name": "transform",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Transform the asset before serving it to the client.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 511,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 428,
+ "name": "TransformOptions"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [262, 263]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 264,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 265,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 512,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 266,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 267,
+ "name": "publicUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 512,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [267]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [265]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 277,
+ "name": "list",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 643,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 278,
+ "name": "list",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Lists all the files within a bucket."
+ },
+ "parameters": [
+ {
+ "id": 279,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The folder path.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 280,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 419,
+ "name": "SearchOptions"
+ }
+ },
+ {
+ "id": 281,
+ "name": "parameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 424,
+ "name": "FetchParameters"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 282,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 283,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 649,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 401,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 284,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 650,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [283, 284]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 285,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 286,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 653,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 287,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 654,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [286, 287]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 188,
+ "name": "move",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 298,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 189,
+ "name": "move",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Moves an existing file to a new path in the same bucket."
+ },
+ "parameters": [
+ {
+ "id": 190,
+ "name": "fromPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The original file path, including the current file name. For example `folder/image.png`."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 191,
+ "name": "toPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The new file path, including the new file name. For example `folder/image-new.png`.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 192,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 193,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 303,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 195,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 303,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [195]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 196,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 304,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [193, 196]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 197,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 198,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 307,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 199,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 308,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [198, 199]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 268,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 547,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 269,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes files within the same bucket"
+ },
+ "parameters": [
+ {
+ "id": 270,
+ "name": "paths",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "An array of files to delete, including the path and file name. For example [`'folder/image.png'`].\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 271,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 272,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 551,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 401,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 273,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 552,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [272, 273]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 274,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 275,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 555,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 276,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 556,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [275, 276]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 175,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 265,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 176,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Replaces an existing file at the specified path with a new one."
+ },
+ "parameters": [
+ {
+ "id": 177,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to update."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 178,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The body of the file to be stored in the bucket.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "ArrayBuffer",
+ "package": "typescript",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "ArrayBufferView",
+ "package": "typescript",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "Buffer",
+ "package": "@types/node",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "File",
+ "package": "typescript",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "FormData",
+ "package": "typescript",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "NodeJS.ReadableStream",
+ "package": "@types/node",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Uint8Array",
+ "package": "typescript",
+ "name": "Uint8Array"
+ }
+ ],
+ "qualifiedName": "ReadableStream",
+ "package": "typescript",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URLSearchParams",
+ "package": "typescript",
+ "name": "URLSearchParams"
+ }
+ ]
+ }
+ },
+ {
+ "id": 179,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 414,
+ "name": "FileOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 180,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 181,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 281,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 182,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 183,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 281,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [183]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 184,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 282,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [181, 184]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 185,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 186,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 285,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 187,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 286,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [186, 187]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 135,
+ "name": "upload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 133,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 136,
+ "name": "upload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Uploads a file to an existing bucket."
+ },
+ "parameters": [
+ {
+ "id": 137,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 138,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The body of the file to be stored in the bucket.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "FileBody"
+ }
+ },
+ {
+ "id": 139,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 414,
+ "name": "FileOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 140,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 141,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 139,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 142,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 143,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 139,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [143]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 144,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 140,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [141, 144]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 143,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 147,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 144,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 437,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [146, 147]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 148,
+ "name": "uploadToSignedUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 156,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 149,
+ "name": "uploadToSignedUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Upload a file with a token generated from `createSignedUploadUrl`."
+ },
+ "parameters": [
+ {
+ "id": 150,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 151,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The token generated from `createSignedUploadUrl`"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 152,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The body of the file to be stored in the bucket.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "FileBody"
+ }
+ },
+ {
+ "id": 153,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 414,
+ "name": "FileOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 197,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 156,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 157,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 197,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "cleanPath"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [157]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 158,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 198,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155, 158]
+ }
+ ]
+ }
+ },
+ {
+ "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/packages/StorageFileApi.ts",
+ "line": 202,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 161,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [160, 161]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [97]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [200, 162, 212, 228, 245, 257, 277, 188, 268, 175, 135, 148]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 39,
+ "character": 21
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [96]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 2,
+ "children": [1, 2, 95]
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
index a056a4da26a..82ee225ed96 100644
--- a/spec/enrichments/tsdoc_v2/storage_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
@@ -190,11 +190,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 452,
- 451,
- 453
- ]
+ "children": [452, 451, 453]
}
]
}
@@ -207,23 +203,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 443
- ]
+ "children": [443]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 447
- ]
+ "children": [447]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 448
- ]
+ "children": [448]
}
],
"sources": [
@@ -563,11 +553,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 347,
- 346,
- 345
- ]
+ "children": [347, 346, 345]
}
]
}
@@ -644,10 +630,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 349,
- 350
- ]
+ "children": [349, 350]
}
]
}
@@ -703,10 +686,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 352,
- 353
- ]
+ "children": [352, 353]
}
]
}
@@ -830,9 +810,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 387
- ]
+ "children": [387]
}
]
}
@@ -861,10 +839,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 385,
- 388
- ]
+ "children": [385, 388]
}
]
}
@@ -920,10 +895,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 390,
- 391
- ]
+ "children": [390, 391]
}
]
}
@@ -1047,9 +1019,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 376
- ]
+ "children": [376]
}
]
}
@@ -1078,10 +1048,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 374,
- 377
- ]
+ "children": [374, 377]
}
]
}
@@ -1137,10 +1104,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 379,
- 380
- ]
+ "children": [379, 380]
}
]
}
@@ -1308,10 +1272,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 335,
- 336
- ]
+ "children": [335, 336]
}
]
}
@@ -1367,10 +1328,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 338,
- 339
- ]
+ "children": [338, 339]
}
]
}
@@ -1478,10 +1436,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 326,
- 327
- ]
+ "children": [326, 327]
}
]
}
@@ -1537,10 +1492,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 329,
- 330
- ]
+ "children": [329, 330]
}
]
}
@@ -1715,11 +1667,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 361,
- 360,
- 359
- ]
+ "children": [361, 360, 359]
}
]
}
@@ -1786,9 +1734,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 365
- ]
+ "children": [365]
}
]
}
@@ -1817,10 +1763,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 363,
- 366
- ]
+ "children": [363, 366]
}
]
}
@@ -1876,10 +1819,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 368,
- 369
- ]
+ "children": [368, 369]
}
]
}
@@ -1909,22 +1849,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 298
- ]
+ "children": [298]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 340,
- 381,
- 370,
- 310,
- 331,
- 323,
- 354
- ]
+ "children": [340, 381, 370, 310, 331, 323, 354]
}
],
"sources": [
@@ -2003,9 +1933,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 438
- ]
+ "children": [438]
}
],
"sources": [
@@ -2128,16 +2056,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 456
- ]
+ "children": [456]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460
- ]
+ "children": [460]
}
],
"sources": [
@@ -2318,16 +2242,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 397,
- 398,
- 396,
- 393,
- 394,
- 395,
- 400,
- 399
- ]
+ "children": [397, 398, 396, 393, 394, 395, 400, 399]
}
],
"sources": [
@@ -2375,9 +2290,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 425
- ]
+ "children": [425]
}
],
"sources": [
@@ -2593,16 +2506,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 397,
- 398,
- 396,
- 393,
- 394,
- 395,
- 400,
- 399
- ]
+ "children": [397, 398, 396, 393, 394, 395, 400, 399]
}
],
"sources": [
@@ -2758,17 +2662,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 403,
- 410,
- 407,
- 405,
- 408,
- 409,
- 402,
- 404,
- 406
- ]
+ "children": [403, 410, 407, 405, 408, 409, 402, 404, 406]
}
],
"sources": [
@@ -2883,12 +2777,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 415,
- 416,
- 418,
- 417
- ]
+ "children": [415, 416, 418, 417]
}
],
"sources": [
@@ -2929,9 +2818,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 427
- ]
+ "children": [427]
}
],
"sources": [
@@ -3092,10 +2979,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 412,
- 413
- ]
+ "children": [412, 413]
}
],
"sources": [
@@ -3113,12 +2997,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 420,
- 421,
- 423,
- 422
- ]
+ "children": [420, 421, 423, 422]
}
],
"sources": [
@@ -3181,10 +3060,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 412,
- 413
- ]
+ "children": [412, 413]
}
],
"sources": [
@@ -3336,13 +3212,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 433,
- 430,
- 432,
- 431,
- 429
- ]
+ "children": [433, 430, 432, 431, 429]
}
],
"sources": [
@@ -3404,33 +3274,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 442,
- 297,
- 437,
- 455
- ]
+ "children": [442, 297, 437, 455]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [
- 392,
- 424,
- 401,
- 414,
- 426,
- 419,
- 411,
- 428
- ]
+ "children": [392, 424, 401, 414, 426, 419, 411, 428]
},
{
"title": "Functions",
"kind": 64,
- "children": [
- 434
- ]
+ "children": [434]
}
],
"sources": [
@@ -3760,11 +3614,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 50,
- 49,
- 48
- ]
+ "children": [50, 49, 48]
}
]
}
@@ -3841,10 +3691,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 52,
- 53
- ]
+ "children": [52, 53]
}
]
}
@@ -3900,10 +3747,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 55,
- 56
- ]
+ "children": [55, 56]
}
]
}
@@ -4017,9 +3861,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 90
- ]
+ "children": [90]
}
]
}
@@ -4048,10 +3890,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 88,
- 91
- ]
+ "children": [88, 91]
}
]
}
@@ -4107,10 +3946,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 93,
- 94
- ]
+ "children": [93, 94]
}
]
}
@@ -4224,9 +4060,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 79
- ]
+ "children": [79]
}
]
}
@@ -4255,10 +4089,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 80
- ]
+ "children": [77, 80]
}
]
}
@@ -4314,10 +4145,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 82,
- 83
- ]
+ "children": [82, 83]
}
]
}
@@ -4428,10 +4256,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 38,
- 39
- ]
+ "children": [38, 39]
}
]
}
@@ -4487,10 +4312,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 41,
- 42
- ]
+ "children": [41, 42]
}
]
}
@@ -4588,10 +4410,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 29,
- 30
- ]
+ "children": [29, 30]
}
]
}
@@ -4647,10 +4466,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 32,
- 33
- ]
+ "children": [32, 33]
}
]
}
@@ -4815,11 +4631,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 64,
- 63,
- 62
- ]
+ "children": [64, 63, 62]
}
]
}
@@ -4886,9 +4698,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68
- ]
+ "children": [68]
}
]
}
@@ -4917,10 +4727,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 69
- ]
+ "children": [66, 69]
}
]
}
@@ -4976,10 +4783,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 71,
- 72
- ]
+ "children": [71, 72]
}
]
}
@@ -4999,21 +4803,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 4
- ]
+ "children": [4]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 43,
- 84,
- 73,
- 34,
- 26,
- 57
- ]
+ "children": [43, 84, 73, 34, 26, 57]
}
],
"sources": [
@@ -5036,9 +4831,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 3
- ]
+ "children": [3]
}
],
"sources": [
@@ -5343,9 +5136,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 207
- ]
+ "children": [207]
}
]
}
@@ -5374,10 +5165,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 205,
- 208
- ]
+ "children": [205, 208]
}
]
}
@@ -5433,10 +5221,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 210,
- 211
- ]
+ "children": [210, 211]
}
]
}
@@ -5586,11 +5371,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 170,
- 168,
- 169
- ]
+ "children": [170, 168, 169]
}
]
}
@@ -5619,10 +5400,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 166,
- 171
- ]
+ "children": [166, 171]
}
]
}
@@ -5678,10 +5456,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 173,
- 174
- ]
+ "children": [173, 174]
}
]
}
@@ -5960,13 +5735,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 433,
- 430,
- 432,
- 431,
- 429
- ]
+ "children": [433, 430, 432, 431, 429]
}
],
"sources": [
@@ -5984,10 +5753,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 218,
- 219
- ]
+ "children": [218, 219]
}
]
}
@@ -6054,9 +5820,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223
- ]
+ "children": [223]
}
]
}
@@ -6085,10 +5849,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 221,
- 224
- ]
+ "children": [221, 224]
}
]
}
@@ -6144,10 +5905,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 226,
- 227
- ]
+ "children": [226, 227]
}
]
}
@@ -6269,9 +6027,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 234
- ]
+ "children": [234]
}
]
}
@@ -6394,11 +6150,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 238,
- 239,
- 240
- ]
+ "children": [238, 239, 240]
}
]
}
@@ -6428,10 +6180,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 236,
- 241
- ]
+ "children": [236, 241]
}
]
}
@@ -6487,10 +6236,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 243,
- 244
- ]
+ "children": [243, 244]
}
]
}
@@ -6723,13 +6469,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 433,
- 430,
- 432,
- 431,
- 429
- ]
+ "children": [433, 430, 432, 431, 429]
}
],
"sources": [
@@ -6747,9 +6487,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 250
- ]
+ "children": [250]
}
]
}
@@ -6814,10 +6552,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 252,
- 253
- ]
+ "children": [252, 253]
}
]
}
@@ -6873,10 +6608,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 255,
- 256
- ]
+ "children": [255, 256]
}
]
}
@@ -7141,13 +6873,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 433,
- 430,
- 432,
- 431,
- 429
- ]
+ "children": [433, 430, 432, 431, 429]
}
],
"sources": [
@@ -7165,10 +6891,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 262,
- 263
- ]
+ "children": [262, 263]
}
]
}
@@ -7229,9 +6952,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 267
- ]
+ "children": [267]
}
]
}
@@ -7242,9 +6963,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 265
- ]
+ "children": [265]
}
]
}
@@ -7454,10 +7173,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 412,
- 413
- ]
+ "children": [412, 413]
}
],
"sources": [
@@ -7475,12 +7191,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 420,
- 421,
- 423,
- 422
- ]
+ "children": [420, 421, 423, 422]
}
],
"sources": [
@@ -7542,9 +7253,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 425
- ]
+ "children": [425]
}
],
"sources": [
@@ -7618,10 +7327,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 283,
- 284
- ]
+ "children": [283, 284]
}
]
}
@@ -7677,10 +7383,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 286,
- 287
- ]
+ "children": [286, 287]
}
]
}
@@ -7808,9 +7511,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 195
- ]
+ "children": [195]
}
]
}
@@ -7839,10 +7540,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 193,
- 196
- ]
+ "children": [193, 196]
}
]
}
@@ -7898,10 +7596,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 198,
- 199
- ]
+ "children": [198, 199]
}
]
}
@@ -8018,10 +7713,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 272,
- 273
- ]
+ "children": [272, 273]
}
]
}
@@ -8077,10 +7769,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 275,
- 276
- ]
+ "children": [275, 276]
}
]
}
@@ -8330,12 +8019,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 415,
- 416,
- 418,
- 417
- ]
+ "children": [415, 416, 418, 417]
}
],
"sources": [
@@ -8409,9 +8093,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 183
- ]
+ "children": [183]
}
]
}
@@ -8440,10 +8122,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 181,
- 184
- ]
+ "children": [181, 184]
}
]
}
@@ -8499,10 +8178,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 186,
- 187
- ]
+ "children": [186, 187]
}
]
}
@@ -8685,12 +8361,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 415,
- 416,
- 418,
- 417
- ]
+ "children": [415, 416, 418, 417]
}
],
"sources": [
@@ -8764,9 +8435,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 143
- ]
+ "children": [143]
}
]
}
@@ -8795,10 +8464,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 141,
- 144
- ]
+ "children": [141, 144]
}
]
}
@@ -8854,10 +8520,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 146,
- 147
- ]
+ "children": [146, 147]
}
]
}
@@ -9054,12 +8717,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 415,
- 416,
- 418,
- 417
- ]
+ "children": [415, 416, 418, 417]
}
],
"sources": [
@@ -9134,9 +8792,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 157
- ]
+ "children": [157]
}
]
}
@@ -9167,10 +8823,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 155,
- 158
- ]
+ "children": [155, 158]
}
]
}
@@ -9219,10 +8872,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 160,
- 161
- ]
+ "children": [160, 161]
}
]
}
@@ -9242,27 +8892,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 97
- ]
+ "children": [97]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 200,
- 162,
- 212,
- 228,
- 245,
- 257,
- 277,
- 188,
- 268,
- 175,
- 135,
- 148
- ]
+ "children": [200, 162, 212, 228, 245, 257, 277, 188, 268, 175, 135, 148]
}
],
"sources": [
@@ -9278,9 +8913,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 96
- ]
+ "children": [96]
}
],
"sources": [
@@ -9296,11 +8929,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [
- 1,
- 2,
- 95
- ]
+ "children": [1, 2, 95]
}
]
-}
\ No newline at end of file
+}
diff --git a/spec/enrichments/tsdoc_v2/supabase.json b/spec/enrichments/tsdoc_v2/supabase.json
index eba29df7edc..f2ec11fad6b 100644
--- a/spec/enrichments/tsdoc_v2/supabase.json
+++ b/spec/enrichments/tsdoc_v2/supabase.json
@@ -1,4214 +1,4308 @@
{
- "id": 0,
- "name": "@supabase/supabase-js",
- "kind": 1,
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 1,
- "name": "index",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 195,
- "name": "SupabaseClientOptions",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 20,
- "character": 14
- }
- ],
- "target": 61
- },
- {
- "id": 105,
- "name": "SupabaseClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "comment": {
- "shortText": "Supabase Client.",
- "text": "An isomorphic Javascript client for interacting with Postgres.\n"
- },
- "children": [
- {
- "id": 106,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 83,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 107,
- "name": "new SupabaseClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "comment": {
- "shortText": "Create a new client for use in the browser."
- },
- "typeParameter": [
- {
- "id": 108,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 109,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 108,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 108,
- "name": "Database"
- }
- }
- ]
- }
- }
- },
- {
- "id": 110,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 98,
- "name": "GenericSchema"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 109,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 108,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "id": 98,
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 111,
- "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": 112,
- "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": 113,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "reference",
- "id": 109,
- "name": "SchemaName"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 105,
- "typeArguments": [
- {
- "type": "reference",
- "id": 108,
- "name": "Database"
- },
- {
- "type": "reference",
- "id": 109,
- "name": "SchemaName"
- },
- {
- "type": "reference",
- "id": 110,
- "name": "Schema"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 114,
- "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": 55,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "SupabaseAuthClient"
- }
- },
- {
- "id": 117,
- "name": "authUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 59,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 127,
- "name": "changedAccessToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 65,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 122,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 64,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 123,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 124,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 125,
- "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": 126,
- "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": 119,
- "name": "functionsUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 61,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 128,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 67,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 129,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 130,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 131,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 115,
- "name": "realtime",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 56,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeClient",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- },
- {
- "id": 116,
- "name": "realtimeUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 58,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 120,
- "name": "rest",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 62,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 108,
- "name": "Database"
- },
- {
- "type": "reference",
- "id": 109,
- "name": "SchemaName"
- },
- {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 109,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 108,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "qualifiedName": "GenericSchema",
- "package": "@supabase/postgrest-js",
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "qualifiedName": "PostgrestClient",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- },
- {
- "id": 121,
- "name": "storageKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 63,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 118,
- "name": "storageUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 133,
- "name": "supabaseKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 132,
- "name": "supabaseUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 134,
- "name": "functions",
- "kind": 262144,
- "kindString": "Accessor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 138,
- "character": 6
- }
- ],
- "getSignature": [
- {
- "id": 135,
- "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": 136,
- "name": "storage",
- "kind": 262144,
- "kindString": "Accessor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 148,
- "character": 6
- }
- ],
- "getSignature": [
- {
- "id": 137,
- "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": 170,
- "name": "_getAccessToken",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 235,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 171,
- "name": "_getAccessToken",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 187,
- "name": "_handleTokenChanged",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 284,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 188,
- "name": "_handleTokenChanged",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 189,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "AuthChangeEvent",
- "package": "@supabase/gotrue-js",
- "name": "AuthChangeEvent"
- }
- },
- {
- "id": 190,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 191,
- "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": 181,
- "name": "_initRealtimeClient",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 270,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 182,
- "name": "_initRealtimeClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 183,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeClientOptions",
- "package": "@supabase/realtime-js",
- "name": "RealtimeClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeClient",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 172,
- "name": "_initSupabaseAuthClient",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 241,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 173,
- "name": "_initSupabaseAuthClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 174,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 59,
- "name": "SupabaseAuthClientOptions"
- }
- },
- {
- "id": 175,
- "name": "headers",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 176,
- "name": "fetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 177,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 178,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 179,
- "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": 180,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "name": "SupabaseAuthClient"
- }
- }
- ]
- },
- {
- "id": 184,
- "name": "_listenForAuthEvents",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 277,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 185,
- "name": "_listenForAuthEvents",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 186,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- }
- ]
- },
- {
- "id": 159,
- "name": "channel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 207,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 160,
- "name": "channel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes."
- },
- "parameters": [
- {
- "id": 161,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The name of the Realtime channel."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 162,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The options to pass to the Realtime channel.\n\n"
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeChannelOptions",
- "package": "@supabase/realtime-js",
- "name": "RealtimeChannelOptions"
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 138,
- "name": "from",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 157,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 139,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a table operation."
- },
- "typeParameter": [
- {
- "id": 140,
- "name": "TableName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 141,
- "name": "Table",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 80,
- "name": "GenericTable"
- }
- }
- ],
- "parameters": [
- {
- "id": 142,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 140,
- "name": "TableName"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 110,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 141,
- "name": "Table"
- }
- ],
- "qualifiedName": "PostgrestQueryBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- },
- {
- "id": 143,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 144,
- "name": "ViewName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 145,
- "name": "View",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 93,
- "name": "GenericView"
- }
- }
- ],
- "parameters": [
- {
- "id": 146,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 144,
- "name": "ViewName"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 110,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 145,
- "name": "View"
- }
- ],
- "qualifiedName": "PostgrestQueryBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- },
- {
- "id": 147,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 148,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 110,
- "name": "Schema"
- },
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "qualifiedName": "PostgrestQueryBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 163,
- "name": "getChannels",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 214,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 164,
- "name": "getChannels",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns all Realtime channels."
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- }
- ]
- },
- {
- "id": 168,
- "name": "removeAllChannels",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 231,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 169,
- "name": "removeAllChannels",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Unsubscribes and removes all Realtime channels from Realtime client."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 165,
- "name": "removeChannel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 224,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 166,
- "name": "removeChannel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Unsubscribes and removes Realtime channel from Realtime client."
- },
- "parameters": [
- {
- "id": 167,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The name of the Realtime channel.\n\n"
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "error"
- },
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 149,
- "name": "rpc",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 178,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 150,
- "name": "rpc",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a function call."
- },
- "typeParameter": [
- {
- "id": 151,
- "name": "FunctionName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 152,
- "name": "Function_",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 94,
- "name": "GenericFunction"
- }
- }
- ],
- "parameters": [
- {
- "id": 153,
- "name": "fn",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The function name to call."
- },
- "type": {
- "type": "reference",
- "id": 151,
- "name": "FunctionName"
- }
- },
- {
- "id": 154,
- "name": "args",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The parameters to pass to the function call."
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Args"
- },
- "objectType": {
- "type": "reference",
- "id": 152,
- "name": "Function_"
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 155,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 156,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 158,
- "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": 186,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 157,
- "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": 185,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 158,
- 157
- ]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 110,
- "name": "Schema"
- },
- {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Returns"
- },
- "objectType": {
- "type": "reference",
- "id": 152,
- "name": "Function_"
- }
- },
- "extendsType": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "trueType": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "number"
- },
- "objectType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- "extendsType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Returns"
- },
- "objectType": {
- "type": "reference",
- "id": 152,
- "name": "Function_"
- }
- }
- ],
- "qualifiedName": "PostgrestFilterBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 106
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 114,
- 117,
- 127,
- 122,
- 119,
- 128,
- 115,
- 116,
- 120,
- 121,
- 118,
- 133,
- 132
- ]
- },
- {
- "title": "Accessors",
- "kind": 262144,
- "children": [
- 134,
- 136
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 170,
- 187,
- 181,
- 172,
- 184,
- 159,
- 138,
- 163,
- 168,
- 165,
- 149
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 43,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 192,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 193,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 108,
- "name": "Database"
- }
- }
- ]
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 108,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 108,
- "name": "Database"
- }
- }
- ]
- }
- }
- },
- {
- "id": 194,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 98,
- "name": "GenericSchema"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 109,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 108,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "id": 98,
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 109,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 108,
- "name": "Database"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- ]
- },
- {
- "id": 2,
- "name": "createClient",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 25,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 3,
- "name": "createClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a new Supabase Client."
- },
- "typeParameter": [
- {
- "id": 4,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 5,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- }
- ]
- }
- }
- },
- {
- "id": 6,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 98,
- "name": "GenericSchema"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "id": 98,
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 7,
- "name": "supabaseUrl",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 8,
- "name": "supabaseKey",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 9,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 105,
- "typeArguments": [
- {
- "type": "reference",
- "id": 4,
- "name": "Database"
- },
- {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- },
- {
- "type": "reference",
- "id": 6,
- "name": "Schema"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "References",
- "kind": 16777216,
- "children": [
- 195
- ]
- },
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 105
- ]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [
- 2
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 10,
- "name": "lib/constants",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 11,
- "name": "DEFAULT_HEADERS",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isConst": true
- },
- "sources": [
- {
- "fileName": "src/lib/constants.ts",
- "line": 3,
- "character": 13
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 12,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 13,
- "name": "X-Client-Info",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/constants.ts",
- "line": 3,
- "character": 33
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 13
- ]
- }
- ]
- }
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 11
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/constants.ts",
- "line": 2,
- "character": 0
- }
- ]
- },
- {
- "id": 14,
- "name": "lib/fetch",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 29,
- "name": "fetchWithAuth",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/fetch.ts",
- "line": 25,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 30,
- "name": "fetchWithAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 31,
- "name": "supabaseKey",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 32,
- "name": "getAccessToken",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 33,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 34,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 35,
- "name": "customFetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 36,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 37,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 38,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- },
- {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- ]
- }
- },
- {
- "id": 39,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 40,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 41,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 42,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- },
- {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- ]
- }
- },
- {
- "id": 43,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 15,
- "name": "resolveFetch",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/fetch.ts",
- "line": 5,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 16,
- "name": "resolveFetch",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 17,
- "name": "customFetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 18,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 19,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 20,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- },
- {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- ]
- }
- },
- {
- "id": 21,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 22,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 23,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 24,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- },
- {
- "type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
- }
- ]
- }
- },
- {
- "id": 25,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 26,
- "name": "resolveHeadersConstructor",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/fetch.ts",
- "line": 17,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 27,
- "name": "resolveHeadersConstructor",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 28,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Functions",
- "kind": 64,
- "children": [
- 29,
- 15,
- 26
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/fetch.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 44,
- "name": "lib/helpers",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 50,
- "name": "applySettingDefaults",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 18,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 51,
- "name": "applySettingDefaults",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 52,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 53,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 52,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 52,
- "name": "Database"
- }
- }
- ]
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 54,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "reference",
- "id": 53,
- "name": "SchemaName"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- },
- {
- "id": 55,
- "name": "defaults",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "reference",
- "id": 53,
- "name": "SchemaName"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- }
- ]
- },
- {
- "id": 56,
- "name": "isBrowser",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 16,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 57,
- "name": "isBrowser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ]
- },
- {
- "id": 47,
- "name": "stripTrailingSlash",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 12,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 48,
- "name": "stripTrailingSlash",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 49,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 45,
- "name": "uuid",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 4,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 46,
- "name": "uuid",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Functions",
- "kind": 64,
- "children": [
- 50,
- 56,
- 47,
- 45
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 2,
- "character": 0
- }
- ]
- },
- {
- "id": 58,
- "name": "lib/types",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 59,
- "name": "SupabaseAuthClientOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 6,
- "character": 17
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "name": "GoTrueClientOptions"
- }
- ]
- },
- {
- "id": 60,
- "name": "Fetch",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "query",
- "queryType": {
- "type": "reference",
- "id": 18,
- "qualifiedName": "fetch",
- "package": "typescript",
- "name": "fetch"
- }
- }
- },
- {
- "id": 94,
- "name": "GenericFunction",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 78,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 95,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 96,
- "name": "Args",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 97,
- "name": "Returns",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 80,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 96,
- 97
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 78,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 90,
- "name": "GenericNonUpdatableView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 91,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 92,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 73,
- "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": [
- 92
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 38
- }
- ]
- }
- }
- },
- {
- "id": 98,
- "name": "GenericSchema",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 99,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 102,
- "name": "Functions",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 86,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 94,
- "name": "GenericFunction"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 100,
- "name": "Tables",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 84,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 80,
- "name": "GenericTable"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 101,
- "name": "Views",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 85,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 93,
- "name": "GenericView"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 102,
- 100,
- 101
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 28
- }
- ]
- }
- }
- },
- {
- "id": 80,
- "name": "GenericTable",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 81,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 83,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 82,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 61,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 84,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 63,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 83,
- 82,
- 84
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 27
- }
- ]
- }
- }
- },
- {
- "id": 85,
- "name": "GenericUpdatableView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 86,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 88,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 68,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 87,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 67,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 89,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 69,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 88,
- 87,
- 89
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 35
- }
- ]
- }
- }
- },
- {
- "id": 93,
- "name": "GenericView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 76,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 85,
- "name": "GenericUpdatableView"
- },
- {
- "type": "reference",
- "id": 90,
- "name": "GenericNonUpdatableView"
- }
- ]
- }
- },
- {
- "id": 61,
- "name": "SupabaseClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 10,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 79,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 62,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 66,
- "name": "auth",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 67,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 68,
- "name": "autoRefreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Automatically refreshes the token for logged-in users. Defaults to true."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 22,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 71,
- "name": "detectSessionInUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 34,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 73,
- "name": "flowType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 42,
- "character": 4
- }
- ],
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "flowType"
- },
- "objectType": {
- "type": "reference",
- "id": 59,
- "name": "SupabaseAuthClientOptions"
- }
- }
- },
- {
- "id": 70,
- "name": "persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Whether to persist a logged-in session to storage. Defaults to true."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 30,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 72,
- "name": "storage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A storage provider. Used to store the logged-in session."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 38,
- "character": 4
- }
- ],
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "storage"
- },
- "objectType": {
- "type": "reference",
- "id": 59,
- "name": "SupabaseAuthClientOptions"
- }
- }
- },
- {
- "id": 69,
- "name": "storageKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional key name used for storing tokens in local storage."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 26,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 18,
- "character": 9
- }
- ]
- }
- }
- },
- {
- "id": 63,
- "name": "db",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 64,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 65,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 15,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 79,
- "name": "SchemaName"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 65
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 14,
- "character": 7
- }
- ]
- }
- }
- },
- {
- "id": 75,
- "name": "global",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 76,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 77,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom `fetch` implementation."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 52,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 60,
- "name": "Fetch"
- }
- },
- {
- "id": 78,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional headers for initializing the client."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 77,
- 78
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 48,
- "character": 11
- }
- ]
- }
- }
- },
- {
- "id": 74,
- "name": "realtime",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Options passed to the realtime-js instance"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeClientOptions",
- "package": "@supabase/realtime-js",
- "name": "RealtimeClientOptions"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 10,
- "character": 48
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [
- 59
- ]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [
- 60,
- 94,
- 90,
- 98,
- 80,
- 85,
- 93,
- 61
- ]
- }
- ],
- "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": [
- 1,
- 10,
- 14,
- 44,
- 58,
- 103
- ]
- }
- ]
-}
\ No newline at end of file
+ "id": 0,
+ "name": "@supabase/supabase-js",
+ "kind": 1,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 1,
+ "name": "index",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 202,
+ "name": "SupabaseClientOptions",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 20,
+ "character": 14
+ }
+ ],
+ "target": 61
+ },
+ {
+ "id": 106,
+ "name": "SupabaseClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "Supabase Client.",
+ "text": "An isomorphic Javascript client for interacting with Postgres.\n"
+ },
+ "children": [
+ {
+ "id": 107,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 108,
+ "name": "new SupabaseClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "typeParameter": [
+ {
+ "id": 109,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 110,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 111,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 99,
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 110,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 99,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 112,
+ "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": 113,
+ "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": 114,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 61,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "SchemaName"
+ },
+ {
+ "type": "reference",
+ "id": 111,
+ "name": "Schema"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 115,
+ "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": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupabaseAuthClient"
+ }
+ },
+ {
+ "id": 118,
+ "name": "authUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 59,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 128,
+ "name": "changedAccessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 65,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 123,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 64,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 124,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 125,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 126,
+ "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": 127,
+ "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": 120,
+ "name": "functionsUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 129,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 67,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 130,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 131,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 132,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 116,
+ "name": "realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 117,
+ "name": "realtimeUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 58,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 121,
+ "name": "rest",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 110,
+ "name": "SchemaName"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 110,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "qualifiedName": "GenericSchema",
+ "package": "@supabase/postgrest-js",
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "qualifiedName": "PostgrestClient",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 122,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 63,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 119,
+ "name": "storageUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 134,
+ "name": "supabaseKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 133,
+ "name": "supabaseUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 135,
+ "name": "functions",
+ "kind": 262144,
+ "kindString": "Accessor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 132,
+ "character": 6
+ }
+ ],
+ "getSignature": [
+ {
+ "id": 136,
+ "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": 137,
+ "name": "storage",
+ "kind": 262144,
+ "kindString": "Accessor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 142,
+ "character": 6
+ }
+ ],
+ "getSignature": [
+ {
+ "id": 138,
+ "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": 177,
+ "name": "_getAccessToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 259,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 178,
+ "name": "_getAccessToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 194,
+ "name": "_handleTokenChanged",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 310,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 195,
+ "name": "_handleTokenChanged",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AuthChangeEvent",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 197,
+ "name": "source",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "CLIENT"
+ },
+ {
+ "type": "literal",
+ "value": "STORAGE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 198,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 188,
+ "name": "_initRealtimeClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 296,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 189,
+ "name": "_initRealtimeClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 190,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClientOptions",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 179,
+ "name": "_initSupabaseAuthClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 265,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 180,
+ "name": "_initSupabaseAuthClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "SupabaseAuthClientOptions"
+ }
+ },
+ {
+ "id": 182,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 183,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 184,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 185,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 186,
+ "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": 187,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupabaseAuthClient"
+ }
+ }
+ ]
+ },
+ {
+ "id": 191,
+ "name": "_listenForAuthEvents",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 303,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 192,
+ "name": "_listenForAuthEvents",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 193,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 166,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 231,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 167,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes."
+ },
+ "parameters": [
+ {
+ "id": 168,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The name of the Realtime channel."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 169,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The options to pass to the Realtime channel.\n\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeChannelOptions",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeChannelOptions"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 139,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 146,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 140,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a query on a table or a view."
+ },
+ "typeParameter": [
+ {
+ "id": 141,
+ "name": "TableName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 142,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 81,
+ "name": "GenericTable"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 143,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 141,
+ "name": "TableName"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 111,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 142,
+ "name": "Table"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 142,
+ "name": "Table"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 144,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "qualifiedName": "R",
+ "package": "@supabase/postgrest-js",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 145,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a query on a table or a view."
+ },
+ "typeParameter": [
+ {
+ "id": 146,
+ "name": "ViewName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 147,
+ "name": "View",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 94,
+ "name": "GenericView"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 148,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 146,
+ "name": "ViewName"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 111,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 147,
+ "name": "View"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 147,
+ "name": "View"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 149,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "qualifiedName": "R",
+ "package": "@supabase/postgrest-js",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 150,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a query on a table or a view."
+ },
+ "parameters": [
+ {
+ "id": 151,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 111,
+ "name": "Schema"
+ },
+ {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 170,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 238,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 171,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns all Realtime channels."
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 175,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 176,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unsubscribes and removes all Realtime channels from Realtime client."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 172,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 248,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 173,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unsubscribes and removes Realtime channel from Realtime client."
+ },
+ "parameters": [
+ {
+ "id": 174,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The name of the Realtime channel.\n\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 156,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 202,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 157,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "typeParameter": [
+ {
+ "id": 158,
+ "name": "FunctionName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 159,
+ "name": "Function_",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 95,
+ "name": "GenericFunction"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 160,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The function name to call"
+ },
+ "type": {
+ "type": "reference",
+ "id": 158,
+ "name": "FunctionName"
+ }
+ },
+ {
+ "id": 161,
+ "name": "args",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The arguments to pass to the function call"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Args"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 159,
+ "name": "Function_"
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 162,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 163,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 165,
+ "name": "count",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 210,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 164,
+ "name": "head",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 209,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [165, 164]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 111,
+ "name": "Schema"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Returns"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 159,
+ "name": "Function_"
+ }
+ },
+ "extendsType": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "trueType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Returns"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 159,
+ "name": "Function_"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "PostgrestFilterBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 152,
+ "name": "schema",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 171,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 153,
+ "name": "schema",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a query on a schema distinct from the default schema supplied via\nthe `options.db.schema` constructor parameter.",
+ "text": "The schema needs to be on the list of exposed schemas inside Supabase.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 154,
+ "name": "DynamicSchema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 155,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The name of the schema to query\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 154,
+ "name": "DynamicSchema"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 154,
+ "name": "DynamicSchema"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 154,
+ "name": "DynamicSchema"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 99,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "qualifiedName": "PostgrestClient",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [107]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [115, 118, 128, 123, 120, 129, 116, 117, 121, 122, 119, 134, 133]
+ },
+ {
+ "title": "Accessors",
+ "kind": 262144,
+ "children": [135, 137]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [177, 194, 188, 179, 191, 166, 139, 170, 175, 172, 156, 152]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 43,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 199,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 200,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ }
+ ]
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 201,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 99,
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 110,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 99,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 110,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 2,
+ "name": "createClient",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 25,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "createClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new Supabase Client."
+ },
+ "typeParameter": [
+ {
+ "id": 4,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 5,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 6,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 99,
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 99,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 7,
+ "name": "supabaseUrl",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 8,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 9,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 61,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 106,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 4,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 5,
+ "name": "SchemaName"
+ },
+ {
+ "type": "reference",
+ "id": 6,
+ "name": "Schema"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [202]
+ },
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [106]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [2]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 10,
+ "name": "lib/constants",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 11,
+ "name": "DEFAULT_HEADERS",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 3,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 12,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 13,
+ "name": "X-Client-Info",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 3,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [13]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [11]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 2,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 14,
+ "name": "lib/fetch",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 29,
+ "name": "fetchWithAuth",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/fetch.ts",
+ "line": 25,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 30,
+ "name": "fetchWithAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 31,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 32,
+ "name": "getAccessToken",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 33,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 34,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 35,
+ "name": "customFetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 37,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 38,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 39,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 40,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 41,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 42,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 43,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 15,
+ "name": "resolveFetch",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/fetch.ts",
+ "line": 5,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 16,
+ "name": "resolveFetch",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 17,
+ "name": "customFetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 18,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 19,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 20,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 21,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 22,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 23,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 24,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 25,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 26,
+ "name": "resolveHeadersConstructor",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/fetch.ts",
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 27,
+ "name": "resolveHeadersConstructor",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 28,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [29, 15, 26]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/fetch.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 44,
+ "name": "lib/helpers",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 50,
+ "name": "applySettingDefaults",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 18,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 51,
+ "name": "applySettingDefaults",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 52,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 53,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 52,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 52,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 54,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 61,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 53,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ },
+ {
+ "id": 55,
+ "name": "defaults",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 61,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 61,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 53,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ]
+ },
+ {
+ "id": 56,
+ "name": "isBrowser",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 16,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 57,
+ "name": "isBrowser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 47,
+ "name": "stripTrailingSlash",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 12,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 48,
+ "name": "stripTrailingSlash",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 49,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 45,
+ "name": "uuid",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 4,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 46,
+ "name": "uuid",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [50, 56, 47, 45]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 2,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 58,
+ "name": "lib/types",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 59,
+ "name": "SupabaseAuthClientOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "name": "GoTrueClientOptions"
+ }
+ ]
+ },
+ {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ },
+ {
+ "id": 95,
+ "name": "GenericFunction",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 82,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 97,
+ "name": "Args",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 98,
+ "name": "Returns",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [97, 98]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 82,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 91,
+ "name": "GenericNonUpdatableView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 92,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 93,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 77,
+ "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": [93]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 38
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 99,
+ "name": "GenericSchema",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 100,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 103,
+ "name": "Functions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 90,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 95,
+ "name": "GenericFunction"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 101,
+ "name": "Tables",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 81,
+ "name": "GenericTable"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 102,
+ "name": "Views",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 89,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 94,
+ "name": "GenericView"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [103, 101, 102]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 81,
+ "name": "GenericTable",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 82,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 84,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 83,
+ "name": "Row",
+ "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"
+ }
+ },
+ {
+ "id": 85,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [84, 83, 85]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 27
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 86,
+ "name": "GenericUpdatableView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 70,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 87,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 89,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 88,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 90,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 73,
+ "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": [89, 88, 90]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 70,
+ "character": 35
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 94,
+ "name": "GenericView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 86,
+ "name": "GenericUpdatableView"
+ },
+ {
+ "type": "reference",
+ "id": 91,
+ "name": "GenericNonUpdatableView"
+ }
+ ]
+ }
+ },
+ {
+ "id": 61,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 80,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 62,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 66,
+ "name": "auth",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 67,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 68,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Automatically refreshes the token for logged-in users. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 22,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 71,
+ "name": "detectSessionInUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 73,
+ "name": "flowType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 42,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "flowType"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 59,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 70,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Whether to persist a logged-in session to storage. Defaults to true."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 30,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 72,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A storage provider. Used to store the logged-in session."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "storage"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 59,
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 69,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional key name used for storing tokens in local storage."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 26,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [68, 74, 71, 73, 70, 72, 69]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 18,
+ "character": 9
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 63,
+ "name": "db",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 64,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 65,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 15,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 80,
+ "name": "SchemaName"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [65]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 14,
+ "character": 7
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 76,
+ "name": "global",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 77,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 78,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 60,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 79,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 60,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [78, 79]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 75,
+ "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": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClientOptions",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [66, 63, 76, 75]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 10,
+ "character": 48
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [59]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [60, 95, 91, 99, 81, 86, 94, 61]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 104,
+ "name": "lib/version",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 105,
+ "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": [105]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/version.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 2,
+ "children": [1, 10, 14, 44, 58, 104]
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
index 51e4395c221..0d4f73c23cb 100644
--- a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
@@ -13,7 +13,7 @@
"flags": {},
"children": [
{
- "id": 195,
+ "id": 202,
"name": "SupabaseClientOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -28,7 +28,7 @@
"target": 61
},
{
- "id": 105,
+ "id": 106,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
@@ -39,7 +39,7 @@
},
"children": [
{
- "id": 106,
+ "id": 107,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -53,7 +53,7 @@
],
"signatures": [
{
- "id": 107,
+ "id": 108,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -63,7 +63,7 @@
},
"typeParameter": [
{
- "id": 108,
+ "id": 109,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -74,7 +74,7 @@
}
},
{
- "id": 109,
+ "id": 110,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -94,7 +94,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
@@ -114,7 +114,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
}
@@ -123,14 +123,14 @@
}
},
{
- "id": 110,
+ "id": 111,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"default": {
@@ -139,18 +139,18 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"trueType": {
@@ -173,7 +173,7 @@
],
"parameters": [
{
- "id": 111,
+ "id": 112,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -187,7 +187,7 @@
}
},
{
- "id": 112,
+ "id": 113,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -201,7 +201,7 @@
}
},
{
- "id": 113,
+ "id": 114,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -214,7 +214,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
}
],
@@ -234,7 +234,7 @@
],
"typeParameter": [
{
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -297,6 +297,29 @@
"name": "boolean"
}
},
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
{
"id": 71,
"name": "detectSessionInUrl",
@@ -433,14 +456,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
+ "children": [68, 74, 71, 73, 70, 72, 69]
}
],
"sources": [
@@ -497,7 +513,7 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"dereferenced": {}
}
@@ -507,9 +523,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -523,7 +537,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -533,21 +547,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 76,
+ "id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -560,7 +574,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 56,
"character": 4
}
],
@@ -595,7 +609,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -608,7 +622,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 60,
"character": 4
}
],
@@ -634,16 +648,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [78, 79]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 11
}
]
@@ -651,7 +662,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -664,7 +675,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 51,
"character": 2
}
],
@@ -680,12 +691,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
+ "children": [66, 63, 76, 75]
}
],
"sources": [
@@ -703,21 +709,21 @@
],
"type": {
"type": "reference",
- "id": 105,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
},
{
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
{
"type": "reference",
- "id": 110,
+ "id": 111,
"name": "Schema"
}
],
@@ -727,7 +733,7 @@
]
},
{
- "id": 114,
+ "id": 115,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -748,7 +754,7 @@
}
},
{
- "id": 117,
+ "id": 118,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
@@ -768,12 +774,13 @@
}
},
{
- "id": 127,
+ "id": 128,
"name": "changedAccessToken",
"kind": 1024,
"kindString": "Property",
"flags": {
- "isProtected": true
+ "isProtected": true,
+ "isOptional": true
},
"sources": [
{
@@ -783,21 +790,12 @@
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 122,
+ "id": 123,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -815,21 +813,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 123,
+ "id": 124,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 124,
+ "id": 125,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 125,
+ "id": 126,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -853,7 +851,7 @@
}
},
{
- "id": 126,
+ "id": 127,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -888,7 +886,7 @@
}
},
{
- "id": 119,
+ "id": 120,
"name": "functionsUrl",
"kind": 1024,
"kindString": "Property",
@@ -908,7 +906,7 @@
}
},
{
- "id": 128,
+ "id": 129,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -925,20 +923,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 129,
+ "id": 130,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 130,
+ "id": 131,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 131,
+ "id": 132,
"name": "key",
"kind": 32768,
"flags": {},
@@ -957,7 +955,7 @@
}
},
{
- "id": 115,
+ "id": 116,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -977,7 +975,7 @@
}
},
{
- "id": 116,
+ "id": 117,
"name": "realtimeUrl",
"kind": 1024,
"kindString": "Property",
@@ -997,7 +995,7 @@
}
},
{
- "id": 120,
+ "id": 121,
"name": "rest",
"kind": 1024,
"kindString": "Property",
@@ -1016,12 +1014,12 @@
"typeArguments": [
{
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
},
{
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
{
@@ -1030,12 +1028,12 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
@@ -1068,7 +1066,7 @@
}
},
{
- "id": 121,
+ "id": 122,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -1088,7 +1086,7 @@
}
},
{
- "id": 118,
+ "id": 119,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
@@ -1108,7 +1106,7 @@
}
},
{
- "id": 133,
+ "id": 134,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
@@ -1121,7 +1119,7 @@
}
},
{
- "id": 132,
+ "id": 133,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
@@ -1134,7 +1132,7 @@
}
},
{
- "id": 134,
+ "id": 135,
"name": "functions",
"kind": 262144,
"kindString": "Accessor",
@@ -1142,13 +1140,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 138,
+ "line": 132,
"character": 6
}
],
"getSignature": [
{
- "id": 135,
+ "id": 136,
"name": "functions",
"kind": 524288,
"kindString": "Get signature",
@@ -1166,7 +1164,7 @@
]
},
{
- "id": 136,
+ "id": 137,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
@@ -1174,13 +1172,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 148,
+ "line": 142,
"character": 6
}
],
"getSignature": [
{
- "id": 137,
+ "id": 138,
"name": "storage",
"kind": 524288,
"kindString": "Get signature",
@@ -1198,7 +1196,7 @@
]
},
{
- "id": 170,
+ "id": 177,
"name": "_getAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -1208,13 +1206,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 235,
+ "line": 259,
"character": 16
}
],
"signatures": [
{
- "id": 171,
+ "id": 178,
"name": "_getAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -1244,7 +1242,7 @@
]
},
{
- "id": 187,
+ "id": 194,
"name": "_handleTokenChanged",
"kind": 2048,
"kindString": "Method",
@@ -1254,20 +1252,20 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 284,
+ "line": 310,
"character": 10
}
],
"signatures": [
{
- "id": 188,
+ "id": 195,
"name": "_handleTokenChanged",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 189,
+ "id": 196,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -1280,27 +1278,7 @@
}
},
{
- "id": 190,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 191,
+ "id": 197,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
@@ -1318,6 +1296,19 @@
}
]
}
+ },
+ {
+ "id": 198,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"type": {
@@ -1328,7 +1319,7 @@
]
},
{
- "id": 181,
+ "id": 188,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
@@ -1338,20 +1329,20 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 270,
+ "line": 296,
"character": 10
}
],
"signatures": [
{
- "id": 182,
+ "id": 189,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 183,
+ "id": 190,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1374,7 +1365,7 @@
]
},
{
- "id": 172,
+ "id": 179,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
@@ -1384,20 +1375,20 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 241,
+ "line": 265,
"character": 10
}
],
"signatures": [
{
- "id": 173,
+ "id": 180,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 174,
+ "id": 181,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -1429,7 +1420,7 @@
}
},
{
- "id": 175,
+ "id": 182,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -1454,7 +1445,7 @@
}
},
{
- "id": 176,
+ "id": 183,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -1464,21 +1455,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 177,
+ "id": 184,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 178,
+ "id": 185,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 179,
+ "id": 186,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -1502,7 +1493,7 @@
}
},
{
- "id": 180,
+ "id": 187,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -1545,7 +1536,7 @@
]
},
{
- "id": 184,
+ "id": 191,
"name": "_listenForAuthEvents",
"kind": 2048,
"kindString": "Method",
@@ -1555,13 +1546,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 277,
+ "line": 303,
"character": 10
}
],
"signatures": [
{
- "id": 185,
+ "id": 192,
"name": "_listenForAuthEvents",
"kind": 4096,
"kindString": "Call signature",
@@ -1569,7 +1560,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 186,
+ "id": 193,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1580,7 +1571,7 @@
]
},
{
- "id": 159,
+ "id": 166,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -1588,13 +1579,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 207,
+ "line": 231,
"character": 2
}
],
"signatures": [
{
- "id": 160,
+ "id": 167,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
@@ -1604,7 +1595,7 @@
},
"parameters": [
{
- "id": 161,
+ "id": 168,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -1618,7 +1609,7 @@
}
},
{
- "id": 162,
+ "id": 169,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -1645,7 +1636,7 @@
]
},
{
- "id": 138,
+ "id": 139,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -1653,23 +1644,23 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 157,
+ "line": 146,
"character": 2
}
],
"signatures": [
{
- "id": 139,
+ "id": 140,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Perform a table operation."
+ "shortText": "Perform a query on a table or a view."
},
"typeParameter": [
{
- "id": 140,
+ "id": 141,
"name": "TableName",
"kind": 131072,
"kindString": "Type parameter",
@@ -1680,28 +1671,31 @@
}
},
{
- "id": 141,
+ "id": 142,
"name": "Table",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 80,
+ "id": 81,
"name": "GenericTable"
}
}
],
"parameters": [
{
- "id": 142,
+ "id": 143,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
"type": {
"type": "reference",
- "id": 140,
+ "id": 141,
"name": "TableName",
"dereferenced": {}
}
@@ -1712,13 +1706,41 @@
"typeArguments": [
{
"type": "reference",
- "id": 110,
+ "id": 111,
"name": "Schema"
},
{
"type": "reference",
- "id": 141,
+ "id": 142,
"name": "Table"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 142,
+ "name": "Table"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 144,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "qualifiedName": "R",
+ "package": "@supabase/postgrest-js",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"qualifiedName": "PostgrestQueryBuilder",
@@ -1727,14 +1749,17 @@
}
},
{
- "id": 143,
+ "id": 145,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Perform a query on a table or a view."
+ },
"typeParameter": [
{
- "id": 144,
+ "id": 146,
"name": "ViewName",
"kind": 131072,
"kindString": "Type parameter",
@@ -1745,28 +1770,31 @@
}
},
{
- "id": 145,
+ "id": 147,
"name": "View",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 93,
+ "id": 94,
"name": "GenericView"
}
}
],
"parameters": [
{
- "id": 146,
+ "id": 148,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
"type": {
"type": "reference",
- "id": 144,
+ "id": 146,
"name": "ViewName",
"dereferenced": {}
}
@@ -1777,13 +1805,41 @@
"typeArguments": [
{
"type": "reference",
- "id": 110,
+ "id": 111,
"name": "Schema"
},
{
"type": "reference",
- "id": 145,
+ "id": 147,
"name": "View"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "id": 147,
+ "name": "View"
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 149,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "qualifiedName": "R",
+ "package": "@supabase/postgrest-js",
+ "name": "R"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
}
],
"qualifiedName": "PostgrestQueryBuilder",
@@ -1792,18 +1848,24 @@
}
},
{
- "id": 147,
+ "id": 150,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
+ "comment": {
+ "shortText": "Perform a query on a table or a view."
+ },
"parameters": [
{
- "id": 148,
+ "id": 151,
"name": "relation",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "The table or view name to query\n"
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -1815,12 +1877,16 @@
"typeArguments": [
{
"type": "reference",
- "id": 110,
+ "id": 111,
"name": "Schema"
},
{
"type": "intrinsic",
"name": "any"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
}
],
"qualifiedName": "PostgrestQueryBuilder",
@@ -1831,7 +1897,7 @@
]
},
{
- "id": 163,
+ "id": 170,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -1839,13 +1905,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 214,
+ "line": 238,
"character": 2
}
],
"signatures": [
{
- "id": 164,
+ "id": 171,
"name": "getChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -1866,7 +1932,7 @@
]
},
{
- "id": 168,
+ "id": 175,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -1874,13 +1940,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 231,
+ "line": 255,
"character": 2
}
],
"signatures": [
{
- "id": 169,
+ "id": 176,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -1920,7 +1986,7 @@
]
},
{
- "id": 165,
+ "id": 172,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -1928,13 +1994,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 224,
+ "line": 248,
"character": 2
}
],
"signatures": [
{
- "id": 166,
+ "id": 173,
"name": "removeChannel",
"kind": 4096,
"kindString": "Call signature",
@@ -1944,7 +2010,7 @@
},
"parameters": [
{
- "id": 167,
+ "id": 174,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -1989,7 +2055,7 @@
]
},
{
- "id": 149,
+ "id": 156,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -1997,13 +2063,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 178,
+ "line": 202,
"character": 2
}
],
"signatures": [
{
- "id": 150,
+ "id": 157,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -2013,7 +2079,7 @@
},
"typeParameter": [
{
- "id": 151,
+ "id": 158,
"name": "FunctionName",
"kind": 131072,
"kindString": "Type parameter",
@@ -2024,43 +2090,43 @@
}
},
{
- "id": 152,
+ "id": 159,
"name": "Function_",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 94,
+ "id": 95,
"name": "GenericFunction"
}
}
],
"parameters": [
{
- "id": 153,
+ "id": 160,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The function name to call."
+ "shortText": "The function name to call"
},
"type": {
"type": "reference",
- "id": 151,
+ "id": 158,
"name": "FunctionName",
"dereferenced": {}
}
},
{
- "id": 154,
+ "id": 161,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The parameters to pass to the function call."
+ "shortText": "The arguments to pass to the function call"
},
"type": {
"type": "indexedAccess",
@@ -2070,31 +2136,34 @@
},
"objectType": {
"type": "reference",
- "id": 152,
+ "id": 159,
"name": "Function_"
}
},
"defaultValue": "{}"
},
{
- "id": 155,
+ "id": 162,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Named parameters"
+ },
"type": {
"type": "reflection",
"declaration": {
- "id": 156,
+ "id": 163,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 158,
+ "id": 165,
"name": "count",
"kind": 1024,
"kindString": "Property",
@@ -2102,12 +2171,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Count algorithm to use to count rows in a table.\n\n"
+ "shortText": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n"
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 186,
+ "line": 210,
"character": 6
}
],
@@ -2130,7 +2199,7 @@
}
},
{
- "id": 157,
+ "id": 164,
"name": "head",
"kind": 1024,
"kindString": "Property",
@@ -2138,12 +2207,12 @@
"isOptional": true
},
"comment": {
- "shortText": "When set to true, no data will be returned."
+ "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count."
},
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 185,
+ "line": 209,
"character": 6
}
],
@@ -2157,10 +2226,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 158,
- 157
- ]
+ "children": [165, 164]
}
]
}
@@ -2172,7 +2238,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 110,
+ "id": 111,
"name": "Schema"
},
{
@@ -2185,7 +2251,7 @@
},
"objectType": {
"type": "reference",
- "id": 152,
+ "id": 159,
"name": "Function_"
}
},
@@ -2261,9 +2327,13 @@
},
"objectType": {
"type": "reference",
- "id": 152,
+ "id": 159,
"name": "Function_"
}
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
}
],
"qualifiedName": "PostgrestFilterBuilder",
@@ -2272,59 +2342,140 @@
}
}
]
+ },
+ {
+ "id": 152,
+ "name": "schema",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 171,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 153,
+ "name": "schema",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a query on a schema distinct from the default schema supplied via\nthe `options.db.schema` constructor parameter.",
+ "text": "The schema needs to be on the list of exposed schemas inside Supabase.\n"
+ },
+ "typeParameter": [
+ {
+ "id": 154,
+ "name": "DynamicSchema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 155,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The name of the schema to query\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 154,
+ "name": "DynamicSchema",
+ "dereferenced": {}
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 154,
+ "name": "DynamicSchema"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 154,
+ "name": "DynamicSchema"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 109,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 99,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "qualifiedName": "PostgrestClient",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
- "children": [
- 106
- ]
+ "children": [107]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 114,
- 117,
- 127,
- 122,
- 119,
- 128,
- 115,
- 116,
- 120,
- 121,
- 118,
- 133,
- 132
- ]
+ "children": [115, 118, 128, 123, 120, 129, 116, 117, 121, 122, 119, 134, 133]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [
- 134,
- 136
- ]
+ "children": [135, 137]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 170,
- 187,
- 181,
- 172,
- 184,
- 159,
- 138,
- 163,
- 168,
- 165,
- 149
- ]
+ "children": [177, 194, 188, 179, 191, 166, 139, 170, 175, 172, 156, 152]
}
],
"sources": [
@@ -2336,7 +2487,7 @@
],
"typeParameter": [
{
- "id": 192,
+ "id": 199,
"name": "Database",
"kind": 131072,
"kindString": "Type parameter",
@@ -2347,7 +2498,7 @@
}
},
{
- "id": 193,
+ "id": 200,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -2364,7 +2515,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
}
@@ -2381,7 +2532,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
@@ -2401,7 +2552,7 @@
"operator": "keyof",
"target": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
}
@@ -2410,14 +2561,14 @@
}
},
{
- "id": 194,
+ "id": 201,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"default": {
@@ -2426,30 +2577,30 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
"extendsType": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"trueType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 109,
+ "id": 110,
"name": "SchemaName"
},
"objectType": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "Database"
}
},
@@ -2553,7 +2704,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"default": {
@@ -2573,7 +2724,7 @@
},
"extendsType": {
"type": "reference",
- "id": 98,
+ "id": 99,
"name": "GenericSchema"
},
"trueType": {
@@ -2651,7 +2802,7 @@
],
"typeParameter": [
{
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -2714,6 +2865,29 @@
"name": "boolean"
}
},
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
{
"id": 71,
"name": "detectSessionInUrl",
@@ -2850,14 +3024,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
+ "children": [68, 74, 71, 73, 70, 72, 69]
}
],
"sources": [
@@ -2914,7 +3081,7 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"dereferenced": {}
}
@@ -2924,9 +3091,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -2940,7 +3105,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -2950,21 +3115,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 76,
+ "id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -2977,7 +3142,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 56,
"character": 4
}
],
@@ -3012,7 +3177,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -3025,7 +3190,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 60,
"character": 4
}
],
@@ -3051,16 +3216,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [78, 79]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 11
}
]
@@ -3068,7 +3230,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -3081,7 +3243,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 51,
"character": 2
}
],
@@ -3097,12 +3259,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
+ "children": [66, 63, 76, 75]
}
],
"sources": [
@@ -3120,7 +3277,7 @@
],
"type": {
"type": "reference",
- "id": 105,
+ "id": 106,
"typeArguments": [
{
"type": "reference",
@@ -3148,23 +3305,17 @@
{
"title": "References",
"kind": 16777216,
- "children": [
- 195
- ]
+ "children": [202]
},
{
"title": "Classes",
"kind": 128,
- "children": [
- 105
- ]
+ "children": [106]
},
{
"title": "Functions",
"kind": 64,
- "children": [
- 2
- ]
+ "children": [2]
}
],
"sources": [
@@ -3230,9 +3381,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 13
- ]
+ "children": [13]
}
]
}
@@ -3244,9 +3393,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [
- 11
- ]
+ "children": [11]
}
],
"sources": [
@@ -3724,11 +3871,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [
- 29,
- 15,
- 26
- ]
+ "children": [29, 15, 26]
}
],
"sources": [
@@ -3861,7 +4004,7 @@
],
"typeParameter": [
{
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -3924,6 +4067,29 @@
"name": "boolean"
}
},
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
{
"id": 71,
"name": "detectSessionInUrl",
@@ -4060,14 +4226,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
+ "children": [68, 74, 71, 73, 70, 72, 69]
}
],
"sources": [
@@ -4124,7 +4283,7 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"dereferenced": {}
}
@@ -4134,9 +4293,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -4150,7 +4307,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -4160,21 +4317,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 76,
+ "id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -4187,7 +4344,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 56,
"character": 4
}
],
@@ -4222,7 +4379,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -4235,7 +4392,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 60,
"character": 4
}
],
@@ -4261,16 +4418,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [78, 79]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 11
}
]
@@ -4278,7 +4432,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -4291,7 +4445,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 51,
"character": 2
}
],
@@ -4307,12 +4461,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
+ "children": [66, 63, 76, 75]
}
],
"sources": [
@@ -4358,7 +4507,7 @@
],
"typeParameter": [
{
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -4421,6 +4570,29 @@
"name": "boolean"
}
},
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
{
"id": 71,
"name": "detectSessionInUrl",
@@ -4557,14 +4729,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
+ "children": [68, 74, 71, 73, 70, 72, 69]
}
],
"sources": [
@@ -4621,7 +4786,7 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"dereferenced": {}
}
@@ -4631,9 +4796,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -4647,7 +4810,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -4657,21 +4820,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 76,
+ "id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -4684,7 +4847,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 56,
"character": 4
}
],
@@ -4719,7 +4882,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -4732,7 +4895,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 60,
"character": 4
}
],
@@ -4758,16 +4921,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [78, 79]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 11
}
]
@@ -4775,7 +4935,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -4788,7 +4948,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 51,
"character": 2
}
],
@@ -4804,12 +4964,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
+ "children": [66, 63, 76, 75]
}
],
"sources": [
@@ -4939,12 +5094,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [
- 50,
- 56,
- 47,
- 45
- ]
+ "children": [50, 56, 47, 45]
}
],
"sources": [
@@ -5007,7 +5157,7 @@
}
},
{
- "id": 94,
+ "id": 95,
"name": "GenericFunction",
"kind": 4194304,
"kindString": "Type alias",
@@ -5015,21 +5165,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 78,
+ "line": 82,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 95,
+ "id": 96,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 96,
+ "id": 97,
"name": "Args",
"kind": 1024,
"kindString": "Property",
@@ -5037,7 +5187,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 79,
+ "line": 83,
"character": 2
}
],
@@ -5059,7 +5209,7 @@
}
},
{
- "id": 97,
+ "id": 98,
"name": "Returns",
"kind": 1024,
"kindString": "Property",
@@ -5067,7 +5217,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 84,
"character": 2
}
],
@@ -5081,16 +5231,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 96,
- 97
- ]
+ "children": [97, 98]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 78,
+ "line": 82,
"character": 30
}
]
@@ -5098,7 +5245,7 @@
}
},
{
- "id": 90,
+ "id": 91,
"name": "GenericNonUpdatableView",
"kind": 4194304,
"kindString": "Type alias",
@@ -5106,25 +5253,418 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
+ "line": 76,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 91,
+ "id": 92,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 92,
+ "id": 93,
"name": "Row",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 77,
+ "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": [93]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 38
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 99,
+ "name": "GenericSchema",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 100,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 103,
+ "name": "Functions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 90,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 95,
+ "name": "GenericFunction"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 101,
+ "name": "Tables",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 81,
+ "name": "GenericTable"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 102,
+ "name": "Views",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 89,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 94,
+ "name": "GenericView"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [103, 101, 102]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 81,
+ "name": "GenericTable",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 82,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 84,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 83,
+ "name": "Row",
+ "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"
+ }
+ },
+ {
+ "id": 85,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [84, 83, 85]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 27
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 86,
+ "name": "GenericUpdatableView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 70,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 87,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 89,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 88,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 90,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -5154,420 +5694,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 92
- ]
+ "children": [89, 88, 90]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
- "character": 38
- }
- ]
- }
- }
- },
- {
- "id": 98,
- "name": "GenericSchema",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 99,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 102,
- "name": "Functions",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 86,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 94,
- "name": "GenericFunction"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 100,
- "name": "Tables",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 84,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 80,
- "name": "GenericTable"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 101,
- "name": "Views",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 85,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 93,
- "name": "GenericView"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 102,
- 100,
- 101
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 28
- }
- ]
- }
- }
- },
- {
- "id": 80,
- "name": "GenericTable",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 81,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 83,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 82,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 61,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 84,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 63,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 83,
- 82,
- 84
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 27
- }
- ]
- }
- }
- },
- {
- "id": 85,
- "name": "GenericUpdatableView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 86,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 88,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 68,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 87,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 67,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 89,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 69,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 88,
- 87,
- 89
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 70,
"character": 35
}
]
@@ -5575,7 +5708,7 @@
}
},
{
- "id": 93,
+ "id": 94,
"name": "GenericView",
"kind": 4194304,
"kindString": "Type alias",
@@ -5583,7 +5716,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 80,
"character": 12
}
],
@@ -5591,7 +5724,7 @@
"type": "union",
"types": [
{
- "id": 85,
+ "id": 86,
"name": "GenericUpdatableView",
"kind": 4194304,
"kindString": "Type alias",
@@ -5599,21 +5732,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 70,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 86,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 88,
+ "id": 89,
"name": "Insert",
"kind": 1024,
"kindString": "Property",
@@ -5621,7 +5754,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -5643,7 +5776,7 @@
}
},
{
- "id": 87,
+ "id": 88,
"name": "Row",
"kind": 1024,
"kindString": "Property",
@@ -5651,7 +5784,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 67,
+ "line": 71,
"character": 2
}
],
@@ -5673,85 +5806,11 @@
}
},
{
- "id": 89,
+ "id": 90,
"name": "Update",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 69,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 88,
- 87,
- 89
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 35
- }
- ]
- }
- }
- },
- {
- "id": 90,
- "name": "GenericNonUpdatableView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 91,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 92,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -5781,15 +5840,83 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 92
- ]
+ "children": [89, 88, 90]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
+ "line": 70,
+ "character": 35
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 91,
+ "name": "GenericNonUpdatableView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 92,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 93,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 77,
+ "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": [93]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
"character": 38
}
]
@@ -5814,7 +5941,7 @@
],
"typeParameter": [
{
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"kind": 131072,
"kindString": "Type parameter",
@@ -5877,6 +6004,29 @@
"name": "boolean"
}
},
+ {
+ "id": 74,
+ "name": "debug",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
{
"id": 71,
"name": "detectSessionInUrl",
@@ -6013,14 +6163,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 73,
- 70,
- 72,
- 69
- ]
+ "children": [68, 74, 71, 73, 70, 72, 69]
}
],
"sources": [
@@ -6077,7 +6220,7 @@
],
"type": {
"type": "reference",
- "id": 79,
+ "id": 80,
"name": "SchemaName",
"dereferenced": {}
}
@@ -6087,9 +6230,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -6103,7 +6244,7 @@
}
},
{
- "id": 75,
+ "id": 76,
"name": "global",
"kind": 1024,
"kindString": "Property",
@@ -6113,21 +6254,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 76,
+ "id": 77,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 77,
+ "id": 78,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -6140,7 +6281,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 52,
+ "line": 56,
"character": 4
}
],
@@ -6175,7 +6316,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -6188,7 +6329,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 60,
"character": 4
}
],
@@ -6214,16 +6355,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [78, 79]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 52,
"character": 11
}
]
@@ -6231,7 +6369,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -6244,7 +6382,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 47,
+ "line": 51,
"character": 2
}
],
@@ -6260,12 +6398,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 75,
- 74
- ]
+ "children": [66, 63, 76, 75]
}
],
"sources": [
@@ -6283,23 +6416,12 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [
- 59
- ]
+ "children": [59]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [
- 60,
- 94,
- 90,
- 98,
- 80,
- 85,
- 93,
- 61
- ]
+ "children": [60, 95, 91, 99, 81, 86, 94, 61]
}
],
"sources": [
@@ -6311,14 +6433,14 @@
]
},
{
- "id": 103,
+ "id": 104,
"name": "lib/version",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 104,
+ "id": 105,
"name": "version",
"kind": 32,
"kindString": "Variable",
@@ -6343,9 +6465,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [
- 104
- ]
+ "children": [105]
}
],
"sources": [
@@ -6361,14 +6481,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [
- 1,
- 10,
- 14,
- 44,
- 58,
- 103
- ]
+ "children": [1, 10, 14, 44, 58, 104]
}
]
-}
\ No newline at end of file
+}
diff --git a/spec/storage_v0_openapi.json b/spec/storage_v0_openapi.json
index 29f942d3b48..ddcefea4a7c 100644
--- a/spec/storage_v0_openapi.json
+++ b/spec/storage_v0_openapi.json
@@ -680,6 +680,7 @@
"name": { "type": "string" },
"bucket_id": { "type": "string" },
"owner": { "type": "string" },
+ "owner_id": { "type": "string" },
"version": { "type": "string" },
"id": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"updated_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
@@ -1090,7 +1091,7 @@
"Either the object does not exist or you do not have access to it"
]
},
- "version": { "type": "string", "examples": ["folder/cat.png"] },
+ "path": { "type": "string", "examples": ["folder/cat.png"] },
"signedURL": {
"type": ["null", "string"],
"examples": [
@@ -1227,6 +1228,7 @@
"name": { "type": "string" },
"bucket_id": { "type": "string" },
"owner": { "type": "string" },
+ "owner_id": { "type": "string" },
"version": { "type": "string" },
"id": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"updated_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
diff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.yml
index 194d64f1927..aa2337b47b5 100644
--- a/spec/supabase_js_v2.yml
+++ b/spec/supabase_js_v2.yml
@@ -77,7 +77,7 @@ functions:
```
description: |
By default the API server points to the `public` schema. You can enable other database schemas within the Dashboard.
- Go to [Settings > API > Exposed schemas](https://supabase.com/dashboard/project/_/settings/api) and add the schema which you want to expose to the API.
+ Go to [Settings > API > Exposed schemas](/dashboard/project/_/settings/api) and add the schema which you want to expose to the API.
Note: each client connection can only access a single schema, so the code above can access the `other_schema` schema but cannot access the `public` schema.
- id: custom-fetch-implementation
@@ -116,6 +116,15 @@ functions:
title: 'Overview'
notes: |
- The auth methods can be accessed via the `supabase.auth` namespace.
+ - By default, the supabase client sets `persistSession` to true and attempts to store the session in local storage. When using the supabase client in an environment that doesn't support local storage, you might notice the following warning message being logged:
+
+ > No storage option exists to persist the session, which may result in unexpected behavior when using auth.
+ If you want to set `persistSession` to true, please provide a storage option or you may set `persistSession` to false to disable this warning.
+
+ This warning message can be safely ignored if you're not using auth on the server-side. If you are using auth and you want to set `persistSession` to true, you will need to provide a custom storage implementation that follows [this interface](https://github.com/supabase/gotrue-js/blob/master/src/lib/types.ts#L1027).
+ - Any email links and one-time passwords (OTPs) sent have a default expiry of 24 hours. We have the following [rate limits](/docs/guides/platform/going-into-prod#auth-rate-limits) in place to guard against brute force attacks.
+ - The expiry of an access token can be set in the "JWT expiry limit" field in [your project's auth settings](/dashboard/project/_/settings/auth). A refresh token never expires and can only be used once.
+
examples:
- id: create-auth-client
name: Create auth client
@@ -145,13 +154,13 @@ functions:
title: 'signUp()'
$ref: '@supabase/gotrue-js.GoTrueClient.signUp'
notes: |
- - By default, the user needs to verify their email address before logging in. To turn this off, disable **Confirm email** in [your project](https://supabase.com/dashboard/project/_/auth/providers).
+ - By default, the user needs to verify their email address before logging in. To turn this off, disable **Confirm email** in [your project](/dashboard/project/_/auth/providers).
- **Confirm email** determines if users need to confirm their email address after signing up.
- If **Confirm email** is enabled, a `user` is returned but `session` is null.
- If **Confirm email** is disabled, both a `user` and a `session` are returned.
- - When the user confirms their email address, they are redirected to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url) by default. You can modify your `SITE_URL` or add additional redirect URLs in [your project](https://supabase.com/dashboard/project/_/auth/url-configuration).
+ - When the user confirms their email address, they are redirected to the [`SITE_URL`](/docs/reference/auth/config#site_url) by default. You can modify your `SITE_URL` or add additional redirect URLs in [your project](/dashboard/project/_/auth/url-configuration).
- If signUp() is called for an existing confirmed user:
- - If **Confirm email** is enabled in [your project](https://supabase.com/dashboard/project/_/auth/providers), an obfuscated/fake user object is returned.
+ - If **Confirm email** is enabled in [your project](/dashboard/project/_/auth/providers), an obfuscated/fake user object is returned.
- If **Confirm email** is disabled, the error message, `User already registered` is returned.
- To fetch the currently logged-in user, refer to [`getUser()`](/docs/reference/javascript/auth-getuser).
examples:
@@ -244,7 +253,7 @@ functions:
- If you're using phone, you can configure whether you want the user to receive a OTP.
- The magic link's destination URL is determined by the [`SITE_URL`](/docs/reference/auth/config#site_url).
- See [redirect URLs and wildcards](/docs/guides/auth#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
- - Magic links and OTPs share the same implementation. To send users a one-time code instead of a magic link, [modify the magic link email template](https://supabase.com/dashboard/project/_/auth/templates) to include `{{ .Token }}` instead of `{{ .ConfirmationURL }}`.
+ - Magic links and OTPs share the same implementation. To send users a one-time code instead of a magic link, [modify the magic link email template](/dashboard/project/_/auth/templates) to include `{{ .Token }}` instead of `{{ .ConfirmationURL }}`.
- See our [Twilio Phone Auth Guide](/docs/guides/auth/phone-login/twilio) for details about configuring WhatsApp sign in.
examples:
- id: sign-in-with-email
@@ -288,7 +297,7 @@ functions:
$ref: '@supabase/gotrue-js.GoTrueClient.signInWithOAuth'
notes: |
- This method is used for signing in using a third-party provider.
- - Supabase supports many different [third-party providers](https://supabase.com/docs/guides/auth#configure-third-party-providers).
+ - Supabase supports many different [third-party providers](/docs/guides/auth#configure-third-party-providers).
examples:
- id: sign-in-using-a-third-party-provider
name: Sign in using a third-party provider
@@ -330,6 +339,19 @@ functions:
})
const oAuthToken = data.session.provider_token // use to access provider API
```
+ - id: sign-in-with-id-token
+ title: 'signInWithIdToken'
+ $ref: '@supabase/gotrue-js.GoTrueClient.signInWithIdToken'
+ examples:
+ - id: sign-in-with-id-token
+ name: 'Sign In using ID Token'
+ code: |
+ ```js
+ const { data, error } = await supabase.auth.signInWithIdToken({
+ provider: 'google',
+ token: 'your-id-token'
+ })
+ ```
- id: sign-in-with-sso
title: 'signInWithSSO()'
$ref: '@supabase/gotrue-js.GoTrueClient.signInWithSSO'
@@ -449,8 +471,9 @@ functions:
$ref: '@supabase/gotrue-js.GoTrueClient.updateUser'
notes: |
- In order to use the `updateUser()` method, the user needs to be signed in first.
- - By Default, email updates sends a confirmation link to both the user's current and new email.
- To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](https://supabase.com/dashboard/project/_/auth/providers).
+ - By default, email updates sends a confirmation link to both the user's current and new email.
+ To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](/dashboard/project/_/auth/providers).
+
examples:
- id: update-the-email-for-an-authenticated-user
name: Update the email for an authenticated user
@@ -480,7 +503,8 @@ functions:
```
- id: update-password-with-reauthentication
name: Update the user's password with a nonce
- description: If "Secure password change" is enabled, updating the user's password would require a nonce. The nonce is sent to the user's email or phone number.
+ description: |
+ If **Secure password change** is enabled in your [project's email provider settings](/dashboard/project/_/auth/providers), updating the user's password would require a nonce if the user **hasn't recently signed in**. The nonce is sent to the user's email or phone number. A user is deemed recently signed in if the session was created in the last 24 hours.
isSpotlight: true
code: |
```js
@@ -494,6 +518,8 @@ functions:
$ref: '@supabase/gotrue-js.GoTrueClient.reauthenticate'
notes: |
- This method is used together with `updateUser()` when a user's password needs to be updated.
+ - If you require your user to reauthenticate before updating their password, you need to enable the **Secure password change** option in your [project's email provider settings](/dashboard/project/_/auth/providers).
+ - A user is only require to reauthenticate before updating their password if **Secure password change** is enabled and the user **hasn't recently signed in**. A user is deemed recently signed in if the session was created in the last 24 hours.
- This method will send a nonce to the user's email. If the user doesn't have a confirmed email address, the method will send the nonce to the user's confirmed phone number instead.
examples:
- id: send-reauthentication-nonce
@@ -561,7 +587,7 @@ functions:
- `setSession()` takes in a refresh token and uses it to get a new session.
- The refresh token can only be used once to obtain a new session.
- [Refresh token rotation](/docs/reference/auth/config#refresh_token_rotation_enabled) is enabled by default on all projects to guard against replay attacks.
- - You can configure the [`REFRESH_TOKEN_REUSE_INTERVAL`](https://supabase.com/docs/reference/auth/config#refresh_token_reuse_interval) which provides a short window in which the same refresh token can be used multiple times in the event of concurrency or offline issues.
+ - You can configure the [`REFRESH_TOKEN_REUSE_INTERVAL`](/docs/reference/auth/config#refresh_token_reuse_interval) which provides a short window in which the same refresh token can be used multiple times in the event of concurrency or offline issues.
examples:
- id: refresh-the-session
name: Refresh the session
@@ -980,7 +1006,7 @@ functions:
$ref: '@supabase/gotrue-js.GoTrueAdminApi.generateLink'
notes: |
- The following types can be passed into `generateLink()`: `signup`, `magiclink`, `invite`, `recovery`, `email_change_current`, `email_change_new`, `phone_change`.
- - `generateLink()` only generates the email link for `email_change_email` if the "Secure email change" setting is enabled under the "Email" provider in your Supabase project.
+ - `generateLink()` only generates the email link for `email_change_email` if the **Secure email change** is enabled in your project's [email auth provider settings](/dashboard/project/_/auth/providers).
- `generateLink()` handles the creation of the user for `signup`, `invite` and `magiclink`.
examples:
- id: generate-a-signup-link
@@ -1137,7 +1163,7 @@ functions:
title: 'Fetch data: select()'
$ref: '@supabase/postgrest-js.PostgrestQueryBuilder.select'
notes: |
- - By default, Supabase projects return a maximum of 1,000 rows. This setting can be changed in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use `range()` queries to paginate through your data.
+ - By default, Supabase projects return a maximum of 1,000 rows. This setting can be changed in your project's [API settings](/dashboard/project/_/settings/api). It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use `range()` queries to paginate through your data.
- `select()` can be combined with [Filters](/docs/reference/javascript/using-filters)
- `select()` can be combined with [Modifiers](/docs/reference/javascript/using-modifiers)
- `apikey` is a reserved keyword if you're using the [Supabase Platform](/docs/guides/platform) and [should be avoided as a column name](https://github.com/supabase/supabase/issues/5465).
diff --git a/spec/transforms/api_v0_openapi_deparsed.json b/spec/transforms/api_v0_openapi_deparsed.json
index 9367b39032e..c613bd6a859 100644
--- a/spec/transforms/api_v0_openapi_deparsed.json
+++ b/spec/transforms/api_v0_openapi_deparsed.json
@@ -1,6 +1,205 @@
{
"openapi": "3.0.0",
"paths": {
+ "/v1/branches/{branch_id}": {
+ "get": {
+ "operationId": "getBranchDetails",
+ "summary": "Get database branch config",
+ "description": "Fetches configurations of the specified database branch",
+ "parameters": [
+ {
+ "name": "branch_id",
+ "required": true,
+ "in": "path",
+ "description": "Branch ID",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "db_port": {
+ "type": "integer"
+ },
+ "ref": {
+ "type": "string"
+ },
+ "postgres_version": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "ACTIVE_HEALTHY",
+ "ACTIVE_UNHEALTHY",
+ "COMING_UP",
+ "GOING_DOWN",
+ "INACTIVE",
+ "INIT_FAILED",
+ "REMOVED",
+ "RESTORING",
+ "UNKNOWN",
+ "UPGRADING",
+ "PAUSING"
+ ],
+ "type": "string"
+ },
+ "db_host": {
+ "type": "string"
+ },
+ "db_user": {
+ "type": "string"
+ },
+ "db_pass": {
+ "type": "string"
+ },
+ "jwt_secret": {
+ "type": "string"
+ }
+ },
+ "required": ["db_port", "ref", "postgres_version", "status", "db_host"]
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Failed to update database branch"
+ }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ },
+ "patch": {
+ "operationId": "updateBranch",
+ "summary": "Update database branch config",
+ "description": "Updates the configuration of the specified database branch",
+ "parameters": [
+ {
+ "name": "branch_id",
+ "required": true,
+ "in": "path",
+ "description": "Branch ID",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "branch_name": {
+ "type": "string"
+ },
+ "git_branch": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "project_ref": {
+ "type": "string"
+ },
+ "parent_project_ref": {
+ "type": "string"
+ },
+ "is_default": {
+ "type": "boolean"
+ },
+ "git_branch": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "project_ref",
+ "parent_project_ref",
+ "is_default",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Failed to update database branch"
+ }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ },
+ "delete": {
+ "operationId": "deleteBranch",
+ "summary": "Delete a database branch",
+ "description": "Deletes the specified database branch",
+ "parameters": [
+ {
+ "name": "branch_id",
+ "required": true,
+ "in": "path",
+ "description": "Branch ID",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to delete database branch"
+ }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ }
+ },
"/v1/projects": {
"get": {
"operationId": "getProjects",
@@ -330,6 +529,7 @@
"/v1/oauth/authorize": {
"get": {
"operationId": "authorize",
+ "summary": "Authorize user through oauth",
"parameters": [
{
"name": "client_id",
@@ -393,13 +593,13 @@
"required": false,
"in": "query",
"schema": {
- "enum": ["plain", "sha256"],
+ "enum": ["plain", "sha256", "S256"],
"type": "string"
}
}
],
"responses": {
- "200": {
+ "303": {
"description": ""
}
},
@@ -409,836 +609,74 @@
"/v1/oauth/token": {
"post": {
"operationId": "token",
- "parameters": [
- {
- "name": "grant_type",
- "required": true,
- "in": "query",
- "schema": {
- "enum": ["authorization_code", "refresh_token"],
- "type": "string"
- }
- },
- {
- "name": "client_id",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "client_secret",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "code",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "code_verifier",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "redirect_uri",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "refresh_token",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
+ "summary": "Exchange auth code for user's access and refresh token",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/x-www-form-urlencoded": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "grant_type": {
+ "enum": ["authorization_code", "refresh_token"],
+ "type": "string"
+ },
+ "client_id": {
+ "type": "string"
+ },
+ "client_secret": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ },
+ "code_verifier": {
+ "type": "string"
+ },
+ "redirect_uri": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ }
+ },
+ "required": ["grant_type", "client_id", "client_secret"]
+ }
}
}
- ],
+ },
"responses": {
"201": {
- "description": ""
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "token_type": {
+ "type": "string",
+ "enum": ["Bearer"]
+ },
+ "access_token": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "number"
+ }
+ },
+ "required": ["token_type", "access_token", "refresh_token", "expires_in"]
+ }
+ }
+ }
}
},
"tags": ["oauth (beta)"]
}
},
- "/v1/oauth/authorizations/{id}": {
- "get": {
- "operationId": "getAuthorizationRequest",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": ""
- }
- },
- "tags": ["oauth (beta)"],
- "security": [
- {
- "bearer": []
- }
- ]
- },
- "post": {
- "operationId": "approveAuthorizationRequest",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "organization_id": {
- "type": "string"
- }
- },
- "required": ["organization_id"]
- }
- }
- }
- },
- "responses": {
- "201": {
- "description": ""
- }
- },
- "tags": ["oauth (beta)"],
- "security": [
- {
- "bearer": []
- }
- ]
- },
- "delete": {
- "operationId": "declineAuthorizationRequest",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": ""
- }
- },
- "tags": ["oauth (beta)"],
- "security": [
- {
- "bearer": []
- }
- ]
- }
- },
- "/v1/projects/{ref}/functions": {
- "post": {
- "operationId": "createFunction",
- "summary": "Create a function",
- "description": "Creates a function and adds it to the specified project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": {
- "minLength": 20,
- "maxLength": 20,
- "type": "string"
- }
- },
- {
- "name": "slug",
- "required": false,
- "in": "query",
- "schema": {
- "pattern": "/^[A-Za-z0-9_-]+$/",
- "type": "string"
- }
- },
- {
- "name": "name",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "verify_jwt",
- "required": false,
- "in": "query",
- "schema": {
- "type": "boolean"
- }
- },
- {
- "name": "import_map",
- "required": false,
- "in": "query",
- "schema": {
- "type": "boolean"
- }
- },
- {
- "name": "entrypoint_path",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "import_map_path",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "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"]
- }
- },
- "application/vnd.denoland.eszip": {
- "schema": {
- "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"]
- }
- }
- }
- },
- "responses": {
- "201": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "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"
- },
- "import_map": {
- "type": "boolean"
- },
- "entrypoint_path": {
- "type": "string"
- },
- "import_map_path": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "slug",
- "name",
- "status",
- "version",
- "created_at",
- "updated_at"
- ]
- }
- }
- }
- },
- "403": {
- "description": ""
- },
- "500": {
- "description": "Failed to create project's function"
- }
- },
- "tags": ["functions"],
- "security": [
- {
- "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": {
- "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"
- },
- "import_map": {
- "type": "boolean"
- },
- "entrypoint_path": {
- "type": "string"
- },
- "import_map_path": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "slug",
- "name",
- "status",
- "version",
- "created_at",
- "updated_at"
- ]
- }
- }
- }
- }
- },
- "403": {
- "description": ""
- },
- "500": {
- "description": "Failed to retrieve project's functions"
- }
- },
- "tags": ["functions"],
- "security": [
- {
- "apiKeyHeader": [],
- "apiKeyParam": []
- },
- {
- "bearer": []
- }
- ]
- }
- },
- "/v1/projects/{ref}/functions/{function_slug}": {
- "get": {
- "operationId": "getFunction",
- "summary": "Retrieve a function",
- "description": "Retrieves a function with the specified slug and project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": {
- "minLength": 20,
- "maxLength": 20,
- "type": "string"
- }
- },
- {
- "name": "function_slug",
- "required": true,
- "in": "path",
- "description": "Function slug",
- "schema": {
- "pattern": "/^[A-Za-z0-9_-]+$/",
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "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"
- },
- "import_map": {
- "type": "boolean"
- },
- "entrypoint_path": {
- "type": "string"
- },
- "import_map_path": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "slug",
- "name",
- "status",
- "version",
- "created_at",
- "updated_at"
- ]
- }
- }
- }
- },
- "403": {
- "description": ""
- },
- "500": {
- "description": "Failed to retrieve function with given slug"
- }
- },
- "tags": ["functions"],
- "security": [
- {
- "apiKeyHeader": [],
- "apiKeyParam": []
- },
- {
- "bearer": []
- }
- ]
- },
- "patch": {
- "operationId": "updateFunction",
- "summary": "Update a function",
- "description": "Updates a function with the specified slug and project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": {
- "minLength": 20,
- "maxLength": 20,
- "type": "string"
- }
- },
- {
- "name": "function_slug",
- "required": true,
- "in": "path",
- "description": "Function slug",
- "schema": {
- "pattern": "/^[A-Za-z0-9_-]+$/",
- "type": "string"
- }
- },
- {
- "name": "slug",
- "required": false,
- "in": "query",
- "schema": {
- "pattern": "/^[A-Za-z0-9_-]+$/",
- "type": "string"
- }
- },
- {
- "name": "name",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "verify_jwt",
- "required": false,
- "in": "query",
- "schema": {
- "type": "boolean"
- }
- },
- {
- "name": "import_map",
- "required": false,
- "in": "query",
- "schema": {
- "type": "boolean"
- }
- },
- {
- "name": "entrypoint_path",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "import_map_path",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "body": {
- "type": "string"
- },
- "verify_jwt": {
- "type": "boolean"
- }
- }
- }
- },
- "application/vnd.denoland.eszip": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "body": {
- "type": "string"
- },
- "verify_jwt": {
- "type": "boolean"
- }
- }
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "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"
- },
- "import_map": {
- "type": "boolean"
- },
- "entrypoint_path": {
- "type": "string"
- },
- "import_map_path": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "slug",
- "name",
- "status",
- "version",
- "created_at",
- "updated_at"
- ]
- }
- }
- }
- },
- "403": {
- "description": ""
- },
- "500": {
- "description": "Failed to update function with given slug"
- }
- },
- "tags": ["functions"],
- "security": [
- {
- "apiKeyHeader": [],
- "apiKeyParam": []
- },
- {
- "bearer": []
- }
- ]
- },
- "delete": {
- "operationId": "deleteFunction",
- "summary": "Delete a function",
- "description": "Deletes a function with the specified slug from the specified project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": {
- "minLength": 20,
- "maxLength": 20,
- "type": "string"
- }
- },
- {
- "name": "function_slug",
- "required": true,
- "in": "path",
- "description": "Function slug",
- "schema": {
- "pattern": "/^[A-Za-z0-9_-]+$/",
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": ""
- },
- "403": {
- "description": ""
- },
- "500": {
- "description": "Failed to delete function with given slug"
- }
- },
- "tags": ["functions"],
- "security": [
- {
- "apiKeyHeader": [],
- "apiKeyParam": []
- },
- {
- "bearer": []
- }
- ]
- }
- },
- "/v1/projects/{ref}/functions/{function_slug}/body": {
- "get": {
- "operationId": "getFunctionBody",
- "summary": "Retrieve a function body",
- "description": "Retrieves a function body for the specified slug and project.",
- "parameters": [
- {
- "name": "ref",
- "required": true,
- "in": "path",
- "description": "Project ref",
- "schema": {
- "minLength": 20,
- "maxLength": 20,
- "type": "string"
- }
- },
- {
- "name": "function_slug",
- "required": true,
- "in": "path",
- "description": "Function slug",
- "schema": {
- "pattern": "/^[A-Za-z0-9_-]+$/",
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": ""
- },
- "403": {
- "description": ""
- },
- "500": {
- "description": "Failed to retrieve function body with given slug"
- }
- },
- "tags": ["functions"],
- "security": [
- {
- "apiKeyHeader": [],
- "apiKeyParam": []
- },
- {
- "bearer": []
- }
- ]
- }
- },
"/v1/projects/{ref}/api-keys": {
"get": {
"operationId": "getProjectApiKeys",
@@ -1290,6 +728,213 @@
]
}
},
+ "/v1/projects/{ref}/branches": {
+ "get": {
+ "operationId": "getBranches",
+ "summary": "List all database branches",
+ "description": "Returns all database branches of 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": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "project_ref": {
+ "type": "string"
+ },
+ "parent_project_ref": {
+ "type": "string"
+ },
+ "is_default": {
+ "type": "boolean"
+ },
+ "git_branch": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "project_ref",
+ "parent_project_ref",
+ "is_default",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Failed to retrieve database branches"
+ }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ },
+ "post": {
+ "operationId": "createBranch",
+ "summary": "Create a database branch",
+ "description": "Creates a database branch from the specified project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": {
+ "minLength": 20,
+ "maxLength": 20,
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "branch_name": {
+ "type": "string"
+ },
+ "git_branch": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ }
+ },
+ "required": ["branch_name"]
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "project_ref": {
+ "type": "string"
+ },
+ "parent_project_ref": {
+ "type": "string"
+ },
+ "is_default": {
+ "type": "boolean"
+ },
+ "git_branch": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "project_ref",
+ "parent_project_ref",
+ "is_default",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Failed to create database branch"
+ }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ },
+ "delete": {
+ "operationId": "disableBranch",
+ "summary": "Disables preview branching",
+ "description": "Disables preview branching for the specified project",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": {
+ "minLength": 20,
+ "maxLength": 20,
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to disable preview branching"
+ }
+ },
+ "tags": ["database branches (beta)"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ }
+ },
"/v1/projects/{ref}/custom-hostname": {
"get": {
"operationId": "getCustomHostnameConfig",
@@ -2522,8 +2167,8 @@
"type": "object",
"properties": {
"status": {
- "type": "string",
- "enum": ["not-used", "custom-domain-used", "active"]
+ "enum": ["not-used", "custom-domain-used", "active"],
+ "type": "string"
},
"custom_domain": {
"type": "string"
@@ -3057,19 +2702,13 @@
"type": "object",
"properties": {
"statement_timeout": {
- "type": "integer",
- "minimum": 0,
- "maximum": 2147483647
+ "type": "string"
},
"effective_cache_size": {
- "type": "integer",
- "minimum": 1,
- "maximum": 2147483647
+ "type": "string"
},
"maintenance_work_mem": {
- "type": "integer",
- "minimum": 1024,
- "maximum": 2147483647
+ "type": "string"
},
"max_connections": {
"type": "integer",
@@ -3097,33 +2736,16 @@
"maximum": 262143
},
"shared_buffers": {
- "type": "integer",
- "minimum": 16,
- "maximum": 1073741823
+ "type": "string"
},
"work_mem": {
- "type": "integer",
- "minimum": 64,
- "maximum": 2147483647
+ "type": "string"
},
"session_replication_role": {
"enum": ["origin", "replica", "local"],
"type": "string"
}
- },
- "required": [
- "statement_timeout",
- "effective_cache_size",
- "maintenance_work_mem",
- "max_connections",
- "max_parallel_maintenance_workers",
- "max_parallel_workers",
- "max_parallel_workers_per_gather",
- "max_worker_processes",
- "shared_buffers",
- "work_mem",
- "session_replication_role"
- ]
+ }
}
}
}
@@ -3166,19 +2788,13 @@
"type": "object",
"properties": {
"statement_timeout": {
- "type": "integer",
- "minimum": 0,
- "maximum": 2147483647
+ "type": "string"
},
"effective_cache_size": {
- "type": "integer",
- "minimum": 1,
- "maximum": 2147483647
+ "type": "string"
},
"maintenance_work_mem": {
- "type": "integer",
- "minimum": 1024,
- "maximum": 2147483647
+ "type": "string"
},
"max_connections": {
"type": "integer",
@@ -3206,33 +2822,16 @@
"maximum": 262143
},
"shared_buffers": {
- "type": "integer",
- "minimum": 16,
- "maximum": 1073741823
+ "type": "string"
},
"work_mem": {
- "type": "integer",
- "minimum": 64,
- "maximum": 2147483647
+ "type": "string"
},
"session_replication_role": {
"enum": ["origin", "replica", "local"],
"type": "string"
}
- },
- "required": [
- "statement_timeout",
- "effective_cache_size",
- "maintenance_work_mem",
- "max_connections",
- "max_parallel_maintenance_workers",
- "max_parallel_workers",
- "max_parallel_workers_per_gather",
- "max_worker_processes",
- "shared_buffers",
- "work_mem",
- "session_replication_role"
- ]
+ }
}
}
}
@@ -3246,19 +2845,13 @@
"type": "object",
"properties": {
"statement_timeout": {
- "type": "integer",
- "minimum": 0,
- "maximum": 2147483647
+ "type": "string"
},
"effective_cache_size": {
- "type": "integer",
- "minimum": 1,
- "maximum": 2147483647
+ "type": "string"
},
"maintenance_work_mem": {
- "type": "integer",
- "minimum": 1024,
- "maximum": 2147483647
+ "type": "string"
},
"max_connections": {
"type": "integer",
@@ -3286,33 +2879,16 @@
"maximum": 262143
},
"shared_buffers": {
- "type": "integer",
- "minimum": 16,
- "maximum": 1073741823
+ "type": "string"
},
"work_mem": {
- "type": "integer",
- "minimum": 64,
- "maximum": 2147483647
+ "type": "string"
},
"session_replication_role": {
"enum": ["origin", "replica", "local"],
"type": "string"
}
- },
- "required": [
- "statement_timeout",
- "effective_cache_size",
- "maintenance_work_mem",
- "max_connections",
- "max_parallel_maintenance_workers",
- "max_parallel_workers",
- "max_parallel_workers_per_gather",
- "max_worker_processes",
- "shared_buffers",
- "work_mem",
- "session_replication_role"
- ]
+ }
}
}
}
@@ -3387,6 +2963,9 @@
"pgbouncer_enabled": {
"type": "boolean"
},
+ "supavisor_enabled": {
+ "type": "boolean"
+ },
"pgbouncer_status": {
"enum": ["COMING_DOWN", "COMING_UP", "DISABLED", "ENABLED", "RELOADING"],
"type": "string"
@@ -3398,6 +2977,9 @@
"max_client_conn": {
"type": "number",
"nullable": true
+ },
+ "connectionString": {
+ "type": "string"
}
},
"required": [
@@ -3407,12 +2989,13 @@
"db_port",
"db_ssl",
"db_user",
- "default_pool_size",
"ignore_startup_parameters",
"inserted_at",
"pgbouncer_enabled",
+ "supavisor_enabled",
"pgbouncer_status",
- "pool_mode"
+ "pool_mode",
+ "connectionString"
]
}
}
@@ -3424,9 +3007,6 @@
},
"tags": ["projects config"],
"security": [
- {
- "bearer": []
- },
{
"bearer": []
}
@@ -3458,7 +3038,7 @@
"default_pool_size": {
"type": "integer",
"minimum": 0,
- "maximum": 65535
+ "maximum": 1000
},
"max_client_conn": {
"type": "integer",
@@ -3477,12 +3057,7 @@
"type": "string"
}
},
- "required": [
- "default_pool_size",
- "ignore_startup_parameters",
- "pgbouncer_enabled",
- "pool_mode"
- ]
+ "required": ["ignore_startup_parameters", "pgbouncer_enabled", "pool_mode"]
}
}
}
@@ -3498,7 +3073,7 @@
"default_pool_size": {
"type": "integer",
"minimum": 0,
- "maximum": 65535
+ "maximum": 1000
},
"max_client_conn": {
"type": "integer",
@@ -3522,7 +3097,6 @@
}
},
"required": [
- "default_pool_size",
"ignore_startup_parameters",
"pgbouncer_enabled",
"pool_mode",
@@ -3543,6 +3117,949 @@
"security": [
{
"bearer": []
+ }
+ ]
+ }
+ },
+ "/v1/projects/{ref}/config/auth": {
+ "get": {
+ "operationId": "getV1AuthConfig",
+ "summary": "Gets project's auth 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",
+ "properties": {
+ "smtp_admin_email": {
+ "type": "string"
+ },
+ "smtp_host": {
+ "type": "string"
+ },
+ "smtp_port": {
+ "type": "string"
+ },
+ "smtp_user": {
+ "type": "string"
+ },
+ "smtp_pass": {
+ "type": "string"
+ },
+ "smtp_max_frequency": {
+ "type": "number"
+ },
+ "smtp_sender_name": {
+ "type": "string"
+ },
+ "rate_limit_email_sent": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 2147483647
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to retrieve project's auth config"
+ }
+ },
+ "tags": ["projects config"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ },
+ "patch": {
+ "operationId": "updateV1AuthConfig",
+ "summary": "Updates a project's auth config",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": {
+ "minLength": 20,
+ "maxLength": 20,
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "smtp_admin_email": {
+ "type": "string"
+ },
+ "smtp_host": {
+ "type": "string"
+ },
+ "smtp_port": {
+ "type": "string"
+ },
+ "smtp_user": {
+ "type": "string"
+ },
+ "smtp_pass": {
+ "type": "string"
+ },
+ "smtp_max_frequency": {
+ "type": "number"
+ },
+ "smtp_sender_name": {
+ "type": "string"
+ },
+ "rate_limit_email_sent": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 2147483647
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "smtp_admin_email": {
+ "type": "string"
+ },
+ "smtp_host": {
+ "type": "string"
+ },
+ "smtp_port": {
+ "type": "string"
+ },
+ "smtp_user": {
+ "type": "string"
+ },
+ "smtp_pass": {
+ "type": "string"
+ },
+ "smtp_max_frequency": {
+ "type": "number"
+ },
+ "smtp_sender_name": {
+ "type": "string"
+ },
+ "rate_limit_email_sent": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 2147483647
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to update project's auth config"
+ }
+ },
+ "tags": ["projects config"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ }
+ },
+ "/v1/projects/{ref}/database/query": {
+ "post": {
+ "operationId": "v1RunQuery",
+ "summary": "Run sql query",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": {
+ "minLength": 20,
+ "maxLength": 20,
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "query": {
+ "type": "string"
+ }
+ },
+ "required": ["query"]
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to run sql query"
+ }
+ },
+ "tags": ["projects (beta)"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ }
+ },
+ "/v1/projects/{ref}/database/webhooks/enable": {
+ "post": {
+ "operationId": "v1EnableDatabaseWebhooks",
+ "summary": "Enables Database Webhooks on the project",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": {
+ "minLength": 20,
+ "maxLength": 20,
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": ""
+ },
+ "403": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to enable Database Webhooks on the project"
+ }
+ },
+ "tags": ["projects (beta)"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ }
+ },
+ "/v1/projects/{ref}/functions": {
+ "post": {
+ "operationId": "createFunction",
+ "summary": "Create a function",
+ "description": "Creates a function and adds it to the specified project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": {
+ "minLength": 20,
+ "maxLength": 20,
+ "type": "string"
+ }
+ },
+ {
+ "name": "slug",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "pattern": "/^[A-Za-z0-9_-]+$/",
+ "type": "string"
+ }
+ },
+ {
+ "name": "name",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "verify_jwt",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "boolean"
+ }
+ },
+ {
+ "name": "import_map",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "boolean"
+ }
+ },
+ {
+ "name": "entrypoint_path",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "import_map_path",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "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"]
+ }
+ },
+ "application/vnd.denoland.eszip": {
+ "schema": {
+ "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"]
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "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"
+ },
+ "import_map": {
+ "type": "boolean"
+ },
+ "entrypoint_path": {
+ "type": "string"
+ },
+ "import_map_path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "name",
+ "status",
+ "version",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ }
+ }
+ },
+ "403": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to create project's function"
+ }
+ },
+ "tags": ["functions"],
+ "security": [
+ {
+ "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": {
+ "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"
+ },
+ "import_map": {
+ "type": "boolean"
+ },
+ "entrypoint_path": {
+ "type": "string"
+ },
+ "import_map_path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "name",
+ "status",
+ "version",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to retrieve project's functions"
+ }
+ },
+ "tags": ["functions"],
+ "security": [
+ {
+ "apiKeyHeader": [],
+ "apiKeyParam": []
+ },
+ {
+ "bearer": []
+ }
+ ]
+ }
+ },
+ "/v1/projects/{ref}/functions/{function_slug}": {
+ "get": {
+ "operationId": "getFunction",
+ "summary": "Retrieve a function",
+ "description": "Retrieves a function with the specified slug and project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": {
+ "minLength": 20,
+ "maxLength": 20,
+ "type": "string"
+ }
+ },
+ {
+ "name": "function_slug",
+ "required": true,
+ "in": "path",
+ "description": "Function slug",
+ "schema": {
+ "pattern": "/^[A-Za-z0-9_-]+$/",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "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"
+ },
+ "import_map": {
+ "type": "boolean"
+ },
+ "entrypoint_path": {
+ "type": "string"
+ },
+ "import_map_path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "name",
+ "status",
+ "version",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ }
+ }
+ },
+ "403": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to retrieve function with given slug"
+ }
+ },
+ "tags": ["functions"],
+ "security": [
+ {
+ "apiKeyHeader": [],
+ "apiKeyParam": []
+ },
+ {
+ "bearer": []
+ }
+ ]
+ },
+ "patch": {
+ "operationId": "updateFunction",
+ "summary": "Update a function",
+ "description": "Updates a function with the specified slug and project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": {
+ "minLength": 20,
+ "maxLength": 20,
+ "type": "string"
+ }
+ },
+ {
+ "name": "function_slug",
+ "required": true,
+ "in": "path",
+ "description": "Function slug",
+ "schema": {
+ "pattern": "/^[A-Za-z0-9_-]+$/",
+ "type": "string"
+ }
+ },
+ {
+ "name": "slug",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "pattern": "/^[A-Za-z0-9_-]+$/",
+ "type": "string"
+ }
+ },
+ {
+ "name": "name",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "verify_jwt",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "boolean"
+ }
+ },
+ {
+ "name": "import_map",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "boolean"
+ }
+ },
+ {
+ "name": "entrypoint_path",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "import_map_path",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "body": {
+ "type": "string"
+ },
+ "verify_jwt": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "application/vnd.denoland.eszip": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "body": {
+ "type": "string"
+ },
+ "verify_jwt": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "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"
+ },
+ "import_map": {
+ "type": "boolean"
+ },
+ "entrypoint_path": {
+ "type": "string"
+ },
+ "import_map_path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "name",
+ "status",
+ "version",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ }
+ }
+ },
+ "403": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to update function with given slug"
+ }
+ },
+ "tags": ["functions"],
+ "security": [
+ {
+ "apiKeyHeader": [],
+ "apiKeyParam": []
+ },
+ {
+ "bearer": []
+ }
+ ]
+ },
+ "delete": {
+ "operationId": "deleteFunction",
+ "summary": "Delete a function",
+ "description": "Deletes a function with the specified slug from the specified project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": {
+ "minLength": 20,
+ "maxLength": 20,
+ "type": "string"
+ }
+ },
+ {
+ "name": "function_slug",
+ "required": true,
+ "in": "path",
+ "description": "Function slug",
+ "schema": {
+ "pattern": "/^[A-Za-z0-9_-]+$/",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": ""
+ },
+ "403": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to delete function with given slug"
+ }
+ },
+ "tags": ["functions"],
+ "security": [
+ {
+ "apiKeyHeader": [],
+ "apiKeyParam": []
+ },
+ {
+ "bearer": []
+ }
+ ]
+ }
+ },
+ "/v1/projects/{ref}/functions/{function_slug}/body": {
+ "get": {
+ "operationId": "getFunctionBody",
+ "summary": "Retrieve a function body",
+ "description": "Retrieves a function body for the specified slug and project.",
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "description": "Project ref",
+ "schema": {
+ "minLength": 20,
+ "maxLength": 20,
+ "type": "string"
+ }
+ },
+ {
+ "name": "function_slug",
+ "required": true,
+ "in": "path",
+ "description": "Function slug",
+ "schema": {
+ "pattern": "/^[A-Za-z0-9_-]+$/",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": ""
+ },
+ "403": {
+ "description": ""
+ },
+ "500": {
+ "description": "Failed to retrieve function body with given slug"
+ }
+ },
+ "tags": ["functions"],
+ "security": [
+ {
+ "apiKeyHeader": [],
+ "apiKeyParam": []
},
{
"bearer": []
@@ -4401,6 +4918,98 @@
}
},
"schemas": {
+ "BranchDetailResponse": {
+ "type": "object",
+ "properties": {
+ "db_port": {
+ "type": "integer"
+ },
+ "ref": {
+ "type": "string"
+ },
+ "postgres_version": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "ACTIVE_HEALTHY",
+ "ACTIVE_UNHEALTHY",
+ "COMING_UP",
+ "GOING_DOWN",
+ "INACTIVE",
+ "INIT_FAILED",
+ "REMOVED",
+ "RESTORING",
+ "UNKNOWN",
+ "UPGRADING",
+ "PAUSING"
+ ],
+ "type": "string"
+ },
+ "db_host": {
+ "type": "string"
+ },
+ "db_user": {
+ "type": "string"
+ },
+ "db_pass": {
+ "type": "string"
+ },
+ "jwt_secret": {
+ "type": "string"
+ }
+ },
+ "required": ["db_port", "ref", "postgres_version", "status", "db_host"]
+ },
+ "UpdateBranchBody": {
+ "type": "object",
+ "properties": {
+ "branch_name": {
+ "type": "string"
+ },
+ "git_branch": {
+ "type": "string"
+ }
+ }
+ },
+ "BranchResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "project_ref": {
+ "type": "string"
+ },
+ "parent_project_ref": {
+ "type": "string"
+ },
+ "is_default": {
+ "type": "boolean"
+ },
+ "git_branch": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "project_ref",
+ "parent_project_ref",
+ "is_default",
+ "created_at",
+ "updated_at"
+ ]
+ },
"DatabaseResponse": {
"type": "object",
"properties": {
@@ -4526,127 +5135,52 @@
},
"required": ["name"]
},
- "AuthorizationsApproveBody": {
+ "OAuthTokenBody": {
"type": "object",
"properties": {
- "organization_id": {
+ "grant_type": {
+ "enum": ["authorization_code", "refresh_token"],
+ "type": "string"
+ },
+ "client_id": {
+ "type": "string"
+ },
+ "client_secret": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ },
+ "code_verifier": {
+ "type": "string"
+ },
+ "redirect_uri": {
+ "type": "string"
+ },
+ "refresh_token": {
"type": "string"
}
},
- "required": ["organization_id"]
+ "required": ["grant_type", "client_id", "client_secret"]
},
- "CreateFunctionBody": {
+ "OAuthTokenResponse": {
"type": "object",
"properties": {
- "slug": {
+ "token_type": {
"type": "string",
- "pattern": "/^[A-Za-z0-9_-]+$/"
+ "enum": ["Bearer"]
},
- "name": {
+ "access_token": {
"type": "string"
},
- "body": {
+ "refresh_token": {
"type": "string"
},
- "verify_jwt": {
- "type": "boolean"
+ "expires_in": {
+ "type": "number"
}
},
- "required": ["slug", "name", "body"]
- },
- "FunctionResponse": {
- "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"
- },
- "import_map": {
- "type": "boolean"
- },
- "entrypoint_path": {
- "type": "string"
- },
- "import_map_path": {
- "type": "string"
- }
- },
- "required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"]
- },
- "FunctionSlugResponse": {
- "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"
- },
- "import_map": {
- "type": "boolean"
- },
- "entrypoint_path": {
- "type": "string"
- },
- "import_map_path": {
- "type": "string"
- }
- },
- "required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"]
- },
- "UpdateFunctionBody": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "body": {
- "type": "string"
- },
- "verify_jwt": {
- "type": "boolean"
- }
- }
+ "required": ["token_type", "access_token", "refresh_token", "expires_in"]
},
"ApiKeyResponse": {
"type": "object",
@@ -4660,6 +5194,21 @@
},
"required": ["name", "api_key"]
},
+ "CreateBranchBody": {
+ "type": "object",
+ "properties": {
+ "branch_name": {
+ "type": "string"
+ },
+ "git_branch": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ }
+ },
+ "required": ["branch_name"]
+ },
"UpdateCustomHostnameResponse": {
"type": "object",
"properties": {
@@ -4912,8 +5461,8 @@
"type": "object",
"properties": {
"status": {
- "type": "string",
- "enum": ["not-used", "custom-domain-used", "active"]
+ "enum": ["not-used", "custom-domain-used", "active"],
+ "type": "string"
},
"custom_domain": {
"type": "string"
@@ -5132,19 +5681,13 @@
"type": "object",
"properties": {
"statement_timeout": {
- "type": "integer",
- "minimum": 0,
- "maximum": 2147483647
+ "type": "string"
},
"effective_cache_size": {
- "type": "integer",
- "minimum": 1,
- "maximum": 2147483647
+ "type": "string"
},
"maintenance_work_mem": {
- "type": "integer",
- "minimum": 1024,
- "maximum": 2147483647
+ "type": "string"
},
"max_connections": {
"type": "integer",
@@ -5172,51 +5715,28 @@
"maximum": 262143
},
"shared_buffers": {
- "type": "integer",
- "minimum": 16,
- "maximum": 1073741823
+ "type": "string"
},
"work_mem": {
- "type": "integer",
- "minimum": 64,
- "maximum": 2147483647
+ "type": "string"
},
"session_replication_role": {
"enum": ["origin", "replica", "local"],
"type": "string"
}
- },
- "required": [
- "statement_timeout",
- "effective_cache_size",
- "maintenance_work_mem",
- "max_connections",
- "max_parallel_maintenance_workers",
- "max_parallel_workers",
- "max_parallel_workers_per_gather",
- "max_worker_processes",
- "shared_buffers",
- "work_mem",
- "session_replication_role"
- ]
+ }
},
"UpdatePostgresConfigBody": {
"type": "object",
"properties": {
"statement_timeout": {
- "type": "integer",
- "minimum": 0,
- "maximum": 2147483647
+ "type": "string"
},
"effective_cache_size": {
- "type": "integer",
- "minimum": 1,
- "maximum": 2147483647
+ "type": "string"
},
"maintenance_work_mem": {
- "type": "integer",
- "minimum": 1024,
- "maximum": 2147483647
+ "type": "string"
},
"max_connections": {
"type": "integer",
@@ -5244,33 +5764,16 @@
"maximum": 262143
},
"shared_buffers": {
- "type": "integer",
- "minimum": 16,
- "maximum": 1073741823
+ "type": "string"
},
"work_mem": {
- "type": "integer",
- "minimum": 64,
- "maximum": 2147483647
+ "type": "string"
},
"session_replication_role": {
"enum": ["origin", "replica", "local"],
"type": "string"
}
- },
- "required": [
- "statement_timeout",
- "effective_cache_size",
- "maintenance_work_mem",
- "max_connections",
- "max_parallel_maintenance_workers",
- "max_parallel_workers",
- "max_parallel_workers_per_gather",
- "max_worker_processes",
- "shared_buffers",
- "work_mem",
- "session_replication_role"
- ]
+ }
},
"ProjectPgBouncerConfig": {
"type": "object",
@@ -5305,6 +5808,9 @@
"pgbouncer_enabled": {
"type": "boolean"
},
+ "supavisor_enabled": {
+ "type": "boolean"
+ },
"pgbouncer_status": {
"enum": ["COMING_DOWN", "COMING_UP", "DISABLED", "ENABLED", "RELOADING"],
"type": "string"
@@ -5316,6 +5822,9 @@
"max_client_conn": {
"type": "number",
"nullable": true
+ },
+ "connectionString": {
+ "type": "string"
}
},
"required": [
@@ -5325,12 +5834,13 @@
"db_port",
"db_ssl",
"db_user",
- "default_pool_size",
"ignore_startup_parameters",
"inserted_at",
"pgbouncer_enabled",
+ "supavisor_enabled",
"pgbouncer_status",
- "pool_mode"
+ "pool_mode",
+ "connectionString"
]
},
"UpdatePgbouncerConfigBody": {
@@ -5339,7 +5849,7 @@
"default_pool_size": {
"type": "integer",
"minimum": 0,
- "maximum": 65535
+ "maximum": 1000
},
"max_client_conn": {
"type": "integer",
@@ -5358,12 +5868,7 @@
"type": "string"
}
},
- "required": [
- "default_pool_size",
- "ignore_startup_parameters",
- "pgbouncer_enabled",
- "pool_mode"
- ]
+ "required": ["ignore_startup_parameters", "pgbouncer_enabled", "pool_mode"]
},
"UpdatePoolingConfigResponse": {
"type": "object",
@@ -5371,7 +5876,7 @@
"default_pool_size": {
"type": "integer",
"minimum": 0,
- "maximum": 65535
+ "maximum": 1000
},
"max_client_conn": {
"type": "integer",
@@ -5395,13 +5900,196 @@
}
},
"required": [
- "default_pool_size",
"ignore_startup_parameters",
"pgbouncer_enabled",
"pool_mode",
"pgbouncer_status"
]
},
+ "AuthConfigResponse": {
+ "type": "object",
+ "properties": {
+ "smtp_admin_email": {
+ "type": "string"
+ },
+ "smtp_host": {
+ "type": "string"
+ },
+ "smtp_port": {
+ "type": "string"
+ },
+ "smtp_user": {
+ "type": "string"
+ },
+ "smtp_pass": {
+ "type": "string"
+ },
+ "smtp_max_frequency": {
+ "type": "number"
+ },
+ "smtp_sender_name": {
+ "type": "string"
+ },
+ "rate_limit_email_sent": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 2147483647
+ }
+ }
+ },
+ "UpdateAuthConfigBody": {
+ "type": "object",
+ "properties": {
+ "smtp_admin_email": {
+ "type": "string"
+ },
+ "smtp_host": {
+ "type": "string"
+ },
+ "smtp_port": {
+ "type": "string"
+ },
+ "smtp_user": {
+ "type": "string"
+ },
+ "smtp_pass": {
+ "type": "string"
+ },
+ "smtp_max_frequency": {
+ "type": "number"
+ },
+ "smtp_sender_name": {
+ "type": "string"
+ },
+ "rate_limit_email_sent": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 2147483647
+ }
+ }
+ },
+ "RunQueryBody": {
+ "type": "object",
+ "properties": {
+ "query": {
+ "type": "string"
+ }
+ },
+ "required": ["query"]
+ },
+ "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": {
+ "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"
+ },
+ "import_map": {
+ "type": "boolean"
+ },
+ "entrypoint_path": {
+ "type": "string"
+ },
+ "import_map_path": {
+ "type": "string"
+ }
+ },
+ "required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"]
+ },
+ "FunctionSlugResponse": {
+ "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"
+ },
+ "import_map": {
+ "type": "boolean"
+ },
+ "entrypoint_path": {
+ "type": "string"
+ },
+ "import_map_path": {
+ "type": "string"
+ }
+ },
+ "required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"]
+ },
+ "UpdateFunctionBody": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "body": {
+ "type": "string"
+ },
+ "verify_jwt": {
+ "type": "boolean"
+ }
+ }
+ },
"AttributeValue": {
"type": "object",
"properties": {
diff --git a/spec/transforms/storage_v0_openapi_deparsed.json b/spec/transforms/storage_v0_openapi_deparsed.json
index 8a66b11d97c..ac66694a702 100644
--- a/spec/transforms/storage_v0_openapi_deparsed.json
+++ b/spec/transforms/storage_v0_openapi_deparsed.json
@@ -1027,6 +1027,9 @@
"owner": {
"type": "string"
},
+ "owner_id": {
+ "type": "string"
+ },
"version": {
"type": "string"
},
@@ -1665,7 +1668,7 @@
"Either the object does not exist or you do not have access to it"
]
},
- "version": {
+ "path": {
"type": "string",
"examples": ["folder/cat.png"]
},
@@ -1882,6 +1885,9 @@
"owner": {
"type": "string"
},
+ "owner_id": {
+ "type": "string"
+ },
"version": {
"type": "string"
},
diff --git a/studio/components/interfaces/Auth/AutoSchemaForm.tsx b/studio/components/interfaces/Auth/AutoSchemaForm.tsx
index 72722a74e46..8bbd47d473c 100644
--- a/studio/components/interfaces/Auth/AutoSchemaForm.tsx
+++ b/studio/components/interfaces/Auth/AutoSchemaForm.tsx
@@ -139,7 +139,7 @@ const AutoSchemaForm = observer(() => {
id="JWT_EXP"
size="small"
label="JWT expiry limit"
- descriptionText="How long tokens are valid for. Defaults to 3600 (1 hour), maximum 604,800 seconds (one week)."
+ descriptionText="How long access tokens are valid for. Defaults to 3600 (1 hour), maximum 604,800 seconds (one week). Refresh tokens are one-time use and never expire."
actions={seconds }
disabled={!canUpdateConfig}
/>
diff --git a/studio/components/interfaces/Auth/SiteUrl/SiteUrl.tsx b/studio/components/interfaces/Auth/SiteUrl/SiteUrl.tsx
index b19659bb96c..0a7e00c94ea 100644
--- a/studio/components/interfaces/Auth/SiteUrl/SiteUrl.tsx
+++ b/studio/components/interfaces/Auth/SiteUrl/SiteUrl.tsx
@@ -85,7 +85,7 @@ const SiteUrl = observer(() => {
<>
{
>
-
+
diff --git a/studio/components/interfaces/BillingV2/Invoices.tsx b/studio/components/interfaces/BillingV2/Invoices.tsx
index 38a7737a1fa..938c907b8fa 100644
--- a/studio/components/interfaces/BillingV2/Invoices.tsx
+++ b/studio/components/interfaces/BillingV2/Invoices.tsx
@@ -1,92 +1,57 @@
+import { useParams } from 'common'
import Link from 'next/link'
import { useEffect, useState } from 'react'
-import { Button, IconChevronLeft, IconChevronRight, IconDownload, IconFileText, Loading } from 'ui'
+import { Button, IconChevronLeft, IconChevronRight, IconDownload, IconFileText } from 'ui'
import Table from 'components/to-be-cleaned/Table'
+import AlertError from 'components/ui/AlertError'
+import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
+import { getInvoice } from 'data/invoices/invoice-query'
+import { useProjectInvoicesCountQuery } from 'data/invoices/project-invoices-count-query'
+import { useProjectInvoicesQuery } from 'data/invoices/project-invoices-query'
import { useStore } from 'hooks'
-import { get, head } from 'lib/common/fetch'
-import { API_URL } from 'lib/constants'
import InvoiceStatusBadge from './InvoiceStatusBadge'
-import { Invoice, InvoiceStatus } from './Invoices.types'
+import { InvoiceStatus } from './Invoices.types'
const PAGE_LIMIT = 10
-interface InvoicesProps {
- projectRef: string
-}
-
-const Invoices = ({ projectRef }: InvoicesProps) => {
+const Invoices = () => {
const { ui } = useStore()
- const [loading, setLoading] = useState(false)
-
+ const { ref: projectRef } = useParams()
const [page, setPage] = useState(1)
- const [count, setCount] = useState(0)
- const [invoices, setInvoices] = useState([])
const offset = (page - 1) * PAGE_LIMIT
+ const { data: count, isError: isErrorCount } = useProjectInvoicesCountQuery({ projectRef })
+ const { data, error, isLoading, isError, isSuccess } = useProjectInvoicesQuery({
+ projectRef,
+ limit: PAGE_LIMIT,
+ offset,
+ })
+ const invoices = data || []
useEffect(() => {
- if (!projectRef) return
-
- let cancel = false
- const page = 1
-
- const fetchInvoiceCount = async () => {
- const res = await head(`${API_URL}/projects/${projectRef}/invoices`, ['X-Total-Count'])
- if (!cancel) {
- if (res.error) {
- ui.setNotification({ category: 'error', message: res.error.message })
- } else {
- setCount(res['X-Total-Count'])
- }
- }
- }
-
- setPage(page)
- fetchInvoices(page)
- fetchInvoiceCount()
-
- return () => {
- cancel = true
- }
+ setPage(1)
}, [projectRef])
- const fetchInvoices = async (page: number) => {
- setLoading(true)
- setPage(page)
-
- const offset = (page - 1) * PAGE_LIMIT
- const invoices = await get(
- `${API_URL}/projects/${projectRef}/invoices?offset=${offset}&limit=${PAGE_LIMIT}`
- )
-
- if (invoices.error) {
- ui.setNotification({
- category: 'error',
- message: `Failed to fetch invoices: ${invoices.error.message}`,
- })
- } else {
- setInvoices(invoices)
- }
-
- setLoading(false)
- }
-
- const fetchInvoice = async (invoiceId: string) => {
- const invoice = await get(`${API_URL}/stripe/invoices/${invoiceId}`)
- if (invoice?.invoice_pdf) {
- window.open(invoice.invoice_pdf, '_blank')
- } else {
+ const fetchInvoice = async (id: string) => {
+ try {
+ const invoice = await getInvoice({ id })
+ if (invoice?.invoice_pdf) window.open(invoice.invoice_pdf, '_blank')
+ } catch (error: any) {
ui.setNotification({
category: 'info',
- message: `Failed to fetch the selected invoice: ${invoice.error.message}`,
+ message: `Failed to fetch the selected invoice: ${error.message}`,
})
}
}
return (
-
+ {isLoading && }
+
+ {isError && }
+
+ {isSuccess && (
,
@@ -102,9 +67,7 @@ const Invoices = ({ projectRef }: InvoicesProps) => {
invoices.length === 0 ? (
-
- {loading ? 'Checking for invoices' : 'No invoices for this project yet'}
-
+ No invoices for this project yet
) : (
@@ -155,7 +118,11 @@ const Invoices = ({ projectRef }: InvoicesProps) => {
- Showing {offset + 1} to {offset + invoices.length} out of {count} invoices
+ {isErrorCount
+ ? 'Failed to retrieve total number of invoices'
+ : `Showing ${offset + 1} to ${
+ offset + invoices.length
+ } out of ${count} invoices`}
{
type="default"
size="tiny"
disabled={page === 1}
- onClick={async () => await fetchInvoices(page - 1)}
+ onClick={async () => setPage(page - 1)}
/>
}
type="default"
size="tiny"
- disabled={page * PAGE_LIMIT >= count}
- onClick={async () => await fetchInvoices(page + 1)}
+ disabled={page * PAGE_LIMIT >= (count ?? 0)}
+ onClick={async () => setPage(page + 1)}
/>
@@ -180,7 +147,7 @@ const Invoices = ({ projectRef }: InvoicesProps) => {
)
}
/>
-
+ )}
)
}
diff --git a/studio/components/interfaces/Database/Functions/CreateFunction.tsx b/studio/components/interfaces/Database/Functions/CreateFunction.tsx
index 048d0cbd75d..1786d2e0bac 100644
--- a/studio/components/interfaces/Database/Functions/CreateFunction.tsx
+++ b/studio/components/interfaces/Database/Functions/CreateFunction.tsx
@@ -733,7 +733,7 @@ const InputDefinition = observer(({}) => {
)}
-
+
{
diff --git a/studio/components/interfaces/Docs/GeneratingTypes.tsx b/studio/components/interfaces/Docs/GeneratingTypes.tsx
index 0ce44019d84..6e09a181cf3 100644
--- a/studio/components/interfaces/Docs/GeneratingTypes.tsx
+++ b/studio/components/interfaces/Docs/GeneratingTypes.tsx
@@ -1,12 +1,12 @@
-import { useParams } from 'common/hooks'
-import CodeSnippet from 'components/to-be-cleaned/Docs/CodeSnippet'
-import { useStore } from 'hooks'
-import { get } from 'lib/common/fetch'
-import { API_ADMIN_URL } from 'lib/constants'
import Link from 'next/link'
import { useState } from 'react'
import { Button, IconDownload, IconExternalLink } from 'ui'
+import { useParams } from 'common/hooks'
+import CodeSnippet from 'components/to-be-cleaned/Docs/CodeSnippet'
+import { generateTypes } from 'data/projects/project-type-generation-query'
+import { useStore } from 'hooks'
+
interface Props {
selectedLang: string
}
@@ -16,11 +16,10 @@ export default function GeneratingTypes({ selectedLang }: Props) {
const { ui } = useStore()
const [isGeneratingTypes, setIsGeneratingTypes] = useState(false)
- const generateTypes = async () => {
- setIsGeneratingTypes(true)
- const res = await get(`${API_ADMIN_URL}/projects/${ref}/types/typescript`)
-
- if (!res.error) {
+ const onClickGenerateTypes = async () => {
+ try {
+ setIsGeneratingTypes(true)
+ const res = await generateTypes({ ref })
let element = document.createElement('a')
element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(res.types))
element.setAttribute('download', 'supabase.ts')
@@ -32,16 +31,17 @@ export default function GeneratingTypes({ selectedLang }: Props) {
category: 'success',
message: `Successfully generated types! File is being downloaded`,
})
- } else {
+ } catch (error: any) {
ui.setNotification({
+ error,
category: 'error',
- message: `Failed to generate types: ${res.error.message}`,
- error: res.error,
+ message: `Failed to generate types: ${error.message}`,
})
+ } finally {
+ setIsGeneratingTypes(false)
}
-
- setIsGeneratingTypes(false)
}
+
return (
<>
@@ -80,13 +80,13 @@ export default function GeneratingTypes({ selectedLang }: Props) {
disabled={isGeneratingTypes}
loading={isGeneratingTypes}
icon={ }
- onClick={generateTypes}
+ onClick={onClickGenerateTypes}
>
Generate and download types
)}
-
+
Remember to re-generate and download this file as you make changes to your tables.
diff --git a/studio/components/interfaces/Home/ProjectUsage.tsx b/studio/components/interfaces/Home/ProjectUsage.tsx
index 56cd338a0c9..ca593dd3ea6 100644
--- a/studio/components/interfaces/Home/ProjectUsage.tsx
+++ b/studio/components/interfaces/Home/ProjectUsage.tsx
@@ -67,8 +67,12 @@ const ProjectUsage = () => {
// TODO (ziinc): link to edge logs with correct filter applied
_type: 'rest' | 'realtime' | 'storage' | 'auth'
) => {
- const selected = dayjs(value?.timestamp).toISOString()
- router.push(`/project/${projectRef}/logs/edge-logs?ite=${encodeURIComponent(selected)}`)
+ const unit = selectedInterval.startUnit
+ const selectedStart = dayjs(value?.timestamp)
+ const selectedEnd = selectedStart.add(1, unit)
+ router.push(
+ `/project/${projectRef}/logs/edge-logs?ite=${encodeURIComponent(selectedEnd.toISOString())}`
+ )
}
return (
diff --git a/studio/components/interfaces/Organization/BillingSettings/BillingAddress/BillingAddress.tsx b/studio/components/interfaces/Organization/BillingSettings/BillingAddress/BillingAddress.tsx
index 114ca9c2dd0..a75637f2b43 100644
--- a/studio/components/interfaces/Organization/BillingSettings/BillingAddress/BillingAddress.tsx
+++ b/studio/components/interfaces/Organization/BillingSettings/BillingAddress/BillingAddress.tsx
@@ -1,38 +1,42 @@
import { PermissionAction } from '@supabase/shared-types/out/constants'
+import { useParams } from 'common'
import { isEqual } from 'lodash'
import { useState } from 'react'
import { Button, Form, Input, Listbox } from 'ui'
+import AlertError from 'components/ui/AlertError'
import NoPermission from 'components/ui/NoPermission'
import Panel from 'components/ui/Panel'
+import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
+import { useOrganizationCustomerProfileQuery } from 'data/organizations/organization-customer-profile-query'
import { useOrganizationCustomerProfileUpdateMutation } from 'data/organizations/organization-customer-profile-update-mutation'
-import { useCheckPermissions, useSelectedOrganization, useStore } from 'hooks'
+import { useCheckPermissions, useStore } from 'hooks'
import { COUNTRIES } from './BillingAddress.constants'
-export interface BillingAddressProps {
- loading: boolean
- address: { [key: string]: any }
- onAddressUpdated: (address: any) => void
-}
-
-const BillingAddress = ({ loading, address, onAddressUpdated }: BillingAddressProps) => {
+const BillingAddress = () => {
const { ui } = useStore()
- const [isDirty, setIsDirty] = useState(false)
- const selectedOrganization = useSelectedOrganization()
+ const { slug } = useParams()
- const orgSlug = selectedOrganization?.slug ?? ''
- const { city, country, line1, line2, postal_code, state } = address
+ const {
+ data: customer,
+ error: customerError,
+ isError: isErrorCustomer,
+ isLoading: isLoadingCustomer,
+ isSuccess: isSuccessCustomer,
+ } = useOrganizationCustomerProfileQuery({ slug })
+
+ const { city, country, line1, line2, postal_code, state } = customer?.address ?? {}
+ const [isDirty, setIsDirty] = useState(false)
const initialValues = { city, country, line1, line2, postal_code, state }
const { mutate: updateCustomer, isLoading: isUpdating } =
useOrganizationCustomerProfileUpdateMutation({
- onSuccess: (updatedCustomer) => {
+ onSuccess: () => {
ui.setNotification({
category: 'success',
message: 'Successfully updated billing address',
})
setIsDirty(false)
- onAddressUpdated(updatedCustomer.address)
},
onError: (error) => {
ui.setNotification({
@@ -62,7 +66,8 @@ const BillingAddress = ({ loading, address, onAddressUpdated }: BillingAddressPr
}
const onSubmit = async (values: any) => {
- updateCustomer({ slug: orgSlug, address: values })
+ if (!slug) return console.error('Slug is required')
+ updateCustomer({ slug, address: values })
}
return (
@@ -71,122 +76,125 @@ const BillingAddress = ({ loading, address, onAddressUpdated }: BillingAddressPr
Billing address
This will be reflected in every invoice
-
- {loading ? (
-
- ) : !canReadBillingAddress ? (
-
- ) : (
-
+ )}
+
+ )}
)
}
diff --git a/studio/components/interfaces/Organization/BillingSettings/BillingEmail.tsx b/studio/components/interfaces/Organization/BillingSettings/BillingEmail.tsx
index 8e14d072751..840a21f8e60 100644
--- a/studio/components/interfaces/Organization/BillingSettings/BillingEmail.tsx
+++ b/studio/components/interfaces/Organization/BillingSettings/BillingEmail.tsx
@@ -10,11 +10,12 @@ import { isResponseOk, patch } from 'lib/common/fetch'
import { API_URL } from 'lib/constants'
import { Form, Input } from 'ui'
import { Organization } from 'types'
+import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
const BillingEmail = () => {
- const queryClient = useQueryClient()
const { ui } = useStore()
const { slug } = useParams()
+ const queryClient = useQueryClient()
const selectedOrganization = useSelectedOrganization()
const { name, billing_email } = selectedOrganization ?? {}
@@ -66,52 +67,56 @@ const BillingEmail = () => {
All billing correspondence will go to this email
-
- {({ isSubmitting, handleReset, values, initialValues, resetForm }: any) => {
- const hasChanges = JSON.stringify(values) !== JSON.stringify(initialValues)
+ {selectedOrganization === undefined ? (
+
+ ) : (
+
+ {({ isSubmitting, handleReset, values, initialValues, resetForm }: any) => {
+ const hasChanges = JSON.stringify(values) !== JSON.stringify(initialValues)
- // [Alaister] although this "technically" is breaking the rules of React hooks
- // it won't error because the hooks are always rendered in the same order
- // eslint-disable-next-line react-hooks/rules-of-hooks
- useEffect(() => {
- const values = { billing_email: billing_email ?? '' }
- resetForm({ values, initialValues: values })
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, [slug])
+ // [Alaister] although this "technically" is breaking the rules of React hooks
+ // it won't error because the hooks are always rendered in the same order
+ // eslint-disable-next-line react-hooks/rules-of-hooks
+ useEffect(() => {
+ const values = { billing_email: billing_email ?? '' }
+ resetForm({ values, initialValues: values })
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [slug])
- return (
-
-
-
- }
- >
-
-
-
-
-
-
- )
- }}
-
+ return (
+
+
+
+ }
+ >
+
+
+
+
+
+
+ )
+ }}
+
+ )}
)
diff --git a/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx b/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx
index 42862a4b25f..5198576d01c 100644
--- a/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx
+++ b/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx
@@ -1,12 +1,10 @@
import { PermissionAction } from '@supabase/shared-types/out/constants'
import { useParams } from 'common'
-import { useEffect, useState } from 'react'
import { ScaffoldContainerLegacy } from 'components/layouts/Scaffold'
+import { useOrganizationCustomerProfileQuery } from 'data/organizations/organization-customer-profile-query'
import { useProjectsQuery } from 'data/projects/projects-query'
-import { useCheckPermissions, useFlag, useSelectedOrganization, useStore } from 'hooks'
-import { get } from 'lib/common/fetch'
-import { API_URL } from 'lib/constants'
+import { useCheckPermissions, useFlag, useSelectedOrganization } from 'hooks'
import OrganizationBillingMigrationPanel from '../GeneralSettings/OrganizationBillingMigrationPanel'
import BillingAddress from './BillingAddress/BillingAddress'
import BillingEmail from './BillingEmail'
@@ -16,7 +14,6 @@ import ProjectsSummary from './ProjectsSummary'
import TaxID from './TaxID/TaxID'
const BillingSettings = () => {
- const { ui } = useStore()
const { slug } = useParams()
const organization = useSelectedOrganization()
@@ -24,13 +21,8 @@ const BillingSettings = () => {
const projects =
allProjects?.filter((project) => project.organization_id === organization?.id) ?? []
- const [customer, setCustomer] = useState(null)
- const [isLoadingCustomer, setIsLoadingCustomer] = useState(false)
+ const { data: customer } = useOrganizationCustomerProfileQuery({ slug })
- const [paymentMethods, setPaymentMethods] = useState(null)
- const [isLoadingPaymentMethods, setIsLoadingPaymentMethods] = useState(false)
-
- const defaultPaymentMethod = customer?.invoice_settings?.default_payment_method ?? ''
const customerBalance = customer && customer.balance ? customer.balance / 100 : 0
const isCredit = customerBalance < 0
const isDebt = customerBalance > 0
@@ -44,66 +36,22 @@ const BillingSettings = () => {
const selectedOrganization = useSelectedOrganization()
const { subscription_id } = selectedOrganization ?? {}
- const getCustomerProfile = async () => {
- try {
- setIsLoadingCustomer(true)
- const customer = await get(`${API_URL}/organizations/${slug}/customer`)
- if (customer.error) throw customer.error
- setCustomer(customer)
- setIsLoadingCustomer(false)
- } catch (error: any) {
- ui.setNotification({
- error,
- category: 'error',
- message: `Failed to get organization information: ${error.message}`,
- })
- }
- }
-
- const getPaymentMethods = async () => {
- try {
- setIsLoadingPaymentMethods(true)
- const { data: paymentMethods, error } = await get(`${API_URL}/organizations/${slug}/payments`)
- if (error) throw error
- setPaymentMethods(paymentMethods)
- setIsLoadingPaymentMethods(false)
- } catch (error: any) {
- ui.setNotification({
- error,
- category: 'error',
- message: `Failed to get organization payment methods: ${error.message}`,
- })
- }
- }
-
- useEffect(() => {
- getCustomerProfile()
- getPaymentMethods()
- }, [slug])
-
return (
{orgBillingMigrationEnabled && canMigrateOrganization && !subscription_id && (
)}
+
+
- getPaymentMethods()}
- onPaymentMethodAdded={() => getPaymentMethods()}
- />
+
+
- setCustomer({ ...customer, address })}
- />
+
+
)
diff --git a/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx b/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx
index 666ecb682b3..4df99f1b341 100644
--- a/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx
+++ b/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx
@@ -1,5 +1,6 @@
import * as Tooltip from '@radix-ui/react-tooltip'
import { PermissionAction } from '@supabase/shared-types/out/constants'
+import { useParams } from 'common'
import { useState } from 'react'
import {
Alert,
@@ -15,34 +16,21 @@ import {
} from 'ui'
import { AddNewPaymentMethodModal } from 'components/interfaces/BillingV2'
+import AlertError from 'components/ui/AlertError'
import NoPermission from 'components/ui/NoPermission'
import Panel from 'components/ui/Panel'
+import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
+import { useOrganizationCustomerProfileQuery } from 'data/organizations/organization-customer-profile-query'
import { useOrganizationCustomerProfileUpdateMutation } from 'data/organizations/organization-customer-profile-update-mutation'
import { useOrganizationPaymentMethodDeleteMutation } from 'data/organizations/organization-payment-method-delete-mutation'
-import { useCheckPermissions, useSelectedOrganization, useStore } from 'hooks'
+import { useOrganizationPaymentMethodsQuery } from 'data/organizations/organization-payment-methods-query'
+import { useCheckPermissions, useStore } from 'hooks'
import { BASE_PATH } from 'lib/constants'
import { getURL } from 'lib/helpers'
-export interface PaymentMethodsProps {
- loading: boolean
- defaultPaymentMethod: string
- paymentMethods: any[]
- onDefaultMethodUpdated: (updatedCustomer: any) => void
- onPaymentMethodsDeleted: () => void
- onPaymentMethodAdded: () => void
-}
-
-const PaymentMethods = ({
- loading,
- defaultPaymentMethod,
- paymentMethods,
- onDefaultMethodUpdated,
- onPaymentMethodsDeleted,
- onPaymentMethodAdded,
-}: PaymentMethodsProps) => {
+const PaymentMethods = () => {
const { ui } = useStore()
- const selectedOrganization = useSelectedOrganization()
- const orgSlug = selectedOrganization?.slug ?? ''
+ const { slug } = useParams()
const [selectedMethodForDefault, setSelectedMethodForDefault] = useState()
const [selectedMethodToDelete, setSelectedMethodToDelete] = useState()
@@ -51,7 +39,6 @@ const PaymentMethods = ({
const { mutate: updateCustomerProfile, isLoading: isUpdating } =
useOrganizationCustomerProfileUpdateMutation({
onSuccess: (updatedCustomer) => {
- onDefaultMethodUpdated(updatedCustomer)
setSelectedMethodForDefault(undefined)
ui.setNotification({
category: 'success',
@@ -69,12 +56,25 @@ const PaymentMethods = ({
const { mutate: deletePaymentMethod, isLoading: isDeleting } =
useOrganizationPaymentMethodDeleteMutation({
onSuccess: () => {
- onPaymentMethodsDeleted()
setSelectedMethodToDelete(undefined)
ui.setNotification({ category: 'success', message: 'Successfully deleted payment method' })
},
})
+ const { data: customer } = useOrganizationCustomerProfileQuery({ slug })
+
+ const {
+ data,
+ error: paymentMethodsError,
+ refetch: refetchPaymentMethods,
+ isLoading: isLoadingPaymentMethods,
+ isError: isErrorPaymentMethods,
+ isSuccess: isSuccessPaymentMethods,
+ } = useOrganizationPaymentMethodsQuery({ slug })
+ const paymentMethods = data || []
+
+ const defaultPaymentMethod = customer?.invoice_settings?.default_payment_method ?? ''
+
const canReadPaymentMethods = useCheckPermissions(
PermissionAction.BILLING_READ,
'stripe.payment_methods'
@@ -84,27 +84,30 @@ const PaymentMethods = ({
'stripe.payment_methods'
)
- const onConfirmMakeDefaultPaymentMethod = async () => {
+ const onConfirmMakeDefaultPaymentMethod = () => {
+ if (!slug) return console.error('Slug is required')
updateCustomerProfile({
- slug: orgSlug,
+ slug,
invoice_settings: {
default_payment_method: selectedMethodForDefault.id,
},
})
}
- const onConfirmDetachPaymentMethod = async () => {
- deletePaymentMethod({ slug: orgSlug, cardId: selectedMethodToDelete.id })
+ const onConfirmDetachPaymentMethod = () => {
+ if (!slug) return console.error('Slug is required')
+ deletePaymentMethod({ slug, cardId: selectedMethodToDelete.id })
}
const onLocalPaymentMethodAdded = () => {
setShowAddPaymentMethodModal(false)
- return onPaymentMethodAdded()
+ ui.setNotification({ category: 'success', message: 'Successfully added new payment method' })
+ return refetchPaymentMethods()
}
return (
<>
-
+
Payment methods
@@ -114,45 +117,45 @@ const PaymentMethods = ({
your account.
- {!canReadPaymentMethods ? (
+
+ {!isLoadingPaymentMethods && !canReadPaymentMethods && (
- ) : (
+ )}
+
+ {isLoadingPaymentMethods &&
}
+
+ {isErrorPaymentMethods && (
+
+ )}
+
+ {isSuccessPaymentMethods && (
- {!canUpdatePaymentMethods ? (
-
- You need additional permissions to manage this organization's payment methods
-
- ) : (
-
- )}
-
- }
- disabled={!canUpdatePaymentMethods}
- onClick={() => setShowAddPaymentMethodModal(true)}
- >
- Add new card
-
-
+
+ {!canUpdatePaymentMethods ? (
+
+ You need additional permissions to manage this organization's payment methods
+
+ ) : (
+
+ )}
+
+ }
+ disabled={!canUpdatePaymentMethods}
+ onClick={() => setShowAddPaymentMethodModal(true)}
+ >
+ Add new card
+
- )
+
}
>
- {loading && paymentMethods.length === 0 ? (
-
- ) : paymentMethods.length >= 1 ? (
+ {paymentMethods.length >= 1 ? (
{paymentMethods.map((paymentMethod: any) => {
@@ -228,7 +231,7 @@ const PaymentMethods = ({
}
- loading={loading}
+ loading={isLoadingPaymentMethods}
className="hover:border-gray-500"
/>
@@ -254,7 +257,7 @@ const PaymentMethods = ({
setShowAddPaymentMethodModal(false)}
onConfirm={() => onLocalPaymentMethodAdded()}
/>
diff --git a/studio/components/interfaces/Organization/BillingSettings/TaxID/TaxID.tsx b/studio/components/interfaces/Organization/BillingSettings/TaxID/TaxID.tsx
index ea707e420a1..29ab3fd3c94 100644
--- a/studio/components/interfaces/Organization/BillingSettings/TaxID/TaxID.tsx
+++ b/studio/components/interfaces/Organization/BillingSettings/TaxID/TaxID.tsx
@@ -8,7 +8,7 @@ import AlertError from 'components/ui/AlertError'
import NoPermission from 'components/ui/NoPermission'
import Panel from 'components/ui/Panel'
import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
-import { TaxId, useOrganizationTaxIDsQuery } from 'data/organizations/organization-tax-ids-query'
+import { useOrganizationTaxIDsQuery } from 'data/organizations/organization-tax-ids-query'
import {
TaxIdValue,
useOrganizationTaxIDsUpdateMutation,
@@ -26,12 +26,13 @@ const TaxID = () => {
const { slug } = useParams()
const {
- data: taxIds,
- error,
- isLoading,
- isSuccess,
- isError,
+ data,
+ error: taxIdsError,
+ isLoading: isLoadingTaxIds,
+ isError: isErrorTaxIds,
+ isSuccess: isSuccessTaxIds,
} = useOrganizationTaxIDsQuery({ slug })
+ const taxIds = data || []
const { mutate: updateTaxIDs, isLoading: isUpdating } = useOrganizationTaxIDsUpdateMutation({
onSuccess: (res) => {
@@ -63,22 +64,20 @@ const TaxID = () => {
const [errors, setErrors] = useState([])
const [taxIdValues, setTaxIdValues] = useState([])
-
- const formattedTaxIds =
- taxIds?.map((taxId: TaxId) => {
- return {
- id: taxId.id,
- type: taxId.type,
- value: taxId.value,
- name:
- taxId.type === 'eu_vat'
- ? `${taxId.country} VAT`
- : TAX_IDS.find((option) => option.code === taxId.type)?.name ?? '',
- }
- }) ?? []
+ const formattedTaxIds: StripeTaxId[] = taxIds.map((taxId) => {
+ return {
+ id: taxId.id,
+ type: taxId.type,
+ value: taxId.value,
+ name:
+ taxId.type === 'eu_vat'
+ ? `${taxId.country} VAT`
+ : TAX_IDS.find((option) => option.code === taxId.type)?.name ?? '',
+ }
+ })
useEffect(() => {
- if (isSuccess) {
+ if (isSuccessTaxIds) {
if (taxIdValues.length === 0) {
setTaxIdValues(formattedTaxIds)
} else {
@@ -86,7 +85,7 @@ const TaxID = () => {
setTaxIdValues(formattedTaxIds.concat(erroredTaxIds))
}
}
- }, [isSuccess])
+ }, [isSuccessTaxIds])
const hasChanges = !isEqual(taxIdValues, formattedTaxIds)
const canReadTaxIds = useCheckPermissions(PermissionAction.BILLING_READ, 'stripe.tax_ids')
@@ -142,15 +141,20 @@ const TaxID = () => {
- {!canReadTaxIds ? (
+ {isLoadingTaxIds && }
+
+ {!isLoadingTaxIds && !canReadTaxIds && (
- ) : (
+ )}
+
+ {isErrorTaxIds && }
+
+ {isSuccessTaxIds && (
{!canUpdateTaxIds ? (
@@ -182,77 +186,64 @@ const TaxID = () => {
)
}
>
- {isLoading && taxIdValues.length === 0 && (
-
-
-
- )}
+
+ {taxIdValues.length >= 1 ? (
+
+ {taxIdValues.map((taxId: StripeTaxId, idx: number) => {
+ const selectedTaxId = TAX_IDS.find((option) => option.name === taxId.name)
- {isError && (
-
-
-
- )}
-
- {isSuccess && (
-
- {taxIdValues.length >= 1 ? (
-
- {taxIdValues.map((taxId: StripeTaxId, idx: number) => {
- const selectedTaxId = TAX_IDS.find((option) => option.name === taxId.name)
- return (
-
-
onUpdateTaxId(taxId.id, 'name', e)}
- disabled={!canUpdateTaxIds}
- className="w-[200px]"
- >
- {TAX_IDS.sort((a, b) => a.country.localeCompare(b.country)).map(
- (option) => (
-
- {option.country} - {option.name}
-
- )
- )}
-
-
onUpdateTaxId(taxId.id, 'value', e.target.value)}
- disabled={!canUpdateTaxIds}
- />
- {canUpdateTaxIds && (
-
}
- onClick={() => onRemoveTaxId(taxId.id)}
- />
+ return (
+
+ onUpdateTaxId(taxId.id, 'name', e)}
+ disabled={!canUpdateTaxIds}
+ className="w-[200px]"
+ >
+ {TAX_IDS.sort((a, b) => a.country.localeCompare(b.country)).map(
+ (option) => (
+
+ {option.country} - {option.name}
+
+ )
)}
-
- )
- })}
-
- ) : (
-
- )}
- {canUpdateTaxIds && (
-
onAddNewTaxId()}
- >
-
-
Add another ID
-
- )}
-
- )}
+
+
onUpdateTaxId(taxId.id, 'value', e.target.value)}
+ disabled={!canUpdateTaxIds}
+ />
+ {canUpdateTaxIds && (
+
}
+ onClick={() => onRemoveTaxId(taxId.id)}
+ />
+ )}
+
+ )
+ })}
+
+ ) : (
+
+ )}
+ {canUpdateTaxIds && (
+ onAddNewTaxId()}
+ >
+
+
Add another ID
+
+ )}
+
)}
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/BillingAddress/BillingAddress.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/BillingAddress/BillingAddress.tsx
index c35082667d2..98951927271 100644
--- a/studio/components/interfaces/Organization/BillingSettingsV2/BillingAddress/BillingAddress.tsx
+++ b/studio/components/interfaces/Organization/BillingSettingsV2/BillingAddress/BillingAddress.tsx
@@ -56,9 +56,9 @@ const BillingAddress = () => {
return (
-
-
Billing Address
-
+
+
Billing Address
+
This will be reflected in every upcoming invoice, past invoices are not affected
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingBreakdown.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingBreakdown.tsx
index 706150d5c43..44049b6780a 100644
--- a/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingBreakdown.tsx
+++ b/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingBreakdown.tsx
@@ -49,9 +49,9 @@ const BillingBreakdown = () => {
return (
-
-
Billing breakdown
-
+
+
Billing breakdown
+
Current billing cycle: {billingCycleStart.format('MMM DD')} -{' '}
{billingCycleEnd.format('MMM DD')}
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/BillingEmail.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/BillingEmail.tsx
index 130960f0e2f..2041551f264 100644
--- a/studio/components/interfaces/Organization/BillingSettingsV2/BillingEmail.tsx
+++ b/studio/components/interfaces/Organization/BillingSettingsV2/BillingEmail.tsx
@@ -56,13 +56,11 @@ const BillingEmail = () => {
return (
-
-
-
Email Recipient
-
- All billing correspondence will go to this email
-
-
+
+
Email Recipient
+
+ All billing correspondence will go to this email
+
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/CostControl.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/CostControl.tsx
index 68ce2b7bd22..e377cb39452 100644
--- a/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/CostControl.tsx
+++ b/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/CostControl.tsx
@@ -42,10 +42,10 @@ const CostControl = ({}: CostControlProps) => {
<>
-
-
-
Cost Control
-
+
+
+
Cost Control
+
Control whether to use beyond your plans included quota
@@ -55,7 +55,7 @@ const CostControl = ({}: CostControlProps) => {
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/CreditBalance.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/CreditBalance.tsx
index 25e255174a5..6ad16720eec 100644
--- a/studio/components/interfaces/Organization/BillingSettingsV2/CreditBalance.tsx
+++ b/studio/components/interfaces/Organization/BillingSettingsV2/CreditBalance.tsx
@@ -26,13 +26,13 @@ const CreditBalance = () => {
return (
-
+
-
Credit balance
+
Credit balance
{isCredit &&
You have credits available }
{isDebt &&
Outstanding payments }
-
+
Charges will be deducted from your balance first
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/PaymentMethods/PaymentMethods.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/PaymentMethods/PaymentMethods.tsx
index 7d41f38ccae..a89b13c3463 100644
--- a/studio/components/interfaces/Organization/BillingSettingsV2/PaymentMethods/PaymentMethods.tsx
+++ b/studio/components/interfaces/Organization/BillingSettingsV2/PaymentMethods/PaymentMethods.tsx
@@ -54,14 +54,12 @@ const PaymentMethods = () => {
<>
-
-
-
Payment methods
-
- After adding a payment method, make sure to mark it as active to use it for billing.
- You can remove unused cards.
-
-
+
+
Payment methods
+
+ After adding a payment method, make sure to mark it as active to use it for billing.
+ You can remove unused cards.
+
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/Subscription.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/Subscription.tsx
index c5c07a0f72f..1c16833a2a0 100644
--- a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/Subscription.tsx
+++ b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/Subscription.tsx
@@ -43,15 +43,15 @@ const Subscription = () => {
<>
-
-
Subscription Plan
+
+
Subscription Plan
-
More information
+
More information
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/TaxID/TaxID.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/TaxID/TaxID.tsx
index 6e5f4c6d1c2..a18a716e5bc 100644
--- a/studio/components/interfaces/Organization/BillingSettingsV2/TaxID/TaxID.tsx
+++ b/studio/components/interfaces/Organization/BillingSettingsV2/TaxID/TaxID.tsx
@@ -134,17 +134,15 @@ const TaxID = () => {
return (
-
-
-
Tax ID
-
- If you would like to include specific tax ID(s) to your invoices. Old invoices are not
- affected.
-
-
- Make sure the tax ID looks exactly like the placeholder text.
-
-
+
+
Tax ID
+
+ If you would like to include specific tax ID(s) to your invoices. Old invoices are not
+ affected.
+
+
+ Make sure the tax ID looks exactly like the placeholder text.
+
diff --git a/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx b/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
index 318871d4b62..61a002132ac 100644
--- a/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
+++ b/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
@@ -3,26 +3,23 @@ import Link from 'next/link'
import { useEffect, useState } from 'react'
import { InvoiceStatusBadge } from 'components/interfaces/BillingV2'
-import { Invoice, InvoiceStatus } from 'components/interfaces/BillingV2/Invoices.types'
+import { InvoiceStatus } from 'components/interfaces/BillingV2/Invoices.types'
+import { ScaffoldContainerLegacy } from 'components/layouts/Scaffold'
import Table from 'components/to-be-cleaned/Table'
import NoPermission from 'components/ui/NoPermission'
+import { getInvoice } from 'data/invoices/invoice-query'
+import { useInvoicesCountQuery } from 'data/invoices/invoices-count-query'
+import { useInvoicesQuery } from 'data/invoices/invoices-query'
import { useCheckPermissions, useSelectedOrganization, useStore } from 'hooks'
-import { get, head } from 'lib/common/fetch'
-import { API_URL } from 'lib/constants'
import { Button, IconChevronLeft, IconChevronRight, IconDownload, IconFileText, Loading } from 'ui'
-import { ScaffoldContainerLegacy } from 'components/layouts/Scaffold'
+import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
+import AlertError from 'components/ui/AlertError'
const PAGE_LIMIT = 10
-// Refactor: Split invoices by projects so it's easier for users to identify
-
const InvoicesSettings = () => {
const { ui } = useStore()
- const [loading, setLoading] = useState(false)
-
const [page, setPage] = useState(1)
- const [count, setCount] = useState(0)
- const [invoices, setInvoices] = useState([])
const selectedOrganization = useSelectedOrganization()
const { stripe_customer_id, slug } = selectedOrganization ?? {}
@@ -30,66 +27,30 @@ const InvoicesSettings = () => {
const canReadInvoices = useCheckPermissions(PermissionAction.READ, 'invoices')
+ const { data: count, isError: isErrorCount } = useInvoicesCountQuery({
+ customerId: stripe_customer_id,
+ slug,
+ })
+ const { data, error, isLoading, isError, isSuccess } = useInvoicesQuery({
+ customerId: stripe_customer_id,
+ slug,
+ offset,
+ limit: PAGE_LIMIT,
+ })
+ const invoices = data || []
+
useEffect(() => {
- if (!canReadInvoices || !stripe_customer_id || !slug) return
+ setPage(1)
+ }, [slug])
- let cancel = false
- const page = 1
-
- const fetchInvoiceCount = async () => {
- const res = await head(
- `${API_URL}/stripe/invoices?customer=${stripe_customer_id}&slug=${slug}`,
- ['X-Total-Count']
- )
- if (!cancel) {
- if (res.error) {
- ui.setNotification({ category: 'error', message: res.error.message })
- } else {
- setCount(res['X-Total-Count'])
- }
- }
- }
-
- setPage(page)
- fetchInvoices(page)
- fetchInvoiceCount()
-
- return () => {
- cancel = true
- }
- }, [stripe_customer_id, slug])
-
- const fetchInvoices = async (page: number) => {
- setLoading(true)
- setPage(page)
-
- const offset = (page - 1) * PAGE_LIMIT
- const invoices = await get(
- `${API_URL}/stripe/invoices?offset=${offset}&limit=${PAGE_LIMIT}&customer=${stripe_customer_id}&slug=${slug}`
- )
-
- if (invoices.error) {
+ const fetchInvoice = async (id: string) => {
+ try {
+ const invoice = await getInvoice({ id })
+ if (invoice?.invoice_pdf) window.open(invoice.invoice_pdf, '_blank')
+ } catch (error: any) {
ui.setNotification({
- error: invoices.error,
- category: 'error',
- message: `Failed to fetch invoices: ${invoices.error.message}`,
- })
- } else {
- setInvoices(invoices)
- }
-
- setLoading(false)
- }
-
- const fetchInvoice = async (invoiceId: string) => {
- const invoice = await get(`${API_URL}/stripe/invoices/${invoiceId}`)
- if (invoice?.invoice_pdf) {
- window.open(invoice.invoice_pdf, '_blank')
- } else {
- ui.setNotification({
- error: invoice.error,
category: 'info',
- message: `Unable to fetch the selected invoice: ${invoice.error.message}`,
+ message: `Failed to fetch the selected invoice: ${error.message}`,
})
}
}
@@ -100,7 +61,11 @@ const InvoicesSettings = () => {
return (
-
+ {isLoading && }
+
+ {isError && }
+
+ {isSuccess && (
,
@@ -117,7 +82,7 @@ const InvoicesSettings = () => {
- {loading ? 'Checking for invoices' : 'No invoices for this organization yet'}
+ {isLoading ? 'Checking for invoices' : 'No invoices for this organization yet'}
@@ -165,7 +130,11 @@ const InvoicesSettings = () => {
- Showing {offset + 1} to {offset + invoices.length} out of {count} invoices
+ {isErrorCount
+ ? 'Failed to retrieve total number of invoices'
+ : `Showing ${offset + 1} to ${
+ offset + invoices.length
+ } out of ${count} invoices`}
{
type="default"
size="tiny"
disabled={page === 1}
- onClick={async () => await fetchInvoices(page - 1)}
+ onClick={async () => setPage(page - 1)}
/>
}
type="default"
size="tiny"
- disabled={page * PAGE_LIMIT >= count}
- onClick={async () => await fetchInvoices(page + 1)}
+ disabled={page * PAGE_LIMIT >= (count ?? 0)}
+ onClick={async () => setPage(page + 1)}
/>
@@ -190,7 +159,7 @@ const InvoicesSettings = () => {
)
}
/>
-
+ )}
)
}
diff --git a/studio/components/interfaces/Settings/Logs/LogColumnRenderers/AuthColumnRenderer.tsx b/studio/components/interfaces/Settings/Logs/LogColumnRenderers/AuthColumnRenderer.tsx
index 68b56b161d2..126303726d1 100644
--- a/studio/components/interfaces/Settings/Logs/LogColumnRenderers/AuthColumnRenderer.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogColumnRenderers/AuthColumnRenderer.tsx
@@ -5,12 +5,17 @@ import {
TextFormatter,
TimestampLocalFormatter,
} from '../LogsFormatters'
+import DefaultPreviewColumnRenderer from './DefaultPreviewColumnRenderer'
export default [
{
formatter: (data: {
row: PreviewLogData & { level: string; msg: string | null; status: number; path: string }
}) => {
+ if (!data.row.level) {
+ return DefaultPreviewColumnRenderer[0].formatter(data)
+ }
+
return (
diff --git a/studio/components/interfaces/Settings/Logs/LogColumnRenderers/DatabaseApiColumnRender.tsx b/studio/components/interfaces/Settings/Logs/LogColumnRenderers/DatabaseApiColumnRender.tsx
index fc5e883d2a0..8c2375150bd 100644
--- a/studio/components/interfaces/Settings/Logs/LogColumnRenderers/DatabaseApiColumnRender.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogColumnRenderers/DatabaseApiColumnRender.tsx
@@ -4,16 +4,22 @@ import {
TextFormatter,
TimestampLocalFormatter,
} from '../LogsFormatters'
+import DefaultPreviewColumnRenderer from './DefaultPreviewColumnRenderer'
export default [
{
- formatter: (data: any) => (
-
-
-
-
-
-
- ),
+ formatter: (data: any) => {
+ if (!data.row.status_code && !data.row.method && !data.row.path) {
+ return DefaultPreviewColumnRenderer[0].formatter(data)
+ }
+ return (
+
+
+
+
+
+
+ )
+ },
},
]
diff --git a/studio/components/interfaces/Settings/Logs/LogColumnRenderers/DatabasePostgresColumnRender.tsx b/studio/components/interfaces/Settings/Logs/LogColumnRenderers/DatabasePostgresColumnRender.tsx
index 26dcc8d23a2..eff172a6634 100644
--- a/studio/components/interfaces/Settings/Logs/LogColumnRenderers/DatabasePostgresColumnRender.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogColumnRenderers/DatabasePostgresColumnRender.tsx
@@ -4,15 +4,21 @@ import {
TextFormatter,
TimestampLocalFormatter,
} from '../LogsFormatters'
+import DefaultPreviewColumnRenderer from './DefaultPreviewColumnRenderer'
export default [
{
- formatter: (data: any) => (
-
-
-
-
-
- ),
+ formatter: (data: any) => {
+ if (!data.row.error_severity) {
+ return DefaultPreviewColumnRenderer[0].formatter(data)
+ }
+ return (
+
+
+
+
+
+ )
+ },
},
]
diff --git a/studio/components/interfaces/Settings/Logs/LogColumnRenderers/FunctionsEdgeColumnRender.tsx b/studio/components/interfaces/Settings/Logs/LogColumnRenderers/FunctionsEdgeColumnRender.tsx
index 3b53839536d..c1c33dd4fb7 100644
--- a/studio/components/interfaces/Settings/Logs/LogColumnRenderers/FunctionsEdgeColumnRender.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogColumnRenderers/FunctionsEdgeColumnRender.tsx
@@ -4,16 +4,22 @@ import {
TextFormatter,
TimestampLocalFormatter,
} from '../LogsFormatters'
+import DefaultPreviewColumnRenderer from './DefaultPreviewColumnRenderer'
export default [
{
- formatter: (data: any) => (
-
-
-
-
-
-
- ),
+ formatter: (data: any) => {
+ if (!data.row.status_code && !data.row.method) {
+ return DefaultPreviewColumnRenderer[0].formatter(data)
+ }
+ return (
+
+
+
+
+
+
+ )
+ },
},
]
diff --git a/studio/components/interfaces/Settings/Logs/LogColumnRenderers/FunctionsLogsColumnRender.tsx b/studio/components/interfaces/Settings/Logs/LogColumnRenderers/FunctionsLogsColumnRender.tsx
index ec3b36648dd..15b2c3db7b2 100644
--- a/studio/components/interfaces/Settings/Logs/LogColumnRenderers/FunctionsLogsColumnRender.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogColumnRenderers/FunctionsLogsColumnRender.tsx
@@ -4,19 +4,25 @@ import {
TextFormatter,
TimestampLocalFormatter,
} from '../LogsFormatters'
+import DefaultPreviewColumnRenderer from './DefaultPreviewColumnRenderer'
export default [
{
- formatter: (data: any) => (
-
-
- {data.row.event_type === 'uncaughtException' ? (
-
- ) : (
-
- )}
-
-
- ),
+ formatter: (data: any) => {
+ if (!data.row.event_type && !data.row.level) {
+ return DefaultPreviewColumnRenderer[0].formatter(data)
+ }
+ return (
+
+
+ {data.row.event_type === 'uncaughtException' ? (
+
+ ) : (
+
+ )}
+
+
+ )
+ },
},
]
diff --git a/studio/components/interfaces/Settings/Logs/LogSelection.tsx b/studio/components/interfaces/Settings/Logs/LogSelection.tsx
index b6f23047f79..5f0a537be97 100644
--- a/studio/components/interfaces/Settings/Logs/LogSelection.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogSelection.tsx
@@ -17,6 +17,7 @@ import DefaultPreviewSelectionRenderer from './LogSelectionRenderers/DefaultPrev
import FunctionInvocationSelectionRender from './LogSelectionRenderers/FunctionInvocationSelectionRender'
import FunctionLogsSelectionRender from './LogSelectionRenderers/FunctionLogsSelectionRender'
import { LogData, QueryType } from './Logs.types'
+import { useMemo } from 'react'
export interface LogSelectionProps {
log: LogData | null
@@ -40,25 +41,31 @@ const LogSelection = ({
partialLog?.id
)
const Formatter = () => {
+
switch (queryType) {
case 'api':
if (!fullLog) return null
+ if (!fullLog.metadata) return ;
return
case 'database':
if (!fullLog) return null
+ if (!fullLog.metadata) return ;
return
case 'fn_edge':
if (!fullLog) return null
+ if (!fullLog.metadata) return ;
return
case 'functions':
if (!fullLog) return null
+ if (!fullLog.metadata) return ;
return
case 'auth':
if (!fullLog) return null
+ if (!fullLog.metadata) return ;
return
default:
@@ -73,9 +80,8 @@ const LogSelection = ({
}
}
- const selectionText = () => {
- if (!fullLog) return ''
- if (queryType) {
+ const selectionText = useMemo(() => {
+ if (fullLog && queryType) {
return `Log ID
${fullLog.id}\n
Log Timestamp (UTC)
@@ -87,8 +93,8 @@ ${JSON.stringify(fullLog.metadata, null, 2)}
`
}
- return JSON.stringify(fullLog, null, 2)
- }
+ return JSON.stringify(fullLog || partialLog, null, 2)
+ }, [fullLog])
return (
diff --git a/studio/components/interfaces/Settings/Logs/Logs.constants.ts b/studio/components/interfaces/Settings/Logs/Logs.constants.ts
index 0d65ccf9c74..b8f6022938c 100644
--- a/studio/components/interfaces/Settings/Logs/Logs.constants.ts
+++ b/studio/components/interfaces/Settings/Logs/Logs.constants.ts
@@ -303,6 +303,9 @@ export const SQL_FILTER_TEMPLATES: any = {
pgbouncer_logs: {
..._SQL_FILTER_COMMON,
},
+ supavisor_logs: {
+ ..._SQL_FILTER_COMMON,
+ },
}
export enum LogsTableName {
@@ -315,6 +318,7 @@ export enum LogsTableName {
STORAGE = 'storage_logs',
PGBOUNCER = 'pgbouncer_logs',
POSTGREST = 'postgrest_logs',
+ SUPAVISOR = 'supavisor_logs',
}
export const LOGS_TABLES = {
@@ -327,18 +331,20 @@ export const LOGS_TABLES = {
storage: LogsTableName.STORAGE,
postgrest: LogsTableName.POSTGREST,
pgbouncer: LogsTableName.PGBOUNCER,
+ supavisor: LogsTableName.SUPAVISOR,
}
export const LOGS_SOURCE_DESCRIPTION = {
- [LogsTableName.EDGE]: 'Logs obtained from the network edge, containing all API requests.',
- [LogsTableName.POSTGRES]: 'Database logs obtained directly from Postgres.',
- [LogsTableName.FUNCTIONS]: 'Function logs generated from runtime execution.',
- [LogsTableName.FN_EDGE]: 'Function call logs, containing the request and response.',
+ [LogsTableName.EDGE]: 'Logs obtained from the network edge, containing all API requests',
+ [LogsTableName.POSTGRES]: 'Database logs obtained directly from Postgres',
+ [LogsTableName.FUNCTIONS]: 'Function logs generated from runtime execution',
+ [LogsTableName.FN_EDGE]: 'Function call logs, containing the request and response',
[LogsTableName.AUTH]: 'Authentication logs from GoTrue',
[LogsTableName.REALTIME]: 'Realtime server for Postgres logical replication broadcasting',
[LogsTableName.STORAGE]: 'Object storage logs',
[LogsTableName.PGBOUNCER]: 'Postgres connection pooler logs',
[LogsTableName.POSTGREST]: 'RESTful API web server logs',
+ [LogsTableName.SUPAVISOR]: 'Cloud-native Postgres connection pooler logs',
}
export const genQueryParams = (params: { [k: string]: string }) => {
diff --git a/studio/components/interfaces/Settings/Logs/Logs.types.ts b/studio/components/interfaces/Settings/Logs/Logs.types.ts
index 955bc0364d0..8c5e5faf7ba 100644
--- a/studio/components/interfaces/Settings/Logs/Logs.types.ts
+++ b/studio/components/interfaces/Settings/Logs/Logs.types.ts
@@ -85,6 +85,7 @@ export type QueryType =
| 'auth'
| 'realtime'
| 'storage'
+ | 'supavisor'
| 'pgbouncer'
| 'postgrest'
diff --git a/studio/components/interfaces/Settings/Logs/Logs.utils.ts b/studio/components/interfaces/Settings/Logs/Logs.utils.ts
index f8ff4d249a1..202b7f71cb4 100644
--- a/studio/components/interfaces/Settings/Logs/Logs.utils.ts
+++ b/studio/components/interfaces/Settings/Logs/Logs.utils.ts
@@ -21,6 +21,12 @@ export const isUnixMicro = (unix: string | number): boolean => {
return isNum && digitLength
}
+/**
+ * Boolean check to verify that there are 3 columns:
+ * - id
+ * - timestamp
+ * - event_message
+ */
export const isDefaultLogPreviewFormat = (log: LogData) =>
log && log.timestamp && log.event_message && log.id
@@ -65,7 +71,7 @@ const getDotKeys = (obj: { [k: string]: unknown }, parent?: string): string[] =>
*
* @returns a where statement with WHERE clause.
*/
-const _genWhereStatement = (table: LogsTableName, filters: Filters) => {
+const genWhereStatement = (table: LogsTableName, filters: Filters) => {
const keys = Object.keys(filters)
const filterTemplates = SQL_FILTER_TEMPLATES[table]
const _resolveTemplateToStatement = (dotKey: string): string | null => {
@@ -122,46 +128,42 @@ const _genWhereStatement = (table: LogsTableName, filters: Filters) => {
}
export const genDefaultQuery = (table: LogsTableName, filters: Filters) => {
- const where = _genWhereStatement(table, filters)
+ const where = genWhereStatement(table, filters)
+ const joins = genCrossJoinUnnests(table)
switch (table) {
case 'edge_logs':
return `select id, timestamp, event_message, request.method, request.path, response.status_code
from ${table}
- cross join unnest(metadata) as m
- cross join unnest(m.request) as request
- cross join unnest(m.response) as response
+ ${joins}
${where}
limit 100
`
case 'postgres_logs':
return `select postgres_logs.timestamp, id, event_message, parsed.error_severity from ${table}
- cross join unnest(metadata) as m
- cross join unnest(m.parsed) as parsed
+ ${joins}
${where}
limit 100
`
case 'function_logs':
return `select id, ${table}.timestamp, event_message, metadata.event_type, metadata.function_id, metadata.level from ${table}
- cross join unnest(metadata) as metadata
+ ${joins}
${where}
limit 100
`
case 'auth_logs':
return `select id, ${table}.timestamp, event_message, metadata.level, metadata.status, metadata.path, metadata.msg as msg, metadata.error from ${table}
- cross join unnest(metadata) as metadata
+ ${joins}
${where}
limit 100
`
case 'function_edge_logs':
return `select id, ${table}.timestamp, event_message, response.status_code, request.method, m.function_id, m.execution_time_ms, m.deployment_id, m.version from ${table}
- cross join unnest(metadata) as m
- cross join unnest(m.response) as response
- cross join unnest(m.request) as request
+ ${joins}
${where}
limit 100
`
@@ -174,6 +176,37 @@ export const genDefaultQuery = (table: LogsTableName, filters: Filters) => {
}
}
+/**
+ * Hardcoded cross join unnests and aliases for each table.
+ * Should be used together with the getWhereStatements to allow for filtering on aliases
+ */
+const genCrossJoinUnnests = (table: LogsTableName) => {
+ switch (table) {
+ case 'edge_logs':
+ return `cross join unnest(metadata) as m
+ cross join unnest(m.request) as request
+ cross join unnest(m.response) as response`
+
+ case 'postgres_logs':
+ return `cross join unnest(metadata) as m
+ cross join unnest(m.parsed) as parsed`
+
+ case 'function_logs':
+ return `cross join unnest(metadata) as metadata`
+
+ case 'auth_logs':
+ return `cross join unnest(metadata) as metadata`
+
+ case 'function_edge_logs':
+ return `cross join unnest(metadata) as m
+ cross join unnest(m.response) as response
+ cross join unnest(m.request) as request`
+
+ default:
+ return ''
+ }
+}
+
/**
* SQL query to retrieve only one log
*/
@@ -195,8 +228,9 @@ export const maybeShowUpgradePrompt = (from: string | null | undefined, planId?:
}
export const genCountQuery = (table: LogsTableName, filters: Filters): string => {
- const where = _genWhereStatement(table, filters)
- return `SELECT count(*) as count FROM ${table} ${where}`
+ const where = genWhereStatement(table, filters)
+ const joins = genCrossJoinUnnests(table)
+ return `SELECT count(*) as count FROM ${table} ${joins} ${where}`
}
/** calculates how much the chart start datetime should be offset given the current datetime filter params */
@@ -231,19 +265,13 @@ export const genChartQuery = (
filters: Filters
) => {
const [startOffset, trunc] = calcChartStart(params)
- const where = _genWhereStatement(table, filters)
+ const where = genWhereStatement(table, filters)
- let joins = 'cross join unnest(t.metadata) as metadata'
- if (table === LogsTableName.EDGE || table === LogsTableName.FN_EDGE) {
- joins += ' \n cross join unnest(metadata.request) as request'
- joins += ' \n cross join unnest(metadata.response) as response'
- } else if (table === LogsTableName.POSTGRES) {
- joins += ' \n cross join unnest(metadata.parsed) as parsed'
- }
+ let joins = genCrossJoinUnnests(table)
return `
SELECT
--- event-chart
+-- log-event-chart
timestamp_trunc(t.timestamp, ${trunc}) as timestamp,
count(t.timestamp) as count
FROM
diff --git a/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx b/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
index c04c02ec5d4..3dec21423a0 100644
--- a/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
@@ -166,9 +166,6 @@ export const LogsPreviewer = ({
csvData={logData}
isLoading={isLoading}
newCount={newCount}
- templates={TEMPLATES.filter(
- (template) => queryType && template.for?.includes(queryType) && template.mode === 'simple'
- )}
onRefresh={handleRefresh}
onSearch={handleSearch}
defaultSearchValue={filters.search_query as string}
diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsx
index 65a25739e63..f77f92b2efc 100644
--- a/studio/components/interfaces/Support/SupportForm.tsx
+++ b/studio/components/interfaces/Support/SupportForm.tsx
@@ -76,12 +76,14 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {
if (option.value.toLowerCase() === ((category as string) ?? '').toLowerCase()) return option
})
- const selectedProjectRef =
+ const [selectedProjectRef, setSelectedProjectRef] = useState(
selectedProjectFromUrl !== undefined
? selectedProjectFromUrl.ref
: projects.length > 0
? projects[0].ref
: 'no-project'
+ )
+
const selectedOrganizationSlug =
selectedProjectRef !== 'no-project'
? organizations?.find((org) => {
@@ -304,7 +306,14 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {
)}
{isSuccessProjects && (
-
+ {
+ setSelectedProjectRef(val)
+ }}
+ >
{projects.map((option) => {
const organization = organizations?.find(
(x) => x.id === option.organization_id
@@ -344,7 +353,7 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {
This project is on the{' '}
{subscription.plan.name} plan
- ) : isLoadingSubscription ? (
+ ) : isLoadingSubscription && selectedProjectRef !== 'no-project' ? (
Checking project's plan
@@ -656,7 +665,9 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {
{respondToEmail}
-
Please ensure you haven't blocked Hubspot in your emails
+
+ Please ensure you haven't blocked Hubspot in your emails
+
{
},
IS_PLATFORM
? {
- name: 'PgBouncer',
- key: 'pgbouncer-logs',
- url: `/project/${ref}/logs/pgbouncer-logs`,
+ name: 'Pooler',
+ key: 'pooler-logs',
+ url: `/project/${ref}/logs/pooler-logs`,
items: [],
}
: null,
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationActions.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationActions.tsx
index 43369381a80..581129e15d8 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationActions.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationActions.tsx
@@ -6,29 +6,22 @@ import { Button, IconExternalLink } from 'ui'
import { Project } from 'types'
-// [Joshen TODO] Remove all things about "ownerReassignStatus" after 5th November
-// double check with Qiao before we remove them.
-
interface NotificationActionsProps {
project: Project
changelogLink?: string
- ownerReassignStatus?: any
availableActions: Action[]
onSelectRestartProject: () => void
onSelectApplyMigration: () => void
onSelectRollbackMigration: () => void
- onSelectFinalizeMigration: () => void
}
const NotificationActions = ({
project,
changelogLink,
- ownerReassignStatus,
availableActions,
onSelectRestartProject,
onSelectApplyMigration,
onSelectRollbackMigration,
- onSelectFinalizeMigration,
}: NotificationActionsProps) => {
const router = useRouter()
@@ -53,29 +46,17 @@ const NotificationActions = ({
)
case ActionType.MigratePostgresSchema:
- if (action.reason === ActionReason.Finalize) {
+ if (action.reason === ActionReason.Rollback) {
return (
- ownerReassignStatus?.desired !== 'migrated' && (
-
- Finalize
-
- )
- )
- } else if (action.reason === ActionReason.Rollback) {
- return (
- ownerReassignStatus?.desired === 'temp_role' && (
-
- Rollback
-
- )
+
+ Rollback
+
)
} else {
return (
- ownerReassignStatus?.desired === 'unmigrated' && (
-
- Apply now
-
- )
+
+ Apply now
+
)
}
}
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx
index 2e88bbd09a4..35d2c42c055 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx
@@ -1,13 +1,11 @@
import * as Tooltip from '@radix-ui/react-tooltip'
import { Notification, NotificationStatus } from '@supabase/shared-types/out/notifications'
-import { useQuery } from '@tanstack/react-query'
import dayjs from 'dayjs'
import { Button, IconArchive, IconX } from 'ui'
import { useNotificationsDismissMutation } from 'data/notifications/notifications-dismiss-mutation'
import { useProjectsQuery } from 'data/projects/projects-query'
import { useStore } from 'hooks'
-import { get } from 'lib/common/fetch'
import { API_URL } from 'lib/constants'
import { Project } from 'types'
import NotificationActions from './NotificationActions'
@@ -18,7 +16,6 @@ export interface NotificationRowProps {
onSelectRestartProject: (project: Project, notification: Notification) => void
onSelectApplyMigration: (project: Project, notification: Notification) => void
onSelectRollbackMigration: (project: Project, notification: Notification) => void
- onSelectFinalizeMigration: (project: Project, notification: Notification) => void
}
const NotificationRow = ({
@@ -26,7 +23,6 @@ const NotificationRow = ({
onSelectRestartProject,
onSelectApplyMigration,
onSelectRollbackMigration,
- onSelectFinalizeMigration,
}: NotificationRowProps) => {
const { ui } = useStore()
const { data: projects } = useProjectsQuery()
@@ -49,18 +45,6 @@ const NotificationRow = ({
}
)
- // [Joshen TODO] This should be removed after the env of Feb when the migration notifications
- // have been removed, double check with Qiao before removing.
- // Relevant PR: https://github.com/supabase/supabase/pull/9229
- const { data: ownerReassignStatus } = useQuery(
- ['projects', project?.ref, 'owner-reassign'],
- ({ signal }) => get(`${API_URL}/database/${project?.ref}/owner-reassign`, { signal }),
- {
- enabled:
- (notification.data as any).upgrade_type === 'schema-migration' && project !== undefined,
- }
- )
-
const dismissNotification = async (notificationId: string) => {
if (!notificationId) return
dismissNotifications({ ids: [notificationId] })
@@ -78,8 +62,8 @@ const NotificationRow = ({
- {formatNotificationText(project, notification, ownerReassignStatus)}
- {formatNotificationCTAText(availableActions, ownerReassignStatus)}
+ {formatNotificationText(project, notification)}
+ {formatNotificationCTAText(availableActions)}
{insertedAt}
@@ -105,12 +89,10 @@ const NotificationRow = ({
onSelectRestartProject(project, notification)}
onSelectApplyMigration={() => onSelectApplyMigration(project, notification)}
onSelectRollbackMigration={() => onSelectRollbackMigration(project, notification)}
- onSelectFinalizeMigration={() => onSelectFinalizeMigration(project, notification)}
/>
)}
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx
index bfc0b5a8978..1500e67d5d2 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx
@@ -2,7 +2,6 @@ import dayjs from 'dayjs'
import { Project } from 'types'
import {
Action,
- ActionReason,
ActionType,
ExtensionsUpgrade,
Notification,
@@ -14,11 +13,7 @@ import {
import { IconArrowRight, IconExternalLink, Button } from 'ui'
import Link from 'next/link'
-export const formatNotificationText = (
- project: Project,
- notification: Notification,
- ownerReassignStatus?: any
-) => {
+export const formatNotificationText = (project: Project, notification: Notification) => {
const projectName = project.name
if (notification.data.name === NotificationName.ProjectExceedingTierLimit) {
@@ -89,28 +84,12 @@ export const formatNotificationText = (
)
} else if (upgrade_type === 'schema-migration') {
const { version_to } = additional
- if (ownerReassignStatus?.desired === 'unmigrated') {
- return (
-
- The schema migration "{version_to}" will be applied for project "{projectName}" within a
- few days. You may opt to apply the changes now, or it'll be done so automatically.
-
- )
- } else if (ownerReassignStatus?.desired === 'temp_role') {
- return (
-
- The schema migration "{version_to}" will be finalized for project "{projectName}" within
- a few days. You may opt to finalize the changes now, or it'll be done so automatically.
-
- )
- } else {
- return (
-
- The schema migration "{version_to}" has been successfully applied for project "
- {projectName}".
-
- )
- }
+ return (
+
+ The schema migration "{version_to}" has been successfully applied for project "
+ {projectName}".
+
+ )
}
} else if (notification.data.name === NotificationName.ProjectUpdateCompleted) {
const { upgrades } = notification.data
@@ -176,10 +155,7 @@ export const formatNotificationText = (
}
}
-export const formatNotificationCTAText = (
- availableActions: Action[],
- ownerReassignStatus?: any
-) => {
+export const formatNotificationCTAText = (availableActions: Action[]) => {
const [action] = availableActions
if (!action) return
@@ -192,43 +168,13 @@ export const formatNotificationCTAText = (
return
Restart your connection pooler to get the latest updates.
case ActionType.MigratePostgresSchema:
if (action.deadline) {
- if (ownerReassignStatus?.desired === 'migrated') {
- return (
-
- This patch was applied on{' '}
- {dayjs(new Date(ownerReassignStatus.migrated_at ?? action.deadline)).format(
- 'DD MMM YYYY, HH:mma'
- )}
-
- )
- } else if (ownerReassignStatus?.desired === 'temp_role') {
- if (action.reason === ActionReason.Finalize) {
- return (
-
- This patch will be automatically applied after{' '}
- {dayjs(new Date(action.deadline)).format('DD MMM YYYY, HH:mma')}
-
- )
- } else {
- return (
-
- This patch was applied on{' '}
- {dayjs(new Date(ownerReassignStatus.modified_at)).format('DD MMM YYYY, HH:mma')}
-
- )
- }
- } else {
- return (
-
- This patch will be automatically applied after{' '}
- {dayjs(new Date(action.deadline)).format('DD MMM YYYY, HH:mma')}
-
- )
- }
- } else {
- return ''
+ return (
+
+ This patch will be automatically applied after{' '}
+ {dayjs(new Date(action.deadline)).format('DD MMM YYYY, HH:mma')}
+
+ )
}
-
default:
return ''
}
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx
index 5d55ab90777..d8f536d297e 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx
@@ -3,12 +3,13 @@ import {
ActionType,
Notification,
NotificationStatus,
+ PostgresqlUpgradeData,
} from '@supabase/shared-types/out/notifications'
import { useQueryClient } from '@tanstack/react-query'
import dayjs from 'dayjs'
import { useRouter } from 'next/router'
import { Fragment, useState } from 'react'
-import { Alert, Button, IconArrowRight, IconBell, IconInbox, Popover } from 'ui'
+import { Button, IconArrowRight, IconBell, IconInbox, Popover } from 'ui'
import ConfirmModal from 'components/ui/Dialogs/ConfirmDialog'
import { useNotificationsQuery } from 'data/notifications/notifications-query'
@@ -16,7 +17,7 @@ import { useNotificationsUpdateMutation } from 'data/notifications/notifications
import { getProjectDetail } from 'data/projects/project-detail-query'
import { setProjectPostgrestStatus } from 'data/projects/projects-query'
import { useStore } from 'hooks'
-import { delete_, patch, post } from 'lib/common/fetch'
+import { delete_, post } from 'lib/common/fetch'
import { API_URL } from 'lib/constants'
import { Project } from 'types'
import NotificationRow from './NotificationRow'
@@ -37,7 +38,6 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {
const [projectToRestart, setProjectToRestart] = useState
()
const [projectToApplyMigration, setProjectToApplyMigration] = useState()
const [projectToRollbackMigration, setProjectToRollbackMigration] = useState()
- const [projectToFinalizeMigration, setProjectToFinalizeMigration] = useState()
const [targetNotification, setTargetNotification] = useState()
const newNotifications =
@@ -96,16 +96,12 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {
setTargetNotification(undefined)
}
- // [Joshen/Qiao] These are all very specific to the upcoming security patch
- // https://github.com/supabase/supabase/discussions/9314
- // We probably need to revisit this again when we're planning to push out the next wave of
- // notifications. Ideally, we should allow these to be more flexible and configurable
- // Perhaps the URLs could come from the notification themselves if the actions
- // require an external API call, then we just need one method instead of individual ones like this
-
const onConfirmProjectApplyMigration = async () => {
if (!projectToApplyMigration) return
- const res = await post(`${API_URL}/database/${projectToApplyMigration.ref}/owner-reassign`, {})
+ const data = targetNotification?.data as PostgresqlUpgradeData
+ const { resource } = data.additional as any
+ if (!resource) return
+ const res = await post(`${API_URL}/database/${projectToApplyMigration.ref}/${resource}`, {})
if (!res.error) {
const project = await getProjectDetail({ ref: projectToApplyMigration.ref })
if (project) {
@@ -128,8 +124,11 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {
const onConfirmProjectRollbackMigration = async () => {
if (!projectToRollbackMigration) return
+ const data = targetNotification?.data as PostgresqlUpgradeData
+ const { resource } = data.additional as any
+ if (!resource) return
const res = await delete_(
- `${API_URL}/database/${projectToRollbackMigration.ref}/owner-reassign`,
+ `${API_URL}/database/${projectToRollbackMigration.ref}/${resource}`,
{}
)
if (!res.error) {
@@ -152,32 +151,6 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {
setProjectToRollbackMigration(undefined)
}
- const onConfirmProjectFinalizeMigration = async () => {
- if (!projectToFinalizeMigration) return
- const res = await patch(
- `${API_URL}/database/${projectToFinalizeMigration.ref}/owner-reassign`,
- {}
- )
- if (!res.error) {
- const project = await getProjectDetail({ ref: projectToFinalizeMigration.ref })
- if (project) {
- meta.setProjectDetails(project)
- }
-
- ui.setNotification({
- category: 'success',
- message: `Successfully finalized migration for project "${projectToFinalizeMigration.name}"`,
- })
- } else {
- ui.setNotification({
- error: res.error,
- category: 'error',
- message: `Failed to finalize migration: ${res.error.message}`,
- })
- }
- setProjectToFinalizeMigration(undefined)
- }
-
if (!notifications || !Array.isArray(notifications)) return null
return (
@@ -221,10 +194,6 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {
setProjectToRollbackMigration(project)
setTargetNotification(notification)
}}
- onSelectFinalizeMigration={(project, notification) => {
- setProjectToFinalizeMigration(project)
- setTargetNotification(notification)
- }}
/>
{i !== notifications.length - 1 && }
@@ -372,34 +341,6 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {
onSelectCancel={() => setProjectToRollbackMigration(undefined)}
onSelectConfirm={onConfirmProjectRollbackMigration}
/>
-
-
-
-
The following schema migration will be finalized for the project
-
-
-
-
{(targetNotification?.data as any)?.additional?.name}
-
-
{(targetNotification?.data as any)?.additional?.version_to}
-
-
-
-
-
- }
- buttonLabel="Confirm"
- buttonLoadingLabel="Confirm"
- onSelectCancel={() => setProjectToFinalizeMigration(undefined)}
- onSelectConfirm={onConfirmProjectFinalizeMigration}
- />
>
)
}
diff --git a/studio/components/layouts/Scaffold.tsx b/studio/components/layouts/Scaffold.tsx
index 0ed8f43a859..e86c3ace300 100644
--- a/studio/components/layouts/Scaffold.tsx
+++ b/studio/components/layouts/Scaffold.tsx
@@ -65,7 +65,7 @@ const ScaffoldSectionDetail = React.forwardRef<
>(({ className, children, title, ...props }, ref) => {
return (
-
{title}
+ {title && {title} }
{children}
)
diff --git a/studio/data/api.d.ts b/studio/data/api.d.ts
index 835dda10d13..0ee3535b234 100644
--- a/studio/data/api.d.ts
+++ b/studio/data/api.d.ts
@@ -225,6 +225,14 @@ export interface paths {
/** Gets the upcoming invoice */
get: operations["OrgInvoicesController_getUpcomingInvoice"];
};
+ "/platform/pg-meta/{ref}/column-privileges": {
+ /** Retrieve column privileges */
+ get: operations["ColumnPrivilegesController_getColumnPrivileges"];
+ /** Grant column privileges */
+ post: operations["ColumnPrivilegesController_grantColumnPrivileges"];
+ /** Revoke column privileges */
+ delete: operations["ColumnPrivilegesController_revokeColumnPrivileges"];
+ };
"/platform/pg-meta/{ref}/columns": {
/** Gets project pg.columns */
get: operations["ColumnsController_getColumns"];
@@ -321,6 +329,14 @@ export interface paths {
/** Searches project pg.columns. Return maximum 50 results. */
post: operations["SearchController_searchColumns"];
};
+ "/platform/pg-meta/{ref}/table-privileges": {
+ /** Retrieve table privileges */
+ get: operations["TablePrivilegesController_getTablePrivileges"];
+ /** Grant table privileges */
+ post: operations["TablePrivilegesController_grantTablePrivileges"];
+ /** Revoke table privileges */
+ delete: operations["TablePrivilegesController_revokeTablePrivileges"];
+ };
"/platform/pg-meta/{ref}/tables": {
/** Gets project pg.tables or pg.table with the given ID */
get: operations["TablesController_getTables"];
@@ -961,6 +977,14 @@ export interface paths {
/** Updates organization member */
patch: operations["MembersController_updateMember"];
};
+ "/v0/pg-meta/{ref}/column-privileges": {
+ /** Retrieve column privileges */
+ get: operations["ColumnPrivilegesController_getColumnPrivileges"];
+ /** Grant column privileges */
+ post: operations["ColumnPrivilegesController_grantColumnPrivileges"];
+ /** Revoke column privileges */
+ delete: operations["ColumnPrivilegesController_revokeColumnPrivileges"];
+ };
"/v0/pg-meta/{ref}/columns": {
/** Gets project pg.columns */
get: operations["ColumnsController_getColumns"];
@@ -1057,6 +1081,14 @@ export interface paths {
/** Searches project pg.columns. Return maximum 50 results. */
post: operations["SearchController_searchColumns"];
};
+ "/v0/pg-meta/{ref}/table-privileges": {
+ /** Retrieve table privileges */
+ get: operations["TablePrivilegesController_getTablePrivileges"];
+ /** Grant table privileges */
+ post: operations["TablePrivilegesController_grantTablePrivileges"];
+ /** Revoke table privileges */
+ delete: operations["TablePrivilegesController_revokeTablePrivileges"];
+ };
"/v0/pg-meta/{ref}/tables": {
/** Gets project pg.tables or pg.table with the given ID */
get: operations["TablesController_getTables"];
@@ -1539,22 +1571,6 @@ export interface paths {
/** Create an organization */
post: operations["OrganizationsController_createOrganization"];
};
- "/v1/organizations/{slug}/oauth/apps": {
- /** List published or authorized oauth apps */
- get: operations["OAuthAppsController_listOAuthApps"];
- /** Create an oauth app */
- post: operations["OAuthAppsController_createOAuthApp"];
- };
- "/v1/organizations/{slug}/oauth/apps/{id}": {
- /** Update an oauth app */
- put: operations["OAuthAppsController_updateOAuthApp"];
- /** Remove a published oauth app */
- delete: operations["OAuthAppsController_removeOAuthApp"];
- };
- "/v1/organizations/{slug}/oauth/apps/{id}/revoke": {
- /** Revoke an authorized oauth app */
- post: operations["OAuthAppsController_revokeAuthorizedOAuthApp"];
- };
"/v1/oauth/authorize": {
/** Authorize user through oauth */
get: operations["OAuthController_authorize"];
@@ -1563,13 +1579,6 @@ export interface paths {
/** Exchange auth code for user's access and refresh token */
post: operations["OAuthController_token"];
};
- "/v1/oauth/authorizations/{id}": {
- get: operations["AuthorizationsController_getAuthorizationRequest"];
- /** Approve oauth app authorization request */
- post: operations["AuthorizationsController_approveAuthorizationRequest"];
- /** Decline oauth app authorization request */
- delete: operations["AuthorizationsController_declineAuthorizationRequest"];
- };
}
export type webhooks = Record
;
@@ -2536,6 +2545,33 @@ export interface components {
/** @enum {string} */
tier: "tier_payg" | "tier_pro" | "tier_free" | "tier_team" | "tier_enterprise";
};
+ ColumnPrivilege: {
+ grantor: string;
+ grantee: string;
+ /** @enum {string} */
+ privilege_type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "REFERENCES";
+ is_grantable: boolean;
+ };
+ PostgresColumnPrivileges: {
+ column_id: string;
+ relation_schema: string;
+ relation_name: string;
+ column_name: string;
+ privileges: (components["schemas"]["ColumnPrivilege"])[];
+ };
+ GrantColumnPrivilegesBody: {
+ is_grantable?: boolean;
+ column_id: string;
+ grantee: string;
+ /** @enum {string} */
+ privilege_type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "REFERENCES";
+ };
+ RevokeColumnPrivilegesBody: {
+ column_id: string;
+ grantee: string;
+ /** @enum {string} */
+ privilege_type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "REFERENCES";
+ };
PostgresColumn: {
table_id: number;
schema: string;
@@ -2796,6 +2832,32 @@ export interface components {
table_id: number;
table: string;
};
+ TablePrivilege: {
+ grantor: string;
+ grantee: string;
+ /** @enum {string} */
+ privilege_type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER";
+ is_grantable: boolean;
+ };
+ PostgresTablePrivileges: {
+ schema: string;
+ name: string;
+ kind: string;
+ privileges: (components["schemas"]["TablePrivilege"])[];
+ };
+ GrantTablePrivilegesBody: {
+ is_grantable?: boolean;
+ relation_id: number;
+ grantee: string;
+ /** @enum {string} */
+ privilege_type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER";
+ };
+ RevokeTablePrivilegesBody: {
+ relation_id: number;
+ grantee: string;
+ /** @enum {string} */
+ privilege_type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER";
+ };
PrimaryKey: {
schema: string;
table_name: string;
@@ -4214,55 +4276,6 @@ export interface components {
entrypoint_path?: string;
import_map_path?: string;
};
- OAuthAppResponse: {
- id: string;
- name: string;
- website: string;
- icon?: string;
- authorized_at?: string;
- created_at?: string;
- client_id?: string;
- client_secret_alias?: string;
- redirect_uris?: (string)[];
- };
- CreateOAuthAppBody: {
- name: string;
- website: string;
- icon?: string;
- redirect_uris: (string)[];
- };
- CreateOAuthAppResponse: {
- id: string;
- client_id: string;
- client_secret: string;
- };
- PutOAuthAppResponse: {
- id: string;
- client_id: string;
- client_secret_alias: string;
- created_at: string;
- name: string;
- website: string;
- icon?: string;
- redirect_uris: (string)[];
- };
- RevokeAuthorizedOAuthAppResponse: {
- id: string;
- name: string;
- website: string;
- icon?: string;
- authorized_at: string;
- };
- DeleteOAuthAppResponse: {
- id: string;
- name: string;
- website: string;
- icon?: string;
- created_at: string;
- client_id: string;
- client_secret_alias: string;
- redirect_uris: (string)[];
- };
OAuthTokenBody: {
/** @enum {string} */
grant_type: "authorization_code" | "refresh_token";
@@ -4280,24 +4293,6 @@ export interface components {
refresh_token: string;
expires_in: number;
};
- GetAuthorizationResponse: {
- name: string;
- website: string;
- icon?: string;
- domain: string;
- expires_at: string;
- approved_at?: string;
- approved_organization_slug?: string;
- };
- AuthorizationsApproveBody: {
- organization_id: string;
- };
- ApproveAuthorizationResponse: {
- url: string;
- };
- DeclineAuthorizationResponse: {
- id: string;
- };
};
responses: never;
parameters: never;
@@ -5499,6 +5494,82 @@ export interface operations {
500: never;
};
};
+ /** Retrieve column privileges */
+ ColumnPrivilegesController_getColumnPrivileges: {
+ parameters: {
+ header: {
+ "x-connection-encrypted": string;
+ };
+ path: {
+ /** @description Project ref */
+ ref: string;
+ };
+ };
+ responses: {
+ 200: {
+ content: {
+ "application/json": (components["schemas"]["PostgresColumnPrivileges"])[];
+ };
+ };
+ 403: never;
+ /** @description Failed to retrieve column privileges */
+ 500: never;
+ };
+ };
+ /** Grant column privileges */
+ ColumnPrivilegesController_grantColumnPrivileges: {
+ parameters: {
+ header: {
+ "x-connection-encrypted": string;
+ };
+ path: {
+ /** @description Project ref */
+ ref: string;
+ };
+ };
+ requestBody: {
+ content: {
+ "application/json": (components["schemas"]["GrantColumnPrivilegesBody"])[];
+ };
+ };
+ responses: {
+ 201: {
+ content: {
+ "application/json": (components["schemas"]["PostgresColumnPrivileges"])[];
+ };
+ };
+ 403: never;
+ /** @description Failed to grant column privileges */
+ 500: never;
+ };
+ };
+ /** Revoke column privileges */
+ ColumnPrivilegesController_revokeColumnPrivileges: {
+ parameters: {
+ header: {
+ "x-connection-encrypted": string;
+ };
+ path: {
+ /** @description Project ref */
+ ref: string;
+ };
+ };
+ requestBody: {
+ content: {
+ "application/json": (components["schemas"]["RevokeColumnPrivilegesBody"])[];
+ };
+ };
+ responses: {
+ 200: {
+ content: {
+ "application/json": (components["schemas"]["PostgresColumnPrivileges"])[];
+ };
+ };
+ 403: never;
+ /** @description Failed to revoke column privileges */
+ 500: never;
+ };
+ };
/** Gets project pg.columns */
ColumnsController_getColumns: {
parameters: {
@@ -6413,6 +6484,82 @@ export interface operations {
500: never;
};
};
+ /** Retrieve table privileges */
+ TablePrivilegesController_getTablePrivileges: {
+ parameters: {
+ header: {
+ "x-connection-encrypted": string;
+ };
+ path: {
+ /** @description Project ref */
+ ref: string;
+ };
+ };
+ responses: {
+ 200: {
+ content: {
+ "application/json": (components["schemas"]["PostgresTablePrivileges"])[];
+ };
+ };
+ 403: never;
+ /** @description Failed to retrieve table privileges */
+ 500: never;
+ };
+ };
+ /** Grant table privileges */
+ TablePrivilegesController_grantTablePrivileges: {
+ parameters: {
+ header: {
+ "x-connection-encrypted": string;
+ };
+ path: {
+ /** @description Project ref */
+ ref: string;
+ };
+ };
+ requestBody: {
+ content: {
+ "application/json": (components["schemas"]["GrantTablePrivilegesBody"])[];
+ };
+ };
+ responses: {
+ 201: {
+ content: {
+ "application/json": (components["schemas"]["PostgresTablePrivileges"])[];
+ };
+ };
+ 403: never;
+ /** @description Failed to grant table privileges */
+ 500: never;
+ };
+ };
+ /** Revoke table privileges */
+ TablePrivilegesController_revokeTablePrivileges: {
+ parameters: {
+ header: {
+ "x-connection-encrypted": string;
+ };
+ path: {
+ /** @description Project ref */
+ ref: string;
+ };
+ };
+ requestBody: {
+ content: {
+ "application/json": (components["schemas"]["RevokeTablePrivilegesBody"])[];
+ };
+ };
+ responses: {
+ 200: {
+ content: {
+ "application/json": (components["schemas"]["PostgresTablePrivileges"])[];
+ };
+ };
+ 403: never;
+ /** @description Failed to revoke table privileges */
+ 500: never;
+ };
+ };
/** Gets project pg.tables or pg.table with the given ID */
TablesController_getTables: {
parameters: {
@@ -8458,7 +8605,7 @@ export interface operations {
"application/json": components["schemas"]["CreateVercelConnectionResponse"];
};
};
- /** @description Failed to create project connections */
+ /** @description Failed to create project connection */
500: never;
};
};
@@ -10142,97 +10289,6 @@ export interface operations {
500: never;
};
};
- /** List published or authorized oauth apps */
- OAuthAppsController_listOAuthApps: {
- parameters: {
- query: {
- type: "published" | "authorized";
- };
- path: {
- slug: string;
- };
- };
- responses: {
- 200: {
- content: {
- "application/json": (components["schemas"]["OAuthAppResponse"])[];
- };
- };
- };
- };
- /** Create an oauth app */
- OAuthAppsController_createOAuthApp: {
- parameters: {
- path: {
- slug: string;
- };
- };
- requestBody: {
- content: {
- "application/json": components["schemas"]["CreateOAuthAppBody"];
- };
- };
- responses: {
- 201: {
- content: {
- "application/json": components["schemas"]["CreateOAuthAppResponse"];
- };
- };
- };
- };
- /** Update an oauth app */
- OAuthAppsController_updateOAuthApp: {
- parameters: {
- path: {
- slug: string;
- id: string;
- };
- };
- requestBody: {
- content: {
- "application/json": components["schemas"]["CreateOAuthAppBody"];
- };
- };
- responses: {
- 200: {
- content: {
- "application/json": components["schemas"]["PutOAuthAppResponse"];
- };
- };
- };
- };
- /** Remove a published oauth app */
- OAuthAppsController_removeOAuthApp: {
- parameters: {
- path: {
- slug: string;
- id: string;
- };
- };
- responses: {
- 200: {
- content: {
- "application/json": components["schemas"]["DeleteOAuthAppResponse"];
- };
- };
- };
- };
- /** Revoke an authorized oauth app */
- OAuthAppsController_revokeAuthorizedOAuthApp: {
- parameters: {
- path: {
- slug: string;
- id: string;
- };
- };
- responses: {
- 201: {
- content: {
- "application/json": components["schemas"]["RevokeAuthorizedOAuthAppResponse"];
- };
- };
- };
- };
/** Authorize user through oauth */
OAuthController_authorize: {
parameters: {
@@ -10266,53 +10322,4 @@ export interface operations {
};
};
};
- AuthorizationsController_getAuthorizationRequest: {
- parameters: {
- path: {
- id: string;
- };
- };
- responses: {
- 200: {
- content: {
- "application/json": components["schemas"]["GetAuthorizationResponse"];
- };
- };
- };
- };
- /** Approve oauth app authorization request */
- AuthorizationsController_approveAuthorizationRequest: {
- parameters: {
- path: {
- id: string;
- };
- };
- requestBody: {
- content: {
- "application/json": components["schemas"]["AuthorizationsApproveBody"];
- };
- };
- responses: {
- 201: {
- content: {
- "application/json": components["schemas"]["ApproveAuthorizationResponse"];
- };
- };
- };
- };
- /** Decline oauth app authorization request */
- AuthorizationsController_declineAuthorizationRequest: {
- parameters: {
- path: {
- id: string;
- };
- };
- responses: {
- 200: {
- content: {
- "application/json": components["schemas"]["DeclineAuthorizationResponse"];
- };
- };
- };
- };
}
diff --git a/studio/data/invoices/invoice-query.ts b/studio/data/invoices/invoice-query.ts
new file mode 100644
index 00000000000..e1ff6e23fd5
--- /dev/null
+++ b/studio/data/invoices/invoice-query.ts
@@ -0,0 +1,36 @@
+import { useQuery, UseQueryOptions } from '@tanstack/react-query'
+import { get } from 'data/fetchers'
+import { ResponseError } from 'types'
+import { invoicesKeys } from './keys'
+
+export type InvoiceVariables = {
+ id?: string
+}
+
+export async function getInvoice({ id }: InvoiceVariables, signal?: AbortSignal) {
+ if (!id) throw new Error('Invoice ID is required')
+
+ const { data, error } = await get(`/platform/stripe/invoices/{id}`, {
+ params: { path: { id } },
+ signal,
+ })
+
+ if (error) throw error
+ return data
+}
+
+export type InvoiceData = Awaited>
+export type InvoiceError = ResponseError
+
+export const useInvoiceQuery = (
+ { id }: InvoiceVariables,
+ { enabled = true, ...options }: UseQueryOptions = {}
+) =>
+ useQuery(
+ invoicesKeys.invoice(id),
+ ({ signal }) => getInvoice({ id }, signal),
+ {
+ enabled: enabled && typeof id !== 'undefined',
+ ...options,
+ }
+ )
diff --git a/studio/data/invoices/invoices-count-query.ts b/studio/data/invoices/invoices-count-query.ts
new file mode 100644
index 00000000000..241ff0c5341
--- /dev/null
+++ b/studio/data/invoices/invoices-count-query.ts
@@ -0,0 +1,42 @@
+import { useQuery, UseQueryOptions } from '@tanstack/react-query'
+import { head } from 'data/fetchers'
+import { ResponseError } from 'types'
+import { invoicesKeys } from './keys'
+
+export type InvoicesCountVariables = {
+ customerId?: string
+ slug?: string
+}
+
+export async function getInvoicesCount(
+ { customerId, slug }: InvoicesCountVariables,
+ signal?: AbortSignal
+) {
+ if (!customerId) throw new Error('Customer ID is required')
+ if (!slug) throw new Error('Slug is required')
+
+ const res = await head(`/platform/stripe/invoices`, {
+ params: { query: { customer: customerId, slug } },
+ signal,
+ parseAs: 'text',
+ })
+
+ if (res.error) throw (res as any).error
+ return Number(res.response.headers.get('X-Total-Count'))
+}
+
+export type InvoicesCountData = Awaited>
+export type InvoicesCountError = ResponseError
+
+export const useInvoicesCountQuery = (
+ { customerId, slug }: InvoicesCountVariables,
+ { enabled = true, ...options }: UseQueryOptions = {}
+) =>
+ useQuery(
+ invoicesKeys.count(customerId, slug),
+ ({ signal }) => getInvoicesCount({ customerId, slug }, signal),
+ {
+ enabled: enabled && typeof customerId !== 'undefined' && typeof slug !== 'undefined',
+ ...options,
+ }
+ )
diff --git a/studio/data/invoices/invoices-query.ts b/studio/data/invoices/invoices-query.ts
new file mode 100644
index 00000000000..617fd32b6a3
--- /dev/null
+++ b/studio/data/invoices/invoices-query.ts
@@ -0,0 +1,47 @@
+import { useQuery, UseQueryOptions } from '@tanstack/react-query'
+import { get } from 'data/fetchers'
+import { ResponseError } from 'types'
+import { invoicesKeys } from './keys'
+
+export type InvoicesVariables = {
+ customerId?: string
+ slug?: string
+ offset?: number
+ limit?: number
+}
+
+export async function getInvoices(
+ { customerId, slug, offset = 0, limit = 10 }: InvoicesVariables,
+ signal?: AbortSignal
+) {
+ if (!customerId) throw new Error('Customer ID is required')
+ if (!slug) throw new Error('Org slug is required')
+
+ const { data, error } = await get(`/platform/stripe/invoices`, {
+ params: {
+ // @ts-ignore: [Joshen] Might be API spec wrong
+ query: { offset: offset.toString(), limit: limit.toString(), customer: customerId, slug },
+ },
+ signal,
+ })
+
+ if (error) throw error
+ return data
+}
+
+export type InvoicesData = Awaited>
+export type InvoicesError = ResponseError
+
+export const useInvoicesQuery = (
+ { customerId, slug, offset, limit }: InvoicesVariables,
+ { enabled = true, ...options }: UseQueryOptions = {}
+) =>
+ // [Joshen] Switch to useInfiniteQuery
+ useQuery(
+ invoicesKeys.list(customerId, slug, offset),
+ ({ signal }) => getInvoices({ customerId, slug, offset, limit }, signal),
+ {
+ enabled: enabled && typeof customerId !== 'undefined' && typeof slug !== 'undefined',
+ ...options,
+ }
+ )
diff --git a/studio/data/invoices/keys.ts b/studio/data/invoices/keys.ts
index f2ba9be09a5..5b1a5a482a8 100644
--- a/studio/data/invoices/keys.ts
+++ b/studio/data/invoices/keys.ts
@@ -1,5 +1,16 @@
export const invoicesKeys = {
overdueInvoices: () => ['invoices', 'overdue'] as const,
+
+ invoice: (id: string | undefined) => ['invoice', id] as const,
+ list: (customerId: string | undefined, slug: string | undefined, offset: number | undefined) =>
+ ['invoices', customerId, slug, offset] as const,
+ count: (customerId: string | undefined, slug: string | undefined) =>
+ ['invoices', customerId, slug, 'count'] as const,
+
+ projectInvoices: (projectRef: string | undefined, offset: number | undefined) =>
+ ['invoices', projectRef, offset] as const,
+ projectInvoicesCount: (projectRef: string | undefined) =>
+ ['invoices', projectRef, 'count'] as const,
upcomingPreview: (projectRef: string | undefined) =>
['invoices', projectRef, 'upcoming-preview'] as const,
orgUpcomingPreview: (projectRef: string | undefined) =>
diff --git a/studio/data/invoices/project-invoices-count-query.ts b/studio/data/invoices/project-invoices-count-query.ts
new file mode 100644
index 00000000000..7453d934013
--- /dev/null
+++ b/studio/data/invoices/project-invoices-count-query.ts
@@ -0,0 +1,43 @@
+import { useQuery, UseQueryOptions } from '@tanstack/react-query'
+import { head } from 'data/fetchers'
+import { ResponseError } from 'types'
+import { invoicesKeys } from './keys'
+
+export type ProjectInvoicesCountVariables = {
+ projectRef?: string
+}
+
+export async function getProjectInvoicesCount(
+ { projectRef }: ProjectInvoicesCountVariables,
+ signal?: AbortSignal
+) {
+ if (!projectRef) throw new Error('Project ref is required')
+
+ const res = await head(`/platform/projects/{ref}/invoices`, {
+ params: { path: { ref: projectRef } },
+ signal,
+ parseAs: 'text',
+ })
+
+ if (res.error) throw (res as any).error
+ return Number(res.response.headers.get('X-Total-Count'))
+}
+
+export type ProjectInvoicesCountData = Awaited>
+export type ProjectInvoicesCountError = ResponseError
+
+export const useProjectInvoicesCountQuery = (
+ { projectRef }: ProjectInvoicesCountVariables,
+ {
+ enabled = true,
+ ...options
+ }: UseQueryOptions = {}
+) =>
+ useQuery(
+ invoicesKeys.projectInvoicesCount(projectRef),
+ ({ signal }) => getProjectInvoicesCount({ projectRef }, signal),
+ {
+ enabled: enabled && typeof projectRef !== 'undefined',
+ ...options,
+ }
+ )
diff --git a/studio/data/invoices/project-invoices-query.ts b/studio/data/invoices/project-invoices-query.ts
new file mode 100644
index 00000000000..01475bf4aa5
--- /dev/null
+++ b/studio/data/invoices/project-invoices-query.ts
@@ -0,0 +1,48 @@
+import { useQuery, UseQueryOptions } from '@tanstack/react-query'
+import { get } from 'data/fetchers'
+import { ResponseError } from 'types'
+import { invoicesKeys } from './keys'
+
+export type ProjectInvoicesVariables = {
+ projectRef?: string
+ offset?: number
+ limit?: number
+}
+
+export async function getProjectInvoices(
+ { projectRef, offset = 0, limit = 10 }: ProjectInvoicesVariables,
+ signal?: AbortSignal
+) {
+ if (!projectRef) throw new Error('Project ref is required')
+
+ const { data, error } = await get(`/platform/projects/{ref}/invoices`, {
+ params: {
+ path: { ref: projectRef },
+ query: { offset: offset.toString(), limit: limit.toString() },
+ },
+ signal,
+ })
+
+ if (error) throw error
+ return data
+}
+
+export type ProjectInvoicesData = Awaited>
+export type ProjectInvoicesError = ResponseError
+
+export const useProjectInvoicesQuery = (
+ { projectRef, offset, limit }: ProjectInvoicesVariables,
+ {
+ enabled = true,
+ ...options
+ }: UseQueryOptions = {}
+) =>
+ // [Joshen] Switch to useInfiniteQuery
+ useQuery(
+ invoicesKeys.projectInvoices(projectRef, offset),
+ ({ signal }) => getProjectInvoices({ projectRef, offset, limit }, signal),
+ {
+ enabled: enabled && typeof projectRef !== 'undefined',
+ ...options,
+ }
+ )
diff --git a/studio/data/organizations/organization-payment-methods-query.ts b/studio/data/organizations/organization-payment-methods-query.ts
index 6118492f797..46bb30643ad 100644
--- a/studio/data/organizations/organization-payment-methods-query.ts
+++ b/studio/data/organizations/organization-payment-methods-query.ts
@@ -3,6 +3,7 @@ import { get } from 'lib/common/fetch'
import { API_URL } from 'lib/constants'
import { useCallback } from 'react'
import { organizationKeys } from './keys'
+import { ResponseError } from 'types'
export type OrganizationPaymentMethodsVariables = { slug?: string }
export type OrganizationPaymentMethod = {
@@ -31,7 +32,7 @@ export type OrganizationPaymentMethod = {
}
}
-export async function getOrganizations(
+export async function getOrganizationPaymentMethods(
{ slug }: OrganizationPaymentMethodsVariables,
signal?: AbortSignal
) {
@@ -43,8 +44,10 @@ export async function getOrganizations(
return response.data as OrganizationPaymentMethod[]
}
-export type OrganizationPaymentMethodsData = Awaited>
-export type OrganizationPaymentMethodsError = unknown
+export type OrganizationPaymentMethodsData = Awaited<
+ ReturnType
+>
+export type OrganizationPaymentMethodsError = ResponseError
export const useOrganizationPaymentMethodsQuery = (
{ slug }: OrganizationPaymentMethodsVariables,
@@ -55,7 +58,7 @@ export const useOrganizationPaymentMethodsQuery =
useQuery(
organizationKeys.paymentMethods(slug),
- ({ signal }) => getOrganizations({ slug }, signal),
+ ({ signal }) => getOrganizationPaymentMethods({ slug }, signal),
{ enabled: enabled, ...options }
)
@@ -67,7 +70,7 @@ export const useOrganizationPaymentMethodsPrefetch = ({
return useCallback(
() =>
client.prefetchQuery(organizationKeys.paymentMethods(slug), ({ signal }) =>
- getOrganizations({ slug }, signal)
+ getOrganizationPaymentMethods({ slug }, signal)
),
[]
)
diff --git a/studio/data/projects/keys.ts b/studio/data/projects/keys.ts
index 0575110e536..c0043e00294 100644
--- a/studio/data/projects/keys.ts
+++ b/studio/data/projects/keys.ts
@@ -1,5 +1,6 @@
export const projectKeys = {
list: () => ['all-projects'] as const,
+ types: (projectRef: string | undefined) => ['project', projectRef, 'types'] as const,
detail: (projectRef: string | undefined) => ['project', projectRef, 'detail'] as const,
readonlyStatusList: () => ['projects', 'readonly-statuses'] as const,
readonlyStatus: (projectRef: string | undefined) =>
diff --git a/studio/data/projects/project-detail-query.ts b/studio/data/projects/project-detail-query.ts
index a64643541cf..d6d6e195045 100644
--- a/studio/data/projects/project-detail-query.ts
+++ b/studio/data/projects/project-detail-query.ts
@@ -1,8 +1,9 @@
import { useQuery, useQueryClient, UseQueryOptions } from '@tanstack/react-query'
+import { useCallback } from 'react'
+
import { get, isResponseOk } from 'lib/common/fetch'
import { API_URL } from 'lib/constants'
-import { useCallback } from 'react'
-import { Project } from 'types'
+import { Project, ResponseError } from 'types'
import { projectKeys } from './keys'
export type ProjectDetailVariables = { ref?: string }
@@ -16,7 +17,7 @@ export async function getProjectDetail({ ref }: ProjectDetailVariables, signal?:
}
export type ProjectDetailData = Awaited>
-export type ProjectDetailError = unknown
+export type ProjectDetailError = ResponseError
export const useProjectDetailQuery = (
{ ref }: ProjectDetailVariables,
diff --git a/studio/data/projects/project-type-generation-query.ts b/studio/data/projects/project-type-generation-query.ts
new file mode 100644
index 00000000000..f950459d43f
--- /dev/null
+++ b/studio/data/projects/project-type-generation-query.ts
@@ -0,0 +1,32 @@
+import { useQuery, UseQueryOptions } from '@tanstack/react-query'
+
+import { get } from 'data/fetchers'
+import { ResponseError } from 'types'
+import { projectKeys } from './keys'
+
+export type GenerateTypesVariables = { ref?: string }
+
+export async function generateTypes({ ref }: GenerateTypesVariables, signal?: AbortSignal) {
+ if (!ref) throw new Error('Project ref is required')
+
+ const { data, error } = await get(`/v1/projects/{ref}/types/typescript`, {
+ params: { path: { ref } },
+ signal,
+ })
+
+ if (error) throw error
+ return data
+}
+
+export type GenerateTypesData = Awaited>
+export type GenerateTypesError = ResponseError
+
+export const useGenerateTypesQuery = (
+ { ref }: GenerateTypesVariables,
+ { enabled = true, ...options }: UseQueryOptions = {}
+) =>
+ useQuery(
+ projectKeys.types(ref),
+ ({ signal }) => generateTypes({ ref }, signal),
+ { enabled: enabled && typeof ref !== 'undefined', ...options }
+ )
diff --git a/studio/hooks/analytics/useLogsPreview.tsx b/studio/hooks/analytics/useLogsPreview.tsx
index e7fa3b2d317..c5eab5c11a6 100644
--- a/studio/hooks/analytics/useLogsPreview.tsx
+++ b/studio/hooks/analytics/useLogsPreview.tsx
@@ -15,7 +15,7 @@ import {
LogsTableName,
PREVIEWER_DATEPICKER_HELPERS,
} from 'components/interfaces/Settings/Logs'
-import { Dispatch, SetStateAction, useEffect, useRef, useState } from 'react'
+import { Dispatch, SetStateAction, useEffect, useMemo, useRef, useState } from 'react'
import { API_URL } from 'lib/constants'
import { get, isResponseOk } from 'lib/common/fetch'
import dayjs from 'dayjs'
@@ -125,14 +125,14 @@ function useLogsPreview(
// chart data
- const chartQuery = genChartQuery(table, params, filters)
- const chartUrl = () => {
+ const chartQuery = useMemo(()=> genChartQuery(table, params, filters) , [params, filters])
+ const chartUrl = useMemo(() => {
return `${API_URL}/projects/${projectRef}/analytics/endpoints/logs.all?${genQueryParams({
iso_timestamp_end: params.iso_timestamp_end,
project: params.project,
sql: chartQuery,
} as any)}`
- }
+ }, [params, chartQuery])
const { data: eventChartResponse, refetch: refreshEventChart } = useQuery(
[
@@ -141,7 +141,7 @@ function useLogsPreview(
'logs-chart',
{ iso_timestamp_end: params.iso_timestamp_end, project: params.project, sql: chartQuery },
],
- ({ signal }) => get(chartUrl(), { signal }),
+ ({ signal }) => get(chartUrl, { signal }),
{ refetchOnWindowFocus: false }
)
diff --git a/studio/next.config.js b/studio/next.config.js
index bd3c3cc86e8..5aa6af64357 100644
--- a/studio/next.config.js
+++ b/studio/next.config.js
@@ -109,7 +109,12 @@ const nextConfig = {
},
{
source: '/project/:ref/database/pgbouncer-logs',
- destination: '/project/:ref/logs/pgbouncer-logs',
+ destination: '/project/:ref/logs/pooler-logs',
+ permanent: true,
+ },
+ {
+ source: '/project/:ref/logs/pgbouncer-logs',
+ destination: '/project/:ref/logs/pooler-logs',
permanent: true,
},
{
diff --git a/studio/pages/api/projects/[ref]/analytics/endpoints/[name].ts b/studio/pages/api/projects/[ref]/analytics/endpoints/[name].ts
index 6322ef0c48a..88fe005f718 100644
--- a/studio/pages/api/projects/[ref]/analytics/endpoints/[name].ts
+++ b/studio/pages/api/projects/[ref]/analytics/endpoints/[name].ts
@@ -10,16 +10,6 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
switch (method) {
case 'GET':
- if (process.env.NEXT_PUBLIC_ENABLE_LOGS !== 'true') {
- return res
- .status(400)
- .json({ error: { message: '[analytics] is not enabled in supabase/config.toml' } })
- }
- if (process.env.NEXT_ANALYTICS_BACKEND_PROVIDER !== 'bigquery') {
- return res
- .status(400)
- .json({ error: { message: 'Log Explorer is only supported by the [analytics] Big Query backend. Please refer to https://supabase.com/docs/reference/self-hosting-analytics/introduction for more information' } })
- }
const missingEnvVars = [
process.env.LOGFLARE_API_KEY ? null : 'LOGFLARE_API_KEY',
process.env.LOGFLARE_URL ? null : 'LOGFLARE_URL',
@@ -44,7 +34,7 @@ const proxyRequest = async (req: NextApiRequest) => {
const payload = { ...toForward, project_tier: 'ENTERPRISE' }
const search = '?' + new URLSearchParams(payload as any).toString()
const apiKey = process.env.LOGFLARE_API_KEY
- const url = `${PROJECT_ANALYTICS_URL}endpoints/query/name/${name}${search}`
+ const url = `${PROJECT_ANALYTICS_URL}endpoints/query/${name}${search}`
const result = await get(url, {
headers: {
'x-api-key': apiKey,
diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsx
index ac424100810..70f25698dde 100644
--- a/studio/pages/new/[slug].tsx
+++ b/studio/pages/new/[slug].tsx
@@ -1,11 +1,23 @@
import { PermissionAction } from '@supabase/shared-types/out/constants'
+import { useParams } from 'common'
import generator from 'generate-password'
import { debounce, isUndefined } from 'lodash'
import { observer } from 'mobx-react-lite'
+import Link from 'next/link'
import Router, { useRouter } from 'next/router'
import { useEffect, useRef, useState } from 'react'
+import {
+ Alert,
+ Button,
+ IconExternalLink,
+ IconHelpCircle,
+ IconInfo,
+ IconUsers,
+ Input,
+ Listbox,
+ Toggle,
+} from 'ui'
-import { useParams } from 'common/hooks'
import { SpendCapModal } from 'components/interfaces/BillingV2'
import {
EmptyPaymentMethodWarning,
@@ -18,10 +30,12 @@ import InformationBox from 'components/ui/InformationBox'
import Panel from 'components/ui/Panel'
import PasswordStrengthBar from 'components/ui/PasswordStrengthBar'
import { useFreeProjectLimitCheckQuery } from 'data/organizations/free-project-limit-check-query'
+import { useOrganizationPaymentMethodsQuery } from 'data/organizations/organization-payment-methods-query'
import { useOrganizationsQuery } from 'data/organizations/organizations-query'
+import { useProjectsQuery } from 'data/projects/projects-query'
import { useOrgSubscriptionQuery } from 'data/subscriptions/org-subscription-query'
import { useCheckPermissions, useFlag, useStore, withAuth } from 'hooks'
-import { get, post } from 'lib/common/fetch'
+import { post } from 'lib/common/fetch'
import {
API_URL,
AWS_REGIONS,
@@ -38,19 +52,6 @@ import {
} from 'lib/constants'
import { passwordStrength, pluckObjectFields } from 'lib/helpers'
import { NextPageWithLayout } from 'types'
-import {
- Alert,
- Button,
- IconExternalLink,
- IconHelpCircle,
- IconInfo,
- IconUsers,
- Input,
- Listbox,
- Toggle,
-} from 'ui'
-import Link from 'next/link'
-import { useProjectsQuery } from 'data/projects/projects-query'
const Wizard: NextPageWithLayout = () => {
const router = useRouter()
@@ -73,16 +74,16 @@ const Wizard: NextPageWithLayout = () => {
const [passwordStrengthMessage, setPasswordStrengthMessage] = useState('')
const [passwordStrengthWarning, setPasswordStrengthWarning] = useState('')
const [passwordStrengthScore, setPasswordStrengthScore] = useState(0)
- const [paymentMethods, setPaymentMethods] = useState(undefined)
-
const [showSpendCapHelperModal, setShowSpendCapHelperModal] = useState(false)
-
const [isSpendCapEnabled, setIsSpendCapEnabled] = useState(true)
const { data: organizations, isSuccess: isOrganizationsSuccess } = useOrganizationsQuery()
const currentOrg = organizations?.find((o: any) => o.slug === slug)
const billedViaOrg = Boolean(currentOrg?.subscription_id)
+ const { data: paymentMethods, refetch: refetchPaymentMethods } =
+ useOrganizationPaymentMethodsQuery({ slug })
+
const { data: orgSubscription } = useOrgSubscriptionQuery(
{ orgSlug: slug },
{ enabled: billedViaOrg }
@@ -148,25 +149,6 @@ const Wizard: NextPageWithLayout = () => {
}
}, [])
- async function getPaymentMethods(slug: string) {
- const { data: paymentMethods, error } = await get(`${API_URL}/organizations/${slug}/payments`)
- if (!error) {
- setPaymentMethods(paymentMethods)
- } else {
- ui.setNotification({
- error,
- category: 'error',
- message: `Failed to retrieve payment methods: ${error.message}`,
- })
- }
- }
-
- useEffect(() => {
- if (slug) {
- getPaymentMethods(slug as string)
- }
- }, [slug])
-
function onProjectNameChange(e: any) {
e.target.value = e.target.value.replace(/\./g, '')
setProjectName(e.target.value)
@@ -196,12 +178,6 @@ const Wizard: NextPageWithLayout = () => {
setDbPricingTierKey(value)
}
- function onPaymentMethodAdded() {
- if (slug) {
- return getPaymentMethods(slug)
- }
- }
-
async function checkPasswordStrength(value: any) {
const { message, warning, strength } = await passwordStrength(value)
setPasswordStrengthScore(strength)
@@ -575,7 +551,7 @@ const Wizard: NextPageWithLayout = () => {
)}
{!billedViaOrg && !isSelectFreeTier && isEmptyPaymentMethod && (
-
+ refetchPaymentMethods()} />
)}
)}
diff --git a/studio/pages/project/[ref]/logs/pgbouncer-logs.tsx b/studio/pages/project/[ref]/logs/pooler-logs.tsx
similarity index 60%
rename from studio/pages/project/[ref]/logs/pgbouncer-logs.tsx
rename to studio/pages/project/[ref]/logs/pooler-logs.tsx
index 17a449d1579..4ac98a09c80 100644
--- a/studio/pages/project/[ref]/logs/pgbouncer-logs.tsx
+++ b/studio/pages/project/[ref]/logs/pooler-logs.tsx
@@ -6,13 +6,18 @@ import LogsPreviewer from 'components/interfaces/Settings/Logs/LogsPreviewer'
import { LogsLayout } from 'components/layouts'
import { usePoolingConfigurationQuery } from 'data/database/pooling-configuration-query'
import { NextPageWithLayout } from 'types'
+import Connecting from 'components/ui/Loading/Loading'
export const LogPage: NextPageWithLayout = () => {
const { ref } = useParams()
- const { data: poolingConfiguration } = usePoolingConfigurationQuery({
+ const { data: poolingConfiguration, isLoading } = usePoolingConfigurationQuery({
projectRef: ref ?? 'default',
})
+ // this prevents initial load of pgbouncer logs before config has been retrieved
+ if (isLoading) {
+ return
+ }
const isSupavisorEnabled =
poolingConfiguration?.supavisor_enabled ??
poolingConfiguration?.connectionString.includes('pooler.supabase.com') ??
@@ -22,21 +27,9 @@ export const LogPage: NextPageWithLayout = () => {
- {isSupavisorEnabled && (
-
-
-
- Supavisor logs are not available yet
-
- Your project currently has Supavisor enabled, which logs are currently unavailable.
-
-
-
- )}
-
+ tableName={isSupavisorEnabled ? LogsTableName.SUPAVISOR : LogsTableName.PGBOUNCER}
+ queryType={isSupavisorEnabled ? 'supavisor' : 'pgbouncer'}
+ />
)
}
diff --git a/studio/pages/project/[ref]/settings/billing/invoices.tsx b/studio/pages/project/[ref]/settings/billing/invoices.tsx
index e44997f57bc..4d5cbbbb70a 100644
--- a/studio/pages/project/[ref]/settings/billing/invoices.tsx
+++ b/studio/pages/project/[ref]/settings/billing/invoices.tsx
@@ -38,7 +38,6 @@ export default ProjectBilling
const Settings = () => {
const selectedOrganization = useSelectedOrganization()
- const { project: selectedProject } = useProjectContext()
const orgSlug = selectedOrganization?.slug ?? ''
return (
@@ -58,7 +57,7 @@ const Settings = () => {
-
+
)
diff --git a/studio/public/archive/supabase-logo-lw8.svg b/studio/public/archive/supabase-logo-lw8.svg
new file mode 100644
index 00000000000..060c10eb536
--- /dev/null
+++ b/studio/public/archive/supabase-logo-lw8.svg
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/studio/public/archive/supabase-logo.svg b/studio/public/archive/supabase-logo.svg
deleted file mode 100644
index 2b69d42e7b3..00000000000
--- a/studio/public/archive/supabase-logo.svg
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/studio/public/favicon/android-chrome-192x192.png b/studio/public/favicon/android-chrome-192x192.png
new file mode 100644
index 00000000000..c0ac2bb1cdb
Binary files /dev/null and b/studio/public/favicon/android-chrome-192x192.png differ
diff --git a/studio/public/favicon/android-chrome-512x512.png b/studio/public/favicon/android-chrome-512x512.png
new file mode 100644
index 00000000000..1bdeaa23bb8
Binary files /dev/null and b/studio/public/favicon/android-chrome-512x512.png differ
diff --git a/studio/public/favicon/android-icon-144x144.png b/studio/public/favicon/android-icon-144x144.png
index e34cdc489bf..4aa46d4d25d 100644
Binary files a/studio/public/favicon/android-icon-144x144.png and b/studio/public/favicon/android-icon-144x144.png differ
diff --git a/studio/public/favicon/android-icon-192x192.png b/studio/public/favicon/android-icon-192x192.png
index 3779f7008a4..7583d2035e3 100644
Binary files a/studio/public/favicon/android-icon-192x192.png and b/studio/public/favicon/android-icon-192x192.png differ
diff --git a/studio/public/favicon/android-icon-36x36.png b/studio/public/favicon/android-icon-36x36.png
index 620f828d767..5e4eabec411 100644
Binary files a/studio/public/favicon/android-icon-36x36.png and b/studio/public/favicon/android-icon-36x36.png differ
diff --git a/studio/public/favicon/android-icon-48x48.png b/studio/public/favicon/android-icon-48x48.png
index 0918c9d5a5f..f8d8a7d9c05 100644
Binary files a/studio/public/favicon/android-icon-48x48.png and b/studio/public/favicon/android-icon-48x48.png differ
diff --git a/studio/public/favicon/android-icon-72x72.png b/studio/public/favicon/android-icon-72x72.png
index 83dfc47bd21..e4418058cef 100644
Binary files a/studio/public/favicon/android-icon-72x72.png and b/studio/public/favicon/android-icon-72x72.png differ
diff --git a/studio/public/favicon/android-icon-96x96.png b/studio/public/favicon/android-icon-96x96.png
index 5f1fda34086..0f1351f3670 100644
Binary files a/studio/public/favicon/android-icon-96x96.png and b/studio/public/favicon/android-icon-96x96.png differ
diff --git a/studio/public/favicon/apple-icon-114x114.png b/studio/public/favicon/apple-icon-114x114.png
index f32fa5c91e5..4aa46d4d25d 100644
Binary files a/studio/public/favicon/apple-icon-114x114.png and b/studio/public/favicon/apple-icon-114x114.png differ
diff --git a/studio/public/favicon/apple-icon-120x120.png b/studio/public/favicon/apple-icon-120x120.png
index f740816a889..d2b0e50ef41 100644
Binary files a/studio/public/favicon/apple-icon-120x120.png and b/studio/public/favicon/apple-icon-120x120.png differ
diff --git a/studio/public/favicon/apple-icon-144x144.png b/studio/public/favicon/apple-icon-144x144.png
index e34cdc489bf..00a5d8b5180 100644
Binary files a/studio/public/favicon/apple-icon-144x144.png and b/studio/public/favicon/apple-icon-144x144.png differ
diff --git a/studio/public/favicon/apple-icon-152x152.png b/studio/public/favicon/apple-icon-152x152.png
index 07dbf228a9a..310532c4648 100644
Binary files a/studio/public/favicon/apple-icon-152x152.png and b/studio/public/favicon/apple-icon-152x152.png differ
diff --git a/studio/public/favicon/apple-icon-180x180.png b/studio/public/favicon/apple-icon-180x180.png
index bf1bfbf7f00..2a80dbc2f68 100644
Binary files a/studio/public/favicon/apple-icon-180x180.png and b/studio/public/favicon/apple-icon-180x180.png differ
diff --git a/studio/public/favicon/apple-icon-57x57.png b/studio/public/favicon/apple-icon-57x57.png
index e24842ebed2..e7b08eb605f 100644
Binary files a/studio/public/favicon/apple-icon-57x57.png and b/studio/public/favicon/apple-icon-57x57.png differ
diff --git a/studio/public/favicon/apple-icon-60x60.png b/studio/public/favicon/apple-icon-60x60.png
index 7075a8eb8c5..0615675e809 100644
Binary files a/studio/public/favicon/apple-icon-60x60.png and b/studio/public/favicon/apple-icon-60x60.png differ
diff --git a/studio/public/favicon/apple-icon-72x72.png b/studio/public/favicon/apple-icon-72x72.png
index 83dfc47bd21..e4418058cef 100644
Binary files a/studio/public/favicon/apple-icon-72x72.png and b/studio/public/favicon/apple-icon-72x72.png differ
diff --git a/studio/public/favicon/apple-icon-76x76.png b/studio/public/favicon/apple-icon-76x76.png
index 283e804eee7..9a76327f94b 100644
Binary files a/studio/public/favicon/apple-icon-76x76.png and b/studio/public/favicon/apple-icon-76x76.png differ
diff --git a/studio/public/favicon/apple-icon-precomposed.png b/studio/public/favicon/apple-icon-precomposed.png
index 7d55e102305..7583d2035e3 100644
Binary files a/studio/public/favicon/apple-icon-precomposed.png and b/studio/public/favicon/apple-icon-precomposed.png differ
diff --git a/studio/public/favicon/apple-icon.png b/studio/public/favicon/apple-icon.png
index 7d55e102305..7583d2035e3 100644
Binary files a/studio/public/favicon/apple-icon.png and b/studio/public/favicon/apple-icon.png differ
diff --git a/studio/public/favicon/apple-touch-icon-114x114.png b/studio/public/favicon/apple-touch-icon-114x114.png
new file mode 100644
index 00000000000..4aa46d4d25d
Binary files /dev/null and b/studio/public/favicon/apple-touch-icon-114x114.png differ
diff --git a/studio/public/favicon/apple-touch-icon-120x120.png b/studio/public/favicon/apple-touch-icon-120x120.png
new file mode 100644
index 00000000000..d2b0e50ef41
Binary files /dev/null and b/studio/public/favicon/apple-touch-icon-120x120.png differ
diff --git a/studio/public/favicon/apple-touch-icon-144x144.png b/studio/public/favicon/apple-touch-icon-144x144.png
new file mode 100644
index 00000000000..00a5d8b5180
Binary files /dev/null and b/studio/public/favicon/apple-touch-icon-144x144.png differ
diff --git a/studio/public/favicon/apple-touch-icon-152x152.png b/studio/public/favicon/apple-touch-icon-152x152.png
new file mode 100644
index 00000000000..310532c4648
Binary files /dev/null and b/studio/public/favicon/apple-touch-icon-152x152.png differ
diff --git a/studio/public/favicon/apple-touch-icon-57x57.png b/studio/public/favicon/apple-touch-icon-57x57.png
new file mode 100644
index 00000000000..1314e02c744
Binary files /dev/null and b/studio/public/favicon/apple-touch-icon-57x57.png differ
diff --git a/studio/public/favicon/apple-touch-icon-60x60.png b/studio/public/favicon/apple-touch-icon-60x60.png
new file mode 100644
index 00000000000..0615675e809
Binary files /dev/null and b/studio/public/favicon/apple-touch-icon-60x60.png differ
diff --git a/studio/public/favicon/apple-touch-icon-72x72.png b/studio/public/favicon/apple-touch-icon-72x72.png
new file mode 100644
index 00000000000..e4418058cef
Binary files /dev/null and b/studio/public/favicon/apple-touch-icon-72x72.png differ
diff --git a/studio/public/favicon/apple-touch-icon-76x76.png b/studio/public/favicon/apple-touch-icon-76x76.png
new file mode 100644
index 00000000000..9a76327f94b
Binary files /dev/null and b/studio/public/favicon/apple-touch-icon-76x76.png differ
diff --git a/studio/public/favicon/archive/lw8/android-icon-144x144.png b/studio/public/favicon/archive/lw8/android-icon-144x144.png
new file mode 100644
index 00000000000..e34cdc489bf
Binary files /dev/null and b/studio/public/favicon/archive/lw8/android-icon-144x144.png differ
diff --git a/studio/public/favicon/archive/lw8/android-icon-192x192.png b/studio/public/favicon/archive/lw8/android-icon-192x192.png
new file mode 100644
index 00000000000..3779f7008a4
Binary files /dev/null and b/studio/public/favicon/archive/lw8/android-icon-192x192.png differ
diff --git a/studio/public/favicon/archive/lw8/android-icon-36x36.png b/studio/public/favicon/archive/lw8/android-icon-36x36.png
new file mode 100644
index 00000000000..620f828d767
Binary files /dev/null and b/studio/public/favicon/archive/lw8/android-icon-36x36.png differ
diff --git a/studio/public/favicon/archive/lw8/android-icon-48x48.png b/studio/public/favicon/archive/lw8/android-icon-48x48.png
new file mode 100644
index 00000000000..0918c9d5a5f
Binary files /dev/null and b/studio/public/favicon/archive/lw8/android-icon-48x48.png differ
diff --git a/studio/public/favicon/archive/lw8/android-icon-72x72.png b/studio/public/favicon/archive/lw8/android-icon-72x72.png
new file mode 100644
index 00000000000..83dfc47bd21
Binary files /dev/null and b/studio/public/favicon/archive/lw8/android-icon-72x72.png differ
diff --git a/studio/public/favicon/archive/lw8/android-icon-96x96.png b/studio/public/favicon/archive/lw8/android-icon-96x96.png
new file mode 100644
index 00000000000..5f1fda34086
Binary files /dev/null and b/studio/public/favicon/archive/lw8/android-icon-96x96.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon-114x114.png b/studio/public/favicon/archive/lw8/apple-icon-114x114.png
new file mode 100644
index 00000000000..f32fa5c91e5
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon-114x114.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon-120x120.png b/studio/public/favicon/archive/lw8/apple-icon-120x120.png
new file mode 100644
index 00000000000..f740816a889
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon-120x120.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon-144x144.png b/studio/public/favicon/archive/lw8/apple-icon-144x144.png
new file mode 100644
index 00000000000..e34cdc489bf
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon-144x144.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon-152x152.png b/studio/public/favicon/archive/lw8/apple-icon-152x152.png
new file mode 100644
index 00000000000..07dbf228a9a
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon-152x152.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon-180x180.png b/studio/public/favicon/archive/lw8/apple-icon-180x180.png
new file mode 100644
index 00000000000..bf1bfbf7f00
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon-180x180.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon-57x57.png b/studio/public/favicon/archive/lw8/apple-icon-57x57.png
new file mode 100644
index 00000000000..e24842ebed2
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon-57x57.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon-60x60.png b/studio/public/favicon/archive/lw8/apple-icon-60x60.png
new file mode 100644
index 00000000000..7075a8eb8c5
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon-60x60.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon-72x72.png b/studio/public/favicon/archive/lw8/apple-icon-72x72.png
new file mode 100644
index 00000000000..83dfc47bd21
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon-72x72.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon-76x76.png b/studio/public/favicon/archive/lw8/apple-icon-76x76.png
new file mode 100644
index 00000000000..283e804eee7
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon-76x76.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon-precomposed.png b/studio/public/favicon/archive/lw8/apple-icon-precomposed.png
new file mode 100644
index 00000000000..7d55e102305
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon-precomposed.png differ
diff --git a/studio/public/favicon/archive/lw8/apple-icon.png b/studio/public/favicon/archive/lw8/apple-icon.png
new file mode 100644
index 00000000000..7d55e102305
Binary files /dev/null and b/studio/public/favicon/archive/lw8/apple-icon.png differ
diff --git a/studio/public/favicon/archive/lw8/favicon-16x16.png b/studio/public/favicon/archive/lw8/favicon-16x16.png
new file mode 100644
index 00000000000..9dc90100bf3
Binary files /dev/null and b/studio/public/favicon/archive/lw8/favicon-16x16.png differ
diff --git a/studio/public/favicon/archive/lw8/favicon-32x32.png b/studio/public/favicon/archive/lw8/favicon-32x32.png
new file mode 100644
index 00000000000..b8fd7965f93
Binary files /dev/null and b/studio/public/favicon/archive/lw8/favicon-32x32.png differ
diff --git a/studio/public/favicon/archive/lw8/favicon-96x96.png b/studio/public/favicon/archive/lw8/favicon-96x96.png
new file mode 100644
index 00000000000..408eebc96d7
Binary files /dev/null and b/studio/public/favicon/archive/lw8/favicon-96x96.png differ
diff --git a/studio/public/favicon/archive/lw8/favicon.ico b/studio/public/favicon/archive/lw8/favicon.ico
new file mode 100644
index 00000000000..97615df1d2d
Binary files /dev/null and b/studio/public/favicon/archive/lw8/favicon.ico differ
diff --git a/studio/public/favicon/archive/lw8/ms-icon-144x144.png b/studio/public/favicon/archive/lw8/ms-icon-144x144.png
new file mode 100644
index 00000000000..bcbff0884b1
Binary files /dev/null and b/studio/public/favicon/archive/lw8/ms-icon-144x144.png differ
diff --git a/studio/public/favicon/archive/lw8/ms-icon-150x150.png b/studio/public/favicon/archive/lw8/ms-icon-150x150.png
new file mode 100644
index 00000000000..c61ccd6bc02
Binary files /dev/null and b/studio/public/favicon/archive/lw8/ms-icon-150x150.png differ
diff --git a/studio/public/favicon/archive/lw8/ms-icon-310x310.png b/studio/public/favicon/archive/lw8/ms-icon-310x310.png
new file mode 100644
index 00000000000..474d2d508f4
Binary files /dev/null and b/studio/public/favicon/archive/lw8/ms-icon-310x310.png differ
diff --git a/studio/public/favicon/archive/lw8/ms-icon-70x70.png b/studio/public/favicon/archive/lw8/ms-icon-70x70.png
new file mode 100644
index 00000000000..c0f3a66542c
Binary files /dev/null and b/studio/public/favicon/archive/lw8/ms-icon-70x70.png differ
diff --git a/studio/public/favicon/favicon-128.png b/studio/public/favicon/favicon-128.png
new file mode 100644
index 00000000000..d5dca345802
Binary files /dev/null and b/studio/public/favicon/favicon-128.png differ
diff --git a/studio/public/favicon/favicon-16x16.png b/studio/public/favicon/favicon-16x16.png
index 9dc90100bf3..fa07282ee8d 100644
Binary files a/studio/public/favicon/favicon-16x16.png and b/studio/public/favicon/favicon-16x16.png differ
diff --git a/studio/public/favicon/favicon-196x196.png b/studio/public/favicon/favicon-196x196.png
new file mode 100644
index 00000000000..adb05b43453
Binary files /dev/null and b/studio/public/favicon/favicon-196x196.png differ
diff --git a/studio/public/favicon/favicon-32x32.png b/studio/public/favicon/favicon-32x32.png
index b8fd7965f93..7fa29c547a6 100644
Binary files a/studio/public/favicon/favicon-32x32.png and b/studio/public/favicon/favicon-32x32.png differ
diff --git a/studio/public/favicon/favicon-96x96.png b/studio/public/favicon/favicon-96x96.png
index 408eebc96d7..0f1351f3670 100644
Binary files a/studio/public/favicon/favicon-96x96.png and b/studio/public/favicon/favicon-96x96.png differ
diff --git a/studio/public/favicon/favicon.ico b/studio/public/favicon/favicon.ico
index 97615df1d2d..5c4d1dcc5cf 100644
Binary files a/studio/public/favicon/favicon.ico and b/studio/public/favicon/favicon.ico differ
diff --git a/studio/public/favicon/ms-icon-144x144.png b/studio/public/favicon/ms-icon-144x144.png
index bcbff0884b1..00a5d8b5180 100644
Binary files a/studio/public/favicon/ms-icon-144x144.png and b/studio/public/favicon/ms-icon-144x144.png differ
diff --git a/studio/public/favicon/ms-icon-150x150.png b/studio/public/favicon/ms-icon-150x150.png
index c61ccd6bc02..4de1d9b1cc1 100644
Binary files a/studio/public/favicon/ms-icon-150x150.png and b/studio/public/favicon/ms-icon-150x150.png differ
diff --git a/studio/public/favicon/ms-icon-310x310.png b/studio/public/favicon/ms-icon-310x310.png
index 474d2d508f4..7ea95ae09c0 100644
Binary files a/studio/public/favicon/ms-icon-310x310.png and b/studio/public/favicon/ms-icon-310x310.png differ
diff --git a/studio/public/favicon/ms-icon-70x70.png b/studio/public/favicon/ms-icon-70x70.png
index c0f3a66542c..48f6391fcdc 100644
Binary files a/studio/public/favicon/ms-icon-70x70.png and b/studio/public/favicon/ms-icon-70x70.png differ
diff --git a/studio/public/favicon/mstile-144x144.png b/studio/public/favicon/mstile-144x144.png
new file mode 100644
index 00000000000..00a5d8b5180
Binary files /dev/null and b/studio/public/favicon/mstile-144x144.png differ
diff --git a/studio/public/favicon/mstile-150x150.png b/studio/public/favicon/mstile-150x150.png
new file mode 100644
index 00000000000..4de1d9b1cc1
Binary files /dev/null and b/studio/public/favicon/mstile-150x150.png differ
diff --git a/studio/public/favicon/mstile-310x150.png b/studio/public/favicon/mstile-310x150.png
new file mode 100644
index 00000000000..b1121df62aa
Binary files /dev/null and b/studio/public/favicon/mstile-310x150.png differ
diff --git a/studio/public/favicon/mstile-310x310.png b/studio/public/favicon/mstile-310x310.png
new file mode 100644
index 00000000000..7ea95ae09c0
Binary files /dev/null and b/studio/public/favicon/mstile-310x310.png differ
diff --git a/studio/public/favicon/mstile-70x70.png b/studio/public/favicon/mstile-70x70.png
new file mode 100644
index 00000000000..d5dca345802
Binary files /dev/null and b/studio/public/favicon/mstile-70x70.png differ
diff --git a/studio/public/supabase-logo.svg b/studio/public/supabase-logo.svg
index 060c10eb536..2b69d42e7b3 100644
--- a/studio/public/supabase-logo.svg
+++ b/studio/public/supabase-logo.svg
@@ -1,26 +1,15 @@
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
+
+
diff --git a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx
index 78d1113b998..371096dda52 100644
--- a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx
+++ b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx
@@ -30,7 +30,7 @@ const PROVIDER_EMAIL = {
},
SECURITY_UPDATE_PASSWORD_REQUIRE_REAUTHENTICATION: {
title: 'Secure password change',
- description: `Users will need to be recently logged in to change their password.
+ description: `Users will need to be recently logged in to change their password without requiring reauthentication.
If disabled, a user can change their password at any time.`,
type: 'boolean',
},
@@ -221,8 +221,8 @@ const PROVIDER_PHONE = {
units: 'seconds',
show: {
key: 'SMS_PROVIDER',
- matches: ['twilio', 'messagebird', 'textlocal', 'vonage']
- }
+ matches: ['twilio', 'messagebird', 'textlocal', 'vonage'],
+ },
},
SMS_OTP_LENGTH: {
title: 'SMS OTP Length',
@@ -231,8 +231,8 @@ const PROVIDER_PHONE = {
units: 'digits',
show: {
key: 'SMS_PROVIDER',
- matches: ['twilio', 'messagebird', 'textlocal', 'vonage']
- }
+ matches: ['twilio', 'messagebird', 'textlocal', 'vonage'],
+ },
},
SMS_TEMPLATE: {
title: 'SMS Message',
@@ -240,8 +240,8 @@ const PROVIDER_PHONE = {
description: 'To format the OTP code use `{{ .Code }}`',
show: {
key: 'SMS_PROVIDER',
- matches: ['twilio', 'messagebird', 'textlocal', 'vonage']
- }
+ matches: ['twilio', 'messagebird', 'textlocal', 'vonage'],
+ },
},
},
validationSchema: object().shape({
@@ -286,13 +286,16 @@ const PROVIDER_PHONE = {
then: (schema) => schema.required('Twilio Verify Auth Token is required'),
otherwise: (schema) => schema,
}),
- SMS_TWILIO_VERIFY_MESSAGE_SERVICE_SID: string().when(['EXTERNAL_PHONE_ENABLED', 'SMS_PROVIDER'], {
- is: (EXTERNAL_PHONE_ENABLED: boolean, SMS_PROVIDER: string) => {
- return EXTERNAL_PHONE_ENABLED && SMS_PROVIDER === 'twilio-verify'
- },
- then: (schema) => schema.required('Twilio Verify Service SID is required'),
- otherwise: (schema) => schema,
- }),
+ SMS_TWILIO_VERIFY_MESSAGE_SERVICE_SID: string().when(
+ ['EXTERNAL_PHONE_ENABLED', 'SMS_PROVIDER'],
+ {
+ is: (EXTERNAL_PHONE_ENABLED: boolean, SMS_PROVIDER: string) => {
+ return EXTERNAL_PHONE_ENABLED && SMS_PROVIDER === 'twilio-verify'
+ },
+ then: (schema) => schema.required('Twilio Verify Service SID is required'),
+ otherwise: (schema) => schema,
+ }
+ ),
// Messagebird
SMS_MESSAGEBIRD_ACCESS_KEY: string().when(['EXTERNAL_PHONE_ENABLED', 'SMS_PROVIDER'], {
diff --git a/studio/stores/authConfig/schema/AuthProviders/AuthTemplatesValidation.tsx b/studio/stores/authConfig/schema/AuthProviders/AuthTemplatesValidation.tsx
index b9d00348ed2..e14db176c22 100644
--- a/studio/stores/authConfig/schema/AuthProviders/AuthTemplatesValidation.tsx
+++ b/studio/stores/authConfig/schema/AuthProviders/AuthTemplatesValidation.tsx
@@ -22,7 +22,8 @@ export const CONFIRMATION: FormSchema = {
- \`{{ .Token }}\` : The 6-digit numeric email OTP
- \`{{ .TokenHash }}\` : The hashed token used in the URL
- \`{{ .SiteURL }}\` : The URL of the site
-- \`{{ .Email }}\` : The users email address
+- \`{{ .Email }}\` : The user's email address
+- \`{{ .Data }}\` : The user's \`user_metadata\`
`,
},
},
@@ -55,7 +56,8 @@ export const INVITE: FormSchema = {
- \`{{ .Token }}\` : The 6-digit numeric email OTP
- \`{{ .TokenHash }}\` : The hashed token used in the URL
- \`{{ .SiteURL }}\` : The URL of the site
-- \`{{ .Email }}\` : The users email address
+- \`{{ .Email }}\` : The user's email address
+- \`{{ .Data }}\` : The user's \`user_metadata\`
`,
},
},
@@ -88,7 +90,8 @@ export const MAGIC_LINK: FormSchema = {
- \`{{ .Token }}\` : The 6-digit numeric email OTP
- \`{{ .TokenHash }}\` : The hashed token used in the URL
- \`{{ .SiteURL }}\` : The URL of the site
-- \`{{ .Email }}\` : The users email address
+- \`{{ .Email }}\` : The user's email address
+- \`{{ .Data }}\` : The user's \`user_metadata\`
`,
},
},
@@ -121,8 +124,9 @@ export const EMAIL_CHANGE: FormSchema = {
- \`{{ .Token }}\` : The 6-digit numeric email OTP
- \`{{ .TokenHash }}\` : The hashed token used in the URL
- \`{{ .SiteURL }}\` : The URL of the site
-- \`{{ .Email }}\` : The original users email address
-- \`{{ .NewEmail }}\` : The users new email address
+- \`{{ .Email }}\` : The original user's email address
+- \`{{ .NewEmail }}\` : The user's new email address
+- \`{{ .Data }}\` : The user's \`user_metadata\`
`,
},
},
@@ -155,7 +159,8 @@ export const RECOVERY: FormSchema = {
- \`{{ .Token }}\` : The 6-digit numeric email OTP
- \`{{ .TokenHash }}\` : The hashed token used in the URL
- \`{{ .SiteURL }}\` : The URL of the site
-- \`{{ .Email }}\` : The users email address
+- \`{{ .Email }}\` : The user's email address
+- \`{{ .Data }}\` : The user's \`user_metadata\`
`,
},
},
diff --git a/studio/tests/pages/projects/LogsPreviewer.test.js b/studio/tests/pages/projects/LogsPreviewer.test.js
index 0dd9e6bd225..f395cfd902b 100644
--- a/studio/tests/pages/projects/LogsPreviewer.test.js
+++ b/studio/tests/pages/projects/LogsPreviewer.test.js
@@ -37,6 +37,25 @@ beforeEach(() => {
useParams.mockReturnValue(routerReturnValue.query)
})
+// in the event that log metadata is not available, fall back to default renderer
+// generate test cases for each query type
+const defaultRendererFallbacksCases = [
+ 'api', 'database', 'auth', 'pgbouncer', 'postgrest', 'storage', 'realtime'
+].map((queryType) => ({
+ testName: "fallback to default render",
+ queryType,
+ tableName: undefined,
+ tableLog: logDataFixture({
+ event_message: 'some message',
+ metadata: undefined,
+ }),
+ selectionLog: logDataFixture({
+ metadata: undefined,
+ }),
+ tableTexts: [/some message/],
+ selectionTexts: [/some message/],
+}))
+
test.each([
{
queryType: 'api',
@@ -53,6 +72,7 @@ test.each([
tableTexts: [/POST/, /some\-path/, /400/],
selectionTexts: [/POST/, /Timestamp/, RegExp(`${new Date().getFullYear()}.+`, 'g')],
},
+
{
queryType: 'database',
tableName: undefined,
@@ -84,6 +104,7 @@ test.each([
],
},
{
+
queryType: 'auth',
tableName: undefined,
tableLog: logDataFixture({
@@ -114,8 +135,9 @@ test.each([
RegExp(`${new Date().getFullYear()}.+`, 'g'),
],
},
+ ...defaultRendererFallbacksCases,
// these all use teh default selection/table renderers
- ...['pgbouncer', 'postgrest', 'storage', 'realtime'].map((queryType) => ({
+ ...['pgbouncer', 'postgrest', 'storage', 'realtime', "supavisor"].map((queryType) => ({
queryType,
tableName: undefined,
tableLog: logDataFixture({
@@ -129,7 +151,7 @@ test.each([
selectionTexts: [/some/, /nested/, /value/, RegExp(`${new Date().getFullYear()}.+`, 'g')],
})),
])(
- 'selection $queryType $tableName , can display log data and metadata',
+ 'selection $queryType $queryType, $tableName , can display log data and metadata $testName',
async ({ queryType, tableName, tableLog, selectionLog, tableTexts, selectionTexts }) => {
get.mockImplementation((url) => {
// counts
@@ -217,7 +239,7 @@ test('Search will trigger a log refresh', async () => {
test('poll count for new messages', async () => {
get.mockImplementation((url) => {
if (url.includes('count')) {
- return { result: [{ count: 125 }] }
+ return { result: [{ count: 999 }] }
}
return {
result: [logDataFixture({ id: 'some-uuid123' })],
@@ -226,10 +248,10 @@ test('poll count for new messages', async () => {
render( )
await waitFor(() => screen.queryByText(/some-uuid123/) === null)
// should display new logs count
- await waitFor(() => screen.getByText(/125/))
+ await waitFor(() => screen.getByText(/999/))
userEvent.click(screen.getByText(/Refresh/))
- await waitFor(() => screen.queryByText(/125/) === null)
+ await waitFor(() => screen.queryByText(/999/) === null)
await screen.findByText(/some-uuid123/)
})
test('log event chart', async () => {